Data quality management method and apparatus, and computer-readable storage medium
Through the combination of the data table semantic extraction model and the processing solution generation model, the AI model is used to automatically perform data quality management tasks, solving the problem of low efficiency in the existing technology and achieving efficient and accurate data quality management.
Patent Information
- Application Number
- PCT/CN2024/080437
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-27
- Filing Date
- 2024-03-07
- Publication Date
- 2024-10-17
AI Technical Summary
The existing technology is inefficient in data quality management, relies on manual inspection and cleaning, is time-consuming and labor-intensive, and is difficult to efficiently handle data quality issues.
Through data table semantic extraction model and processing plan generation model, AI model training is used to generate processing plans, automatically perform data quality management tasks, and improve the efficiency and accuracy of data quality management.
Automated data quality management is realized, which significantly improves the efficiency and accuracy of data quality management, reduces manual intervention, and improves the speed and accuracy of data quality management.
Smart Images

Figure CN2024080437_17102024_PF_FP_ABST
Abstract
Description
Data quality management method, device and computer-readable storage medium
[0001] This application claims priority to the Chinese patent application with application number 202310395811.5 filed with the State Intellectual Property Office of China on April 13, 2023, and priority to the Chinese patent application with invention name “Data quality management method, device and computer-readable storage medium”, as well as priority to the Chinese patent application with application number 202310769133.4 filed with the State Intellectual Property Office of China on June 27, 2023, and priority to the Chinese patent application with invention name “Data quality management method, device and computer-readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of data management technology, and in particular to a data quality management method, device, and computer-readable storage medium. Background Art
[0003] In today's big data era, data quality issues are receiving more and more attention. It is not only a basic data processing task that helps clean data with quality problems, integrate clean data, and provide high-quality data services, but also a necessary prerequisite for enterprises to develop upper-level applications, mine data value, and make correct decisions. It directly affects the social value and economic benefits that data can bring.
[0004] At present, enterprises mainly manage data quality by manually checking data tables for quality problems and cleaning data tables with problems. This method is time-consuming, labor-intensive and inefficient.
[0005] Summary of the Invention
[0006] This application provides a data quality management method, device and computer-readable storage medium, which can help enterprises perform data quality management and effectively improve the efficiency of data quality management.
[0007] In a first aspect, a data quality management method is provided, the method comprising the following steps:
[0008] The computing device obtains a first data table input or selected by the user, and inputs the first data table into a data table semantic extraction model, and uses the semantics output by the data table semantic extraction model as the semantics of the first data table. Afterwards, the computing device obtains a first quality management task of the first data table input or selected by the user, and inputs the semantics of the first data table and the first quality management task into a processing solution generation model, and uses the processing solution output by the processing solution generation model as the processing solution for the first quality management task. Then, the processing solution for the first quality management task is executed, and after obtaining the task execution result, the task execution result is fed back to the user.
[0009] The processing solution generation model is obtained by training an artificial intelligence (AI) model using the semantics of a known data table, the second quality management task of the known data table, and the processing solution of the second quality management task.
[0010] In the above scheme, the quality management of the user's first data table is achieved by obtaining the first data table input or selected by the user and the first quality management task input or selected by the user, then inputting the semantics of the first data table and the first quality management task into the processing scheme generation model, obtaining a processing scheme for the first quality management task, executing the processing scheme on the task to obtain a task execution result, and finally feeding back the task execution result to the user. It can be seen that in this method, the user only needs to input or select the data table to be subjected to data quality management on the computing device, and input or select the quality management task on the computing device. The computing device will perform quality management on the data table according to the quality management task input or selected by the user, and feed back the quality management result to the user, thereby improving the efficiency of data quality management.
[0011] In some possible implementations, the above method also includes the following steps: the above computing device provides the semantics of the first data table to the user, obtains the semantics of the first data table edited by the user, and uses the semantics of the edited first data table to fine-tune the data table semantic extraction model to obtain a fine-tuned data table semantic extraction model.
[0012] In the above solution, the semantics of the data table inferred by the data table semantic extraction model are displayed to the user, allowing the user to determine whether the semantics are accurate. If the user determines that the semantics are inaccurate and modifies the semantics, the modified semantics can be obtained to fine-tune the data table semantic extraction model. This can improve the accuracy of the data table semantic extraction model.
[0013] In some possible implementations, the above method also includes the following steps: the above computing device provides the processing solution of the first quality management task to the user, obtains the processing solution of the first quality management task edited by the user, and uses the edited processing solution of the first quality management task to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
[0014] In the above solution, the treatment plan inferred by the treatment plan generation model is displayed to the user, who then determines whether the treatment plan is accurate. If the user determines that the treatment plan is inaccurate and modifies the treatment plan, the modified treatment plan can be obtained and used to tune the treatment plan generation model. This can improve the accuracy of the treatment plan generation model.
[0015] In some possible implementations, the above method further includes the following steps: the above computing device obtains the task execution result edited by the user, and uses the edited task execution result to fine-tune the processing solution generation model to obtain a fine-tuned processing solution generation model.
[0016] In the above solution, the task execution results obtained by executing the solution inferred by the solution generation model are displayed to the user, who then determines whether the task execution results are accurate. If the user determines that the task execution results are inaccurate and modifies the task execution results, the modified task execution results can be obtained to fine-tune the solution generation model. This can further improve the accuracy of the solution generation model.
[0017] In some possible implementations, the first quality management task includes any one or more of the following: performing anomaly detection on the first data table; scoring the quality of the first data table; cleaning the first data table; generating code, rules, operators or scripts for performing anomaly detection on the first data table; generating code, rules, operators or scripts for scoring the quality of the first data table; generating code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0018] By implementing the above implementation method, diversified quality management of user data tables can be achieved.
[0019] In some possible implementations, the processing solution for the above-mentioned first quality management task includes any one or more of the following: code, rules, operators or scripts for performing anomaly detection on the first data table; code, rules, operators or scripts for scoring the quality of the first data table; code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0020] By implementing the above implementation method, it is possible to display processing solutions to users in a multimodal manner (code, rule, operator, script, etc.) when performing quality management on user data tables, thereby achieving diversified display.
[0021] In a second aspect, a data quality management device is provided, the device comprising:
[0022] A first acquisition module, configured to acquire a first data table input or selected by a user;
[0023] a semantic extraction module, configured to input the first data table into a data table semantic extraction model, and use the semantics output by the data table semantic extraction model as the semantics of the first data table;
[0024] A second acquisition module, configured to acquire a first quality management task of a first data table input or selected by a user;
[0025] a solution generation module, configured to input the semantics of the first data table and the first quality management task into a processing solution generation model, and use the processing solution output by the processing solution generation model as the processing solution for the first quality management task, wherein the processing solution generation model is obtained by training an AI model using the semantics of a known data table, the second quality management task of the known data table, and the processing solution for the second quality management task;
[0026] A solution execution module, configured to execute the processing solution of the first quality management task and obtain a task execution result;
[0027] The result display module is used to provide feedback on task execution results to users.
[0028] In some possible implementations, the apparatus further includes:
[0029] a semantic display module, configured to provide the semantics of the first data table to a user;
[0030] A third acquisition module is used to acquire the semantics of the first data table edited by the user;
[0031] The first fine-tuning module is configured to fine-tune the data table semantic extraction model using the semantics of the edited first data table to obtain a fine-tuned data table semantic extraction model.
[0032] In some possible implementations, the apparatus further includes:
[0033] A solution display module, configured to provide a processing solution for the first quality management task to a user;
[0034] a fourth acquisition module, configured to acquire a processing solution for the first quality management task edited by the user;
[0035] The second fine-tuning module is used to fine-tune the processing solution generation model using the edited processing solution of the first quality management task to obtain a fine-tuned processing solution generation model.
[0036] In some possible implementations, the apparatus further includes:
[0037] The fifth acquisition module is used to obtain the task execution result edited by the user;
[0038] The third fine-tuning module is used to fine-tune the processing solution generation model using the edited task execution results to obtain a fine-tuned processing solution generation model.
[0039] In some possible implementations, the first quality management task includes any one or more of the following: performing anomaly detection on the first data table; scoring the quality of the first data table; cleaning the first data table; generating code, rules, operators or scripts for performing anomaly detection on the first data table; generating code, rules, operators or scripts for scoring the quality of the first data table; generating code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0040] In some possible implementations, the processing solution for the above-mentioned first quality management task includes any one or more of the following: code, rules, operators or scripts for performing anomaly detection on the first data table; code, rules, operators or scripts for scoring the quality of the first data table; code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0041] Regarding the data quality management device provided in the second aspect and the relevant beneficial effects and descriptions of any implementation of the second aspect, please refer to the relevant beneficial effects and descriptions of the above-mentioned first aspect and any implementation of the first aspect, and will not be repeated here.
[0042] In a third aspect, a computing device cluster is provided, comprising a processor and a memory; the processor is configured to execute instructions stored in the memory, so that the computing device cluster implements the method provided in the first aspect or any possible implementation of the first aspect.
[0043] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and the instructions are used to implement the method provided in the first aspect or any possible implementation of the first aspect.
[0044] In a fifth aspect, a computer program product is provided, comprising a computer program. When the computer program is read and executed by a computing device cluster, the computing device cluster executes the method provided in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] FIG1 is a schematic diagram of the data quality management dimensions involved in this application;
[0046] FIG2 is a schematic diagram of the structure of a cloud system provided by the present application;
[0047] FIG3 is a schematic diagram of a cloud system provided by the present application providing a data quality management cloud service to a user;
[0048] FIG4 is a flow chart of a data quality management method provided by the present application;
[0049] FIG5 is a schematic diagram of the training and reasoning process of a data table semantic extraction model provided by the present application;
[0050] FIG6 is a schematic diagram of the training and reasoning process of a processing solution generation model provided by the present application;
[0051] FIG7 is a schematic diagram of the training and reasoning process of a quality management knowledge semantic extraction model provided by the present application;
[0052] FIG8 is an exemplary graphical user interface of the present application;
[0053] FIG9 is another graphical user interface exemplarily shown in the present application;
[0054] FIG10 is another graphical user interface exemplarily shown in the present application;
[0055] FIG11 is another graphical user interface exemplarily shown in the present application;
[0056] FIG12 is a schematic structural diagram of a data quality management device provided by the present application;
[0057] FIG13 is a schematic diagram of the structure of a computing device provided by the present application;
[0058] FIG14 is a schematic diagram of the structure of a computing device cluster provided by the present application;
[0059] FIG15 is a schematic diagram of the structure of another computing device cluster provided by the present application. DETAILED DESCRIPTION
[0060] The technical solution provided in this application will be described below in conjunction with the accompanying drawings.
[0061] In order to make the technical solution provided by this application clearer, the relevant terms are first explained.
[0062] Data quality management: From data planning, acquisition, storage, sharing, maintenance, application, and every stage of its entire life cycle, a series of activities such as identification, measurement, monitoring, and early warning are carried out. By improving and enhancing the management level of the organization, data quality can be improved to a certain extent. The ultimate goal of data management is to increase the value of data in use through reliable data and ultimately gain more economic benefits for the enterprise.
[0063] The Dictionary of Data Management (DAMA) divides data quality into six dimensions: completeness, uniqueness, consistency, accuracy, validity, and timeliness, as shown in Figure 1.
[0064] ① Integrity refers to the degree of completeness of data. Data integrity tasks usually include: (1) incomplete model design, such as incomplete uniqueness constraints and incomplete references, (2) incomplete data entries, such as missing or unavailable data records, and (3) incomplete data attributes, such as null values of data attributes.
[0065] ② Uniqueness means that there are no duplicate data values for a certain data item or a certain group of data. If duplicate and redundant data occurs, it will lead to business coordination and process traceability.
[0066] ③ Consistency means that the types and meanings of data elements need to be consistent and clear. Data consistency tasks usually include: (1) inconsistent data models of multi-source data, such as inconsistent naming, inconsistent data structures, inconsistent constraint rules, etc.; (2) inconsistent data entities, such as inconsistent data encoding, inconsistent naming and meaning, inconsistent classification levels, inconsistent life cycles, etc.; (3) tasks of data inconsistency and data content conflicts when there are multiple copies of the same data.
[0067] ④ Accuracy means ensuring that the data must reflect the actual business content, that is, the data cannot contain any errors, such as employee salary income cannot be wrong.
[0068] ⑤Validity refers to the requirement that the value and format of data must comply with the requirements of the data definition or business definition, such as the format of telephone and email.
[0069] ⑥ Timeliness refers to ensuring that data is updated in a timely manner in response to users' requirements for timely information acquisition.
[0070] In order to solve the current problem of low efficiency in data quality management in enterprises, this application provides a data quality management method, apparatus, and related equipment. In the data quality management method, apparatus, and related equipment provided in this application, the user only needs to input or select the data table to be quality managed on the computing device, and input or select the quality management task on the computing device. The computing device will perform quality management on the data table according to the quality management task input or selected by the user, and feedback the quality management results to the user, thereby improving the efficiency of data quality management.
[0071] The data quality management method, apparatus, and related equipment provided in this application are described in detail below in conjunction with the corresponding drawings.
[0072] First, the computing device for implementing data quality management tasks is introduced. Please refer to Figure 2, which is a structural diagram of a cloud system provided by this application. As shown in Figure 2, the cloud system includes a terminal device 100, a network device 200 and a cloud data center 300.
[0073] The terminal device 100 can be any computing device, such as a personal computer, a tablet computer, a mobile notebook, a smart phone, a handheld processing device, a virtual reality device, a wearable device, an integrated handheld device, a personal computer, a computer workstation, etc., and this application does not make any specific limitations.
[0074] The user can operate the terminal device 100 to submit a data table to be subjected to data quality management and a data quality management task to the cloud data center 300 .
[0075] The network device 200 is used to transmit data between the terminal device 100 and the cloud data center 300 via a communication network of any communication mechanism / communication standard. The communication network can be a wide area network, a local area network, a point-to-point connection, or any combination thereof.
[0076] Cloud data center 300 may be composed of multiple computing devices and is responsible for performing quality management on user data tables based on data quality management tasks submitted by users. The computing devices may be personal computers, general-purpose physical servers, such as X86 servers or advanced RISC machines (ARM) servers, or cloud-based servers, such as virtual machines (VMs) implemented using network function virtualization (NFV) technology, though this application does not impose specific limitations.
[0077] The cloud data center 300 may be a central cloud data center of a cloud service provider, or an edge data center provided by the cloud service provider to users.
[0078] As shown in Figure 2, cloud data center 300 may include data quality management nodes, which can provide data quality management services to users. Through this service, quality management of user data tables can be achieved. As shown in Figure 2, each data quality management node includes service hardware, virtualization services, and a server.
[0079] The service hardware includes computing resources, storage resources, and network resources. The computing resources can adopt a heterogeneous computing architecture, for example, a central processing unit (CPU) + graphics processing unit (GPU) architecture, a CPU + AI chip, a CPU + GPU + AI chip architecture, etc., which are not specifically limited here. Storage resources can include memory, disks, etc. Here, computing resources can be divided into multiple computing unit resources, storage resources can be divided into multiple storage unit resources, and network resources can be divided into multiple network unit resources. Therefore, the cloud data center 300 can freely combine unit resources based on user resource requirements to provide resources for user needs. For example, computing resources can be divided into 5u computing unit resources, and storage resources can be divided into 10G storage unit resources. Then the combination of computing resources and storage resources can be 5u+10G, 5u+20G, 5u+30u, ..., 10u+10G, 10u+20G, 10u+30u, ....
[0080] Virtualization services use virtualization technology to build a unified resource pool across multiple physical hosts, flexibly isolating independent resources to run user applications based on user needs. Virtualization services can include virtual machine (VM) services, bare metal server (BMS) services, and container services. VM services use virtualization technology to create a virtual machine (VM) resource pool across multiple physical hosts, providing users with on-demand VMs. BMS services create a virtual BMS resource pool across multiple physical hosts, providing users with on-demand BMSs. Container services create a virtual container resource pool across multiple physical hosts, providing users with on-demand containers. A VM is a simulated virtual computer, essentially a single logical computer. BMS is a scalable, high-performance computing service with computing performance comparable to traditional physical machines and secure physical isolation. Containers are a kernel virtualization technology that provides lightweight virtualization to isolate user space, processes, and resources. It should be understood that the VM service, BMS service, and container service in the above-mentioned virtualization services are merely specific examples. In actual applications, virtualization services may also include other lightweight or heavyweight virtualization services, which are not specifically limited here.
[0081] The data quality management server application can be used to call hardware to implement data quality management services.
[0082] Specifically, the data quality management server application can receive the data table to be subjected to data quality management submitted by the user through the data quality management client application on the terminal device 100 through the network device 200, and receive the data quality management task submitted by the user through the data quality management client application. Then, based on the data table and data quality management task submitted by the user, the processing plan corresponding to the task is determined, and the processing plan is executed to obtain the task execution result. Finally, the obtained task execution result is returned to the data quality management client application through the network device 200 and presented to the user, thereby realizing quality management of the user data table.
[0083] The data quality management tasks submitted by users can be tasks related to the integrity, uniqueness, consistency, accuracy, effectiveness and timeliness measurement standards of data tables, such as anomaly detection of data tables, scoring the quality of data tables, cleaning data tables, generating code, rules, operators or scripts for anomaly detection of data tables, generating code, rules, operators or scripts for scoring the quality of data tables, generating code, rules, operators, scripts, steps or pipelines for cleaning data tables, correcting abnormal data content in data tables, converting the format of the Nth column in a data table, automatically filling in data tables, etc. This application does not specifically limit data quality management tasks.
[0084] It can be seen that the data quality management client application is equivalent to the intermediary between the user and the data quality management server application. The data quality management client application and the data quality management server application are called data quality management applications.
[0085] It should be understood that the cloud system shown in Figure 2 is only an example. In actual applications, the cloud system may include any number of terminal devices 100, network devices 200 and cloud data centers 300. The cloud system may also include other or more components. Figure 2 should not be regarded as a specific limitation.
[0086] FIG3 is a schematic diagram of the cloud system shown in FIG2 providing a data quality management cloud service to a user. As shown in FIG3 , a user can interact with a cloud data center 300 through a terminal device 100 to purchase a data quality management cloud service. After the user purchases the cloud service, the cloud data center 300 can provide the data quality management cloud service to the user. For example, the cloud data center 300 can provide a graphical user interface to the user who purchases the cloud service, display the graphical user interface on the user's terminal device 100, and the user can perform data quality management in the graphical user interface. The method of purchasing the data quality management cloud service may include: pre-charging and then settling according to the actual usage of the final resources, or settling according to the time the cloud service is used or according to the functions or resources of the purchased cloud service.
[0087] In some possible implementations, all functions of the cloud system may also be implemented by the terminal device 100. For example, the terminal device 100 implements the data quality management service to provide services to its own users, or the terminal device 100 implements the data quality management service to provide services to users operating another terminal device.
[0088] To better understand the various functions of the cloud system shown in Figure 2, the following is a detailed introduction to the data quality management method shown in Figure 4. As shown in Figure 4, the method includes the following steps:
[0089] S401: The computing device obtains a first data table input or selected by a user.
[0090] The computing device may be a computing device in the cloud system shown in Figure 2, such as the terminal device 100 or a computing device in the cloud data center 300. For ease of description, in the following embodiments, the computing device is taken as an example of a computing device in the cloud data center 300.
[0091] The first data table can be an enterprise's employee information table, employee salary table, income information table, expenditure information table, or a school's student information table, student transcript, teacher salary table, teacher information table. The first data table can be one or more tables. This application does not specifically limit the type or quantity of the first data table.
[0092] The computing device may receive a data table uploaded by a user through a data quality management client application on the terminal device 100. The computing device may also pre-store one or more data tables of the user. The user may select an identifier of a first data table from the one or more data table identifiers (such as table names) displayed by the data quality management client application on the terminal device 100, and send a message carrying the identifier of the first data table to the computing device. After receiving the message carrying the identifier of the first data table, the computing device locates the first data table in the one or more data tables based on the identifier of the first data table in the message, thereby obtaining the first data table selected by the user.
[0093] S402: The computing device inputs the first data table into a data table semantic extraction model, and uses the semantics output by the data table semantic extraction model as the semantics of the first data table.
[0094] The semantics of the first data table can be understood as a textual description of the first data table. Furthermore, the semantics of the first data table may include the semantics corresponding to the metadata of the first data table and the semantics of the data content in the first data table. The metadata of the first data table includes the table name of the first data table, the column names of the columns in the first data table, the data types of the columns, etc. The semantics of the metadata of the first data table include the meaning of the table name of the first data table, the meaning of the column names of the columns in the first data table, the description of the data types of the columns, the description of the relationship between the table and the columns, etc. The semantics of the data content in the first data table includes the semantics of each row of data in the first data table, such as the meaning of each field included in each row, the meaning between two fields, the meaning between every three fields, ..., the meaning of all fields, etc.
[0095] In a specific embodiment of the present application, the data table semantic extraction model can be expressed as: y1 = f1 (x1)
[0096] Wherein, y1 is the semantics of the first data table, x1 is the first data table, and f1() is the mapping relationship between the first data table and the semantics of the first data table.
[0097] As shown in Figure 5, the data table semantic extraction model can be obtained by training the first AI model using a first training sample set including a large number of known data tables and the semantics corresponding to the large number of known data tables. After the data table semantic extraction model is trained, the computing device can use the data table semantic extraction model to infer the first data table to obtain the semantics of the first data table, as shown in Figure 5. The first AI model may include but is not limited to decision trees, support vector machines, deep learning models such as generative pre-trained transformer (GPT) models, etc., and this application does not make specific limitations.
[0098] A large number of known data tables may be historical data tables accumulated in general fields (such as finance, Internet, and mechanical manufacturing), and this application does not make any specific limitation on this.
[0099] The semantics of a known data table can be understood as a textual description of the known data table. Furthermore, the semantics of a known data table can include the semantics corresponding to the metadata of the known data table and the semantics of the data content in the known data table. The metadata of a known data table includes the table name of the known data table, the column names of each column in the known data table, the data type of each column, etc. The semantics of the metadata of a known data table includes the meaning of the table name of the known data table, the meaning of the column names of each column in the known data table, the description of the data type of each column, the description of the relationship between the table and the column, etc. The semantics of the data content in a known data table includes the semantics of each row of data in the known data table, such as the meaning of each field included in each row, the meaning between two fields, the meaning between every three fields, ..., the meaning of all fields, etc.
[0100] The following examples illustrate the semantics of the first data table and the semantics of known data tables, referring to the exemplary data table 1 named company_information:
[0101] Table 1 company_infomation
[0102] The semantics of the metadata of data table 1 may include "the company_information table is the company information table", "the company_information table has 5 columns", "the company_name column in the company information table is the company name column", "the company_province column in the company information table is the province column where the company is located", "the company_city column in the company information table is the city column where the company is located", "the company_district column in the company information table is the district name column where the company is located", "the company_registered asset column in the company information table is the company's registered asset column", etc.
[0103] The semantics of the data content in data table 1 may include "the province where company 123 is located is Zhejiang Province", "the city where company 123 is located is Hangzhou City, Zhejiang Province", "the district where company 123 is located is Binjiang District, Hangzhou City, Zhejiang Province", "the registered assets of company 123 are 3 million yuan", etc.
[0104] In a specific implementation, when training a data table semantic extraction model, statistics, association mining algorithms, etc. can be used to extract features of a known data table, such as the metadata of the data table, the relationship between the metadata of the data table, the various fields in the data table, the relationship between the fields in the data table, etc. Then, the features of the known data table and the semantics of the known data table are used to train the first AI model to obtain a data table semantic extraction model. The specific training process of the data table semantic extraction model is similar to the training process of the processing solution generation model described below. For details, please refer to the relevant description below. For the sake of brevity, it will not be elaborated here.
[0105] In one possible implementation, after obtaining the semantics of the first data table output by the data table semantic extraction model, the computing device can provide the semantics to the user, who can then verify the accuracy of the semantics. If the semantics are determined to be inaccurate, the user can modify the semantics. The computing device can then obtain the modified semantics and then use the modified semantics to fine-tune the data table semantic extraction model, thereby obtaining a fine-tuned data table semantic extraction model. In this way, the accuracy of the data table semantic extraction model can be continuously improved.
[0106] S403: The computing device obtains a first quality management task input or selected by a user.
[0107] The first quality management task input by the user may be a task in text description or a task in voice form. When the task is in voice form, the computing device may convert the task in voice form into a task in text description after receiving the task.
[0108] The first quality management task can be a task related to the integrity, uniqueness, consistency, accuracy, validity, and timeliness measurement standards of the first data table. For example, the first quality management task can include any one or more of the following: performing anomaly detection on the first data table; scoring the quality of the first data table; cleaning the first data table; generating code, rules, operators, or scripts for performing anomaly detection on the first data table; generating code, rules, operators, or scripts for scoring the quality of the first data table; generating code, rules, operators, scripts, steps, or pipelines for cleaning the first data table; and correcting abnormal data content in the first data table. It should be understood that the above-mentioned first quality management task is only an example. In a specific implementation, the first quality management task can also be other, such as performing anomaly detection, performing quality scoring, generating anomaly detection code, etc. This application does not specifically limit the first quality management task.
[0109] The computing device can receive a first quality management task submitted by a user through a data quality management client application on the terminal device 100. The computing device can also display multiple task templates for the user to select, such as anomaly detection on a data table, scoring the quality of a data table, cleaning a data table, etc. The user can select one or more templates from the multiple task templates and input them into the computing device as the first quality management task.
[0110] S404: The computing device inputs the semantics of the first data table and the first quality management task into a processing solution generation model, and uses the processing solution output by the processing solution generation model as the processing solution for the first quality management task.
[0111] Assuming that the first data table is data table A, the semantics of data table A is A', and the first quality management task is to perform anomaly detection on data table A, the computing device can input A' and the first quality management task "to perform anomaly detection on data table A" into the processing solution generation model to obtain the solution output by the processing solution generation model for performing anomaly detection on data table A, such as the solution "you can use the dirty_data_discovery.jar package to detect whether there is an anomaly". Assuming that the first quality management task is to detect whether the format of the date in the "date" column of data table A is abnormal, the computing device can input A' and the first quality management task "to detect whether the format of the date in the "date" column of data table A is abnormal" into the processing solution generation model to obtain the solution output by the processing solution generation model for performing anomaly detection on data table A. A solution for detecting anomalies in the format of dates in a column, such as the solution "You can use the instruction [re.match(r'^\d{4} / \d{2} / \d{2}$',data)] to detect anomalies in the dates in the "Date" column." Assuming that the first quality management task is to clean data table A and display the cleaning process, the computing device can input A' and the first quality management task "Clean data table A and display the cleaning process" into the processing solution generation model to obtain the solution for cleaning data table A output by the processing solution generation model, such as the solution "You can refer to the following steps: ① Use SQL script to verify the uniqueness of NSS values, ②..., to achieve cleaning of data table A."
[0112] The following is a detailed introduction to the treatment solution generation model.
[0113] In a specific embodiment of the present application, the processing solution generation model can be expressed as: y = f(x)
[0114] Among them, y is the processing solution of the first quality management task, x is the semantics of the first data table and the first quality management task, and f() is the mapping relationship between the semantics of the first data table, the first quality management task and the processing solution of the first quality management task.
[0115] The processing solution generation model can be trained on a second AI model using a second training sample set including the semantics of a large number of known data tables, quality management tasks for known data tables, and processing solutions for quality management tasks for known data tables. The second AI model may include but is not limited to decision trees, support vector machines, deep learning models such as GPT models, etc., and this application does not specifically limit this. In order to distinguish the quality management task of the known data table from the first quality management task, the quality management task for the known data table will be referred to as the second quality management task below.
[0116] The second quality management task can be a task related to the integrity, uniqueness, consistency, accuracy, validity and timeliness measurement standards of a known data table. For example, the second quality management task can include any one or more of the following: anomaly detection on a known data table; scoring the quality of a known data table; cleaning a known data table; generating code, rules, operators or scripts for anomaly detection on a known data table; generating code, rules, operators or scripts for scoring the quality of a known data table; generating code, rules, operators, scripts, steps or pipelines for cleaning a known data table; and correcting abnormal data content in a known data table. It should be understood that the above-mentioned second quality management task is only an example. In a specific implementation, the second quality management task can also be other, such as anomaly detection, quality scoring, anomaly detection code generation, etc. This application does not specifically limit the first quality management task.
[0117] The processing solution for the second quality management task can be a solution described in text form. Taking the second quality management task of detecting anomalies in known data table 1 as an example, the processing solution for the second quality management task can be "you can use the dirty_data_discovery.jar package to detect whether there are anomalies", "you can use rules... to determine whether there are anomalies", etc. Taking the second quality management task of cleaning known data table 1 as an example, the processing solution for the second quality management task can be "you can refer to the following steps: ① Use sql scripts to check the uniqueness of NSS values, ②..., to achieve data cleaning", "you can execute instructions... to clean", etc.
[0118] In one possible implementation, the processing solution for the second quality management task can be obtained in the following manner: data quality management knowledge accumulated in general fields, such as data quality management rules, operators, codes, scripts, etc., can be obtained, and then part of these data quality management knowledge is used as a third training sample set. Each piece of data quality management knowledge in the third training sample set is subjected to lexical analysis, grammatical analysis, and semantic analysis to obtain its semantics (which can also be called a description of the role of data quality management knowledge). The semantics of each piece of data quality management knowledge obtained are also added to the third training sample set. Afterwards, the data quality management knowledge in the third training sample set and its corresponding semantics are used to train the third AI model to obtain a quality management knowledge semantic extraction model, as shown in Figure 7. The third AI model may include but is not limited to a decision tree, a support vector machine, a deep learning model such as a GPT model, etc., and this application does not make specific limitations.
[0119] Taking the data quality management instruction "re.match(r'^\d{4} / \d{2} / \d{2}$',data)" as an example, analysis of this instruction reveals its semantics as "the instruction [re.match(r'^\d{4} / \d{2} / \d{2}$',data)] detects data with abnormal date formats." Taking the data quality management script "dirty_data_discovery.jar" as an example, analysis of this script reveals its semantics as "dirty_data_discovery.jar detects anomalies in data tables." The training process for the quality management knowledge semantic extraction model is similar to that for the solution generation model described above. For details, please refer to the relevant description above and, for the sake of brevity, will not be elaborated here.
[0120] After obtaining the quality management knowledge semantic extraction model, as shown in Figure 7, each piece of quality management knowledge in the data quality management knowledge accumulated in the general field acquired above, except for the data quality management knowledge in the third training sample set (i.e., the fourth sample set shown in Figure 7), can be input into the quality management knowledge semantic extraction model. The output of the model is the semantics of the quality management knowledge.
[0121] Optionally, after obtaining the semantics of each piece of data quality management knowledge output by the quality management knowledge semantic extraction model, the computing device can also feed back the semantics to the staff responsible for training the quality management knowledge semantic extraction model, and the staff will confirm the accuracy of the semantics. If the staff believes that the semantics is inaccurate, the semantics can be modified. The computing device can obtain the semantics modified by the staff, and then use the modified semantics to optimize the quality management knowledge semantic extraction model to obtain the optimized quality management knowledge semantic extraction model. In this way, the accuracy of the quality management knowledge semantic extraction model can be improved.
[0122] After obtaining the semantics of a large amount of data quality management knowledge, for each known data table in the training sample and the second quality management task corresponding to the known data table, the data quality management knowledge that can be used to process the second quality management task can be determined from the semantics of the large amount of data quality management knowledge, and then the processing solution corresponding to the second quality management task can be obtained based on the semantics of the data quality management knowledge. Taking the second quality management task of detecting whether there are anomalies in the date format data in the known data table 1 as an example, it can be determined that the data quality management knowledge used to process the second quality management task includes the instruction [re.match(r'^\d{4} / \d{2} / \d{2}$',data)], and then the processing solution for the second quality management task is obtained: "The instruction [re.match(r'^\d{4} / \d{2} / \d{2}$',data)] can be used to detect anomalies in date format data", thereby achieving the acquisition of the processing solution for the second quality management task.
[0123] It should be understood that the above-mentioned second quality management task and the processing solution for the second quality management task are merely examples. In specific implementations, the second quality management task may also be other, and the processing solution for the second quality management task may also be other. This application does not specifically limit the second quality management task and the processing solution for the second quality management task.
[0124] After obtaining the second training sample set including the semantics of a large number of known data tables, the second quality management tasks of the known data tables, and the processing solutions of the second quality management tasks, the processing solution generation model can be trained in the following manner: the jth semantics among the multiple semantics of the i-th known data table in the second training sample set and the second quality management task corresponding to the jth semantics are used as input data sample S ij , the processing scheme of the second quality management task is used as the output data sample W ij Through the above combination, a large number of input data samples and a large number of output data samples can be obtained, and there is a one-to-one correspondence between the large number of input data samples and the large number of output data samples.
[0125] After obtaining a large number of input data samples and a large number of output data samples, the large number of input data samples can be sequentially used as inputs to the second AI model, and the output data samples corresponding to each input data sample can be used as a reference for the output value of the second AI model. A loss function is used to calculate the loss between the output value of the second AI model and the aforementioned data output samples, and the parameters of the second AI model are then adjusted based on the loss value. In a specific implementation, the large number of input data samples and the large number of output data samples can be used to iteratively train the second AI model, and the parameters of the second AI model can be continuously adjusted until the second AI model can accurately output the same output value as the output data sample corresponding to the input data sample based on the input data sample, thereby obtaining a trained processing solution generation model.
[0126] It should be understood that the above-mentioned training process to obtain the processing solution generation model is only an example and should not be regarded as a specific limitation. For example, in a specific implementation, the training samples in the second training sample set can be first classified, such as classified into anomaly detection, tasks, quality scoring tasks, data cleaning tasks, mixed tasks, etc. according to the type of the second quality management task, and then the second AI model is trained using the multi-task learning (MTL) method to obtain a processing solution generation model that can realize both multi-task separate reasoning and mixed task reasoning. This application does not make specific limitations on the training process of the processing solution generation model. Among them, a mixed task refers to a task that merges multiple second quality management tasks. For example, the quality management task A "performs anomaly detection on the data table" and the quality management task B "cleans the data table" are merged to obtain a mixed task "performs anomaly detection and cleaning on the data table".
[0127] S405: The computing device executes the processing solution of the first quality management task to obtain a task execution result.
[0128] Specifically, as shown in FIG6 , a solution execution module in the computing device may execute the processing solution of the first quality management task to obtain a task execution result.
[0129] S406: The computing device feeds back the task execution result to the user.
[0130] The computing device may send the task execution result to the data quality management client application on the terminal device 100 through the network device 200 , and the data quality management client application presents it to the user.
[0131] After the computing device feeds back the task execution results to the user, the user can verify the accuracy of the task execution results. If the task execution results are determined to be inaccurate, the user can modify the task execution results. The computing device can then obtain the modified task execution results and use them to fine-tune the solution generation model to obtain a fine-tuned solution generation model. In this way, the accuracy of the solution generation model can be continuously improved.
[0132] Fine-tuning the solution generation model can be understood as performing reinforcement learning (RLHF) on the solution generation model. The reinforcement learning algorithm can be a proximal policy optimization (PPO) algorithm, a policy gradient reinforcement learning (PBL) algorithm, or the like.
[0133] In one possible implementation, after the solution generation model outputs the solution for the first quality management task, the computing device may provide the solution to the user. The user may verify the accuracy of the solution. If the solution is inaccurate, the user may modify the solution. The computing device may then obtain the modified solution and fine-tune the solution generation model using the modified solution to obtain a fine-tuned solution generation model. This may further improve the accuracy of the solution generation model.
[0134] In summary, the data quality management method and computing device provided by the present application, by obtaining the first data table input or selected by the user and the first quality management task input or selected by the user, then inputting the semantics of the first data table and the first quality management task into the processing scheme generation model, obtaining the processing scheme for the first quality management task, and executing the processing scheme on the task to obtain the task execution result, and finally feeding back the task execution result to the user, thereby achieving quality management of the user's first data table. It can be seen that in this method, the user only needs to input or select the data table to be subjected to data quality management on the computing device, and input or select the data quality management task on the computing device. The computing device performs quality management on the data table according to the data quality management task input or selected by the user, and feeds back the quality management result to the user, thereby improving the efficiency of data quality management.
[0135] To facilitate understanding of the beneficial effects of the solutions provided by the embodiments of this application, the following describes some exemplary graphical user interfaces during steps S401 to S406. Referring to FIG8 , FIG8 illustrates an exemplary graphical user interface 800 provided by this application. This interface may be a console of a cloud data center 300. As shown in FIG8 , interface 800 may include a data table selection input area 810, a task selection input area 820, processing controls 830, and a result display and editing area 840.
[0136] Among them, the data table selection input area 810 can display to the user multiple data tables stored by the user in the cloud data center 300, such as the "Employee Information Table", "Employee Salary Table", "Income Information Table", and "Expenditure Information Table" in Figure 8. The user can select some data tables from these data tables for data quality management. The data table selection input area 810 can also provide the user with an interface for customizing data tables, such as the "Add Custom Data Table" control 8101 in Figure 8. After the user touches or clicks the control, the customized data table can be uploaded, such as the "New Data Table" control 8102 in Figure 8. After the user touches or clicks the control, the user can create and edit a data table.
[0137] The task selection input area 820 can display some data quality management tasks to the user, such as "data table anomaly detection", "data table quality scoring", "data table cleaning", and "generating pipelines based on data table cleaning steps" in Figure 8. Users can select some tasks from these tasks as target quality management tasks. The task selection input area 820 can also provide users with an interface for customizing tasks, such as the "input task" text box 8201 in Figure 8. Users can enter quality management tasks in this text box and upload the input quality management tasks.
[0138] The processing control 830 can receive user operations, such as click or touch operations. In response to the user operation, the cloud data center 300 can obtain the data table and quality management tasks selected or input by the user through the interface 800, execute the method embodiment shown in Figure 4 to process the task to obtain the task execution result and feedback to the user. The result shown in Figure 8 shows the quality problems of the employee information table displayed in the editing area 840.
[0139] Optionally, after viewing the task execution results, the user can continue to enter new quality management tasks for quality management. As shown in Figure 8, interface 800 includes a "Continue Entering Tasks" text box 850, in which the user can enter new quality management tasks and upload the entered new tasks. As shown in Figure 8, interface 800 also includes a processing control 860, which functions similarly to the processing control 830 described above. Please refer to the relevant description above. For the sake of brevity, it will not be further elaborated here.
[0140] Refer to Figure 9, which is another graphical user interface 900 provided by the present application. The interface 900 can execute the method embodiment shown in Figure 4 to process the task based on the quality management task "display the cleaning steps for the employee information table and generate a pipeline" entered by the user in the "Input Task" text box 8201, obtain the corresponding task execution results and feedback to the user, as shown in the cleaning steps and pipeline displayed in the result display editing area 840 in Figure 9.
[0141] Optionally, the user can also modify the task execution result in the result display editing area 840 . As shown in FIG. 9 , the user can modify the cleaning steps and drag / edit the pipeline in the result display editing area 840 .
[0142] Optionally, the user can also configure the quality management job on the interface 900. As shown in FIG9 , the user can continue to input the task "Adjust the cleaning cycle of the employee information table to clean once a day at 8 o'clock" on the interface 900. The cloud data center 300 can obtain the task input by the user through the interface 900, execute the method embodiment shown in FIG4 to process the task to obtain the corresponding task execution result and feedback to the user. The result shown in FIG9 shows a prompt of successful scheduling displayed in the editing area 870.
[0143] Referring to FIG10 , FIG10 is another graphical user interface 1000 provided by the present application. This interface 1000 can be based on the quality management task input by the user, "provide three representative sample data of legal person information and enterprise creation date in the enterprise information table (empty table), and provide three empty columns on the right." The cloud data center 300 can obtain the task input by the user through this interface 1000, execute the method embodiment shown in FIG4 to process the task to obtain the corresponding task execution result and feedback it to the user, as shown in FIG10 . The enterprise information table is displayed in the result display editing area 840. The user can modify the content in the enterprise information table. As shown in FIG11 , the user has filled the three empty columns in the enterprise information table displayed in the result display editing area 840 with the content "Zhang", "Qi", "2000", "Luo", "Yongqing", "1990", "Zhang", "Yang", and "1983". The user can continue to input the task "Automatically fill the data in data table 1 into the enterprise information table". The cloud data center 300 continues to obtain the tasks input by the user through the interface 1000, executes the method embodiment shown in Figure 4 to process the tasks to obtain the corresponding task execution results and feeds back to the user. The result display editing area 870 on the interface 1100 shown in Figure 11 displays the filled enterprise information table.
[0144] It should be understood that Figures 8 to 11 are for illustration only and are not specifically limited in this application.
[0145] As can be seen from Figures 8 to 11, the data quality management method provided in this application can quickly perform quality management on the user's data table and improve the efficiency of data quality management.
[0146] It can be understood that the idea of the technical solution provided by this application can also be applied to scenarios where other management operations (such as data preparation, data integration, directory generation, etc.) are performed on the user's data tables, where data preparation refers to obtaining unstructured data and structuring the data. Simply put, it is a two-dimensional table format with rows and columns like a table, which is easy to use. Data integration refers to the logical or physical organic concentration of data tables of different sources, formats, and characteristics, thereby providing comprehensive data sharing for enterprises. Directory generation refers to generating an ordered list of the user's data table assets.
[0147] Taking the directory generation scenario as an example, the cloud data center 300 can obtain the user's data table assets, then obtain the quality management tasks input by the user, such as "generate directory", and then organize the user's data table assets according to the task "generate directory", generate the corresponding directory, and then feedback the generated directory to the user.
[0148] Taking the data preparation scenario as an example, the cloud data center 300 can obtain the user's unstructured data, then obtain the quality management tasks input by the user such as "perform data preparation", and then structure the user's unstructured data according to the task "perform data preparation", and then feed back the obtained structured data to the user.
[0149] It should be noted that the above is an explanation of the application of the technical solution provided by this application to the quality management of the user's data table. In specific implementation, the technical solution provided by this application can also be applied to the scenario of quality management of the user's graphic data. In this scenario, the process of quality management of the user's graphic data is similar to the above-mentioned process of quality management of the user's data table. In actual implementation, the above-mentioned process of quality management of the user's data table can be referred to. For the sake of brevity of the specification, it will not be elaborated here.
[0150] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0151] The above describes in detail the data quality management method provided by the present application. Based on the same inventive concept, the following further introduces the data quality management apparatus and computing device cluster provided by the present application.
[0152] See Figure 12, which is a structural diagram of a data quality management device 1200 provided in this application. The data quality management device 1200 can be applied to the cloud system shown in Figure 2, and specifically can be applied to the terminal device 100 shown in Figure 2 or the computing device in the cloud data center 300.
[0153] As shown in Figure 12 , the data quality management device 1200 includes a first acquisition module 1210, a semantic extraction module 1220, a second acquisition module 1230, a solution generation module 1240, a solution execution module 1250, and a result display module 1260. The following describes the functions of each module of the data quality management device 1200 by way of example. It should be understood that the functions of each module described below are merely examples of functions that the data quality management device 1200 may have in some embodiments of this application, and this application does not limit the functions of each module.
[0154] A first acquisition module, configured to acquire a first data table input or selected by a user;
[0155] a semantic extraction module, configured to input the first data table into a data table semantic extraction model, and use the semantics output by the data table semantic extraction model as the semantics of the first data table;
[0156] A second acquisition module is used to acquire a first quality management task of a first data table input or selected by a user;
[0157] a solution generation module, configured to input the semantics of the first data table and the first quality management task into a processing solution generation model, and use the processing solution output by the processing solution generation model as the processing solution for the first quality management task, wherein the processing solution generation model is obtained by training an AI model using the semantics of a known data table, the second quality management task of the known data table, and the processing solution for the second quality management task;
[0158] A solution execution module, configured to execute the processing solution of the first quality management task and obtain a task execution result;
[0159] The result display module is used to provide feedback on task execution results to users.
[0160] In a possible embodiment, the device 1200 also includes a semantic display module, a third acquisition module and a first fine-tuning module, not shown in Figure 12. The semantic display module is used to provide the semantics of the first data table to the user; the third acquisition module is used to obtain the semantics of the first data table after the user edits it; the first fine-tuning module is used to use the semantics of the edited first data table to fine-tune the data table semantic extraction model to obtain the fine-tuned data table semantic extraction model.
[0161] In a possible embodiment, the device 1200 also includes a solution display module, a fourth acquisition module and a second fine-tuning module, not shown in Figure 12. The solution display module is used to provide the processing solution of the first quality management task to the user; the fourth acquisition module is used to obtain the processing solution of the first quality management task edited by the user; the second fine-tuning module is used to use the edited processing solution of the first quality management task to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
[0162] In a possible embodiment, the device 1200 also includes a fifth acquisition module and a third fine-tuning module, not shown in Figure 12. The fifth acquisition module is used to obtain the task execution result edited by the user; the third fine-tuning module is used to use the edited task execution result to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
[0163] In a possible embodiment, the above-mentioned first quality management task includes any one or more of the following: performing anomaly detection on the first data table; scoring the quality of the first data table; cleaning the first data table; generating code, rules, operators or scripts for performing anomaly detection on the first data table; generating code, rules, operators or scripts for scoring the quality of the first data table; generating code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0164] In a possible embodiment, the processing solution for the above-mentioned first quality management task includes any one or more of the following: code, rules, operators or scripts for performing anomaly detection on the first data table; code, rules, operators or scripts for scoring the quality of the first data table; code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
[0165] In a specific implementation, the first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution generation module 1240, the solution execution module 1250 and the result display module 1260 can all be implemented through software, or can be implemented through hardware. When implemented through software, the data quality management device 1200 can be deployed on the data quality management server application shown in Figure 2. When implemented through hardware, the data quality management server application shown in Figure 2 can call these hardware modules to implement data quality management services.
[0166] For example, the implementation of the solution generation module 1240 will be described below using the solution generation module 1240 as an example. Similarly, the implementation of the first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution execution module 1250, and the result display module 1260 can refer to the implementation of the solution generation module 1240.
[0167] As an example of a software functional unit, the solution generation module 1240 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the solution generation module 1240 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.
[0168] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0169] As an example of a hardware functional unit, solution generation module 1240 may include at least one computing device, such as a server. Alternatively, solution generation module 1240 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0170] When solution generation module 1240 includes multiple computing devices, the multiple computing devices can be distributed in the same region or in different regions. The multiple computing devices included in solution generation module 1240 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in solution generation module 1240 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0171] It should be noted that, in other embodiments, the solution generation module 1240 can be used to execute any step in the data quality management method shown in FIG4 , the first acquisition module 1210 can be used to execute any step in the data quality management method shown in FIG4 , the second acquisition module 1230 can be used to execute any step in the data quality management method shown in FIG4 , the semantic extraction module 1220 can be used to execute any step in the data quality management method shown in FIG4 , the solution execution module 1250 can be used to execute any step in the data quality management method shown in FIG4 , and the result display module 1260 can be used to execute any step in the data quality management method shown in FIG4 . In executing any step in the data quality management method shown in Figure 4, the steps that the first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution generation module 1240, the solution execution module 1250 and the result display module 1260 are responsible for implementing can be specified as needed. The first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution generation module 1240, the solution execution module 1250 and the result display module 1260 respectively implement different steps in the data quality management method shown in Figure 4 to realize all the functions of the data quality management device 1200.
[0172] The present application also provides a computing device 1300, which can deploy the data quality management apparatus 1200 shown in FIG12, and the operations and / or functions of each module in the computing device 1300 are respectively for implementing the corresponding steps in the data quality management method shown in FIG4.
[0173] As shown in FIG. 13 , a computing device 1300 includes a processor 1310 , a memory 1320 , and a communication interface 1330 , wherein the processor 1310 , the memory 1320 , and the communication interface 1330 may be interconnected via a bus 1340 .
[0174] The processor 1310 can read the program code (including instructions) stored in the memory 1320 and execute the program code stored in the memory 1320, so that the computing device 1300 executes the data quality management method shown in Figure 4, or enables the computing device 1300 to deploy the data quality management apparatus 1200.
[0175] Processor 1310 can be implemented in various forms, such as a CPU, or a combination of a CPU and a hardware chip. The hardware chip can be an ASIC, a programmable logic device (PLD), or a combination thereof. The PLD can be a CPLD, an FPGA, a GAL, or any combination thereof. Processor 1310 executes various types of digitally stored instructions, such as software or firmware programs stored in memory 1320, enabling computing device 1300 to provide various services.
[0176] The memory 1320 is used to store program code, and the execution is controlled by the processor 1310. The program code may include one or more software modules, which may be the software modules provided in the embodiment of FIG. 12 , such as the first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution generation module 1240, the solution execution module 1250, and the result display module 1260.
[0177] The memory 1320 may include a volatile memory, such as a random access memory (RAM); the memory 1320 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); the memory 1320 may also include a combination of the above types.
[0178] The communication interface 1330 may be a wired interface (e.g., an Ethernet interface, a fiber optic interface, or other types of interfaces (e.g., an InfiniBand interface)) or a wireless interface (e.g., a cellular network interface or a wireless local area network interface) for communicating with other computing devices or apparatuses. The communication interface 1330 may utilize a protocol suite based on the Transmission Control Protocol / Internet Protocol (TCP / IP), such as the Remote Function Call (RFC) protocol, the Simple Object Access Protocol (SOAP) protocol, the Simple Network Management Protocol (SNMP) protocol, the Common Object Request Broker Architecture (CORBA) protocol, and distributed protocols.
[0179] Bus 1340 can be a Peripheral Component Interconnect Express (PCIe) bus, an Extended Industry Standard Architecture (EISA) bus, a Unified Bus (UBus or UB), a Compute Express Link (CXL), a Cache Coherent Interconnect for Accelerators (CCIX), etc. Bus 1340 can be divided into an address bus, a data bus, a control bus, etc. In addition to the data bus, bus 1340 can also include a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus 1340 in the figure. For ease of representation, only one thick line is used in Figure 13, but this does not mean that there is only one bus or one type of bus.
[0180] The computing device 1300 is used to execute the data quality management method shown in FIG4 . The specific implementation process is detailed in the above method embodiment and will not be repeated here.
[0181] It should be understood that computing device 1300 is only one example provided in this application, and computing device 1300 may have more or fewer components than those shown in Figure 13, may combine two or more components, or may have a different configuration implementation of the components.
[0182] The present application also provides a computing device cluster 1400 , which can deploy the data quality management apparatus 1200 shown in FIG. 12 . The operations and / or functions of each module in the computing device cluster 1400 are respectively for implementing corresponding steps in the data quality management method shown in FIG. 4 .
[0183] As shown in FIG14 , the computing device cluster 1400 includes at least one computing device 1300. The memory 1320 in one or more computing devices 1300 in the computing device cluster may store the same instructions for executing the data quality management method shown in FIG4 . The computing device 1300 may be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device 1300 may also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0184] In some possible implementations, the memory 1320 of one or more computing devices 1300 in the computing device cluster 1400 may also store partial instructions for executing the data quality management method shown in FIG4 . In other words, the combination of one or more computing devices 1300 may jointly execute instructions for executing the data quality management method shown in FIG4 .
[0185] It should be noted that the memories 1320 in different computing devices 1300 in the computing device cluster 1400 may store different instructions, each for executing a portion of the functions of the data quality management apparatus 1200. That is, the instructions stored in the memories 1320 in different computing devices 1300 may implement the functions of one or more of the first acquisition module 1210, the semantic extraction module 1220, the second acquisition module 1230, the solution generation module 1240, the solution execution module 1250, and the result display module 1260.
[0186] In some possible implementations, one or more computing devices 1300 in the computing device cluster 1400 can be connected via a network. The network can be a wide area network or a local area network, etc. Figure 15 shows a possible implementation. As shown in Figure 15, two computing devices 1300A and 1300B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 1320 in the computing device 1300A stores instructions for executing the functions of the first acquisition module 1210, the semantic extraction module 1220 and the second acquisition module 1230. At the same time, the memory 1320 in the computing device 1300B stores instructions for executing the functions of the solution generation module 1240, the solution execution module 1250 and the result display module 1260.
[0187] The connection method between the computing device cluster 1400 shown in Figure 15 can be that considering that the data quality management method provided in this application requires data quality management of a large number of data tables, it is considered to entrust the functions implemented by the solution generation module 1240, the solution execution module 1250 and the result display module 1260 to the computing device 1300B for execution.
[0188] It should be understood that the functionality of the computing device 1300A shown in FIG15 may also be implemented by multiple computing devices 1300. Similarly, the functionality of the computing device 1300B may also be implemented by multiple computing devices 1300.
[0189] The present application also provides a computer program product including instructions, which may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the data quality management method shown in FIG4 .
[0190] The present application also provides a computer-readable storage medium, which can be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the data quality management method shown in FIG4.
[0191] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0192] In the above embodiments, it can be implemented in whole or in part by software, hardware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium, or a semiconductor medium.
[0193] The above is only a specific embodiment of the present application. Those skilled in the art may conceive of changes or substitutions based on the specific embodiment provided in this application, and all such changes or substitutions shall fall within the scope of protection of this application.
Claims
1. A data quality management method, characterized in that: The method comprises: The computing device obtains a first data table input or selected by a user; The computing device inputs the first data table into a data table semantic extraction model, and uses the semantics output by the data table semantic extraction model as the semantics of the first data table; The computing device acquires a first quality management task of the first data table input or selected by the user; The computing device inputs the semantics of the first data table and the first quality management task into a processing solution generation model, and uses the processing solution output by the processing solution generation model as the processing solution for the first quality management task, wherein the processing solution generation model is obtained by training an artificial intelligence AI model using the semantics of a known data table, the second quality management task of the known data table, and the processing solution for the second quality management task; The computing device executes the processing solution of the first quality management task to obtain a task execution result; The computing device feeds back the task execution result to the user.
2. The method according to claim 1, characterized in that: The method further comprises: The computing device provides the semantics of the first data table to the user; The computing device obtains the semantics of the first data table edited by the user; The computing device uses the edited semantics of the first data table to fine-tune the data table semantic extraction model to obtain the fine-tuned data table semantic extraction model.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: The computing device provides the user with a processing solution for the first quality management task; The computing device obtains the processing solution of the first quality management task edited by the user; The computing device uses the edited processing solution of the first quality management task to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: The computing device obtains the task execution result edited by the user; The computing device uses the edited task execution result to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
5. The method according to any one of claims 1 to 4, characterized in that: The first quality management task includes any one or more of the following: Performing anomaly detection on the first data table; scoring the quality of the first data table; Cleaning the first data table; generating a code, a rule, an operator or a script for performing anomaly detection on the first data table; generating a code, a rule, an operator or a script for scoring the quality of the first data table; Generate codes, rules, operators, scripts, steps or pipelines for cleaning the first data table.
6. The method according to any one of claims 1 to 5, characterized in that: The processing scheme of the first quality management task includes any one or more of the following: A code, rule, operator or script for performing anomaly detection on the first data table; A code, rule, operator or script for scoring the quality of the first data table; Code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
7. A data quality management device, characterized in that: The device comprises: A first acquisition module, used to acquire a first data table input or selected by a user; A semantic extraction module, used for inputting the first data table into a data table semantic extraction model, and taking the semantics output by the data table semantic extraction model as the semantics of the first data table; A second acquisition module, used for acquiring a first quality management task of the first data table input or selected by the user; a solution generation module, configured to input the semantics of the first data table and the first quality management task into a processing solution generation model, and use the processing solution output by the processing solution generation model as the processing solution for the first quality management task, wherein the processing solution generation model is obtained by training an AI model using the semantics of a known data table, the second quality management task of the known data table, and the processing solution for the second quality management task; A solution execution module, used to execute the processing solution of the first quality management task and obtain a task execution result; The result display module is used to feed back the task execution result to the user.
8. The device according to claim 7, characterized in that The device also includes: A semantic display module, used to provide the semantics of the first data table to the user; A third acquisition module, used to acquire the semantics of the first data table edited by the user; The first fine-tuning module is used to fine-tune the data table semantic extraction model by using the edited semantics of the first data table to obtain the fine-tuned data table semantic extraction model.
9. The device according to claim 7 or 8, characterized in that The device also includes: A solution display module, used for providing the processing solution of the first quality management task to the user; A fourth acquisition module, used to acquire a processing solution for the first quality management task edited by the user; The second fine-tuning module is used to use the edited processing solution of the first quality management task to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
10. The device according to any one of claims 7 to 9, characterized in that: The device also includes: A fifth acquisition module, used to acquire the task execution result edited by the user; The third fine-tuning module is used to use the edited task execution result to fine-tune the processing solution generation model to obtain the fine-tuned processing solution generation model.
11. The device according to any one of claims 7 to 10, characterized in that: The first quality management task includes any one or more of the following: Performing anomaly detection on the first data table; scoring the quality of the first data table; Cleaning the first data table; generating a code, a rule, an operator or a script for performing anomaly detection on the first data table; generating a code, a rule, an operator or a script for scoring the quality of the first data table; Generate codes, rules, operators, scripts, steps or pipelines for cleaning the first data table.
12. The device according to any one of claims 7 to 11, characterized in that The processing scheme of the first quality management task includes any one or more of the following: A code, rule, operator or script for performing anomaly detection on the first data table; A code, rule, operator or script for scoring the quality of the first data table; Code, rules, operators, scripts, steps or pipelines for cleaning the first data table.
13. A computing device cluster, characterized in that: comprising at least one computing device, each computing device of the at least one computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data quality management method and device and computer readable storage medium
CN118798695A
Data quality analysis method and device suitable for mass data, terminal and medium
CN111177134A
Data quality evaluation management method and device
CN111427974A
Semantic and knowledge graph analysis method, platform and device based on dynamic ontology
CN113326381A
Data quality inspection method and device, computer equipment and storage medium
CN114020770A
Cited By
Intelligent data cleaning method and device based on big data and electronic equipment
CN119576912A
Multi-modal demand analysis and layered duplicate checking method and device, system and storage medium
CN121434457A
