Big data end-to-end monitoring method and system for power grid data middle platform
By integrating the data asset panoramic link, runtime status, and anomaly management modules with graph databases and BI reporting tools, the system addresses the issues of uniformity and efficiency in big data monitoring of the power grid data platform, achieving efficient end-to-end monitoring and anomaly management.
Patent Information
- Application Number
- CN202211368895.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-11-03
AI Technical Summary
The existing big data monitoring methods of the power grid data platform cannot meet production needs, cannot perform unified and efficient monitoring, and have high communication costs and low efficiency among project teams when troubleshooting problems.
By employing a comprehensive data asset tracking system, including data asset runtime status, anomaly management modules, and monitoring reports, and through a middleware task orchestration management system, SQL parsing, and API call link merging, combined with graph databases, distributed databases, and BI reporting tools, we can achieve full-link monitoring of data assets and real-time anomaly alerts.
It enables end-to-end big data monitoring of the power grid data platform, improving the reliability and efficiency of monitoring, reducing communication costs, and providing panoramic data asset monitoring and anomaly management.
Smart Images

Figure CN115543753B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer security technology, specifically relating to a big data end-to-end monitoring method and system for power grid data platforms. Background Technology
[0002] With economic and technological development and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and daily life, bringing endless convenience. Therefore, ensuring a stable and reliable supply of electricity has become one of the most important tasks of the power system.
[0003] Currently, with the development of power systems and the continuous advancement of big data applications and data platforms, the monitoring of the operational and asset status of big data applications is becoming increasingly challenging. From a monitoring perspective, big data applications exhibit diverse data types, including both structured and unstructured data; data processing methods encompass real-time streaming and offline batch processing; and processing components involve data synchronization, data processing, data services, in-memory computing, and full-text search. Existing big data monitoring methods rely on traditional approaches such as metadata, table lineage, and asset catalogs for data asset monitoring. However, this approach cannot meet production demands. For example, questions remain regarding the components used in data processing, the data volume, the processing time and resources consumed, the number of applications served by the processed data, how to measure the generated value, and how to quickly pinpoint the source of problems (such as table quality issues, task execution anomalies, API service anomalies, component execution anomalies, etc.). Therefore, existing monitoring solutions cannot provide unified and efficient monitoring.
[0004] Furthermore, from the perspective of system support personnel, the existing power grid data platform is jointly developed and maintained by multiple project teams, and can be broadly categorized into three roles: data asset link maintenance personnel, platform component maintenance personnel, and data application personnel. Data asset link maintenance personnel focus on the implementation and maintenance of data processing code, such as SQL development, table creation, business script writing, and ensuring the smooth operation of data processing tasks. Platform component maintenance personnel focus on the usage of the platform's basic components, such as CPU consumption and storage usage. Data application personnel are those who use specific big data applications, acquiring data from the data warehouse through APIs and reports to support specific applications. However, problems during data production can occur in any aspect of the platform, including components, resources, SQL, data quality, and API calls. When troubleshooting, each project team needs to investigate its own issues and also assist other project teams in investigating their problems, resulting in low efficiency and high communication costs. Summary of the Invention
[0005] One of the objectives of this invention is to provide a highly reliable, efficient, secure, and stable end-to-end big data monitoring method for power grid data platforms.
[0006] The second objective of this invention is to provide a system for implementing the aforementioned big data end-to-end monitoring method for power grid data middleware.
[0007] The big data end-to-end monitoring method for power grid data platforms provided by this invention includes the following steps:
[0008] S1. Realize a comprehensive data asset ecosystem;
[0009] S2. Implement the runtime state of data assets;
[0010] S3. Configure the exception management module;
[0011] S4. Implement the development of monitoring reports to complete end-to-end big data monitoring for the power grid data platform.
[0012] Step S1, which describes the realization of a comprehensive data asset pipeline, specifically includes the following steps:
[0013] The data processing process includes processing links, table lineage links, API call links, and management and approval links;
[0014] In practice, the following steps are used to merge the links in the data processing process, thereby forming a complete middleware full-link lineage as the foundation:
[0015] The task orchestration and management system in the middle platform identifies the relationships between tasks and tables, and between tasks themselves, forming task-table chains. SQL statements are used to parse the relationships between tables, forming table lineages. The service marketplace identifies the relationships between tables and APIs, forming table-API lineages. The API gateway's subscription relationships form API-application subscription lineages.
[0016] Connecting the above content forms a complete end-to-end lineage relationship for the middle platform; the corresponding methods for obtaining relational metadata include data integration with the middle platform's metadata repository, Excel import, log parsing, and API / SDK access.
[0017] Step S2, which describes the implementation of the data asset runtime state, specifically includes the following steps:
[0018] The runtime status of data assets includes the data runtime information status and the component runtime data status;
[0019] The data operation status information is sent from the cloud platform to the local Dataworks, and parsed into the RDS database through DataHub and Blink; the parsed content includes task runtime, task status, table data volume and API call logs;
[0020] The component runtime status data was collected from 12 types of middleware components via API and SDK and written to RDS.
[0021] The 12 types of middleware components include Dataworks, Maxcompute, Blink, ADB, RDS, TSDB, OSS, Datahub, OGG, ES, OTS, and UEP.
[0022] The setting of the exception management module in step S3 specifically includes the following steps:
[0023] The exception management module includes a trigger configuration submodule, a trigger management submodule, and an alarm submodule;
[0024] Triggers are deployed to specific nodes using Docker; corresponding triggers are set for different types of nodes; each trigger is encapsulated in a container for easy plugging, unplugging, and maintenance.
[0025] The trigger configuration submodule is used to set exception thresholds for individual or all triggers as needed;
[0026] The trigger management submodule is used to set exception thresholds for individual or all triggers;
[0027] The alarm submodule is bound to the trigger submodule to set specific exception sending methods, alarm routing methods, and alarm content; enabling different exception subscribers and different content to be sent under different trigger values or the same trigger value; this system currently supports three alarm channels: DingTalk, Zabbix, and email.
[0028] Step S4 describes the development of monitoring reports, which specifically includes the following steps:
[0029] Develop runtime reports for each node and component;
[0030] Operational data is extracted from RDS into Maxcompute for processing, and then presented in a BI manner.
[0031] Key metrics include the following:
[0032] Dataworks metrics include slot utilization, number of space tasks, number of successful tasks, number of failed tasks, number of running tasks, number of configured slots, maximum number of slots used, minimum number of slots used, average number of slots used, maximum utilization rate, minimum utilization rate, average utilization rate, and alarm metrics.
[0033] Maxcompute metrics include CU utilization, disk utilization, project CPU quota, maximum utilization, minimum utilization, average utilization, maximum utilization rate, minimum utilization rate, average utilization rate, project storage quota, disk utilization, maximum utilization rate, minimum utilization rate, average utilization rate, and alarm metrics.
[0034] Blink metrics include CU utilization rate, project quota, maximum utilization, minimum utilization, average utilization, maximum utilization rate, minimum utilization rate, average utilization rate, CU utilization details, and alarm metrics monitoring.
[0035] ADB metrics include disk utilization, instance details, instance single-node quota, cluster node count, single-node usage, disk utilization, and alarm metrics monitoring.
[0036] RDS metrics include monitoring of disk utilization, instance details, storage quota, usage, storage utilization rate, and alarm metrics;
[0037] TSDB metrics include disk utilization, failed instances, instance quotas, disk usage, and utilization rate.
[0038] OSS metrics include monitoring of resource set quantity, disk utilization, number of buckets, resource set details, number of buckets, capacity, usage, utilization rate, and alarm metrics.
[0039] Datahub metrics include total storage, today's read traffic, today's write traffic, topic collection, project storage, cluster storage, project percentage, and alarm metrics monitoring.
[0040] OGG metrics include process count, process details, and process status.
[0041] ES metrics include disk utilization, status, host details, disk usage, quota, utilization rate, shard details, number of shards, number of replicas, primary shard storage, total storage, and alarm metrics.
[0042] OTS metrics: including total number of tables and alarm metrics monitoring;
[0043] UEP metrics include the number of running tasks, the number of abnormal tasks, and task details.
[0044] The described big data end-to-end monitoring method for power grid data platforms collects task link information, table lineage information, API gateway information, and application lists from the application marketplace through scheduled tasks. It analyzes upstream and downstream logs to find relationships between information and regenerates the T-1 panoramic base link daily, retaining historical versions of the panoramic base data. Using a graph database as storage, it establishes a panoramic data asset link model, treating nodes in the original link as points in the graph, relationships as edges, and metadata and component information as attributes of the points for attachment and extension. A distributed database is used for storage and computation. Real-time big data computing technology is employed for analysis and location during use, while BI reporting tools meet the needs of different users for indicator display and early warning. Finally, Docker container technology is used for node monitoring and data embedding, decoupling it from the main monitoring program.
[0045] This invention also discloses a system for implementing the aforementioned big data end-to-end monitoring method for a power grid data platform, specifically including a link implementation module, a runtime status implementation module, an anomaly management module, and a report development module; the link implementation module, runtime status implementation module, anomaly management module, and report development module are connected in series; the link implementation module is used to implement a panoramic link of data assets and upload the data to the runtime status implementation module; the runtime status implementation module is used to implement the runtime status of data assets and upload the data to the anomaly management module; the anomaly management module is used to set up an anomaly management module and upload the data to the report development module; the report development module is used to develop monitoring reports, completing the big data end-to-end monitoring for a power grid data platform.
[0046] The present invention provides a big data end-to-end monitoring method and system for power grid data platforms, which provides full-link monitoring of data assets and real-time fault alarms for operation and maintenance personnel of data asset links, platform components, and applications. It can realize end-to-end monitoring of big data, and is highly reliable, efficient, safe and stable. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of the method flow of the present invention.
[0048] Figure 2 This is a schematic diagram of the existing links in the middle platform of the method of the present invention.
[0049] Figure 3 This is a schematic diagram of the data asset panoramic link in the method of the present invention.
[0050] Figure 4 This is a schematic diagram of the data operation information flow in the method of the present invention.
[0051] Figure 5This is a schematic diagram of the component operation data flow in the method of the present invention.
[0052] Figure 6 This is a schematic diagram of the system functional modules of the present invention. Detailed Implementation
[0053] like Figure 1 The diagram shown is a flowchart of the method of the present invention: The end-to-end big data monitoring method for power grid data platforms provided by the present invention includes the following steps:
[0054] S1. Implement a comprehensive data asset ecosystem; specifically including the following steps:
[0055] The data processing process includes processing links, table lineage links, API call links, and management approval links; these links run through the data processing, table generation, data services, and management aspects; the data flow is as follows: Figure 2 As shown: The complete data flow starts from data acquisition and processing. The middle platform ETL process connects multiple tables, and at the same time, corresponding data warehouse tables are generated in ODS, DWD, and ADS. Finally, the ADS table will be synchronized to the relational data graph to serve BI or production applications.
[0056] In practice, the following steps are used to merge the links in the data processing process, thereby forming a complete middleware full-link lineage as the foundation (the process is as follows). Figure 3 As shown):
[0057] By using the task orchestration and management platform, we can identify the relationships between tasks and tables, and between tasks themselves, thus forming task-table chains. Through SQL statements, we can parse the relationships between tables and establish table lineages. Through the service marketplace, we can identify the relationships between tables and APIs, thus establishing table-API lineages. Through the subscription relationships of the API gateway, we can establish API-application subscription lineages.
[0058] Connecting the above content forms a complete end-to-end lineage relationship of the middle platform; the corresponding methods for obtaining relational metadata include data integration with the middle platform's metadata repository, Excel import, log parsing, and API / SDK access.
[0059] S2. Implement the runtime state of data assets; specifically including the following steps:
[0060] The runtime status of data assets includes the data runtime information status and the component runtime data status;
[0061] Data execution status information is generated by real-time log data being sent from the cloud platform to the local Dataworks database, and then parsed into the RDS database via DataHub and Blink. The parsed content includes task runtime, task status, table data volume, and API call logs. A flowchart illustrating the data execution information flow is shown below. Figure 4 As shown: Log information is sent to the middle platform via DataHub and Blink, and then parsed by the middle platform. The parsed information is stored in the RDS database to support end-to-end monitoring and analysis.
[0062] The component runtime status data is collected via API and SDK, and written to RDS to track the real-time runtime status of 12 types of middleware components; the specific data flow is as follows: Figure 5 As shown: The system obtains the component's runtime information in real time through APIs and SDKs, stores it in the middle platform for analysis and processing, and provides the results to the outside world in the form of BI reports;
[0063] The 12 types of middleware components include Dataworks, Maxcompute, Blink, ADB, RDS, TSDB, OSS, Datahub, OGG, ES, OTS, and UEP;
[0064] S3. Configure the exception management module; specifically, it includes the following steps:
[0065] The exception management module includes a trigger configuration submodule, a trigger management submodule, and an alarm submodule;
[0066] Triggers are deployed to specific nodes using Docker; corresponding triggers are set for different types of nodes (including tasks, tables, components, APIs, etc.); each trigger is encapsulated in a container for easy plugging, unplugging, and maintenance.
[0067] The trigger configuration submodule is used to set exception thresholds for single or all triggers according to requirements; for example, it can set the timeout of tasks, set the QPS of APIs, etc.; once an exception occurs, it is distributed to multiple channels through the alarm center routing management.
[0068] The trigger management submodule is used to set exception thresholds for individual or all triggers;
[0069] The alarm submodule is bound to the trigger submodule to set specific exception sending methods, alarm routing methods, and alarm content; enabling different alarms to be sent to different exception subscribers and different content under different or the same trigger value; this system currently supports three alarm channels: DingTalk, Zabbix, and email.
[0070] S4. Develop monitoring reports to achieve end-to-end big data monitoring for the power grid data platform; specifically including the following steps:
[0071] Develop runtime reports for each node and component;
[0072] Operational data is extracted from RDS into Maxcompute for processing, and then presented in a BI manner.
[0073] Key metrics include the following:
[0074] Dataworks metrics include slot utilization, number of space tasks, number of successful tasks, number of failed tasks, number of running tasks, number of configured slots, maximum number of slots used, minimum number of slots used, average number of slots used, maximum utilization rate, minimum utilization rate, average utilization rate, and alarm metrics.
[0075] Maxcompute metrics include CU utilization, disk utilization, project CPU quota, maximum utilization, minimum utilization, average utilization, maximum utilization rate, minimum utilization rate, average utilization rate, project storage quota, disk utilization, maximum utilization rate, minimum utilization rate, average utilization rate, and alarm metrics.
[0076] Blink metrics include CU utilization rate, project quota, maximum utilization, minimum utilization, average utilization, maximum utilization rate, minimum utilization rate, average utilization rate, CU utilization details, and alarm metrics monitoring.
[0077] ADB metrics include disk utilization, instance details, instance single-node quota, cluster node count, single-node usage, disk utilization, and alarm metrics monitoring.
[0078] RDS metrics include monitoring of disk utilization, instance details, storage quota, usage, storage utilization rate, and alarm metrics;
[0079] TSDB metrics include disk utilization, failed instances, instance quotas, disk usage, and utilization rate.
[0080] OSS metrics include monitoring of resource set quantity, disk utilization, number of buckets, resource set details, number of buckets, capacity, usage, utilization rate, and alarm metrics.
[0081] Datahub metrics include total storage, today's read traffic, today's write traffic, topic collection, project storage, cluster storage, project percentage, and alarm metrics monitoring.
[0082] OGG metrics include process count, process details, and process status.
[0083] ES metrics include disk utilization, status, host details, disk usage, quota, utilization rate, shard details, number of shards, number of replicas, primary shard storage, total storage, and alarm metrics.
[0084] OTS metrics: including total number of tables and alarm metrics monitoring;
[0085] UEP metrics include the number of running tasks, the number of abnormal tasks, and task details.
[0086] In practical implementation, the big data end-to-end monitoring method for the power grid data platform collects task link information, table lineage information, API gateway information, and application lists from the application marketplace through scheduled tasks. It analyzes upstream and downstream logs to find relationships between information and regenerates the T-1 panoramic base link daily, retaining historical versions of the panoramic base data. Using a graph database as storage, a panoramic data asset link model is established, treating nodes in the original link as points in the graph, relationships as edges, and metadata and component information as attributes of the points for attachment and extension. A distributed database is used as the storage and computation carrier. Real-time big data computing technology is employed for analysis and positioning during use, while BI reporting tools meet the needs of different users for indicator display and early warning. Finally, Docker container technology is used for node monitoring and data embedding, decoupling it from the main monitoring program.
[0087] like Figure 6 The diagram shows the system functional modules of the present invention. The present invention also discloses a system for implementing the aforementioned big data end-to-end monitoring method for a power grid data platform, specifically including a link implementation module, a runtime status implementation module, an anomaly management module, and a report development module. These modules are connected in series. The link implementation module implements a panoramic link for data assets and uploads the data to the runtime status implementation module. The runtime status implementation module implements the runtime status of data assets and uploads the data to the anomaly management module. The anomaly management module sets up the anomaly management module and uploads the data to the report development module. The report development module develops monitoring reports to complete the big data end-to-end monitoring for the power grid data platform.
Claims
1. A big data end-to-end monitoring method for power grid data platforms, comprising the following steps: S1. Implement a comprehensive data asset pipeline; specifically including the following steps: The data processing process includes processing links, table lineage links, API call links, and management and approval links; In practice, the following steps are used to merge the links in the data processing process, thereby forming a complete middleware full-link lineage as the foundation: The task orchestration and management system in the middle platform identifies the relationships between tasks and tables, and between tasks themselves, forming task-table chains. SQL statements are used to parse the relationships between tables, forming table lineages. The service marketplace identifies the relationships between tables and APIs, forming table-API lineages. The API gateway's subscription relationships form API-application subscription lineages. The processing link, table lineage link, API call link, and management approval link are connected to form a complete middle platform full-link lineage relationship; the corresponding methods for obtaining relational metadata information include data docking with the middle platform metadata warehouse, Excel import, log parsing, and API / SDK access. S2. Implement the runtime state of data assets; specifically including the following steps: The runtime status of data assets includes the data runtime information status and the component runtime data status; The data operation status information is sent from the cloud platform to the local Dataworks, and parsed into the RDS database through DataHub and Blink; the parsed content includes task runtime, task status, table data volume and API call logs; The component runtime status data was collected from 12 types of middleware components via API and SDK and written to RDS. The 12 types of middleware components include Dataworks, Maxcompute, Blink, ADB, RDS, TSDB, OSS, Datahub, OGG, ES, OTS, and UEP; S3. Configure the exception management module; specifically, it includes the following steps: The exception management module includes a trigger configuration submodule, a trigger management submodule, and an alarm submodule; Triggers are deployed to specific nodes using Docker; corresponding triggers are set for different types of nodes; each trigger is encapsulated in a container for easy plugging, unplugging, and maintenance. The trigger configuration submodule is used to set exception thresholds for individual or all triggers as needed; The trigger management submodule is used to set exception thresholds for individual or all triggers; The alarm submodule is bound to the trigger submodule to set specific exception sending methods, alarm routing methods and alarm content, so as to send different content to different exception subscribers under different trigger values or the same trigger value; S4. Develop monitoring reports to achieve end-to-end big data monitoring for the power grid data platform; specifically including the following steps: Develop runtime reports for each node and component; Operational data is extracted into Maxcompute via RDS for processing, and then presented in a BI manner. The aforementioned big data end-to-end monitoring method for power grid data middleware collects task link information, table lineage information, API gateway information, and application list from the application market through scheduled tasks; it analyzes the relationships between information in upstream and downstream logs, and regenerates the T-1 panoramic base link daily while retaining historical versions of the panoramic base data; it establishes a panoramic data asset link model using a graph database as the storage medium, treating nodes in the original link as points in the graph, relationships in the original link as edges in the graph, and metadata and component information as attributes of points in the graph for attachment and extension; Distributed databases are used as storage and computing carriers; real-time big data computing technology is used for analysis and positioning during use, while BI reporting tools are used to meet the needs of different users for displaying and alerting on indicators; finally, Docker container technology is used for node monitoring and data entry, decoupling it from the main monitoring program.
2. The big data end-to-end monitoring method for power grid data platform according to claim 1, characterized in that... Key metrics include the following: Dataworks metrics include slot utilization, number of space tasks, number of successful tasks, number of failed tasks, number of running tasks, number of configured slots, maximum number of slots used, minimum number of slots used, average number of slots used, maximum utilization rate, minimum utilization rate, average utilization rate, and alarm metrics. Maxcompute metrics include CU utilization, disk utilization, project CPU quota, maximum utilization, minimum utilization, average utilization, project storage quota, disk utilization, maximum utilization, minimum utilization, average utilization, and alarm metrics. Blink metrics include CU utilization rate, project quota, maximum utilization, minimum utilization, average utilization, maximum utilization rate, minimum utilization rate, average utilization rate, CU utilization details, and alarm metrics monitoring. ADB metrics include disk utilization, instance details, instance single-node quota, cluster node count, single-node usage, disk utilization, and alarm metrics monitoring. RDS metrics include monitoring of disk utilization, instance details, storage quota, usage, storage utilization rate, and alarm metrics; TSDB metrics include disk utilization, failed instances, instance quotas, disk usage, and utilization rate. OSS metrics include monitoring of resource set quantity, disk utilization, bucket quantity, resource set details, capacity, usage, utilization rate, and alarm metrics; Datahub metrics include total storage, today's read traffic, today's write traffic, topic collection, project storage, cluster storage, project percentage, and alarm metrics monitoring. OGG metrics include process count, process details, and process status. ES metrics include disk utilization, status, host details, disk usage, quota, utilization rate, shard details, number of shards, number of replicas, primary shard storage, total storage, and alarm metrics. OTS metrics: including total number of tables and alarm metrics monitoring; UEP metrics include the number of running tasks, the number of abnormal tasks, and task details.
3. A system for implementing the big data end-to-end monitoring method for a power grid data platform as described in claim 1 or 2, specifically comprising a link implementation module, a runtime status implementation module, an anomaly management module, and a report development module; the link implementation module, runtime status implementation module, anomaly management module, and report development module are connected in series; the link implementation module is used to implement a panoramic link of data assets and upload the data to the runtime status implementation module; the runtime status implementation module is used to implement the runtime status of data assets and upload the data to the anomaly management module; the anomaly management module is used to set up the anomaly management module and upload the data to the report development module; the report development module is used to develop monitoring reports and complete the big data end-to-end monitoring for a power grid data platform.
Citation Information
Patent Citations
Data application full-link management and control method and system
CN113468159A
Data consanguinity analysis method oriented to power grid company data center
CN114971176A
