Data quality multi-level collaborative treatment method, system and device and storage medium

By constructing tag definition tables and data quality tags in the power dispatching multi-level system, generating and sharing data quality tags, it solves the problem that existing technology cannot globally analyze data quality, realizes multi-level collaborative governance of data quality, and improves data quality. quality and management level.

CN118657494APending Publication Date: 2024-09-17STATE GRID ELECTRIC POWER RES INST +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410835646.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing power dispatch control and management system cannot effectively analyze data quality from a global perspective, resulting in the inability of higher-level management agencies to grasp the data quality of lower-level systems, the inability to achieve multi-level collaborative data quality management, and the inability to improve the management level of power operation data.

Method used

By constructing a tag definition table in the power dispatching multi-level system, defining and storing tag definition information and calculation rules, generating data quality tags, and aggregating them to form the data quality evaluation results of data objects, sharing them in real time to the required systems, establishing parent-child Hierarchical relationships are described using self-correlated domains, and algorithm program entities are stored in the global algorithm rule base to provide a unified calling interface.

Benefits of technology

Significantly improves data quality, ensures data accuracy, consistency and completeness, provides a solid data foundation for power dispatching decisions, saves computing resources, reduces data processing complexity and cost, improves data processing efficiency, and expands the scope of data analysis. Increase the value of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657494A
    Figure CN118657494A
Patent Text Reader

Abstract

The invention discloses a data quality multi-level collaborative treatment method, system and device and a storage medium, and the method comprises the steps: selecting a system to be configured as a superior system, and configuring other remaining systems as subordinate systems of the superior system; each system constructs a label definition table through a label definition function program, and the label definition table is used for defining and storing label information; storing an algorithm program entity corresponding to the calculation rule of the tag in a preset local algorithm rule base in each system; each system constructs a label data entity table through a label generation function program, calculates and analyzes the data quality of a data object by using an algorithm rule program entity, generates a data quality label and stores the data quality label; issuing, auditing and updating of calculation rules of the system are synchronized to the whole multi-level system; the evaluation result of the data object of the system is shared to the system needing to be subscribed in real time; according to the invention, the treatment effect and the working efficiency of the associated data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a multi-level collaborative governance method, system, device and storage medium, and in particular to a multi-level collaborative governance method, system, device and storage medium for data quality, belonging to the technical field of power dispatching automation. Background Art

[0002] With the development of big data and cloud computing technologies, massive data storage technology support has been provided for the power dispatching automation system. Power management departments at all levels attach great importance to the management and integration of their data assets. As data accumulates, extracting benefits from the data has become the key direction of refined management of power dispatching departments.

[0003] my country's existing power dispatching and control management system adopts a hierarchical and multi-level management method based on voltage levels. A certain dispatching agency can only collect and store the operating data of the power grid under its jurisdiction in the region, and the management of data quality is limited to the data in this region. It is impossible to effectively analyze the data from a global perspective. This is inconsistent with the actual situation of the interconnected large power grid. The superior management agency cannot effectively grasp the data quality of the subordinate systems, and it is necessary to improve the management level of power operation data through multi-level collaborative data quality management. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a multi-level collaborative data quality management method, system, device and storage medium that can improve the management effect of related data and improve work efficiency.

[0005] Technical solution: The multi-level collaborative data quality governance method of the present invention includes:

[0006] Constructing a label definition table in each system of the multi-level power dispatching system to define and store label definition information and label calculation rules; the label definition information includes a data quality label and a source data table; the data quality label includes a label ID, a label name and a calculation object;

[0007] In each system, a label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, data quality labels are generated and stored, and data quality labels are aggregated to form the data quality evaluation results of the data object;

[0008] Each system writes the data quality label of the data object of the system into the label data entity table, and shares the data quality label and evaluation results in real time to the system that needs to subscribe.

[0009] Furthermore, the label definition table is constructed through a label definition function program, and the label definition table is also used to define the parent-child hierarchical relationship of labels, dividing labels into child labels and parent labels, and the parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

[0010] Furthermore, the calculation rules of the labels correspond to algorithm program entities, and the algorithm program entities are stored in a local algorithm rule library preset in each system, and the local algorithm rule library is a subset of the global algorithm rule library set in the multi-level system; the algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface.

[0011] Further, the label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, and the data quality label is generated and stored. Specifically, based on the label definition information in the label definition table, the label data entity table is constructed through the label generation function program, the data quality of the data object is calculated and analyzed using the calculation rules, and the data quality label is generated and stored. The method is as follows:

[0012] Read the tag definition table, extract tag definition information and tag calculation rules;

[0013] According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character;

[0014] Read the data in the source data table according to the tag definition information;

[0015] Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules;

[0016] Write data quality labels into the label data entity table;

[0017] Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step.

[0018] Calculate aggregate labels based on the generated data quality labels;

[0019] Write aggregated tags to the tag data entity table.

[0020] Furthermore, the data quality label is written into the label data entity table, and the specific method includes:

[0021] S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2;

[0022] S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4;

[0023] S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time;

[0024] S4: Label update is completed.

[0025] Furthermore, each system synchronizes the publication, review and update of the calculation rules of the system to the entire multi-level system; each system synchronizes the publication, review and update of the calculation rules of the system to the entire multi-level system specifically including:

[0026] Each system recommends a system as a superior system according to a preset standard, and the remaining systems serve as subordinate systems of the superior system;

[0027] The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval;

[0028] The superior system will review the modified content after receiving it;

[0029] If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval;

[0030] In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

[0031] Furthermore, each system writes the data quality label of the data object of the system into the label data entity table, and shares the written data quality label and the evaluation result in real time with the system that needs to subscribe. Specifically, in the label data entity table, a preset field is used to describe the subscription system of the evaluation object data quality label value. The preset field is described in binary bitwise, and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows:

[0032] The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated;

[0033] Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence;

[0034] The system that needs to be subscribed to resolves and updates the local data quality label entity table.

[0035] Based on the same inventive concept, the present invention also provides a multi-level collaborative governance system for data quality, including:

[0036] The label definition module is deployed in each system of the multi-level power dispatching system, and is used to construct a label definition table, which is used to define and store label definition information and label calculation rules; the label definition information includes data quality labels and source data tables;

[0037] The label generation module is deployed in each system and is used to build a label data entity table based on the label definition table, calculate and analyze the data quality of the data object, generate and store the data quality labels, and aggregate the data quality labels to form the data quality evaluation results of the data object;

[0038] The evaluation result collaboration module is deployed in each system and is used to write the data quality labels of the data objects of this system into the label data entity table, and share the data quality labels and evaluation results in real time to the systems that need to subscribe.

[0039] Furthermore, it also includes:

[0040] The algorithm rule library module includes a global algorithm rule library and a local algorithm rule library deployed in each system. The local algorithm rule library is used to store the algorithm program entity used by the calculation rules of the tag. The local algorithm rule library is a subset of the global algorithm rule library set in the multi-level system. The algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface.

[0041] The rule collaboration module is deployed in each system to synchronize the release, review and update of the calculation rules of this system to the entire multi-level system.

[0042] Furthermore, the label definition table of the label definition module is constructed through a label definition function program, and the label definition table is also used to define the parent-child hierarchical relationship of the label, dividing the label into a child label and a parent label, and the parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

[0043] Furthermore, the label generation module is specifically implemented by constructing a label data entity table through a label generation function program based on the label definition information in the label definition table, using calculation rules to calculate and analyze the data quality of the data object, generating and storing data quality labels, and the method is as follows:

[0044] Read the tag definition table, extract tag definition information and tag calculation rules;

[0045] According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character;

[0046] Read the data in the source data table according to the tag definition information;

[0047] Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules;

[0048] Write data quality labels into the label data entity table;

[0049] Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step.

[0050] Calculate aggregate labels based on the generated data quality labels;

[0051] Write aggregated tags to the tag data entity table.

[0052] Furthermore, the data quality label is written into the label data entity table, and the specific method includes:

[0053] S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2;

[0054] S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4;

[0055] S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time;

[0056] S4: Label update is completed.

[0057] Furthermore, the rule coordination module is specifically used for: each system recommends a system as a superior system according to a preset standard, and the remaining systems are subordinate systems of the superior system;

[0058] The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval;

[0059] The superior system will review the modified content after receiving it;

[0060] If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval;

[0061] In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

[0062] Furthermore, the evaluation result collaboration module is specifically a system that describes the subscription system of the evaluation object data quality label value using a preset field in the label data entity table. The preset field is described in binary bitwise and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows:

[0063] The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated;

[0064] Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence;

[0065] The system that needs to be subscribed to resolves and updates the local data quality label entity table.

[0066] Based on the same inventive concept, the present invention also provides a computing device, comprising: one or more processors, one or more memories and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the multi-level collaborative governance method for data quality according to any one of the above items are implemented.

[0067] Based on the same inventive concept, the present invention also provides a storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, enable the processor to perform the steps of the multi-level collaborative governance method for data quality according to any of the above items.

[0068] Beneficial effect: Compared with the prior art, the data quality multi-level collaborative governance method of the present invention has significant benefits and significantly improves data quality; through multi-level collaborative governance, a label definition table is constructed, and a label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, and a data quality label is generated to improve the data quality of power operation data, ensure the accuracy, consistency and integrity of the data, and provide a solid data foundation for mining data value and power grid dispatching decisions; multi-level collaborative governance can save computing resources, optimize the data processing process, reduce repeated data collection and calculation, and reduce the complexity and cost of data processing, which not only reduces the computing resource consumption of the enterprise, but also improves data processing. The speed and efficiency of data collection and analysis have saved precious time and resources for power companies. In the data management of power system operation data, data isolation often exists between automation systems of different departments and levels. Communication connections are established through various systems, and the data quality labels of data objects of this system are written into the label data entity table. The data quality labels and evaluation results are shared in real time to realize data sharing and collaborative work, expand the scope of data analysis, thereby improving the governance effect of related data and improving work efficiency. Multi-level collaborative governance of data quality enhances the value of data. High-quality data is an important asset of an enterprise. Through collaborative governance, power companies can make better use of data resources and tap the potential value of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 is a flow chart of a method according to an embodiment of the present invention;

[0070] Figure 2 A schematic diagram of label generation according to an embodiment of the present invention;

[0071] Figure 3 Schematic diagram of functional modules of an embodiment of the present invention. DETAILED DESCRIPTION

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

[0073] The multi-level collaborative governance method for the power system operation data quality of the present invention realizes the collaborative governance function of the power grid operation data in the multi-level dispatching and control system. The method analyzes the historical operation data in the dispatching and control system, defines the data quality-related data tags, analyzes the rationality, consistency, integrity, and correctness of the data to label the data, and designs multi-level collaborative rules to synchronize the update of the verification rules and unified management. The evaluation result sharing mechanism is designed to further perform data quality analysis and statistics globally, and improve the quality of power grid operation data when data anomalies are found, supporting power grid dispatching and operation and maintenance management.

[0074] Embodiment 1, as attached Figure 1 As shown, the multi-level collaborative data quality governance method of the embodiment of the present invention includes:

[0075] Constructing a label definition table in each system of the multi-level power dispatching system to define and store label definition information and label calculation rules; the label definition information includes a data quality label and a source data table; the data quality label includes a label ID, a label name and a calculation object;

[0076] In each system, a label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, data quality labels are generated and stored, and data quality labels are aggregated to form the data quality evaluation results of the data object;

[0077] Each system writes the data quality label of the data object of the system into the label data entity table, and shares the data quality label and evaluation results in real time to the system that needs to subscribe.

[0078] Furthermore, the label definition table is constructed through a label definition function program, and the label definition table is also used to define the parent-child hierarchical relationship of labels, dividing labels into child labels and parent labels, and the parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

[0079] Furthermore, the calculation rules of the labels correspond to algorithm program entities, and the algorithm program entities are stored in a local algorithm rule library preset in each system, and the local algorithm rule library is a subset of the global algorithm rule library set in the multi-level system; the algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface.

[0080] Further, the label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, and the data quality label is generated and stored. Specifically, based on the label definition information in the label definition table, the label data entity table is constructed through the label generation function program, the data quality of the data object is calculated and analyzed using the calculation rules, and the data quality label is generated and stored. The method is as follows:

[0081] Read the tag definition table, extract tag definition information and tag calculation rules;

[0082] According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character;

[0083] Read the data in the source data table according to the tag definition information;

[0084] Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules;

[0085] Write data quality labels into the label data entity table;

[0086] Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step.

[0087] Calculate aggregate labels based on the generated data quality labels;

[0088] Write aggregated tags to the tag data entity table.

[0089] Furthermore, the data quality label is written into the label data entity table, and the specific method includes:

[0090] S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2;

[0091] S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4;

[0092] S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time;

[0093] S4: Label update is completed.

[0094] Furthermore, each system synchronizes the publication, review and update of the calculation rules of the system to the entire multi-level system; each system synchronizes the publication, review and update of the calculation rules of the system to the entire multi-level system specifically including:

[0095] Each system recommends a system as a superior system according to a preset standard, and the remaining systems serve as subordinate systems of the superior system;

[0096] The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval;

[0097] The superior system will review the modified content after receiving it;

[0098] If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval;

[0099] In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

[0100] Furthermore, the data quality label of the data object of the system is written into the label data entity table, and the written data quality label and the evaluation result are shared in real time to the system that needs to subscribe. Specifically, in the label data entity table, a preset field is used to describe the subscription system of the evaluation object data quality label value. The preset field is described in binary bitwise, and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows:

[0101] The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated;

[0102] Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence;

[0103] The system that needs to be subscribed to resolves and updates the local data quality label entity table.

[0104] Based on the same inventive concept, this embodiment also provides a multi-level collaborative governance system for data quality, including:

[0105] The label definition module is deployed in each system of the multi-level power dispatching system, and is used to construct a label definition table, which is used to define and store label definition information and label calculation rules; the label definition information includes data quality labels and source data tables;

[0106] The label generation module is deployed in each system and is used to build a label data entity table based on the label definition table, calculate and analyze the data quality of the data object, generate and store the data quality labels, and aggregate the data quality labels to form the data quality evaluation results of the data object;

[0107] The evaluation result collaboration module is deployed in each system and is used to write the data quality labels of the data objects of this system into the label data entity table, and share the data quality labels and evaluation results in real time to the systems that need to subscribe.

[0108] Furthermore, it also includes:

[0109] The algorithm rule library module includes a global algorithm rule library and a local algorithm rule library deployed in each system. The local algorithm rule library is used to store the algorithm program entity used by the calculation rules of the tag. The local algorithm rule library is a subset of the global algorithm rule library set in the multi-level system. The algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface.

[0110] The rule collaboration module is deployed in each system to synchronize the release, review and update of the calculation rules of this system to the entire multi-level system.

[0111] Furthermore, the label definition table of the label definition module is constructed through a label definition function program, and the label definition table is also used to define the parent-child hierarchical relationship of the label, dividing the label into a child label and a parent label, and the parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

[0112] Furthermore, the label generation module is specifically implemented by constructing a label data entity table through a label generation function program based on the label definition information in the label definition table, using calculation rules to calculate and analyze the data quality of the data object, generating and storing data quality labels, and the method is as follows:

[0113] Read the tag definition table, extract tag definition information and tag calculation rules;

[0114] According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character;

[0115] Read the data in the source data table according to the tag definition information;

[0116] Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules;

[0117] Write data quality labels into the label data entity table;

[0118] Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step.

[0119] Calculate aggregate labels based on the generated data quality labels;

[0120] Write aggregated tags to the tag data entity table.

[0121] Furthermore, the data quality label is written into the label data entity table, and the specific method includes:

[0122] S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2;

[0123] S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4;

[0124] S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time;

[0125] S4: Label update is completed.

[0126] Furthermore, the rule coordination module is specifically used for: each system recommends a system as a superior system according to a preset standard, and the remaining systems are subordinate systems of the superior system;

[0127] The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval;

[0128] The superior system will review the modified content after receiving it;

[0129] If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval;

[0130] In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

[0131] Furthermore, the evaluation result collaboration module is specifically a system that describes the subscription system of the evaluation object data quality label value using a preset field in the label data entity table. The preset field is described in binary bitwise and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows:

[0132] The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated;

[0133] Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence;

[0134] The system that needs to be subscribed to resolves and updates the local data quality label entity table.

[0135] Based on the same inventive concept, this embodiment also provides a computing device, including: one or more processors, one or more memories, and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the multi-level collaborative governance method for data quality according to any one of the above items are implemented.

[0136] Based on the same inventive concept, this embodiment further provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the steps of the multi-level collaborative governance method for data quality according to any one of the above items. Embodiment 2, the multi-level collaborative governance method for data quality of this embodiment includes:

[0137] Step 1: Build a tag definition module

[0138] Data Quality Label Definition

[0139] The tag definition function builds a tag definition table and defines the hierarchical relationship of tags. Sub-tags are aggregated into parent tags through a specified algorithm, and the parent-child hierarchy is described using a self-association domain. Define specific tags, associate source data entity objects, and define the calculation rules of tags. The structure of the tag definition table is shown in Table 1, and the content of the tag definition table is shown in Table 2.

[0140] Table 1 Tag definition instance table

[0141]

[0142] Table 2 Label definition table

[0143]

[0144]

[0145] The algorithm rule library stores the algorithm package used for label calculation. It is written in a cross-platform scripting language such as Python. In a multi-level and multi-system environment, the algorithm rule library is divided into a global algorithm rule library and a local algorithm rule library. The local algorithm rule library is a subset of the global algorithm rule library. An algorithm rule table is constructed to store the algorithm. Its fields include the algorithm rule name, algorithm program entity, and the system to which it belongs. The structure example table of the algorithm rule library is shown in Table 3.

[0146] Table 3 Algorithm rule base structure table

[0147]

[0148] In a specific implementation, the algorithm program can be stored in a database table in the form of a binary file, or it can be stored in a local file system in the form of a file.

[0149] In the multi-level power grid dispatching and control system, the quality of power system operation data can be defined as a multi-level label system as shown in Table 2. Each label can define one or more algorithm rules, which can be selected in practical applications. For example, the calculation of jumps can use the "sliding average algorithm" and "differential comparison method". The calculation of data anomalies can use n times standard deviation method, box plot method, knn, DBSCAN clustering, k-means clustering, isolation forest, regression, etc. In the case where the accuracy of a single method is not enough, an odd number of algorithms can be used for calculation, and the voting arbitration mechanism can be used to improve the accuracy.

[0150] All algorithm packages use a unified interface. Input parameters include: data sequence (detected data), data type (voltage, current, active power, etc.), voltage level. Output parameters include: data result sequence.

[0151] Step 2: Build a label generation module

[0152] Data quality label generation

[0153] Construct a tag data entity table. The table fields include object ID, tag ID, effective time, and expiration time. Each object table corresponds to a tag table. For dynamic tags, the historical changes of the tags are saved through the effective time and expiration time. The structure example table is shown in Table 3.

[0154] Table 4 Tag data entity structure table

[0155]

[0156] like Figure 2 As shown, the label generation function, the label generation function program reads the label definition, reads the data according to the defined data source table, calls the specified calculation rule algorithm for calculation and analysis, and writes the generated label into the label data entity table.

[0157] Data quality label aggregation

[0158] Multiple tags are aggregated into tags of the parent object. For example, if there is too much abnormal data in a plant, it can be aggregated into a plant abnormal tag.

[0159] Label update process:

[0160] The object ID does not exist in the table (the object has not been tagged) -> insert a record, fill in the current time in "Update time, Effective time", and fill in 9999-12-31 in the expiration time.

[0161] The object ID is in the table (the object has been tagged) -> Is the tag ID changed -> The tag has not changed ->

[0162] Change the "Update Time" to the current time. If the tag changes - > Change the "Expiration Time" to the current time, and insert a new record "Update Time, Effective Time" to the current time, and "Expiration Time" to 9999-12-31.

[0163] Step 3: Build a rule collaboration module

[0164] Rules coordination, data governance scope, evaluation calculation method, and label generation rules are all given in the definition table. In a multi-level system environment, a rule modification in one place is synchronized across the entire domain; system level definition: different roles are defined at different levels in the system, and a global release mechanism of step-by-step approval is adopted. The steps are as follows:

[0165] S1: The lower-level system modifies the label definition. If the algorithm rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval.

[0166] S2: The superior system receives the modified content and reviews it

[0167] S3: If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the initiating system.

[0168] S4: The subordinate system updates the "label generation rule" in the local label definition table, and downloads the algorithm program entity involved in the update from the global algorithm rule library to the local algorithm library.

[0169] Step 4: Build an evaluation result collaboration module

[0170] The evaluation results are shared in real time by subscription on demand. In the label data entity table, the field "sys_code" is used to describe the subscription system of the data quality label value of the object. The binary bit description is used to support the subscription of up to 32 systems. The encoding rules are as follows: All systems in the entire multi-level system environment are numbered from 1 to 32. When system No. 1 needs to subscribe to the object, the first bit of the "sys_code" binary is set to 1. When system No. n needs to subscribe to the object, the nth bit of the "sys_code" binary is set to 1. The steps are as follows:

[0171] S1: After the data quality label is written to the entity table, read "sys_code" to calculate the system number to be synchronized.

[0172] S2: Package the newly generated records in JSON format and send them to the subscription system one by one.

[0173] S3: The subscription system parses and updates the local data quality label entity table.

[0174] The schematic diagram of multi-level collaborative governance of each module is as follows: Figure 3 As shown, the amount of operating data of interconnected large power grid equipment is large and highly correlated, and faults are also very fast. The collaborative management of data quality of the present invention can analyze from a global perspective, improve overall data quality, and make full use of computing resources for multi-level system collaborative data management.

Claims

1. A multi-level collaborative data quality governance method, characterized in that: include: Constructing a label definition table in each system of the multi-level power dispatching system to define and store label definition information and label calculation rules; the label definition information includes a data quality label and a source data table; the data quality label includes a label ID, a label name and a calculation object; In each system, a label data entity table is constructed based on the label definition table, the data quality of the data object is calculated and analyzed, data quality labels are generated and stored, and data quality labels are aggregated to form the data quality evaluation results of the data object; Each system writes the data quality label of the data object of the system into the label data entity table, and shares the data quality label and evaluation results in real time to the system that needs to subscribe.

2. The multi-level collaborative data quality management method according to claim 1 is characterized in that: The label definition table is constructed by a label definition function program. The label definition table is also used to define the parent-child hierarchical relationship of labels, dividing labels into child labels and parent labels. The parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

3. The multi-level collaborative data quality management method according to claim 1 is characterized in that: The calculation rules of the labels correspond to algorithm program entities, which are stored in a local algorithm rule library preset in each system. The local algorithm rule library is a subset of the global algorithm rule library in the multi-level system. The algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface.

4. The multi-level collaborative data quality management method according to claim 1 is characterized in that: The method of constructing a label data entity table based on the label definition table, calculating and analyzing the data quality of the data object, generating and storing the data quality label, specifically, based on the label definition information in the label definition table, constructing the label data entity table through the label generation function program, using the calculation rules to calculate and analyze the data quality of the data object, generating and storing the data quality label, is as follows: Read the tag definition table, extract tag definition information and tag calculation rules; According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character; Read the data in the source data table according to the tag definition information; Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules; Write data quality labels into the label data entity table; Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step. Calculate aggregate labels based on the generated data quality labels; Write aggregated tags to the tag data entity table.

5. The multi-level collaborative data quality management method according to claim 4 is characterized in that: The specific method of writing the data quality label into the label data entity table includes: S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2; S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4; S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time; S4: Label update is completed.

6. The multi-level collaborative data quality management method according to claim 3 is characterized in that: It also includes each system synchronizing the release, review and update of the calculation rules of the system to the entire multi-level system; Each system synchronizes the release, review and update of the calculation rules of the system to the entire multi-level system, including: Each system recommends a system as a superior system according to a preset standard, and the remaining systems serve as subordinate systems of the superior system; The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval; The superior system will review the modified content after receiving it; If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval; In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

7. The multi-level collaborative data quality management method according to claim 1 is characterized in that: Each system writes the data quality label of the data object of the system into the label data entity table, and shares the written data quality label and evaluation results in real time with the system that needs to subscribe. Specifically, in the label data entity table, a preset field is used to describe the subscription system of the evaluation object data quality label value. The preset field is described in binary bitwise, and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows: The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated; Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence; The system that needs to be subscribed to resolves and updates the local data quality label entity table.

8. A multi-level collaborative data quality management system, characterized in that: include: The label definition module is deployed in each system of the multi-level power dispatching system, and is used to construct a label definition table, which is used to define and store label definition information and label calculation rules; the label definition information includes data quality labels and source data tables; The label generation module is deployed in each system and is used to build a label data entity table based on the label definition table, calculate and analyze the data quality of the data object, generate and store the data quality labels, and aggregate the data quality labels to form the data quality evaluation results of the data object; The evaluation result collaboration module is deployed in each system and is used to write the data quality labels of the data objects of this system into the label data entity table, and share the data quality labels and evaluation results in real time to the systems that need to subscribe.

9. The data quality multi-level collaborative governance system according to claim 8, characterized in that: Also includes: The algorithm rule library module includes a global algorithm rule library and a local algorithm rule library deployed in each system. The local algorithm rule library is used to store the algorithm program entity used by the calculation rules of the tag. The local algorithm rule library is a subset of the global algorithm rule library set in the multi-level system. The algorithm program entity is written in a cross-platform scripting language and provides a unified calling interface. The rule collaboration module is deployed in each system to synchronize the release, review and update of the calculation rules of this system to the entire multi-level system.

10. The data quality multi-level collaborative governance system according to claim 8, characterized in that: The label definition table of the label definition module is constructed by the label definition function program. The label definition table is also used to define the parent-child hierarchical relationship of the label, dividing the label into child labels and parent labels. The parent label is formed by aggregating the child labels through a specified algorithm; the parent-child hierarchical relationship is described using a self-association domain.

11. The data quality multi-level collaborative governance system according to claim 8, characterized in that: The label generation module is specifically implemented by constructing a label data entity table based on the label definition information in the label definition table through a label generation function program, using calculation rules to calculate and analyze the data quality of the data object, generating and storing data quality labels, and the method is as follows: Read the tag definition table, extract tag definition information and tag calculation rules; According to the tag definition information, a tag data entity table is constructed, wherein the naming rule of the tag data entity table is the source data table name plus a preset character; Read the data in the source data table according to the tag definition information; Call the local algorithm rule library to analyze and generate data quality labels according to the calculation rules; Write data quality labels into the label data entity table; Check whether the conditions for generating aggregate tags are met. If so, proceed to the next step. Calculate aggregate labels based on the generated data quality labels; Write aggregated tags to the tag data entity table.

12. The data quality multi-level collaborative governance system according to claim 11, characterized in that: The specific method of writing the data quality label into the label data entity table includes: S1: Query the tag data entity table to find the object ID to be updated. If found, go to step S3; if not found, go to step S2; S2: insert a record into the tag data entity table, fill in the tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time, and then go to step S4; S3: If the tag value of the object to be updated has not changed, change the tag value update time to the current time. Otherwise, change the tag value expiration time to the current time and insert a new tag value: update time, effective time, fill in the value as the current time, fill in the tag value expiration time; S4: Label update is completed.

13. The data quality multi-level collaborative governance system according to claim 9, characterized in that: The rule coordination module is specifically used for: each system recommends a system as a superior system according to a preset standard, and the remaining systems are subordinate systems of the superior system; The lower-level system modifies the label definition table. If the calculation rule modification is involved, the algorithm program entity is modified, and all the modified contents are sent to the upper-level system for approval; The superior system will review the modified content after receiving it; If the review is passed, it will be released to all subordinate systems and the global algorithm rule library will be updated; if the review is not passed, it will be returned to the system that initiated the approval; In a multi-level system, except for the system that initiates approval and the upper-level system, all other lower-level systems update the calculation rules of the labels in the local label definition table after receiving the published content, and download the algorithm program entities involved in the update from the global algorithm rule library to the local algorithm library.

14. The data quality multi-level collaborative governance system according to claim 8, characterized in that: The evaluation result collaboration module is specifically a system that uses a preset field in the label data entity table to describe the subscription system of the evaluation object data quality label value. The preset field is described in binary bitwise and is also used to number all systems in the multi-level system. When the nth system needs to subscribe to the object data quality label value, the nth bit of the preset field binary is set to 1. The steps are as follows: The data quality tag is written into the tag data entity table, the preset fields are read, and the system number to be synchronized is calculated; Pack the newly generated records in the tag data entity table according to the preset format and send them to the systems that need to subscribe in sequence; The system that needs to be subscribed to resolves and updates the local data quality label entity table.

15. A computing device, characterized in that: include: One or more processors, one or more memories, and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the multi-level collaborative governance method for data quality according to any one of claims 1 to 7 are implemented.

16. A storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the multi-level collaborative governance method for data quality according to any one of claims 1 to 7.