Data blood relationship management system
By designing a data lineage management system, including access layer, display layer, business layer, public service module and storage module, we analyze and maintain data lineage, solve the problems of data quality control and value assessment in the complexity of data computing, and achieve Data intelligent decision support.
Patent Information
- Application Number
- CN202411259837.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the field of data computing, faced with the complexity of hundreds or thousands of database tables, it is difficult to build a full-process, end-to-end data relationship management system with existing technology, making it difficult to control data quality and evaluate data value, affecting business intelligence. decision making.
A data lineage management system is designed, including access layer, display layer, business layer, public service module and storage module. The business layer parses through SQL parsing module, task management module, script management module, lineage maintenance module and version management module. and maintain data lineage, and output and manage based on user requests.
It realizes the whole process of data sorting, accurately controls data quality, deeply promotes data value assessment, and assists in intelligent business decision-making.
Smart Images

Figure CN118779339A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data computing technology, and more specifically, to a data lineage management system. Background Art
[0002] Under the current economic and social conditions, data is an important resource for enterprises, organizations and individuals. Data lineage refers to the relationship between data in the process of data generation, processing, circulation and extinction, which is similar to the blood relationship in human society. Data lineage helps to achieve reasonable pricing and effective circulation of data, and is an efficient, clear and accurate data governance tool.
[0003] However, as data factor market products continue to increase, the breadth and complexity of data calculations are also increasing, which poses a huge challenge to data management and development. Faced with hundreds of database tables, building a data lineage management system that can sort out data to obtain full-process, end-to-end data lineage relationships will play a vital role in accurately controlling data quality, deeply promoting data value assessment, and assisting business intelligent decision-making. Summary of the invention
[0004] In view of this, the present application provides a data lineage management system, which is used to sort out data based on it to obtain full-process, end-to-end data lineage relationships.
[0005] In order to achieve the above objectives, the proposed solution is as follows:
[0006] A data lineage management system is applied to electronic devices, and the data lineage management system includes an access layer, a display layer, a business layer, a public service module and a storage module, wherein:
[0007] The business layer is configured to parse the data, obtain the data lineage relationship, and maintain, manage and output the data lineage relationship based on the user's request;
[0008] The access layer is configured to receive an access request from a user and send the access request to the business layer;
[0009] The presentation layer is configured to receive the data lineage relationship returned by the business layer based on the access request, and present it to the user;
[0010] The public service module is configured to provide information services to public users based on the data kinship relationship;
[0011] The storage module is configured to store the data lineage relationship.
[0012] Optionally, the business layer includes an SQL parsing module, a task management module, a script management module, a lineage maintenance module and a version management module, wherein:
[0013] The SQL parsing module is used to perform grammatical analysis on the data to obtain the data blood relationship;
[0014] The task management module is used to manage the services of the service layer;
[0015] The script management module is used to provide script services for data processing at the business layer;
[0016] The lineage maintenance module is used to maintain the data lineage relationship based on a user's maintenance request.
[0017] The version management module is used to support users to view detailed information of historical release versions of the data lineage relationship and application relationship.
[0018] Optionally, the SQL parsing module includes a SQL extraction unit, a SQL optimization unit and a SQL parsing unit, wherein:
[0019] The SQL extraction unit is used to extract SQL statements from the data warehouse processing script and the execution log and store them in the Oracle database, and classify the SQL statements into statements that comply with the code development specification and statements that do not comply with the code development specification;
[0020] The SQL optimization unit automatically completes the SQL statements that do not conform to the code development specification in combination with metadata information;
[0021] The SQL parsing unit is used to obtain the data lineage relationship through lexical analysis, and the data lineage relationship includes the relationship between the original table, the field and the target table.
[0022] Optionally, the script management module includes a script query unit and a script shielding unit, wherein:
[0023] The script query unit is used to view the script;
[0024] The shielding script unit is used to flexibly control the scope of script extraction.
[0025] Optionally, the blood relationship maintenance module includes a blood relationship maintenance unit, a blood relationship early warning unit and an application relationship maintenance unit, wherein:
[0026] The blood relationship maintenance unit is used for manually maintaining the blood relationship data automatically generated after the task is executed;
[0027] The blood relationship warning unit is used to display abnormal blood relationship information parsed from ETL scripts and stored procedures, and generate warning records for tables without upstream relationships.
[0028] The application relationship maintenance unit is used to support user query and maintain the reference relationship between the application system and the data warehouse table.
[0029] Optionally, the version management module includes a version query unit, a version publishing unit and a version comparison unit, wherein:
[0030] The version query unit is used to support users to view detailed information of historical release versions of blood relationship and application relationship;
[0031] The version publishing unit is used to perform a publishing operation when the data lineage relationship is completed;
[0032] The version comparison unit is used to support the comparison of the relationship changes between the main version and the comparison version of the data lineage relationship, and to display the changes between the main version and the comparison version concisely and clearly.
[0033] It can be seen from the above technical solutions that the present application discloses a data lineage management system, including an access layer, a display layer, a business layer, a public service module and a storage module. The business layer is used to parse the data, obtain data lineage relationships, and maintain, manage and output the data lineage relationships based on user requests; the access layer is configured to receive user access requests and send the access requests to the business layer; the display layer is used to receive the data lineage relationships returned by the business layer based on the access requests and display them to the user; the public service module is used to provide information services to the public based on data lineage relationships; the storage module is used to store data lineage relationships. Through this system, it is possible to construct a system that can sort out data to obtain full-process, end-to-end data lineage relationships, so that it can play a vital role in accurately controlling data quality, deeply promoting data value assessment, and assisting business intelligent decision-making. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A block diagram of a data lineage management system according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] Figure 1 A block diagram of a data lineage management system according to an embodiment of the present application.
[0038] like Figure 1 As shown, the data lineage management system adopted in this embodiment is applied to electronic devices, which is a system built on the basis of the above electronic devices. The electronic devices can be understood as computers, servers, server clusters or cloud platforms with data computing capabilities. The data lineage management system includes an access layer 10, a display layer 20, a business layer 30, a public service module 40 and a storage module 50.
[0039] Among them, the business layer is used to parse the data, obtain data lineage relationships, and maintain, manage and output data lineage relationships based on user requests. The access layer is configured to receive user access requests and send access requests to the business layer. This application is implemented based on multiple browsers, such as Chrome, Edge, etc. The presentation layer is used to receive the data lineage relationships returned by the business layer based on the access request and display them to the user. This application is implemented through corresponding visualization tools, such as vue, echarts, element-ui, antv g6, axios, etc. The public service module is used to provide information services to public users based on data lineage relationships, such as SpringCloud, MyBatis, Nacos, Nginx, etc. The storage module is used to store data lineage relationships, such as Oracle, Nebula Graph, etc.
[0040] In particular, the business layer of the present application includes an SQL parsing module, a task management module, a script management module, a lineage maintenance module and a version management module.
[0041] The core of the SQL parsing module is the SQL parsing engine service, which includes three parts: SQL extraction unit, SQL optimization unit and SQL parsing unit. The SQL extraction unit will extract SQL statements from the data warehouse processing script and execution log and store them in the Oracle database, and then classify the SQL statements into statements that comply with the code development specifications and statements that do not comply with the code development specifications; the SQL optimization unit will automatically complete the SQL statements that do not comply with the code development specifications in combination with metadata information. The SQL parsing unit will obtain the data lineage after lexical analysis and syntax analysis. The data lineage includes at least the relationship data of the original table, field, and target table, and store these relationship data in the database, then remove duplicate relationships through cleaning, and finally put the relationship data into the graph database.
[0042] The core of the task management module is to manage tasks such as data warehouse ETL script extraction, script SQL extraction, SQL parsing, and blood relationship into relational databases and graph databases. By configuring task information and scheduling script execution, the blood relationship parsing task can be automatically executed. At the same time, managers can perform management operations such as deactivating, enabling, and editing task information in this module.
[0043] The script management module contains two submodules, namely the script query unit and the shielded script unit. The core of the script query unit is to support the viewing of historical versions of Python scripts, Perl scripts, and stored procedures. The shielded script unit can flexibly control the extraction scope of the script. When the task is executed, the configured script will not be extracted, parsed, or reflected in the final data lineage results, so that managers can manage data lineage more accurately.
[0044] The lineage maintenance module contains three submodules, namely the lineage maintenance unit, the lineage warning unit and the application relationship maintenance unit. The lineage maintenance unit is used to manually maintain the lineage data automatically generated after the task is executed. The core of this module is to support manual correction and deletion of automatically parsed lineage data, thereby improving the accuracy and coverage of data lineage. The lineage warning unit is used to display abnormal lineage information parsed by ETL scripts and stored procedures, and generate warning records for tables without upstream relationships (range FDM and GDM layer tables).
[0045] The application relationship maintenance unit supports users to query and maintain the reference relationship between the application system and the data warehouse table. Users can manually enter the reference relationship information between the application system function module and the data warehouse table, or import the relationship data and download the application relationship maintenance data based on the Excel template. After the information is released, the application relationship information can be viewed in the version management module.
[0046] The version management module contains three submodules, namely the version query unit, the version release unit, and the version comparison unit. The version query unit supports users to view the detailed information of historical release versions of data lineage and application relationships. The core of the version release unit is that after the maintenance of data lineage and application relationships is completed, the maintained relationship can be released. When publishing, the module displays the specific data entry information of the release relationship. Click a cell (a cell that displays a number), and the corresponding data will be synchronously displayed in the data lineage or application relationship list below. After publishing, users can use the latest data lineage information.
[0047] The version comparison unit supports the comparison of the relationship changes between the main version and the comparison version of data lineage and application relationship, and displays the changes between the two versions concisely and clearly, making it easy for lineage managers to quickly understand the changes in version content.
[0048] It can be seen from the above technical solution that this embodiment provides a data lineage management system, including an access layer, a display layer, a business layer, a public service module and a storage module. The business layer is used to parse the data, obtain data lineage relationships, and maintain, manage and output the data lineage relationships based on user requests; the access layer is configured to receive user access requests and send the access requests to the business layer; the display layer is used to receive the data lineage relationships returned by the business layer based on the access requests and display them to the user; the public service module is used to provide information services to public users based on data lineage relationships; the storage module is used to store data lineage relationships. Through this system, we can build a system that can comb the data to obtain full-process, end-to-end data lineage relationships, so that it can play a vital role in accurately controlling data quality, deeply promoting data value assessment, and assisting business intelligent decision-making.
[0049] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0050] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0051] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0052] The technical solution provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A data lineage management system, applied to electronic equipment, characterized in that: The data lineage management system includes an access layer, a display layer, a business layer, a public service module and a storage module, wherein: The business layer is configured to parse the data, obtain the data lineage relationship, and maintain, manage and output the data lineage relationship based on the user's request; The access layer is configured to receive an access request from a user and send the access request to the business layer; The presentation layer is configured to receive the data lineage relationship returned by the business layer based on the access request, and present it to the user; The public service module is configured to provide information services to public users based on the data kinship relationship; The storage module is configured to store the data lineage relationship.
2. The data lineage management system according to claim 1, characterized in that: The business layer includes an SQL parsing module, a task management module, a script management module, a lineage maintenance module and a version management module, wherein: The SQL parsing module is used to perform grammatical analysis on the data to obtain the data blood relationship; The task management module is used to manage the services of the service layer; The script management module is used to provide script services for data processing at the business layer; The bloodline maintenance module is used to maintain the data bloodline relationship based on the user's maintenance request; The version management module is used to support users to view detailed information of historical release versions of the data lineage relationship and application relationship.
3. The data lineage management system according to claim 2, characterized in that: The SQL parsing module includes a SQL extraction unit, a SQL optimization unit and a SQL parsing unit, wherein: The SQL extraction unit is used to extract SQL statements from the data warehouse processing script and the execution log and store them in the Oracle database, and classify the SQL statements into statements that comply with the code development specification and statements that do not comply with the code development specification; The SQL optimization unit is used to automatically complete the SQL statements that do not conform to the code development specification statements in the code in combination with the metadata information; The SQL parsing unit is used to obtain the data lineage relationship through lexical analysis, and the data lineage relationship includes the relationship between the original table, the field and the target table.
4. The data lineage management system according to claim 2, characterized in that: The script management module includes a script query unit and a script shielding unit, wherein: The script query unit is used to view the script; The shielding script unit is used to flexibly control the scope of script extraction.
5. The data lineage management system according to claim 2, characterized in that: The blood relationship maintenance module includes a blood relationship maintenance unit, a blood relationship early warning unit and an application relationship maintenance unit, wherein: The blood relationship maintenance unit is used for manually maintaining the blood relationship data automatically generated after the task is executed; The blood relationship warning unit is used to display abnormal blood relationship information parsed by ETL scripts and stored procedures, and generate warning records for tables without upstream relationships; The application relationship maintenance unit is used to support user query and maintain the reference relationship between the application system and the data warehouse table.
6. The data lineage management system according to claim 2, characterized in that: The version management module includes a version query unit, a version publishing unit and a version comparison unit, wherein: The version query unit is used to support users to view detailed information of historical release versions of blood relationship and application relationship; The version publishing unit is used to perform a publishing operation when the data lineage relationship is completed; The version comparison unit is used to support the comparison of the relationship changes between the main version and the comparison version of the data lineage relationship, and to display the changes between the main version and the comparison version concisely and clearly.
Citation Information
Patent Citations
Data blood relationship analysis method, computer device and storage medium
CN112559493A
Data integration method and system based on data consanguinity
CN116737808A
Data blood relationship analysis method and device, equipment, storage medium and program product
CN117009371A
Data consanguinity management system and data consanguinity management method
CN117725058A
Data blood source relationship analysis system and method
CN118170785A
Cited By
System and method for automatically generating data map of big data platform
CN120216586A
