A data governance method, device, equipment and storage medium

By creating database tables and synchronously binding information through data model components, the real-time consistency problem between data governance components is solved, and real-time unification and version consistency of data standards are achieved.

CN116991838BActive Publication Date: 2026-01-13CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311001724.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2026-01-13
Estimated Expiration
2043-08-09

AI Technical Summary

Technical Problem

The lack of interoperability among existing data governance components makes it impossible for data standards to maintain real-time consistency in data governance.

Method used

The data model component creates database tables based on the target data standard and synchronizes the binding information to the metadata component. It then checks the consistency between the metadata and the data standard. If there is a discrepancy, it creates or adjusts the database tables to conform to the latest standard.

Benefits of technology

It achieves real-time unification of data standards in data governance, ensuring coordinated changes and version consistency of data governance components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116991838B_ABST
    Figure CN116991838B_ABST
Patent Text Reader

Abstract

The application provides a data governance method, device, equipment and storage medium. The method comprises the following steps: obtaining a target data standard in a data standard component; controlling the data standard component to send the target data standard to a data quality component, so that the data quality component detects metadata in a database table according to the target data standard, the database table being a table created by a data model component; if the detection result indicates that the metadata does not match the target data standard, controlling the data standard component to send the target data standard to the data model component; and the data model component processes the metadata in the database table according to the target data standard to obtain a processed target database table. The method solves the problems of how to guide the collaborative change of each component of data governance when the data standard version is updated and how to guarantee the consistency of the version, and realizes the real-time unification of the data standard in data governance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data governance technology, and in particular to a data governance method, apparatus, device and storage medium. Background Technology

[0002] Data governance is a process of formatting and standardizing data, which makes the data of higher quality and more valuable.

[0003] Currently, a wide variety of data governance components are emerging, providing standardized and regulated governance processes for data governance.

[0004] However, the current data governance components lack interoperability, which makes it impossible for data standards to maintain real-time consistency in data governance. Summary of the Invention

[0005] This application provides a data governance method, apparatus, device, and storage medium to address the problem that data standards cannot maintain real-time consistency in data governance.

[0006] Firstly, this application provides methods for data governance, including:

[0007] Obtain the target data standard from the data standard component;

[0008] The control data standard component sends the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard. The database table is a table created by the data model component.

[0009] If the metadata representing the detection result does not match the target data standard, the control data standard component will send the target data standard to the data model component.

[0010] The data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table.

[0011] In this application, before the control data standard component sends the target data standard to the data quality component so that the data quality component can detect metadata in the database table according to the target data standard, the method further includes:

[0012] Obtain the data standards that are in a bound state. The data standards in a bound state are the data standards in the metadata component that are bound to the metadata. The metadata component is a component set in the data governance system.

[0013] If the data standard in the binding state is consistent with the target data standard, then the metadata represents the matching of the target data standard, and the control data standard component sends the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard.

[0014] In this application, after obtaining the data standard in the binding state, the method further includes:

[0015] If the data standard in the binding state is inconsistent with the target data standard, it indicates that the metadata does not match the target data standard. Then, the data model component is executed to process the metadata in the database table according to the target data standard to obtain the processed target database table.

[0016] In this application, after obtaining the target data standard from the data standard component, and before controlling the data standard component to send the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard, the method further includes:

[0017] The control data standard component sends the target data standard to the data model component, so that the data model component can create database tables according to the target data standard;

[0018] Determine the metadata set in the database table, where the metadata set includes target metadata, which is metadata that is bound to the target data standard;

[0019] The binding relationship information is synchronized to the metadata component to execute the step of obtaining the data standard bound to the metadata to be detected in the database table in the metadata component, and obtaining the data standard in the binding state. Here, the binding relationship information represents the data standard in the binding state between the target metadata and the target data standard that establish the binding relationship.

[0020] In this application, the control data standard component sends the target data standard to the data model component, so that the data model component creates database tables according to the target data standard, including:

[0021] The control data standard component sends the target data standard to the data model component, so that the data model component can obtain the target metadata according to the target data standard;

[0022] The data model component generates database tables based on the target metadata.

[0023] In this application, the data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table, including:

[0024] Determine whether there is important data in the metadata of the database table. Important data is characterized by metadata that does not match the target data standard and is in a locked state.

[0025] If the judgment result indicates that the database table contains important data, then the control data model component will create a new target database table that conforms to the target data standard.

[0026] In this application, determining whether important data exists in the metadata of a database table includes:

[0027] If the judgment result indicates that the database table does not contain important data, then the control data model adjusts the table structure of the target database table according to the target data standard to obtain the target database table.

[0028] Secondly, this application provides a data governance apparatus, comprising:

[0029] The acquisition module is used to acquire the target data standard from the data standard component;

[0030] The control module is used to control the data standard component to send the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard. The database table is a table created by the data model component.

[0031] The detection module is used to control the data standard component to send the target data standard to the data model component if the detection result characterizes the metadata and the target data standard does not match.

[0032] The processing module is used by the data model component to process the metadata in the database table according to the target data standard, and obtain the processed target database table.

[0033] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0034] The memory stores instructions that the computer executes;

[0035] The processor executes computer execution instructions stored in memory to implement the method as described in this application.

[0036] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method of this application.

[0037] This application provides a data governance method, apparatus, device, and storage medium. A data model component creates a database table based on a target data standard, binds the target data standard and target metadata, and synchronizes the binding information to a metadata component. When data is inspected, the latest data standard is obtained, and it is determined whether the target data standard is consistent with the latest data standard. If the target data standard is inconsistent with the latest data standard, the inspection result is recorded as a mismatch between the target metadata and the latest data standard. A data quality component inspects whether the target metadata conforms to the latest data standard. If the target metadata does not conform to the latest data standard, it inspects whether the database table contains important data. If important data is contained, the data model component creates a new target database table conforming to the latest data standard. If no important data is contained, the data model component adjusts the table structure of the database table according to the latest data standard to obtain the target database table, thus achieving real-time consistency of data standards in data governance. Attached Figure Description

[0038] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0039] Figure 1 A flowchart illustrating a data governance method provided in an embodiment of this application;

[0040] Figure 2 A flowchart illustrating another data governance method provided in an embodiment of this application;

[0041] Figure 3 A schematic diagram of the structure of a data governance apparatus provided in an embodiment of this application;

[0042] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0043] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0044] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0045] In existing technologies, data governance systems are becoming increasingly standardized and procedural, and data governance components are becoming increasingly diversified. However, the interrelationship between these components is weak, and they cannot be fully integrated. During the data governance process, when data standards change, it is impossible to maintain real-time consistency between components.

[0046] To address the aforementioned issues, this application proposes a data governance method. A data model component creates database tables based on target data standards, binds the target data standards and target metadata, and synchronizes the binding information to the metadata component. When data is inspected, the latest data standards are obtained, and it is determined whether the target data standards are consistent with the latest standards. If they are inconsistent, the inspection result is recorded as a mismatch between the target metadata and the latest data standards. A data quality component checks whether the target metadata conforms to the latest data standards. If the target metadata does not conform, it checks whether the database tables contain important data. If important data is found, the data model component creates a new target database table conforming to the latest data standards. If no important data is found, the data model component adjusts the table structure of the database tables according to the latest data standards to obtain the target database table. This method solves the problems of how to guide the coordinated changes of various data governance components when data standard version updates are released and how to ensure version consistency, achieving real-time unification of data standards in data governance.

[0047] The execution entity of the determination method provided in this application embodiment can be a data governance system. This data governance system can be the DAMA (Data Management Association) data governance framework, the DMM (Data Management Maturity) data governance framework, the DCMM (Data Management Capability Maturity Assessment Model) data governance framework, or other similar data governance systems. This embodiment does not impose any particular restrictions on the implementation method of the execution entity, as long as the execution entity can obtain the target data standard from the data standard component; control the data standard component to send the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard; the database table is a table created by the data model component; if the detection result indicates that the metadata does not match the target data standard, then control the data standard component to send the target data standard to the data model component; the data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table.

[0048] Among them, the data governance system can refer to a standard and normative framework built to achieve data governance. Through the data governance system, a long-term mechanism for centralized data management can be established, data control processes can be standardized, data quality can be improved, data standard consistency can be promoted, data sharing and use security can be guaranteed, and the level and efficiency of data management can be improved.

[0049] Figure 1 This is a flowchart illustrating a data governance method provided in an embodiment of this application. The executing entity of this method can be the DCMM data governance framework or other data governance frameworks. This embodiment does not impose any particular limitations here. Figure 1 As shown, the method may include:

[0050] S101. Obtain the target data standard from the data standard component.

[0051] Data standards refer to a series of specifications and standards established during data management and exchange to ensure data consistency, reliability, and repeatability. Data standards include specifications for data format, data structure, data elements, data naming, data definition, data classification, and data encoding. The development of data standards can improve data quality and usability, and reduce the cost of data management and exchange. In this embodiment, a data standard component can refer to a component used to maintain and manage various standards and specifications, providing standards for other components; the target data standard can refer to the latest version of the data standard currently used in the system.

[0052] S102. The control data standard component sends the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard. The database table is a table created by the data model component.

[0053] Data quality refers to the degree of accuracy, completeness, consistency, reliability, timeliness, availability, and security of data. High-quality data can improve the accuracy and efficiency of decision-making, while low-quality data may lead to erroneous decisions and losses. In this embodiment, the data quality component is used to provide quality inspection of existing data.

[0054] The data quality component's detection of metadata in database tables based on target data standards can be described as follows: upon receiving the target data standards, the data quality component analyzes these standards and checks the metadata in the database tables against them to determine whether the metadata conforms to the target data standards. For example, if the target data standards specify that a field's type is numeric (int) and its length is 8, and the metadata in the database table is character (char) and its length is 6, then the metadata in the database table does not conform to the target data standards.

[0055] A data model can refer to an abstraction that describes the three characteristics of data structure, data operation, and data constraints. In the embodiments of this application, a data model component can refer to a component that creates and modifies database tables.

[0056] S103. If the metadata representing the detection result does not match the target data standard, the control data standard component will send the target data standard to the data model component.

[0057] S104. The data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table.

[0058] In this embodiment of the application, before the control data standard component sends the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard, the method further includes:

[0059] Obtain the data standards that are in a bound state. The data standards in a bound state are the data standards in the metadata component that are bound to the metadata. The metadata component is a component set in the data governance system.

[0060] If the data standard in the binding state is consistent with the target data standard, then the metadata represents the matching of the target data standard, and the control data standard component sends the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard.

[0061] The metadata component can refer to a component that manages existing metadata. In this embodiment, the metadata component is used for storing and viewing metadata. For example, the metadata component can store the binding relationship information between target metadata and target data standards, and can also view and obtain the binding relationship information.

[0062] The metadata component can refer to a component that manages existing metadata. In this embodiment, the metadata component can store and view metadata. For example, the metadata component can store the binding relationship information between target metadata and target data standards, and can also view and obtain the binding relationship information.

[0063] In this context, "if the data standard in the binding state is consistent with the target data standard" can mean that the version number of the data standard in the binding state is the same as the version number of the target data standard. For example, if the version number of the data standard in the binding state is 20230101 and the version number of the target data standard is 20230101, then it indicates that the data standard in the binding state is consistent with the target data standard.

[0064] In this embodiment of the application, after obtaining the data standard in the binding state, the method further includes:

[0065] If the data standard in the binding state is inconsistent with the target data standard, it indicates that the metadata does not match the target data standard. Then, the data model component is executed to process the metadata in the database table according to the target data standard to obtain the processed target database table.

[0066] In this case, if the data standard in the binding state is inconsistent with the target data standard, it can mean that the version number of the data standard in the binding state is different from the version number of the target data standard. For example, if the version number of the data standard in the binding state is 20230101 and the version number of the target data standard is 20230102, it indicates that the data standard in the binding state is inconsistent with the target data standard and the metadata does not match the target data standard.

[0067] In this embodiment of the application, after obtaining the target data standard from the data standard component, the method further includes controlling the data standard component to send the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard:

[0068] The control data standard component sends the target data standard to the data model component, so that the data model component can create database tables according to the target data standard.

[0069] In this embodiment of the application, the method further includes controlling the data standard component to send the target data standard to the data model component so that the data model component can create a database table according to the target data standard.

[0070] The control data standard component sends the target data standard to the data model component, so that the data model component can obtain the target metadata according to the target data standard.

[0071] The target metadata can refer to metadata that uses the target data standard. For example, the target metadata standard is that the data type is numeric type int, the length is 10, and the field is not empty. The metadata in the database table includes: id, name, and code. Among them, id references the target data standard. If the id field is set to int type, the length is 10, and the attribute is a non-empty field, then id is the target metadata. However, name and code do not reference the target data standard, so they are not the target metadata.

[0072] The data model component generates database tables based on the target metadata.

[0073] Determine the metadata set in the database table, where the metadata set includes target metadata, which is metadata that is bound to the target data standard.

[0074] Metadata sets can refer to all fields in a database table. For example, if a database table has id, name, and age fields, then the id, name, and age fields constitute a metadata set. If the id field is bound to a target data standard, then the id field is the target metadata.

[0075] The binding relationship information is synchronized to the metadata component to execute the step of obtaining the data standard bound to the metadata to be detected in the database table in the metadata component, and obtaining the data standard in the binding state. Here, the binding relationship information represents the data standard in the binding state between the target metadata and the target data standard that establish the binding relationship.

[0076] Synchronizing binding relationship information to the metadata component can refer to storing the binding relationship information in the metadata component. For example, a database table named "goods" has fields "id", "price", and "good". The target data standard is a float type with a length of 50, is not nullable, and has a version number of 20230103. The "price" field is bound to the target data standard. We store the database table name "goods", the "price" field, and the target data standard version number "20230103" in the metadata component to complete the synchronization of the binding relationship information.

[0077] In this embodiment of the application, the data model component processes the metadata in the database table according to the target data standard to obtain the processed target data standard, including:

[0078] Determine whether important data exists in the metadata of a database table. Important data refers to metadata that does not match the target data standard and is in a locked state.

[0079] Important data can refer to metadata in a database table that is not bound to the target data standard and is in a locked state. The locked state can mean that it is not editable.

[0080] If the judgment result indicates that the database table contains important data, then the control data model component will create a new target database table that conforms to the target data standard.

[0081] The creation of a new target database table conforming to the target data standard can refer to creating a new target database table with fields consistent with those of the database table containing important data, according to the target data standard. For example, if the target data standard is a character type (char) with a length of 10, and the database table containing important data has a username field and a password field, where username is important data and password is metadata in a bound state, then the database table containing the important data is retained as historical data. Then, according to the target data standard, a new database table is created, also with username and password fields, and the password field is of type character type (char) with a length of 10. In this embodiment, after determining whether important data exists in the metadata of the database table, the method further includes:

[0082] If the judgment result indicates that the database table does not contain important data, then the control data model adjusts the table structure of the target database table according to the target data standard to obtain the target database table.

[0083] Adjusting the table structure of the target database can refer to modifying the table structure of the target database according to the target data standard. For example, if the target data standard is a field length of 20, and the original field length of the target database table is 10, then according to the target data standard, the field length of the target database table is changed from 10 to 20.

[0084] This application provides a data governance method. A data model component creates a database table based on a target data standard, binds the target data standard and target metadata, and synchronizes the binding information to the metadata component. When data is inspected, the latest data standard is obtained, and it is determined whether the target data standard is consistent with the latest data standard. If the target data standard is inconsistent with the latest data standard, the inspection result is recorded as a mismatch between the target metadata and the latest data standard. A data quality component checks whether the target metadata conforms to the latest data standard. If the target metadata does not conform to the latest data standard, it checks whether the database table contains important data. If important data is present, the data model component creates a new target database table conforming to the latest data standard. If no important data is present, the data model component adjusts the table structure of the database table according to the latest data standard to obtain the target database table. This method solves the problems of how to guide the coordinated changes of various data governance components and how to ensure version consistency when data standard version updates are implemented, achieving real-time unification of data standards in data governance.

[0085] Figure 2 A flowchart illustrating another data governance method provided in this application embodiment is shown below. Figure 2 As shown, the data governance method includes:

[0086] S201. The data quality control component performs quality checks on the audit target according to the latest version of the data standard, determines whether the audit target fields and the audit target content conform to the latest version of the data standard, and generates a test report. The audit target is the metadata in the database table.

[0087] S202. If the test report shows that the test is unsuccessful, determine whether the database table contains important data. If the database table contains important data, retain the original database table as historical data and create a new database table based on the latest data standard control data model.

[0088] S203. During the process of creating database tables in the control data model, relevant metadata information is obtained from the latest data standards to establish a relationship between the latest data standards and the data model.

[0089] S204. After the database is created, the data model will synchronize the database-related metadata information to the metadata component for recording, so that the relevant metadata is bound to the target data standard.

[0090] S205. If the database table does not contain important data, then in accordance with the latest version of the data standard, notify the user to adjust the table structure of the database table so that the metadata in the database table conforms to the latest version of the data standard.

[0091] Figure 3 This is a schematic diagram of the structure of the data governance apparatus provided in the embodiments of this application, as shown below. Figure 3 As shown, the data governance method apparatus 30 includes: an acquisition module 301, a control module 302, a detection module 303, and a processing module 304. Wherein:

[0092] Module 301 is used to acquire the target data standard in the data standard component;

[0093] Control module 302 is used to control the data standard component to send the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard. The database table is a table created by the data model component.

[0094] The detection module 303 is used to control the data standard component to send the target data standard to the data model component if the metadata representing the detection result does not match the target data standard.

[0095] The processing module 304 is used by the data model component to process the metadata in the database table according to the target data standard, so as to obtain the processed target database table.

[0096] In this embodiment of the application, the acquisition module 301 can also be specifically used for:

[0097] Retrieve data standards that are in a bound state. Data standards in a bound state are data standards that are bound to the bound metadata in the metadata component. The metadata component is a component set in the data governance system, and the bound metadata is the data in the metadata.

[0098] If the data standard in the binding state is consistent with the target data standard, then the metadata represents the matching of the target data standard, and the control data standard component sends the target data standard to the data quality component so that the data quality component can detect the metadata in the database table according to the target data standard.

[0099] In this embodiment of the application, the control module 302 may also be specifically used for:

[0100] The control data standard component sends the target data standard to the data model component, so that the data model component can create database tables according to the target data standard;

[0101] Determine the metadata set in the database table, where the metadata set includes target metadata, which is metadata that is bound to the target data standard;

[0102] The binding relationship information is synchronized to the metadata component to execute the step of obtaining the data standard bound to the metadata to be detected in the database table in the metadata component, and obtaining the data standard in the binding state. Here, the binding relationship information represents the data standard in the binding state between the target metadata and the target data standard that establish the binding relationship.

[0103] In this embodiment of the application, the control module 302 may also be specifically used for:

[0104] The control data standard component sends the target data standard to the data model component, so that the data model component can obtain the target metadata according to the target data standard;

[0105] The data model component generates database tables based on the target metadata.

[0106] In this embodiment of the application, the control module 302 may also be specifically used for:

[0107] Determine whether there is important data in the metadata of the database table. Important data is characterized by metadata that does not match the target data standard and is in a locked state.

[0108] If the judgment result indicates that the database table contains important data, then the control data model component will create a new target database table that conforms to the target data standard.

[0109] In this embodiment of the application, the control module 302 may also be specifically used for:

[0110] If the judgment result indicates that the database table does not contain important data, then the control data model adjusts the table structure of the target database table according to the target data standard to obtain the target database table.

[0111] In this embodiment of the application, the processing module 304 may also be specifically used for:

[0112] If the data standard in the binding state is inconsistent with the target data standard, it indicates that the metadata does not match the target data standard. Then, the data model component is executed to process the metadata in the database table according to the target data standard to obtain the processed target database table.

[0113] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 40 includes:

[0114] The electronic device 40 may include a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a communication component 403, and other components. The processor 401, memory 402, and communication component 403 are connected via a bus 404.

[0115] In the specific implementation process, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to execute the application switching method described above.

[0116] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0117] In the above Figure 4 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0118] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0119] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0120] In some embodiments, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the steps in any of the above application switching methods.

[0121] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0122] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0123] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the application switching methods provided in embodiments of this application.

[0124] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0125] According to one aspect of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium.

[0126] Since the instructions stored in the storage medium can execute the steps in any of the application switching methods provided in the embodiments of this application, the beneficial effects that any of the application switching methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0127] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0128] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A data governance method, characterized in that, Applied to a data governance system, which includes a data standards component, a data model component, and a data quality component, the method is as follows: Obtain the target data standard from the data standard component; Obtain data standards in a bound state, wherein the data standards in a bound state are data standards in the metadata component that have a binding relationship with the metadata binding, and the metadata component is a component set in the data governance system; If the data standard in the binding state is inconsistent with the target data standard, it indicates that the metadata does not match the target data standard, and the data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table. The data standard component is controlled to send the target data standard to the data quality component, so that the data quality component can detect metadata in a database table according to the target data standard, wherein the database table is a table created by the data model component. If the detection result indicates that the metadata does not match the target data standard, then the data standard component is controlled to send the target data standard to the data model component; The data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table; The data model component processes the metadata in the database table according to the target data standard to obtain the processed target database table, including: Determine whether there is important data in the metadata of the database table, wherein the important data represents metadata that does not match the target data standard and is in a locked state; If the judgment result indicates that the database table contains important data, then the data model component is controlled to create a new target database table that conforms to the target data standard. If the judgment result indicates that the database table does not contain important data, then the data model is controlled to adjust the table structure of the target database table according to the target data standard to obtain the target database table.

2. The method according to claim 1, characterized in that, The method further includes: If the data standard in the binding state is consistent with the target data standard, it indicates that the metadata matches the target data standard, and the step of controlling the data standard component to send the target data standard to the data quality component is executed, so that the data quality component can detect the metadata in the database table according to the target data standard.

3. The method according to claim 2, characterized in that, After obtaining the target data standard from the data standard component, the method further includes controlling the data standard component to send the target data standard to the data quality component, so that the data quality component can detect metadata in the database table according to the target data standard, before the data quality component detects metadata in the database table according to the target data standard: The control system sends the target data standard to the data model component, so that the data model component creates a database table based on the target data standard. Determine the metadata set in the database table, wherein the metadata set includes target metadata, and the target metadata is metadata that is bound to the target data standard; The binding relationship information is synchronized to the metadata component to execute the step of obtaining the data standard bound to the metadata to be detected in the database table in the metadata component, and obtaining the data standard in the binding state. The binding relationship information represents the data standard in the binding state between the target metadata and the target data standard that have established a binding relationship.

4. The method according to claim 3, characterized in that, The control of the data standard component to send the target data standard to the data model component, so that the data model component creates a database table according to the target data standard, includes: The data standard component is controlled to send the target data standard to the data model component, so that the data model component obtains the target metadata according to the target data standard; The data model component generates the database table based on the target metadata.

5. A data governance apparatus, characterized in that, This is applied to a data governance system, which includes data standards components, data model components, and data quality components, including: The acquisition module is used to acquire the target data standard in the data standard component; Obtain data standards in a bound state, wherein the data standards in a bound state are data standards in the metadata component that have a binding relationship with the metadata binding, and the metadata component is a component set in the data governance system; if the data standards in a bound state are inconsistent with the target data standard, it indicates that the metadata and the target data standard do not match, and the data model component is executed to process the metadata in the database table according to the target data standard to obtain the processed target database table; The detection module is used to control the data standard component to send the target data standard to the data quality component, so that the data quality component can detect the metadata in the database table according to the target data standard, wherein the database table is a table created by the data model component; The sending module is configured to control the data standard component to send the target data standard to the data model component if the detection result indicates that the metadata does not match the target data standard; The processing module is used by the data model component to process the metadata in the database table according to the target data standard to obtain the processed target database table; The processing module is specifically used to determine whether there is important data in the metadata of the database table, wherein the important data represents metadata that does not match the target data standard and is in a locked state; If the judgment result indicates that the database table contains important data, then the data model component is controlled to create a new target database table that conforms to the target data standard. If the judgment result indicates that the database table does not contain important data, then the data model is controlled to adjust the table structure of the target database table according to the target data standard to obtain the target database table.

6. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the data governance method as described in any one of claims 1 to 4.

8. A computer program product, characterized in that, The computer program or instructions, when executed by a processor, implement the method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Data governance device and method, computer equipment and storage medium

    CN113612766A

  • Data resource full life cycle management method and system, terminal and medium

    CN114661704A