Data governance method, system, device and readable medium based on artificial intelligence

Through the artificial intelligence-based data governance method, ETL processes and SQL codes are automatically generated, which solves the time-consuming and labor-intensive problem of traditional data governance methods and achieves efficient and accurate data governance, which is suitable for small enterprises and scientific research tasks.

CN117421328BActive Publication Date: 2024-09-03SHANGHAI CITIC DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311449123.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2024-09-03
Estimated Expiration
2043-11-23

AI Technical Summary

Technical Problem

Existing data governance methods consume a lot of time and energy in ETL process and SQL code design, and require professional team support, which limits the development of small enterprises and scientific research tasks. Moreover, the configuration of automated tools is cumbersome, making it difficult to quickly realize business and scientific research needs.

Method used

Adopting artificial intelligence-based data governance methods, by obtaining data characteristics and business needs, automatically selects databases, generates ETL processes and SQL instructions, and performs automated script inspection and artificial intelligence semantic inspection, performs small-batch data sampling and full-volume data processing to ensure Data quality and compliance.

Benefits of technology

It reduces the burden on data professionals, improves data governance efficiency, ensures the accuracy and consistency of data governance results, and reduces error rates and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117421328B
    Figure CN117421328B
Patent Text Reader

Abstract

The present application provides an artificial intelligence-based data governance method, system, device and medium, the method comprising acquiring data features and business requirements, selecting a database according to the data features and business requirements, generating a corresponding ETL process, including generating a corresponding SQL instruction in each process node of the ETL process; performing an automated script check on the SQL instruction; performing an artificial intelligence semantic check on the ETL process; performing a small batch data sampling process according to the ETL process and the SQL instruction that pass the check to obtain test sampling data; when the test sampling data meets the data features and the business requirements, performing full data processing according to the ETL process and the SQL instruction to obtain operational processing data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data governance technology, and in particular to an artificial intelligence-based data governance method, system, device and readable medium. Background Art

[0002] With the rapid development of information technology, effective data management has become increasingly important for enterprises. Traditional data governance generally requires a big data team to support it, which needs to design the structure of various database tables, clarify the relationship between the tables, and then write ETL processes and SQL codes for operation governance in combination with the business.

[0003] However, existing data governance methods have some limitations in generating ETL (Extract, Transform, Load) processes and SQL codes. Specifically, the design of ETL processes and SQL codes often takes a lot of time and effort, and requires the executors to have rich technical level and business-related knowledge, and generally requires an entire big data team to support, so this limits the development of small enterprises or scientific research tasks; at the same time, the automation tools in existing technologies have limitations and require pre-configuration of cumbersome rules. For example, the commonly used ETL tool Kettle needs to interact through drag-and-drop, and the Sql instructions in it also need to be written by business personnel themselves, which makes it impossible for ordinary business personnel or scientific researchers to quickly use data to realize their business and scientific research ideas. Summary of the invention

[0004] One purpose of the present application is to provide a data governance method, system, device and readable medium based on artificial intelligence, at least to enable the method to solve complex technical problems in data governance.

[0005] To achieve the above-mentioned objectives, some embodiments of the present application provide an artificial intelligence-based data governance method, the method comprising: obtaining data characteristics and business requirements, selecting a database according to the data characteristics and business requirements, generating a corresponding ETL process, including generating corresponding SQL instructions in each process node of the ETL process; performing automated script checking on the SQL instructions; performing artificial intelligence semantic checking on the ETL process; performing small batch data sampling processing based on the ETL process and the SQL instructions that have passed the inspection to obtain test sampling data; when the test sampling data meets the data characteristics and the business requirements, performing full data processing according to the ETL process and the SQL instructions to obtain running processing data.

[0006] Furthermore, the data characteristics include data types, data structures and data relationships; the business requirements include data analysis requirements, data reporting requirements and data integration requirements.

[0007] Furthermore, the automated script check includes: based on the data characteristics, verifying the existence of data tables and column fields, verifying the correctness of field types, verifying the consistency of association relationships, checking primary key and foreign key constraints, and verifying the existence of indexes.

[0008] Furthermore, the ETL process includes data extraction, data conversion and data loading.

[0009] Furthermore, the artificial intelligence semantic check includes: performing logic verification of the ETL process, correctness check of data conversion and compliance check of data loading according to the business needs.

[0010] Furthermore, the method also includes: performing data quality verification on the test sampling data, and performing full data processing when the test sampling data meets the data characteristics and the business requirements; regenerating ETL processes and SQL instructions when the test sampling data does not meet the data characteristics and the business requirements; performing data quality verification on the running processing data, and outputting a data table when the running processing data meets the data characteristics and the business requirements; and regenerating ETL processes and SQL instructions when the running processing data does not meet the data characteristics and the business requirements.

[0011] Some embodiments of the present application also provide an artificial intelligence-based data governance system, the system comprising: an ETL generation module, the ETL generation module is used to obtain data features and business requirements, select a database according to the data features and business requirements, and generate a corresponding ETL process, including generating corresponding SQL instructions in each process node of the ETL process; an auxiliary inspection module, the auxiliary inspection module is used to perform automated script inspection on the SQL instructions and perform artificial intelligence semantic inspection on the ETL process; a verification test module, performs small batch data sampling processing according to the ETL process and the SQL instructions that pass the inspection to obtain test sampling data; when the test sampling data meets the data features and the business requirements, performs full data processing according to the ETL process and the SQL instructions to obtain operation processing data.

[0012] Furthermore, the system also includes: a manual detection module, which is used to obtain manual detection data and adjust the data characteristics and business requirements when the test sampling data and the operation processing data fail to pass the data quality verification.

[0013] Some embodiments of the present application also provide an artificial intelligence-based data governance device, which includes: one or more processors; and a memory storing computer program instructions, which, when executed, cause the processor to perform the method described above.

[0014] Some embodiments of the present application also provide a computer-readable medium having computer program instructions stored thereon, and the computer program instructions can be executed by a processor to implement the artificial intelligence-based data governance method.

[0015] Compared with the prior art, in the solution provided by the embodiment of the present application, the data governance method based on artificial intelligence utilizes artificial intelligence technology to intelligently analyze data characteristics and business needs, thereby automatically generating ETL processes and corresponding SQL codes suitable for different data, which reduces the burden on data professionals and eliminates the need to manually design complex ETL processes and SQL codes, thereby improving the efficiency of data governance. This method not only relies on the generated code, but also introduces small batch data sampling and rapid testing to fully verify the executability and compliance of the ETL process generated by artificial intelligence. In the data governance process, an artificial intelligence-assisted inspection mechanism is introduced for checking the generated SQL code, supplementing user needs, and quality inspection of the final data report. This ensures the accuracy and consistency of the data governance results. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flowchart of a data governance method based on artificial intelligence provided in an embodiment of the present application;

[0017] Figure 2 A flowchart of another data governance method based on artificial intelligence provided in an embodiment of the present application;

[0018] Figure 3 A schematic diagram of the structure of an artificial intelligence-based data management system provided in an embodiment of the present application;

[0019] Figure 4 A schematic diagram of the structure of an artificial intelligence-based data governance system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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.

[0021] With the rapid development of information technology, the importance of data in enterprises and scientific research has become increasingly prominent. Traditional data governance methods usually require a lot of time and effort, relying on professional data teams to design ETL processes and SQL codes. However, this can be a complex and tedious project for small businesses or independent researchers.

[0022] In response to the above technical problems, an embodiment of the present application provides an artificial intelligence-based data governance method. The core of the embodiment of the present application is: obtaining data characteristics and business requirements, selecting a database based on the data characteristics and business requirements, and generating a corresponding ETL process, including generating corresponding SQL instructions in each process node of the ETL process; performing automated script inspection on the SQL instructions; performing artificial intelligence semantic inspection on the ETL process; performing small batch data sampling processing based on the ETL process and the SQL instructions that have passed the inspection to obtain test sampling data; when the test sampling data meets the data characteristics and the business requirements, performing full data processing based on the ETL process and the SQL instructions to obtain running processing data.

[0023] In some embodiments of the present application, the data characteristics include data types, data structures, and data relationships; the business requirements include data analysis requirements, data reporting requirements, and data integration requirements.

[0024] Data characteristics in data governance refer to the nature, characteristics and attributes of the data set itself. Data characteristics usually include the following aspects:

[0025] Data types include: structured data, stored in the form of tables, rows and columns, such as data in databases; semi-structured data, data with partial structure, usually stored in formats such as XML, JSON, etc.; unstructured data: data without a clearly defined structure, such as text, images, audio and video. Data structures include: tabular data, data organized in a table form, including columns and rows; hierarchical data, data organized in a hierarchical structure, such as XML documents; graph data, data organized in a graph or network structure, such as social network relationships. Data scale includes: the size of the data set, usually measured by the following indicators: number of records, the number of records or rows in the data set; file size, the size of the data file, usually expressed in units of measurement such as bytes, kilobytes, and megabytes. Data quality includes the following aspects: accuracy, whether the data is accurate; completeness, whether the data is complete, whether there are missing values; consistency, whether the data is consistent in different places, such as data consistency between different database tables; reliability, whether the data is reliable, whether it is vulnerable to errors or corruption. Data relationships include: relationships between tables, associations and foreign key relationships between different database tables. Data reference: whether one data element references another data element. Data distribution: the distribution of data in different dimensions, used for data analysis and statistics, such as the time distribution and geographical distribution of data.

[0026] The characteristics of the data help to develop appropriate data governance strategies and processing procedures to ensure that the data meets the needs of the organization and maintains high quality. Different data characteristics may require different data governance methods and tools.

[0027] Business requirements can include a variety of different aspects in data governance, depending on the actual goals and needs of the organization or individual. The following are common elements in business requirements:

[0028] Data analysis needs: This includes the need to analyze, mine, model, and predict data. For example, a retail company may need to analyze sales data to understand sales trends, or a medical research organization may need to perform statistical analysis on patient data to study disease patterns.

[0029] Data reporting needs: Many organizations need to generate various types of data reports and visualizations to better understand the data and convey key information. This includes dashboards, summary reports, trend charts, etc.

[0030] Data integration requirements: In large organizations, there may be multiple data sources and systems that need to be integrated into a unified data warehouse or database to support analysis and query across data sources.

[0031] Data quality requirements: Ensuring the accuracy, completeness, consistency, and reliability of data is critical to many businesses. This includes requirements such as data cleaning, deduplication, and error correction.

[0032] In some embodiments of the present application, the automated script check includes: based on the data characteristics, verifying the existence of data tables and column fields, verifying the correctness of field types, verifying the consistency of association relationships, checking primary key and foreign key constraints, and verifying the existence of indexes.

[0033] Existence verification of data tables and columns: Check whether the data tables referenced in the generated SQL code actually exist in the selected database, and whether the referenced columns exist. This helps avoid referencing non-existent tables or fields, thereby reducing runtime errors.

[0034] Correctness verification of field types: Verify that the field types used in the generated SQL code are correct, which ensures the correct type conversion and processing of data to meet business requirements.

[0035] Consistency verification of association relationships: Check whether the association relationships in the generated SQL code are consistent with data characteristics and business requirements, which helps ensure that the association and connection of data are logically correct.

[0036] Primary and foreign key constraint checking: Verifies that the generated SQL code contains appropriate primary and foreign key constraints, which helps maintain data integrity and consistency.

[0037] Verify the existence of indexes: Check whether the generated SQL code contains necessary indexes to improve data retrieval performance. Ensuring the existence of indexes helps optimize data query speed.

[0038] Through automated script checking, this method can find and correct potential problems when generating SQL code, thereby improving the quality and reliability of the generated data governance process. These checks help reduce errors and risks in the data governance process and ensure the correctness and consistency of data.

[0039] In some embodiments of the present application, the ETL process includes data extraction, data transformation and data loading.

[0040] Data extraction includes selecting appropriate data sources, such as databases, files, APIs, etc., based on data characteristics and business requirements; defining the rules that need to be applied when extracting data, such as filtering and sorting; extracting data from the selected data source, which can be full data extraction or incremental data extraction; and establishing a connection to the data source to extract data securely.

[0041] Data conversion includes data cleaning, cleaning and processing raw data, including removing duplicate data, filling missing values, processing outliers, etc.; data integration, integrating data from different data sources into a consistent format for subsequent processing; defining data conversion rules, such as data format conversion, calculating derived fields, data standardization, etc.; performing data quality checks to ensure that the data meets quality standards.

[0042] Data loading includes target data storage selection, determining which target data storage to load data into, such as a data warehouse, database, etc.; defining data loading rules, including data partitioning, index creation, data loading mode, etc.; loading the extracted and converted data into the target location; target data table / file creation: If the corresponding data table or file does not exist at the target location, they need to be created.

[0043] These steps constitute a complete ETL process, the goal of which is to convert raw data into high-quality data that can be used for analysis and decision-making. In the embodiments of the present application, with the help of artificial intelligence technology, ETL processes suitable for different data and business needs are automatically generated, greatly improving the efficiency and quality of data governance.

[0044] In some embodiments of the present application, the artificial intelligence semantic check includes: performing logic verification of the ETL process, correctness check of data conversion, and compliance check of data loading according to the business needs.

[0045] The logical verification of the ETL process includes the logical verification of the generated ETL process by the artificial intelligence model according to the business requirements. Check whether the steps and sequence of the ETL process are consistent with the business requirements and whether there are potential logical errors or inconsistencies. For example, verify whether the data extraction, transformation and loading steps are performed in the correct order to ensure the integrity and accuracy of the data.

[0046] The correctness check of data conversion includes checking the data conversion steps to ensure the correctness of data conversion rules and operations. Verify whether calculations, derived fields, data format conversion, etc. are performed in accordance with business requirements to ensure that the generated data is not distorted or wrong during the conversion process.

[0047] The compliance check of data loading includes the verification of data loading steps to ensure that the process of loading data to the target location meets business requirements and data quality standards. Verify whether the loading rules, data partitions and indexes meet the requirements to ensure that the loaded data can meet the subsequent data analysis and query requirements.

[0048] Through these artificial intelligence semantic checks, this method can further ensure that the generated data governance process has correct logic, data conversion accuracy, and data loading compliance after generating the ETL process. This helps to improve the quality of data governance results, reduce potential errors and risks, and ensure that the generated data can meet the user's original needs.

[0049] In some embodiments of the present application, the method also includes: performing data quality verification on the test sampling data, and performing full data processing when the test sampling data meets the data characteristics and the business requirements; when the test sampling data does not meet the data characteristics and the business requirements, regenerating ETL processes and SQL instructions; performing data quality verification on the running processing data, and outputting a data table when the running processing data meets the data characteristics and the business requirements; when the running processing data does not meet the data characteristics and the business requirements, regenerating ETL processes and SQL instructions.

[0050] Test sampling data is used to verify the feasibility and quality of the generated ETL process and SQL instructions. If the test sampling data meets the data characteristics and business requirements, the next step of full data processing will be entered; if the test sampling data does not meet the requirements, the process of regenerating the ETL process and SQL instructions will be triggered. When the test sampling data passes the verification, full data processing will be executed to extract, transform and load the complete data set to the target location. The key to this process is to ensure that the full data processing also meets the data characteristics and business requirements.

[0051] Perform data quality verification on the running processing data. Perform data quality verification again on the running processing data after the full data processing. If the running processing data meets the data characteristics and business requirements, the data table will be output; if the running processing data does not meet the requirements, the process of regenerating the ETL process and SQL instructions will be triggered. When the test sampling data or the running processing data does not meet the data characteristics and business requirements, the system will automatically trigger the process of regenerating the ETL process and SQL instructions. This process will adjust the ETL process and SQL instructions based on the current data quality verification results and feedback to meet the requirements.

[0052] Through this automated data quality verification and correction mechanism, this method ensures that the generated data governance process not only passes the verification in the testing phase, but also meets the data characteristics and business requirements in the full data processing phase. If problems are found, the system can automatically regenerate more adaptable ETL processes and SQL instructions to improve data quality and accuracy, thereby ensuring that the final output data table meets user needs. This mechanism helps reduce the accumulation of errors and improves the stability and reliability of the data governance process.

[0053] The following is a specific application example to explain in detail the implementation details of the artificial intelligence-based data governance method of the embodiment of the present application. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0054] like Figure 2 As shown, the guided input requirement description will automatically analyze the data characteristics, processing objectives and business requirements according to the requirement artificial intelligence model (such as chatgpt, Wenxinda model, etc.). If the information provided by the user is incomplete, the user will be guided to complete the required relevant information, and based on these analyses, the system will intelligently select the corresponding database and data table. After selecting the database and data table, the system will generate an ETL process suitable for specific tasks and specific data, and generate the corresponding SQL code in each process node. This automatic generation process greatly reduces the workload of data professionals and improves the efficiency of data governance.

[0055] Subsequently, according to the generated ETL process, data will be pulled from the target database, and the complete ETL process will be executed in sequence to complete the data conversion, cleaning and loading. In order to quickly verify the executable and compliance of the ETL process generated by artificial intelligence, the data execution process will sample a small batch of data for rapid testing. If the verification process confirms that the generated ETL process is executable and meets user needs, it will enter the formal full data cleaning process to ensure data quality and accuracy.

[0056] In the process of generating ETL process and node SQL, corresponding inspection mechanisms are introduced, including SQL automatic script inspection and artificial intelligence semantic inspection. The script inspection is mainly used to check whether the referenced table and the column fields in the table really exist and whether the field types used are correct, etc. The artificial intelligence semantic inspection mainly checks whether the generated ETL process can meet the needs of users. In addition, after obtaining the final data cleaning results, there is also a data quality verification module, which mainly counts the distribution of various data in the result table and samples some data rows for artificial intelligence verification to see whether it meets the initial needs of users. If the SQL script inspection and artificial intelligence semantic inspection, the executable test of sampling small batch data, the data quality inspection of the test run and the quality verification of the formal run fail, the ETL process and node SQL are generated again by artificial intelligence.

[0057] By using artificial intelligence to generate ETL processes and SQL codes, this application greatly reduces the workload of data professionals in manually designing processes and codes, thereby greatly improving the efficiency of data governance. Compared with traditional methods, data processing time is greatly shortened, and the number of professionals relied on is greatly reduced, effectively saving resources and costs; not only does it automatically generate processes and codes, but it also introduces an artificial intelligence-assisted inspection mechanism to ensure that the generated ETL processes and data reports are accurate. Compared with previous manual operations, the error rate is greatly reduced, greatly improving data quality; this application introduces small batch data sampling and fast testing steps to effectively verify the feasibility of the ETL process generated by artificial intelligence, which enables problems to be discovered and resolved earlier, saving time and resources.

[0058] Some embodiments of the present application also provide a data governance system based on artificial intelligence, such as Figure 3 As shown, the system comprises:

[0059] An ETL generation module, the ETL generation module is used to obtain data characteristics and business requirements, select a database according to the data characteristics and business requirements, and generate a corresponding ETL process, including generating a corresponding SQL instruction in each process node of the ETL process;

[0060] An auxiliary inspection module, the auxiliary inspection module is used to perform automated script inspection on the SQL instructions and artificial intelligence semantic inspection on the ETL process;

[0061] The verification test module performs small batch data sampling processing according to the ETL process and the SQL instructions that have passed the inspection to obtain test sampling data; when the test sampling data meets the data characteristics and the business requirements, the full data processing is performed according to the ETL process and the SQL instructions to obtain operation processing data.

[0062] In some embodiments of the present application, the system further includes: a manual inspection module, which is used to obtain manual inspection data and adjust the data characteristics and business requirements when the test sampling data and the operation processing data fail data quality verification.

[0063] When the system produces unexpected results when testing sample data or running processed data for data quality verification, the manual inspection module will be automatically triggered. This trigger mechanism ensures that manual intervention can be carried out in time when the automatic process cannot meet the requirements to prevent erroneous data from flowing into the subsequent processing links; data display and problem marking, once the module is triggered, the relevant data, ETL process and SQL code will be displayed in the user interface of the manual inspection module, and data experts or business analysts can view the problem data and mark the anomalies or errors therein; in the system interface, users can manually adjust data characteristics, processing goals and business requirements. These adjustments involve data format, units, processing rules and other contents; after the adjustment is completed, the system will regenerate the ETL process and SQL code based on the new data characteristics and business requirements, and the manual inspection module will monitor this reprocessing process to ensure that the data processing obtains the expected results; after completing the data processing after manual intervention, data experts or business analysts can evaluate the processing results, and these evaluation information will be fed back to the system to help optimize the automatic process in the future. In order to track the history and effects of manual intervention, the manual detection module will generate detailed operation logs. These logs record key information such as the time, triggering reasons, data involved, processing results, etc. of each manual detection, which will help with subsequent problem analysis and system optimization.

[0064] It is not difficult to find that the embodiment of the present application is a system embodiment corresponding to the method embodiment. The implementation details of the embodiment of the present application have been explained in the method embodiment. To avoid repetition, they will not be repeated here.

[0065] In addition, the present application also provides an artificial intelligence-based data management device, the structure of which is as follows: Figure 4 As shown, the device includes a memory 90 for storing computer-readable instructions and a processor 100 for executing computer-readable instructions, wherein when the computer-readable instructions are executed by the processor, the processor is triggered to execute the artificial intelligence-based data governance method.

[0066] The methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.

[0067] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0068] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0069] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0070] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0071] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device described in the above embodiments; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more computer-readable instructions, which may be executed by a processor to implement the steps of the methods and / or technical solutions of the above multiple embodiments of the present application.

[0072] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0073] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0074] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0075] In addition, an embodiment of the present application further provides a computer program, which is stored in a computer device, so that the computer device executes the method for controlling code execution.

[0076] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0077] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A data governance method based on artificial intelligence, characterized in that: The method comprises: Acquire data features and business requirements, select a database based on the data features and business requirements, and generate a corresponding ETL process, including generating a corresponding SQL instruction in each process node of the ETL process; the data features include data types, data structures, and data relationships; the business requirements include data analysis requirements, data reporting requirements, and data integration requirements; the ETL process includes data extraction, data conversion, and data loading; Performing automated script checks on the SQL instructions, and verifying the existence of data tables and column fields, the correctness of field types, the consistency of associations, primary key and foreign key constraints, and the existence of indexes based on the data features; performing artificial intelligence semantic checks on the ETL process, and performing logic verification of the ETL process, correctness checks on data conversion, and compliance checks on data loading based on the business requirements; performing small batch data sampling processing based on the ETL process and the SQL instructions that have passed the inspection to obtain test sampling data; Perform data quality verification on the test sample data, and when the test sample data meets the data characteristics and the business requirements, perform full data processing; when the test sample data does not meet the data characteristics and the business requirements, regenerate the ETL process and SQL instructions; When the test sample data meets the data characteristics and the business requirements, full data processing is performed according to the ETL process and the SQL instructions to obtain operation processing data; Perform data quality verification on the operation processing data, and when the operation processing data meets the data characteristics and the business requirements, output a data table; when the operation processing data does not meet the data characteristics and the business requirements, regenerate the ETL process and SQL instructions.

2. A data governance system based on artificial intelligence, characterized in that: The system comprises: An ETL generation module, the ETL generation module is used to obtain data features and business requirements, select a database according to the data features and business requirements, and generate a corresponding ETL process, including generating a corresponding SQL instruction in each process node of the ETL process; the data features include data types, data structures, and data relationships; the business requirements include data analysis requirements, data reporting requirements, and data integration requirements; the ETL process includes data extraction, data conversion, and data loading; An auxiliary inspection module, the auxiliary inspection module is used to perform automated script inspection on the SQL instructions and artificial intelligence semantic inspection on the ETL process; according to the data characteristics, perform existence verification of data tables and column fields, correctness verification of field types, consistency verification of association relationships, inspection of primary key and foreign key constraints, and existence verification of indexes; according to the business needs, perform logic verification of the ETL process, correctness inspection of data conversion, and compliance inspection of data loading; A verification test module performs small batch data sampling processing according to the ETL process and the SQL instruction that have passed the inspection to obtain test sampling data; when the test sampling data meets the data characteristics and the business requirements, full data processing is performed according to the ETL process and the SQL instruction to obtain operation processing data; data quality verification is performed on the test sampling data, and when the test sampling data meets the data characteristics and the business requirements, full data processing is performed; when the test sampling data does not meet the data characteristics and the business requirements, the ETL process and SQL instructions are regenerated; data quality verification is performed on the operation processing data, and when the operation processing data meets the data characteristics and the business requirements, a data table is output; when the operation processing data does not meet the data characteristics and the business requirements, the ETL process and SQL instructions are regenerated.

3. The system according to claim 2, characterized in that: Also includes: The manual inspection module is used to obtain manual inspection data and adjust the data characteristics and business requirements when the test sampling data and the operation processing data fail the data quality verification.

4. A data management device based on artificial intelligence, characterized in that: The device comprises: one or more processors; and A memory storing computer program instructions which, when executed, cause the processor to perform the method of claim 1.

5. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method of claim 1.