A method, device, equipment and storage medium for analyzing power grid data
Analyzing power grid data through metadata entity topological links solves the problem that traditional methods cannot effectively handle complex and diverse power grid data, achieves efficient management and analysis of power grid data, and improves data utilization efficiency.
Patent Information
- Application Number
- CN202410841623.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Traditional power grid data analysis methods cannot effectively handle complex and diverse power grid data, resulting in insufficient understanding of the correlation and business meaning of data, which affects the monitoring and management effects of power grid data.
Metadata entity topology links are used to call pre-built topology links through the visual interface, extract the target sub-topology map and access the database to obtain node data information to achieve efficient analysis of power grid data.
It improves the accuracy and efficiency of power grid data management, reduces data search and processing time costs, and enhances data analysis and utilization efficiency.
Smart Images

Figure CN118394835B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of data processing technology, and in particular to a method, device, equipment and storage medium for analyzing power grid data. Background Art
[0002] In today's digital age, new power systems have been fully utilized in the power grid system, which can realize real-time monitoring and management of power grid operation status, equipment operation status, etc. In general, the power system's monitoring and management of business projects involved in the power grid system often relies on the collection, transmission, processing and analysis of a large amount of relevant power grid data.
[0003] In practical applications, with the advancement of the construction of new power systems, the scale of power grid data continues to increase, and the types of data involved are becoming more and more diverse, such as monitoring data, load data, equipment status data, etc. Since these data often exist on different platforms or systems and are mostly stored in relational databases, when you want to use these data to analyze a certain power business, the complexity and diversity of the data will always bring challenges to power grid data analysis. Traditional power grid data analysis methods can no longer meet the needs of power grid data management.
[0004] In addition, the value of power grid data is mainly reflected in the association and analysis between data, while the existing stored power grid data is only suitable for simple analysis operations such as query and modification. There is a lack of in-depth understanding of the association and business meaning between data, resulting in the potential value of data not being fully explored. It can be seen that when there is no good data analysis method to analyze power grid data, the monitoring and management effects of power grid data are greatly affected. Summary of the invention
[0005] The embodiments of the present disclosure provide a method, device, equipment and storage medium for analyzing power grid data, which reduce the time cost of data search and processing, improve the efficiency of data analysis and utilization, and realize efficient analysis of power grid data.
[0006] In a first aspect, a method for analyzing power grid data is provided, comprising:
[0007] In response to a data analysis operation triggered in the presented visualization interface relative to a target to be analyzed, a pre-constructed metadata entity topology link is called, wherein the metadata entity topology link includes at least one topological node representing a pre-defined metadata entity and also includes a relationship edge representing an association relationship between the pre-defined entities;
[0008] According to the data analysis conditions included in the data analysis operation, extracting the target sub-topology graph associated with the target to be analyzed from the metadata entity topology link;
[0009] The database involved in the target to be analyzed is accessed to obtain node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed.
[0010] In a second aspect, a device for analyzing power grid data is provided, comprising:
[0011] A topology link calling module, configured to call a pre-built metadata entity topology link in response to a data analysis operation triggered in response to a target to be analyzed in the presented visualization interface, wherein the metadata entity topology link includes at least one topology node representing a pre-defined metadata entity and also includes a relationship edge representing a pre-defined entity association relationship;
[0012] A sub-topology map extraction module is used to extract the target sub-topology map associated with the target to be analyzed from the metadata entity topology link according to the data analysis conditions included in the data analysis operation;
[0013] The analysis result determination module is used to access the database involved in the target to be analyzed, and obtain the node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed.
[0014] According to a third aspect, an electronic device is provided, the electronic device comprising:
[0015] one or more processors;
[0016] a storage device for storing one or more programs,
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the power grid data analysis method provided by the first aspect of the embodiment of the present disclosure.
[0018] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power grid data analysis method provided in the first aspect of the embodiment of the present disclosure when executed.
[0019] The disclosed embodiment provides a method for analyzing power grid data. The metadata entity topology link adopted can comprehensively describe the structure, attributes and relationships of core power grid data, accurately understand and describe the meaning and association of power grid data, improve the accuracy and efficiency of power grid data management, and make power grid data management more comprehensive and systematic; the analysis of power grid data based on the metadata entity topology link reduces the time cost of data search and processing, and improves the efficiency of data analysis and utilization.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the embodiments of the present disclosure. Other features of the embodiments of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 is a flow chart of a method for analyzing power grid data provided according to the first embodiment of the present disclosure;
[0023] Figure 2 This is an example display diagram of a metadata entity topology link involved in a power grid data analysis method provided in accordance with the first embodiment of the present disclosure;
[0024] Figure 3 This is an example display diagram of a target sub-topology diagram involved in a method for analyzing power grid data provided in Embodiment 1 of the present disclosure;
[0025] Figure 4 This is an example display diagram of a style configuration window involved in a method for analyzing power grid data provided in the first embodiment of the present disclosure;
[0026] Figure 5 A schematic diagram of the structure of a power grid data analysis device provided in Embodiment 2 of the present disclosure;
[0027] Figure 6 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solutions of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the embodiments of the present disclosure.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including", "having", and "etc." and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0030] Embodiment 1
[0031] Figure 1 This is a flow chart of a method for analyzing power grid data provided according to the first embodiment of the present disclosure. This embodiment is applicable to the case of analyzing power grid data. The method can be executed by a power grid data analysis device. The power grid data analysis device can be implemented in the form of hardware and / or software. The power grid data analysis device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0032] S101. In response to a data analysis operation triggered relative to an analysis target in a presented visualization interface, a pre-constructed metadata entity topology link is called, wherein the metadata entity topology link includes at least one topological node representing a pre-defined metadata entity and also includes a relationship edge representing an association relationship between the pre-defined entities.
[0033] In this embodiment, the visualization interface is a front-end interface presented on the client side for realizing interaction with the user. The target to be analyzed can be understood as a business project specified by the user, and the target to be analyzed can correspond to multiple topological nodes, i.e., metadata entities. The data analysis operation can be understood as an operation issued by the client user on the visualization interface for data analysis, such as a control click trigger and / or the input of data analysis conditions. The metadata entity topological link is a topological structure composed of multiple topological nodes representing metadata entities and relationship edges representing entity associations. The metadata entity topological link includes information such as classes, attributes, relationships, constraints, etc. that define metadata entities, as well as the hierarchical structure and organizational relationships between metadata entities. The metadata entity is the metadata of the power grid data.
[0034] Among them, metadata entities are key objects or data types involved in power grid data management. In the entity definition stage, it is necessary to analyze the specific business needs of power grid data management, identify the key entity objects of metadata management, and describe and define them in detail to build a complete metadata entity topology link. Furthermore, metadata entities are divided into at least one of the following categories: management platform category, data set category, data knowledge category, and data application category.
[0035] The objects as metadata entities in the management platform class include platforms, where the platform includes: platform identification (Identity Document, ID), platform name, platform address, platform administrator and data source information;
[0036] The objects that serve as metadata entities in the dataset class include: data source, dataset, data table, data field, data element, task and task running record; among them, data source includes data source ID, data source name, data source type, data source subcategory, data source description and data source link information; dataset is used for data access of source layer, including dataset ID, name, Chinese name, description, creation time, last update time, number of rows, number of columns, storage space, storage type, data source name, data source ID, field information, data source type and dataset type; data table includes: table ID, table name, table Chinese name, table description, table description, business category ID, data table label, number of rows, number of columns, storage space, storage type, creation time, last update time, data source type, data source name, data source ID, field information and data layering; data field includes: field ID, Field name, field Chinese name, table ID, field description, field description, data type, field length, repetition rate, consistency, null value rate, business category ID, data table label, creation time, last update time, whether it is a primary key and whether it is a foreign key; data elements include: data element ID, data element Chinese name, data element English name, data element description, data element type, data element maximum length, value range, and unit of measurement; tasks include: task ID, task name, task Chinese name, task description, task type, verification rules, the latest status of the task, trigger method, version, update cycle, creation time and update time; task operation records are used for time collection, including: task ID, task name, task description, task type, task rules, task execution time, end time, task running time (s), quality score, task status, task log and task trigger method.
[0037] The objects that serve as metadata entities in the data knowledge class include: business entities, business entity relationships, and tags; among them, business entities include: business entity ID, business entity name, business entity description, business entity quantity, business entity creation time, business entity update time, business entity reference table ID, business entity reference field ID, business activities, and business scenarios; business entity relationships include: relationship ID, relationship name, starting entity type, starting entity ID, end entity type, end entity ID, relationship rules, business relationship creation time, and business relationship update time; tags include: tag ID, tag name, tag value, tag classification, tag production type, tag rule, tag associated entity ID, business scenario, business tag creation time, and business tag update time.
[0038] The objects that serve as metadata entities in the data application class include: charts, dashboards, indicators, data services, data users, table log records, and service operations; among them, charts include: chart ID, chart name, chart Chinese name, chart type, chart generation rules, creation time, and update time; dashboards include: dashboard ID, dashboard name, dashboard Chinese name, creation time, and update time; indicators include: indicator ID, indicator name, indicator Chinese name, indicator type, indicator caliber, indicator calculation rules, indicator status, creation time, and update time; data services include: data service ID, data service name The data service name, Chinese name of the data service, data service description, data service type, data service configuration, data service status, creation time, update time, number of visits and average response time; data users include: data user ID, data user name, data user Chinese name, data user type and data user description; the log record of the table is an event table, including: table ID, log type, log update time, operator, change type, change content and usage type; the service operation is an event table or a newly added table, including: operation record ID, execution status, caller ID, caller name, total time, service ID and call time.
[0039] Among them, the relationship edge is obtained by analyzing the association relationship between metadata entities based on the determined relationship type. The relationship edge refers to the connection and association relationship between metadata entities, reflecting the dependency and interaction between different metadata entities in power grid data management. In the relationship definition stage of the metadata entity topological link, it is necessary to analyze the association relationship between entities, determine various relationship types, and convert them into relationship definitions in the ontology model to construct a complete metadata entity topological link.
[0040] The objects that are the starting topological nodes and / or the ending topological nodes in the relationship edge include: data sets, data tables, data fields, tasks, charts, data users, business entities, business entity relationships, labels, and services. Among them, the starting topological node is the metadata entity corresponding to the starting position in a relationship link, and the ending topological node is the metadata entity corresponding to the ending position in a relationship link. The relationship edges based on the starting topological nodes and the ending topological nodes include: data sets-tables, tables-data sets, tables-tables, tables-fields, tables-charts, tables-indicators, tables-services, fields-data elements, fields-charts, fields-indicators, fields-fields, fields-fields, tables-tasks, tasks-tables, tasks-tables, charts-dashboards, data users-charts, data users-dashboards, data users-indicators, data users-data services, business entities-tables, business relationships-tables, business labels-tables, business entities-business relationships, business entities-business relationships, business labels-business entities, and services-services.
[0041] Specifically, based on each metadata entity and the relationship between each metadata entity, a metadata entity topology link is pre-constructed and stored. When a data analysis operation triggered by the user based on the target to be analyzed in the client visualization interface is received, it is determined that the pre-constructed metadata entity topology link needs to be applied. At this time, the metadata entity topology link is called to respond to the operation.
[0042] S102: extracting a target sub-topology graph associated with the target to be analyzed from the metadata entity topology link according to the data analysis conditions included in the data analysis operation.
[0043] In this embodiment, the data analysis condition can be understood as a screening condition when performing data analysis on the target to be analyzed, which is used to extract the target sub-topology map associated with the target to be analyzed from the metadata entity topology link, and can include time conditions, field conditions, and type conditions, etc., which are not limited in this embodiment. The target sub-topology map can be understood as a part of the topology links in the metadata entity topology link that meets the data analysis condition.
[0044] Specifically, during the process of user interaction with the client to perform data analysis operations, a series of data analysis conditions will be input or triggered, the data analysis operations transmitted by the client will be received, the data analysis conditions will be extracted from the information of the data analysis operations, the metadata entity topology links will be screened and extracted according to the data analysis conditions, and the target sub-topology map corresponding to the target to be analyzed and meeting the data analysis conditions will be determined.
[0045] S103: Access the database involved in the target to be analyzed, and obtain the node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed.
[0046] In this embodiment, the node data information can be understood as the attribute data information corresponding to the metadata entity as a topological node, wherein the attribute data information is the actual power grid data information corresponding to the topological node, such as the specific information of the object of each metadata entity in the above description. It can be understood that each topological node in the metadata entity topological link is pre-defined with attribute items, and the attribute data information of each attribute item is determined by accessing the database involved in the target to be analyzed and used as the node data information of the corresponding topological node. The data analysis result can be understood as the data information result corresponding to the target to be analyzed determined after screening and analyzing the target to be analyzed based on the metadata entity topological link.
[0047] Specifically, each database stores actual power grid data information corresponding to a large number of projects, and the metadata entity topology link includes a large number of metadata entities of power grid data. The database involved in the target to be analyzed is accessed, and the attribute data information corresponding to the attribute item is determined according to the pre-defined attribute items of each topological node in the target sub-topology map, and the attribute data information is determined as the node data information of the corresponding topological node, and the node data information of all topological nodes in the target sub-topology map is summarized as the data analysis result of the target to be analyzed.
[0048] This embodiment provides a method for analyzing power grid data. The metadata entity topology link adopted can comprehensively describe the structure, attributes and relationships of core power grid data, accurately understand and describe the meaning and association of power grid data, improve the accuracy and efficiency of power grid data management, and make power grid data management more comprehensive and systematic; analyzing power grid data based on metadata entity topology links reduces the time cost of data search and processing, and improves the efficiency of data analysis and utilization.
[0049] As a first optional embodiment of this embodiment, based on the above embodiment, this first optional embodiment further optimizes and adds a step of constructing a metadata entity topology link, including:
[0050] a1) Obtain model ontology information pre-configured for graph structure model construction, the model ontology information includes: class information, attribute information, association relationship information and constraint condition information.
[0051] In this embodiment, the graph structure model can be understood as a structural model that stores and queries data in a data structure such as a "graph". The bottom layer of the graph structure model will store the user-defined nodes and relationships in a graph manner. In this way, it is possible to efficiently start from a certain node and find the connection between two nodes through the relationship between nodes. The graph database corresponding to the graph structure model is a NoSQL database, which is suitable for processing a large amount of complex, interconnected, and low-structured data. The graph structure model supports functions such as graph data modeling, efficient access, online model update, graph query language, external function definition, and standard external data interface. The model ontology information can be understood as the model framework information of the ontology model based on the graph structure model, including class information, attribute information, association relationship information, and constraint information that define the ontology model. It can be understood that at this time, the model ontology information does not include metadata entities and related information. The ontology model (i.e., the above-mentioned graph structure model) can provide an overall description of the underlying resource metadata model, usually based on demand, an overall description of the domain knowledge system or resource library / knowledge base in the macro content architecture, including various high-level entities and relationships, which can be regarded as a combination of related ontologies.
[0052] It is understandable that before pre-building the model ontology and configuring the model ontology information for the graph structure model, it is necessary to analyze the model requirements, including typical data type analysis, data usage process analysis, business data association analysis, and user feedback information analysis. Based on the above four types of analysis results, the graph structure model is constructed and the model ontology information is configured.
[0053] Among them, typical data type analysis includes analysis of the characteristics and results corresponding to various types of data such as real-time monitoring data, sensor data, load data, and equipment status data. For example, real-time monitoring data may be time series data, which requires special processing methods for analysis and storage; while equipment status data may be structured data, which can be uniformly managed through the ontology model. Data usage process analysis is an analysis of a series of processes such as the generation, transmission, storage, and application of power grid data. The analysis of data processes can determine the key nodes and requirements of data management, so as to design a more reasonable and efficient metadata ontology model. Business data association analysis is an analysis of the association between different types of power grid data. Power grid data are usually interrelated, and there may be complex relationships between different types of power grid data. By analyzing the association between data, the association between data in different business domains is determined to assist in the comprehensive management and utilization of power grid data. For example, equipment status data may be associated with real-time monitoring data, and corresponding relationships can be established through the ontology model to achieve unified management and query of data. User feedback information analysis is the survey information fed back by users. The analysis of user feedback information can reflect the actual management needs and usage scenarios of business data, and can better grasp the core issues and challenges of power grid data management, so as to design an ontology model that better meets actual needs.
[0054] b1) Organize the metadata entities using a set hierarchical structure based on the model ontology information to form a metadata entity graph structure model, and record the metadata entity graph structure model as a metadata entity topology link.
[0055] In this embodiment, the set hierarchical structure is a pre-built topological structure, including hierarchical structure information and organizational relationship information. The metadata entity graph structure model is a topological link formed by filling metadata entities into corresponding topological node positions in the corresponding graph structure model (ontology model) based on the model ontology information and hierarchical structure.
[0056] In this embodiment, following the above description, based on the analysis results of typical data type analysis, data usage process analysis, business data association analysis and user feedback information analysis, the connection relationship edges between metadata entities are defined, and the metadata entities include platforms, data sources, data sets, data tables, data fields, data elements, tasks, task operation records, business entities, business entity relationships, labels, charts, dashboards, indicators, data services, data users, table log records and service operations, etc. The objects of the starting topological nodes and / or the ending topological nodes in the relationship edges include: data sets, data tables, data fields, tasks, charts, data users, business entities, business entity relationships, labels, and services. After the definition of metadata entities and relationship edges is completed, the defined metadata entities are organized in a set hierarchical structure based on the model ontology information as topological nodes, and the topological nodes with association relationships are connected through relationship edges to form a metadata entity graph structure model, and the metadata entity graph structure model is recorded as a metadata entity topological link. Figure 2 is an example display diagram of a metadata entity topology link involved in a power grid data analysis method provided in accordance with the first embodiment of the present disclosure, such as Figure 2 As shown, in the metadata entity topology link, each dot represents a metadata entity, and each metadata entity is connected by a relationship edge.
[0057] The metadata entity topology link established in this embodiment has been comprehensively analyzed for power grid data management needs before construction, so that the metadata entity topology link can accurately reflect the actual needs and scenarios of power grid data management; in the modeling design, the particularity and complexity of power grid data are fully considered, and the integrity and accuracy of the metadata entity topology link ontology model are ensured through metadata entity definition, metadata relationship definition, and metadata ontology modeling. The metadata entity topology link has good scalability and can be flexibly adjusted and expanded according to the needs of power grid data management to adapt to the ever-changing environment and needs.
[0058] As a second optional embodiment of this embodiment, based on the above embodiment, this second optional embodiment further optimizes and adds a step of extracting a target sub-topology graph associated with the target to be analyzed from the metadata entity topology link according to the data analysis condition included in the data analysis operation, including:
[0059] a2) Parse the data analysis operation to obtain the data analysis conditions corresponding to the configuration of the target to be analyzed. The data analysis conditions are configured in the condition editing box in the visualization interface before triggering the data analysis operation.
[0060] In this embodiment, the conditional edit box in the visual interface is a control for interacting with the user.
[0061] Specifically, the user selects or enters the corresponding data analysis condition through the condition editing box in the client visual interface, and the client transmits the data analysis condition selected or entered by the user for the target to be analyzed and other related operations as a data analysis operation. The data analysis operation sent by the client is received and parsed to obtain the data analysis condition corresponding to the configuration of the target to be analyzed.
[0062] b2) According to the data analysis condition, determine the first topological node and the second topological node respectively corresponding to the target to be analyzed in the metadata entity topological link.
[0063] In this embodiment, the first topological node is a starting topological node in the metadata entity topological link that satisfies the data analysis condition relative to the target to be analyzed. The second topological node is a terminating topological node in the metadata entity topological link that satisfies the data analysis condition relative to the target to be analyzed. There may be multiple connection paths between the first topological node and the second topological node.
[0064] Specifically, the topological nodes corresponding to the target to be analyzed are screened out in the metadata entity topological link, and the topological nodes that meet the data analysis conditions are further screened out from the topological nodes of the target to be analyzed, and the starting topological node and the ending topological node are determined from the topological nodes that meet the data analysis conditions.
[0065] c2) traversing the metadata entity topology link to determine all connection paths from the first topology node to the second topology node.
[0066] In this embodiment, the metadata entity topology link is traversed to determine the connection path formed by all the relationship edges between the first topology node and the second topology node. Figure 3 is an example display diagram of a target sub-topology diagram involved in a method for analyzing power grid data provided in the first embodiment of the present disclosure, such as Figure 3 As shown, the traversal obtains: first topological node-topological node p-second topological node, first topological node-topological node m-topological node p-second topological node, first topological node-topological node m-second topological node, first topological node-topological node m-topological node n-second topological node, first topological node-topological node n-topological node m-topological node p-second topological node, first topological node-topological node n-topological node m-second topological node, first topological node-topological node n-second topological node, first topological node-second topological node, the above 8 paths.
[0067] d2) Determine the sub-topology structure formed based on each connection path as the target sub-topology graph associated with the target to be analyzed.
[0068] In this embodiment, based on Figure 3The topological structure formed by the connection paths shown is determined as a target sub-topological graph that satisfies the data analysis conditions relative to the target to be analyzed.
[0069] As a third optional embodiment of this embodiment, based on the above embodiment, this third optional embodiment further optimizes and adds:
[0070] a3) Display the target sub-topology map in the visualization interface, and after receiving a trigger on any topology node in the target sub-topology map, display the node data information corresponding to the topology node.
[0071] In this embodiment, the node data information can be understood as the attribute data information of the attribute items corresponding to the topological nodes.
[0072] Specifically, the target sub-topology map is transmitted to the client so that the target sub-topology map is displayed on the client's visualization interface. The user can perform a trigger operation on the corresponding topology node based on the target sub-topology map displayed on the visualization interface. For example, when the cursor is moved on the visualization interface and overlaps with the topology node, the node data information corresponding to the overlapped topology node is called and the node data information is displayed on the visualization interface.
[0073] As a fourth optional embodiment of this embodiment, based on the above embodiment, this fourth optional embodiment is further optimized and added:
[0074] a4) In response to the metadata entity topology link display operation, the metadata entity topology link is displayed in the visualization interface.
[0075] In this embodiment, the display operation can be understood as a display request for the metadata entity topology link issued by the client user.
[0076] Specifically, the user performs a display operation of the metadata entity topology link on the client, and the client transmits the display operation. The display operation sent by the client is received, the metadata entity topology link is called based on the display operation, and the metadata entity topology link is sent to the client, so as to display the metadata entity topology link on the visual interface of the client.
[0077] b4) Receive a style configuration trigger operation for any topological node in the metadata entity topological link.
[0078] In this embodiment, the style configuration triggering operation can be understood as a request sent by a client user to modify the configuration of the display style of a topology node.
[0079] Specifically, when the user performs a style configuration click trigger operation on any topological node in the metadata entity topological link on the client, the client transmits the style configuration trigger operation and receives the style configuration trigger operation sent by the client.
[0080] c4) Display the style configuration window of the relative topology node, which contains node style configuration items; the node style configuration items include node name configuration item, node graphic configuration item, node icon configuration item, node color configuration item and node size configuration item.
[0081] In this embodiment, the style configuration window can be understood as a window displayed on a visual interface that facilitates users to configure the style of topological nodes. The style configuration window contains node style configuration items; node style configuration items include node name configuration items, node graphic configuration items, node icon configuration items, node color configuration items and node size configuration items.
[0082] Specifically, after receiving the style configuration trigger operation of the topological node, in response to the operation, a style configuration window relative to the topological node pops up on the display interface, and receives the style configuration operation made by the user on the client, and modifies the display form of the topological node on the visualization interface based on the style configuration operation.
[0083] For example, Figure 4 is an example display diagram of a style configuration window involved in a method for analyzing power grid data provided in the first embodiment of the present disclosure, such as Figure 4 As shown, the metadata entity corresponding to the topological node is a data table. At this time, the style configuration window includes entity name, display name (i.e., node name configuration item), graphic (i.e., node graphic configuration item), icon (i.e., node icon configuration item), color (i.e., node color configuration item), and size (i.e., node size configuration item). The node name configuration item supports the definition of the prefix, display field, and suffix of the display name; the node graphic configuration item supports the configuration of the shape of the topological node in the metadata entity topological link; the node icon configuration item supports the configuration of the icon of the topological node in the metadata entity topological link; the node color configuration item supports the configuration of the color of the topological node in the metadata entity topological link; the node size configuration item supports the configuration of the size of the topological node in the metadata entity topological link, including at least three options: large, medium, and small.
[0084] It is understandable that the style configuration window can also include style rule configuration, which supports defining the display method based on specific rules. Style rule configuration includes adding rules, editing rules and deleting rules. Based on the triggering of adding rules, the creation of rule names, rule properties, resident legends, shapes, colors, and sizes can be realized. Based on the triggering of editing rules, the editing of rule names, rule properties, resident legends, shapes, colors, and sizes can be realized. Based on the triggering of deleting rules, the deletion of the current rule can be realized.
[0085] By customizing the displayed content and flexibly configuring the style rules in the metadata entity topology link, users can perform more refined, flexible and convenient management and display according to actual needs, thereby improving the user experience.
[0086] Embodiment 2
[0087] Figure 5 This is a schematic diagram of the structure of a power grid data analysis device provided in the second embodiment of the present disclosure. Figure 5 As shown, the device comprises:
[0088] A topology link calling module 21 is used to call a pre-built metadata entity topology link in response to a data analysis operation triggered by a target to be analyzed in the presented visualization interface, wherein the metadata entity topology link includes at least one topology node representing a pre-defined metadata entity and also includes a relationship edge representing a pre-defined entity association relationship;
[0089] A sub-topology map extraction module 22 is used to extract the target sub-topology map associated with the target to be analyzed from the metadata entity topology link according to the data analysis conditions included in the data analysis operation;
[0090] The analysis result determination module 23 is used to access the database involved in the target to be analyzed, and obtain the node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed.
[0091] Embodiment 2 of the present disclosure provides an analysis device for power grid data. The metadata entity topology link adopted can comprehensively describe the structure, attributes and relationships of core power grid data, accurately understand and describe the meaning and association of power grid data, improve the accuracy and efficiency of power grid data management, and make power grid data management more comprehensive and systematic; the analysis of power grid data based on the metadata entity topology link reduces the time cost of data search and processing, and improves the efficiency of data analysis and utilization.
[0092] Optionally, the metadata entity is a key object or data type involved in power grid data management;
[0093] The relationship edge is obtained by analyzing the association relationship between metadata entities based on the determined relationship type;
[0094] Each topological node in the metadata entity topological link is pre-defined with an attribute item, and the attribute data information of each attribute item is determined by accessing a database involved in the target to be analyzed and serves as the node data information of the corresponding topological node.
[0095] Optionally, the metadata entity is divided into at least one of the following categories: management platform category, data set category, data knowledge category, and data application category;
[0096] The objects in the management platform class as metadata entities include: platform;
[0097] The objects in the dataset class as metadata entities include: data source, dataset, data table, data field, data element, task and task running record;
[0098] The objects in the data knowledge class as metadata entities include: business entities, business entity relationships, and tags;
[0099] The objects in the data application class that are metadata entities include: charts, dashboards, indicators, data services, data users, table log records, and service operations;
[0100] Objects that are start topology nodes and / or end topology nodes in a relationship edge include: datasets, data tables, data fields, tasks, diagrams, data users, business entities, business entity relationships, labels, and services.
[0101] Optionally, the device further includes a topology link construction module, which is specifically used to:
[0102] Acquire model ontology information pre-configured for graph structure model construction, wherein the model ontology information includes: class information, attribute information, association relationship information, and constraint condition information;
[0103] The metadata entities are organized in a set hierarchical structure based on the model ontology information to form a metadata entity graph structure model, and the metadata entity graph structure model is recorded as a metadata entity topology link.
[0104] Optionally, the sub-topology map extraction module is specifically used to:
[0105] Parsing the data analysis operation to obtain data analysis conditions configured relative to the target to be analyzed, wherein the data analysis conditions are configured in a condition editing box in the visualization interface before triggering the data analysis operation;
[0106] According to the data analysis condition, determine the first topological node and the second topological node respectively corresponding to the target to be analyzed in the metadata entity topological link;
[0107] Traversing the metadata entity topology link to determine all connection paths from the first topology node to the second topology node;
[0108] The sub-topology structure formed based on each of the connection paths is determined as a target sub-topology graph associated with the target to be analyzed.
[0109] Optionally, the device further comprises a sub-topology map display module, which is used to display the target sub-topology map in the visualization interface, and after receiving a trigger on any topology node in the target sub-topology map, display the node data information corresponding to the topology node.
[0110] Optionally, the device further includes a style configuration module, specifically configured to:
[0111] In response to a display operation of the metadata entity topology link, displaying the metadata entity topology link in the visualization interface;
[0112] Receiving a style configuration trigger operation for any topological node in the metadata entity topological link;
[0113] Displaying a style configuration window relative to the topological node and node style configuration items contained in the style configuration window;
[0114] The node style configuration items include a node name configuration item, a node graphic configuration item, a node icon configuration item, a node color configuration item, and a node size configuration item.
[0115] The power grid data analysis device provided in the embodiments of the present disclosure can execute the power grid data analysis method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0116] Embodiment 3
[0117] Figure 6 A schematic diagram of the structure of an electronic device provided for Embodiment 3 of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present disclosure described and / or claimed herein.
[0118] like Figure 6As shown, the electronic device 30 includes at least one processor 31, and a memory connected to the at least one processor 31 in communication, such as a read-only memory (ROM) 32, a random access memory (RAM) 33, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 31 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 32 or the computer program loaded from the storage unit 38 to the random access memory (RAM) 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 can also be stored. The processor 31, the ROM 32, and the RAM 33 are connected to each other through a bus 34. An input / output (I / O) interface 35 is also connected to the bus 34.
[0119] A number of components in the electronic device 30 are connected to the I / O interface 35, including: an input unit 36, such as a keyboard, a mouse, etc.; an output unit 37, such as various types of displays, speakers, etc.; a storage unit 38, such as a disk, an optical disk, etc.; and a communication unit 39, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0120] The processor 31 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 31 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, processor, microprocessor, etc. The processor 31 executes the various methods and processes described above, such as the analysis method of power grid data.
[0121] In some embodiments, the method for analyzing power grid data may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 30 via the ROM 32 and / or the communication unit 39. When the computer program is loaded into the RAM 33 and executed by the processor 31, one or more steps of the method for analyzing power grid data described above may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the method for analyzing power grid data in any other appropriate manner (e.g., by means of firmware).
[0122] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0123] The computer programs for implementing the methods of the embodiments of the present disclosure may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0124] In the context of the embodiments of the present disclosure, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0125] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0126] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0127] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0128] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the embodiments of the present disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions of the embodiments of the present disclosure can be achieved, and this document does not limit this.
[0129] The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present disclosure shall be included in the protection scope of the embodiments of the present disclosure.
Claims
1. A method for analyzing power grid data, characterized in that: include: In response to a data analysis operation triggered in the presented visualization interface relative to a target to be analyzed, a pre-constructed metadata entity topology link is called, wherein the metadata entity topology link includes at least one topological node representing a pre-defined metadata entity and also includes a relationship edge representing an association relationship between the pre-defined entities; According to the data analysis conditions included in the data analysis operation, extracting the target sub-topology graph associated with the target to be analyzed from the metadata entity topology link; Accessing the database involved in the target to be analyzed, and obtaining the node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed; The metadata entities are classified into at least one of the following categories: management platform category, data set category, data knowledge category, and data application category; The objects in the management platform class as metadata entities include: platform; The objects in the dataset class as metadata entities include: data source, dataset, data table, data field, data element, task and task running record; The objects in the data knowledge class as metadata entities include: business entities, business entity relationships, and tags; The objects in the data application class that are metadata entities include: charts, dashboards, indicators, data services, data users, table log records, and service operations; Objects that are start topology nodes and / or end topology nodes in a relationship edge include: datasets, data tables, data fields, tasks, diagrams, data users, business entities, business entity relationships, labels, and services.
2. The method according to claim 1, characterized in that The metadata entity is a key object or data type involved in power grid data management; The relationship edge is obtained by analyzing the association relationship between metadata entities based on the determined relationship type; Each topological node in the metadata entity topological link is pre-defined with an attribute item, and the attribute data information of each attribute item is determined by accessing a database involved in the target to be analyzed and serves as the node data information of the corresponding topological node.
3. The method according to claim 1, characterized in that The steps of constructing the metadata entity topology link include: Acquire model ontology information pre-configured for graph structure model construction, wherein the model ontology information includes: class information, attribute information, association relationship information, and constraint condition information; The metadata entities are organized in a set hierarchical structure based on the model ontology information to form a metadata entity graph structure model, and the metadata entity graph structure model is recorded as a metadata entity topology link.
4. The method according to claim 1, characterized in that: The step of extracting the target sub-topology graph associated with the target to be analyzed from the metadata entity topology link according to the data analysis condition included in the data analysis operation includes: Parsing the data analysis operation to obtain data analysis conditions configured relative to the target to be analyzed, wherein the data analysis conditions are configured in a condition editing box in the visualization interface before triggering the data analysis operation; According to the data analysis condition, determine the first topological node and the second topological node respectively corresponding to the target to be analyzed in the metadata entity topological link; Traversing the metadata entity topology link to determine all connection paths from the first topology node to the second topology node; The sub-topology structure formed based on each of the connection paths is determined as a target sub-topology graph associated with the target to be analyzed.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: The target sub-topology map is displayed in the visualization interface, and after receiving a trigger on any topology node in the target sub-topology map, the node data information corresponding to the topology node is displayed.
6. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to a display operation of the metadata entity topology link, displaying the metadata entity topology link in the visualization interface; Receiving a style configuration trigger operation for any topological node in the metadata entity topological link; Displaying a style configuration window relative to the topological node and node style configuration items contained in the style configuration window; The node style configuration items include a node name configuration item, a node graphic configuration item, a node icon configuration item, a node color configuration item, and a node size configuration item.
7. A device for analyzing power grid data, characterized in that: include: A topology link calling module, configured to call a pre-built metadata entity topology link in response to a data analysis operation triggered in response to a target to be analyzed in the presented visualization interface, wherein the metadata entity topology link includes at least one topology node representing a pre-defined metadata entity and also includes a relationship edge representing a pre-defined entity association relationship; A sub-topology map extraction module is used to extract the target sub-topology map associated with the target to be analyzed from the metadata entity topology link according to the data analysis conditions included in the data analysis operation; An analysis result determination module is used to access the database involved in the target to be analyzed, and obtain the node data information corresponding to each topological node in the target sub-topological graph as the data analysis result of the target to be analyzed; The metadata entities are classified into at least one of the following categories: management platform category, data set category, data knowledge category, and data application category; The objects in the management platform class as metadata entities include: platform; The objects in the dataset class as metadata entities include: data source, dataset, data table, data field, data element, task and task running record; The objects in the data knowledge class as metadata entities include: business entities, business entity relationships, and tags; The objects in the data application class that are metadata entities include: charts, dashboards, indicators, data services, data users, table log records, and service operations; Objects that are start topology nodes and / or end topology nodes in a relationship edge include: datasets, data tables, data fields, tasks, diagrams, data users, business entities, business entity relationships, labels, and services.
8. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the power grid data analysis method as described in any one of claims 1-6.
9. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the power grid data analysis method according to any one of claims 1 to 6.
