Data exploration method and device, medium and equipment

By configuring business rules and data source table fields, generating and executing probing tasks, the problem of data probing efficiency and accuracy in data governance is solved, and the reflection of data governance effectiveness and data decision support are achieved.

CN118535602APending Publication Date: 2024-08-23SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410599338.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the process of data governance, how to use a complete and standardized data exploration solution to reflect the effectiveness of data governance, identify potential problems and risks of data, ensure valuable data output, and provide support for data decision-making has become an urgent need to be solved problem.

Method used

By pre-configuring business rules and table fields in the data source, create data source-level probing tasks, generate data table-level probing subtasks, execute tasks in the thread pool queue, obtain and match table fields and business rules, and summarize the matching results to form probing. Reports support export in multiple formats.

Benefits of technology

It achieves the efficiency and accuracy of data exploration, can promptly discover potential problems and risks in data, provides guidance for data decision-making and development, and reflects the effectiveness of data governance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535602A
    Figure CN118535602A
Patent Text Reader

Abstract

The invention provides a data exploration method and device, a medium and equipment. The method comprises the following steps of: pre-configuring a plurality of business rules required by data exploration, and configuring table fields in a data table in a data source associated with the business rule for each business rule; creating a data source level probing task corresponding to the probing demand; taking each data table contained in the target data source as a target data table, and generating a data table level exploration sub-task corresponding to each target data table; all the data table level probing sub-tasks are put into a task execution thread pool queue; according to the storage sequence, the data table level probing sub-tasks in the task execution thread pool queue are executed in sequence; summarizing matching results corresponding to each target table field in each target data table in the target data source; and forming an exploration report according to the summarized matching result. According to the embodiment of the invention, the exploration efficiency is high, the exploration accuracy is high, and the data governance effect is reflected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data governance technology, and in particular to a data exploration method and apparatus, medium, and equipment. Background Art

[0002] Data governance is accompanied by a series of data processing processes such as data standardization, desensitization, computing, and data cloud migration. How to identify potential problems and risks in the data during these complex processing processes, how to ensure the output of valuable data, form data reports, and provide support for data decision-making are all issues that need to be urgently addressed in the data governance process.

[0003] Data exploration is a very important part of the data governance process, which can provide guarantee for data quality and data decision analysis. Data exploration can explore the content, background, structure, path and other information of data through automated means, and can also check the standardization of data components, data relationships and data formats, and combine with business scenarios to help analyze and judge the feasibility of demand realization and provide guidance for development.

[0004] Currently in the field of data governance, how to adopt a complete and standardized data exploration solution to reflect the effectiveness of data governance has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In order to solve at least one of the above technical problems, an embodiment of the present invention provides a data exploration method, device, medium, and equipment.

[0006] According to a first aspect, a data exploration method provided by an embodiment of the present invention includes:

[0007] Pre-configure multiple business rules required for data exploration, and configure table fields in a data table in a data source associated with each business rule;

[0008] When there is a probing demand, a data source level probing task corresponding to the probing demand is created; wherein the data source level probing task includes a target data source, and the target data source is a data source that needs to be probed;

[0009] Taking each data table included in the target data source as a target data table, and generating a data table-level exploration subtask corresponding to each target data table;

[0010] Putting each data table-level exploration subtask corresponding to each target data table in the target data source into the task execution thread pool queue;

[0011] Execute each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining a table field to be explored in a target data table corresponding to the data table level exploration subtask, using the table field as a target table field, obtaining a business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result;

[0012] Summarize the matching results corresponding to each target table field in each target data table in the target data source;

[0013] Based on the summarized matching results, a detection report is formed.

[0014] In one embodiment, the method provided by the embodiment of the present invention further includes:

[0015] Pre-configure data source profiling indicators, data table profiling indicators, and table field profiling indicators;

[0016] Scan the target data source according to the data source detection index to obtain the detection index of the target data source;

[0017] Scan each target data table in the target data source according to the data table exploration index to obtain the exploration index status of the target data table;

[0018] According to the table field detection index, the target table field is scanned to obtain the detection index status of the target table field.

[0019] In one embodiment, the forming of the exploration report according to the summarized matching results includes:

[0020] The exploration report is formed according to the summarized matching results, the exploration index situation of the target data source, the exploration index situation of each target data table and the exploration index situation of each target table field.

[0021] In one embodiment, the data source exploration indicator includes at least one of data source type, data source name, character set, maximum number of connections, number of active connections, permissions, case sensitivity, storage size, time zone, and total data volume;

[0022] And / or, the data table exploration index includes at least one of data volume, null value rate, standard passing rate, attribute filling rate and standard rate;

[0023] And / or, the table field exploration indicators include at least one of the field English name, field Chinese name, whether business exploration is required, degree of compliance with standards, sensitivity, null value rate, standardization rate, value range, maximum value, minimum value, unique value, context path, standard deviation, variance and data distribution ratio.

[0024] In one embodiment, the method provided by the embodiment of the present invention further includes:

[0025] Pre-checking the table fields in the data table in each data source associated with the business rule; wherein the pre-checking includes checking whether the data source, data table and table fields exist, and checking whether the type of the table field matches the business rule;

[0026] For the data sources, data tables and table fields that have not passed the pre-check, the association configuration with the business rules is re-performed, or the corresponding business rules are discarded.

[0027] In one embodiment, the pre-configured data exploration requires multiple business rules, including:

[0028] Creating built-in business rules, wherein the built-in business rules include identification and matching rules for at least one of an identity card, a vehicle frame number, a vehicle license plate number, an officer's card, a tax registration certificate, a passport, a social unified credit code, and a business license;

[0029] Create custom business rules; wherein the custom business rules include rule name, rule category, identification method and identification rule, and the identification rule supports keyword matching and regular expression matching of table fields;

[0030] The custom business rules are tested, and the custom business rules that pass the test are used as valid custom business rules.

[0031] In one embodiment, the method provided by the embodiment of the present invention further includes:

[0032] Sending the detection report to the back-end server for processing;

[0033] The exploration report and its processed data are displayed on the front-end device interface and support export in multiple formats.

[0034] According to a second aspect, a data exploration device provided by an embodiment of the present invention includes:

[0035] A rule configuration module, used to pre-configure multiple business rules required for data exploration, and configure table fields in a data table in a data source associated with each business rule;

[0036] A task creation module, used for creating a data source level exploration task corresponding to the exploration demand when there is an exploration demand; wherein the data source level exploration task includes a target data source, and the target data source is a data source that needs to be explored;

[0037] A subtask generation module, used to take each data table included in the target data source as a target data table, and generate a data table-level exploration subtask corresponding to each target data table;

[0038] A subtask placement module is used to place each data table-level exploration subtask corresponding to each target data table in the target data source into a task execution thread pool queue;

[0039] The subtask execution module is used to execute each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining the table field that needs to be explored in the target data table corresponding to the data table level exploration subtask, using the table field as the target table field, obtaining the business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result;

[0040] A result summary module, used to summarize the matching results corresponding to each target table field in each target data table in the target data source;

[0041] The report generation module is used to generate a detection report based on the summarized matching results.

[0042] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method provided in the first aspect.

[0043] According to a fourth aspect, an embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method provided in the first aspect is implemented.

[0044] The data exploration method, device, medium, and equipment provided by the embodiment of the present invention create a data source level exploration task corresponding to the exploration demand, and then generate corresponding data table level exploration subtasks for each target data table contained in the target data source, and then put these data table level exploration subtasks into the task execution thread pool queue for execution in sequence, and the execution process of each data table level exploration subtask includes: determining the target table field, and then obtaining the associated business rules, and then matching the target table field and the business rules to obtain the matching results, and then summarizing the matching results corresponding to each target table field in each target data table in the target data source, so as to generate an exploration report. The above process is standardized and does not require human participation, so the exploration efficiency is high and the exploration accuracy is high. The exploration report is used to reflect the effectiveness of data governance, so that potential problems and risks of data can be found in time, providing guidance for data decision-making and data development. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a flow chart of a data exploration method in one embodiment of the present invention;

[0046] Figure 2 FIG. 4 is a structural block diagram of a data exploration device in one embodiment of the present invention. DETAILED DESCRIPTION

[0047] In a first aspect, an embodiment of the present invention provides a data exploration method, see Figure 1 The method comprises the following steps S110 to S170:

[0048] S110, pre-configuring multiple business rules required for data exploration, and configuring, for each business rule, a table field in a data table in a data source associated with the business rule;

[0049] Among them, business rules refer to the rules for checking the format, length, type, etc. of table fields.

[0050] Among them, data sources refer to various databases, such as MySQL, Oracle, Hive, etc.

[0051] Among them, a data table refers to a container for storing data in a database.

[0052] Among them, table fields refer to the attributes of information stored in the data table.

[0053] Of course, the data source also involves metadata, which refers to database structure information, such as tables, fields, views, and functions.

[0054] In one embodiment, the multiple business rules required for pre-configured data exploration in S110 may include:

[0055] S111, creating a built-in business rule, wherein the built-in business rule includes an identification and matching rule for at least one of an identity card, a vehicle frame number, a vehicle license plate number, an officer's card, a tax registration certificate, a passport, a social unified credit code, and a business license;

[0056] Among them, the built-in business rules are commonly used business rules, and the built-in business rules are set to be enabled in S111. In actual applications, the commonly used business rules include identity cards, vehicle frame numbers, license plate numbers, military officer certificates, tax registration certificates, passports, social unified credit codes, and business licenses.

[0057] S112, creating a custom business rule; wherein the custom business rule includes a rule name, a rule category, an identification method, and an identification rule, and the identification rule supports keyword matching and regular expression matching of table fields;

[0058] S113: Test the user-defined business rules, and use the user-defined business rules that pass the test as valid user-defined business rules.

[0059] Custom business rules are business rules set according to specific needs. After creating custom business rules, test them to verify their validity. Only valid custom business rules will be used for association work.

[0060] After configuring multiple valid business rules, you need to perform association work, that is, associate a business rule with a certain type of table field in a certain data table in a certain type of data source.

[0061] For example, the built-in business rules for the ID card number can only match data whose table fields are ID card numbers. Therefore, the built-in business rules for the ID card number are associated with the ID card number table fields in various data tables in multiple types of data sources.

[0062] S120: When there is a probing demand, create a data source level probing task corresponding to the probing demand; wherein the data source level probing task includes a target data source, and the target data source is a data source that needs to be probed;

[0063] That is, in the data source level profiling task, there is a data source that needs to be profiled, and the data source is the target data source.

[0064] In addition to creating the corresponding data source level exploration task when there is an exploration demand, you can also create a data source level exploration task on a scheduled basis. Specifically, set a scheduled task and call the task scheduling service. The task scheduling service triggers the creation of the data source level exploration task on a scheduled basis through the scheduled task.

[0065] S130, taking each data table included in the target data source as a target data table, and generating a data table-level exploration subtask corresponding to each target data table;

[0066] It is understandable that the target data source includes multiple data tables, each data table is taken as a target data table, and a corresponding data table-level exploration subtask is generated for each target data table, thereby splitting the data source-level exploration task into multiple data table-level exploration subtasks.

[0067] S140, putting each data table-level exploration subtask corresponding to each target data table in the target data source into a task execution thread pool queue;

[0068] That is, each data table-level exploration subtask corresponding to each target data table is placed in a queue, which is called a task execution thread pool queue.

[0069] S150, executing each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining a table field to be explored in a target data table corresponding to the data table level exploration subtask, using the table field as a target table field, obtaining a business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result;

[0070] That is, the first data table level probing subtask in the task execution thread pool queue is executed first, and then the second data table level probing subtask is executed, and so on, until all data table level probing subtasks in the task execution thread pool queue are completed.

[0071] Among them, the execution logic of each data table-level exploration subtask includes: obtaining the table fields that need to be explored in the target data table corresponding to the data table-level exploration subtask, which can be determined based on the exploration indicator of whether business exploration is required in the table field exploration indicator, so as to know which table fields in the corresponding target data table are used as target table fields, and then obtain the business rules associated with each target table field. For example, if a target table field is an ID card number, then obtain the business rules corresponding to the ID card number. After obtaining the business rules, match the business rules with the data in the target table field to know whether the target table field meets the requirements of the business rules, and thus obtain the matching results.

[0072] S160, summarizing the matching results corresponding to each target table field in each target data table in the target data source;

[0073] S170. Generate a detection report based on the summarized matching results.

[0074] It can be seen that the matching results of each target table field in each target data table in the target data source are summarized to obtain a summarized matching result, and then the exploration result can be generated according to the summarized matching result. It can be seen that the exploration at the table field level is realized.

[0075] In one embodiment, the method provided by the embodiment of the present invention may further include:

[0076] S180, pre-configure data source exploration indicators, data table exploration indicators, and table field exploration indicators;

[0077] The data source exploration indicator may include at least one of data source type, data source name, character set, maximum number of connections, number of active connections, permissions, case sensitivity, storage size, time zone, and total data volume.

[0078] It can be seen that the data source detection indicator is an indicator used to detect the connection status and / or storage pressure of the data source.

[0079] The data table exploration index may include at least one of data volume, null value rate, standard pass rate, attribute filling rate and standard rate.

[0080] It can be seen that the data table exploration indicators can reflect the storage status of specific table data, whether it meets the standards, whether the vacancy rate is too high, and whether there is abnormal data.

[0081] Among them, the table field exploration indicators may include at least one of the field English name, field Chinese name, whether business exploration is required, degree of compliance with standards, sensitivity, null value rate, standardization rate, value range, maximum value, minimum value, unique value, context path, standard deviation, variance and data distribution ratio.

[0082] It can be seen that the table field exploration indicators can reflect the basic situation of the data stored in the table fields, data distribution, and whether there are any anomalies.

[0083] S190, scanning the target data source according to the data source detection index to obtain the detection index of the target data source;

[0084] That is, according to the data source exploration index, the target data source is scanned, so as to obtain the specific situation of each exploration index of the target data source.

[0085] S200, scanning each target data table in the target data source according to the data table exploration index to obtain exploration index status of the target data table;

[0086] That is, according to the data table exploration index, each target data table is scanned to obtain the specific situation of each exploration index of each target data table.

[0087] S210: Scan the target table field according to the table field detection index to obtain the detection index status of the target table field.

[0088] That is, according to the table field exploration index, each target table field is scanned to obtain the specific situation of each exploration index of each target table field.

[0089] Of course, in addition to the target data source, target data table, and target table field, the metadata of the target data source can also be explored. For example, the metadata exploration index includes at least one of the total metadata, the number of fields, the number of tables, the number of views, the number of stored procedures, and the number of functions; the metadata exploration index can reflect the basic situation of the database metadata.

[0090] Furthermore, forming a detection report according to the summarized matching results in S170 may include:

[0091] The exploration report is formed according to the summarized matching results, the exploration index situation of the target data source, the exploration index situation of each target data table and the exploration index situation of each target table field.

[0092] That is to say, the exploration report includes the summary of matching results, the exploration index of the target data source, the exploration index of each target data table and the exploration index of each target table field. Of course, it can also include the exploration of the metadata of the target database, making the exploration report more comprehensive.

[0093] In one embodiment, the method provided by the embodiment of the present invention may further include:

[0094] Pre-checking the table fields in the data table in each data source associated with the business rule; wherein the pre-checking includes checking whether the data source, data table and table fields exist, and checking whether the type of the table field matches the business rule;

[0095] For the data sources, data tables and table fields that have not passed the pre-check, the association configuration with the business rules is re-performed, or the corresponding business rules are discarded.

[0096] That is to say, before actually using business rules for matching, pre-check the business rules. For example, for the business rule of ID card number, if the type of a table field in the data table of the associated data source is Integer type, it is considered that the check fails, indicating that there is a problem with the associated configuration. You can re-associate or discard it and change the associated business rule.

[0097] Of course, during the pre-check, in addition to checking whether the data source, data table and table fields exist, and whether the table field types match, you can also pre-check the field length, etc. It can be seen that the pre-check items can be determined according to the specific situation of the table fields. Through pre-checking, the reliability of subsequent matching work can be further guaranteed.

[0098] In one embodiment, the method provided by the embodiment of the present invention may further include:

[0099] Sending the detection report to the back-end server for processing;

[0100] The exploration report and its processed data are displayed on the front-end device interface and support export in multiple formats.

[0101] It can be seen that after obtaining the exploration report, the exploration report can be processed in the background, and the exploration report and the processing results can be displayed in the front end.

[0102] Among them, the exploration report includes data source exploration report, data table exploration report and table field exploration report, etc. The exploration report supports export in multiple formats, of course, it can also support historical multi-version viewing, and the exploration report can also be stored in the database.

[0103] It is understandable that based on the method provided in the embodiment of the present invention, the true meaning of the table fields can be matched and identified, and the business rules associated with the Chinese and English names of the table fields and the business data can be set, keyword or regular expression matching can be supported, and business rule testing can be provided. It supports multiple types of data sources and multiple exploration indicators, can be connected to a distributed task scheduling platform, supports the execution, freezing, and thawing of exploration tasks, and views instance operation logs. It can intuitively display the results of various indicators of data source exploration, metadata exploration, data table exploration, and field exploration, and supports the export of exploration reports.

[0104] It can be seen that by using data exploration indicators to feedback the dynamic changes of data, the effectiveness of data governance can be automatically and dynamically perceived, so that potential problems and risks in the data can be identified in a timely manner, providing guidance for data decision-making and data development.

[0105] In a second aspect, an embodiment of the present invention provides a data exploration device, see Figure 2 , the device 100 comprises:

[0106] A rule configuration module 110 is used to pre-configure multiple business rules required for data exploration, and configure table fields in a data table in a data source associated with each business rule;

[0107] The task creation module 120 is used to create a data source level exploration task corresponding to the exploration demand when there is an exploration demand; wherein the data source level exploration task includes a target data source, and the target data source is a data source that needs to be explored;

[0108] The subtask generating module 130 is used to take each data table included in the target data source as a target data table, and generate a data table-level exploration subtask corresponding to each target data table;

[0109] The subtask placement module 140 is used to place each data table-level exploration subtask corresponding to each target data table in the target data source into the task execution thread pool queue;

[0110] The subtask execution module 150 is used to execute each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining the table field to be explored in the target data table corresponding to the data table level exploration subtask, using the table field as the target table field, obtaining the business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result;

[0111] A result summary module 160, used to summarize the matching results corresponding to each target table field in each target data table in the target data source;

[0112] The report forming module 170 is used to form a detection report according to the summarized matching results.

[0113] In one embodiment, the apparatus provided by the embodiment of the present invention may further include:

[0114] An indicator determination module, used to pre-configure data source exploration indicators, data table exploration indicators, and table field exploration indicators;

[0115] A first probing module, configured to scan the target data source according to the data source probing indicator to obtain the probing indicator status of the target data source;

[0116] A second exploration module is used to scan each target data table in the target data source according to the data table exploration index to obtain the exploration index status of the target data table;

[0117] The third detection module is used to scan the target table field according to the table field detection index to obtain the detection index status of the target table field.

[0118] In one embodiment, the report forming module is specifically used to form the exploration report according to the summarized matching results, the exploration index of the target data source, the exploration index of each target data table and the exploration index of each target table field.

[0119] In one embodiment, the data source exploration index includes at least one of the data source type, data source name, character set, maximum number of connections, number of active connections, permissions, case sensitivity, storage size, time zone and total data volume; and / or, the data table exploration index includes at least one of the data volume, null value rate, standard pass rate, attribute filling rate and standard rate; and / or, the table field exploration index includes at least one of the field English name, field Chinese name, whether business exploration is required, degree of compliance with standards, sensitivity, null value rate, standard rate, value range, maximum value, minimum value, unique value, context path, standard deviation, variance and data distribution ratio.

[0120] In one embodiment, the apparatus provided by the embodiment of the present invention may further include:

[0121] A pre-check module is used to pre-check the table fields in the data table in each data source associated with the business rule; wherein the pre-check includes checking whether the data source, data table and table fields exist, and checking whether the type of the table field matches the business rule;

[0122] The first processing module is used to re-configure the association between the data source, data table and table field that have not passed the pre-check and the business rules, or to discard the corresponding business rules.

[0123] In one embodiment, the rule configuration module includes:

[0124] A first creation unit is used to create a built-in business rule, wherein the built-in business rule includes an identification and matching rule for at least one of an identity card, a vehicle frame number, a vehicle license plate number, an officer's card, a tax registration certificate, a passport, a social unified credit code, and a business license;

[0125] A second creation unit is used to create a custom business rule; wherein the custom business rule includes a rule name, a rule category, an identification method and an identification rule, and the identification rule supports keyword matching and regular expression matching of table fields;

[0126] The rule testing unit is used to test the custom business rules and take the custom business rules that pass the test as valid custom business rules.

[0127] In one embodiment, the apparatus provided by the embodiment of the present invention may further include:

[0128] A data processing module, used for sending the detection report to a back-end server for processing;

[0129] The data display module is used to display the exploration report and its processed data on the front-end device interface and supports export in multiple formats.

[0130] It is understandable that the explanation of the relevant contents, specific implementation methods, beneficial effects, examples, etc. in the system provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0131] In a third aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the method provided in the first aspect.

[0132] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.

[0133] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0134] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0135] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0136] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0137] It is understandable that the explanation, specific implementation methods, beneficial effects, examples, etc. of the relevant contents in the computer-readable medium provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0138] In a fourth aspect, an embodiment of the present specification provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the method in any embodiment of the specification.

[0139] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the computing device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0140] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0141] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0142] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A data exploration method, It is characterized in that include: Pre-configure multiple business rules required for data exploration, and configure table fields in a data table in a data source associated with each business rule; When there is a probing demand, a data source level probing task corresponding to the probing demand is created; wherein the data source level probing task includes a target data source, and the target data source is a data source that needs to be probed; Taking each data table included in the target data source as a target data table, and generating a data table-level exploration subtask corresponding to each target data table; Putting each data table-level exploration subtask corresponding to each target data table in the target data source into the task execution thread pool queue; Execute each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining a table field to be explored in a target data table corresponding to the data table level exploration subtask, using the table field as a target table field, obtaining a business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result; Summarize the matching results corresponding to each target table field in each target data table in the target data source; Based on the summarized matching results, a detection report is formed.

2. The method according to claim 1, It is characterized in that Also includes: Pre-configure data source profiling indicators, data table profiling indicators, and table field profiling indicators; Scan the target data source according to the data source detection index to obtain the detection index of the target data source; Scan each target data table in the target data source according to the data table exploration index to obtain the exploration index status of the target data table; According to the table field detection index, the target table field is scanned to obtain the detection index status of the target table field.

3. The method according to claim 2, It is characterized in that The exploration report is formed based on the summarized matching results, including: The exploration report is formed according to the summarized matching results, the exploration index situation of the target data source, the exploration index situation of each target data table and the exploration index situation of each target table field.

4. The method according to claim 2, It is characterized in that The data source exploration index includes at least one of the data source type, data source name, character set, maximum number of connections, number of active connections, permissions, case sensitivity, storage size, time zone, and total data volume; And / or, the data table exploration index includes at least one of data volume, null value rate, standard passing rate, attribute filling rate and standard rate; And / or, the table field exploration indicators include at least one of the field English name, field Chinese name, whether business exploration is required, degree of compliance with standards, sensitivity, null value rate, standardization rate, value range, maximum value, minimum value, unique value, context path, standard deviation, variance and data distribution ratio.

5. The method according to claim 1, It is characterized in that Also includes: Pre-checking the table fields in the data table in each data source associated with the business rule; wherein the pre-checking includes checking whether the data source, data table and table fields exist, and checking whether the type of the table field matches the business rule; For the data sources, data tables and table fields that have not passed the pre-check, the association configuration with the business rules is re-performed, or the corresponding business rules are discarded.

6. The method according to claim 1, It is characterized in that The pre-configured data exploration requires multiple business rules, including: Creating built-in business rules, wherein the built-in business rules include identification and matching rules for at least one of an identity card, a vehicle frame number, a vehicle license plate number, an officer's card, a tax registration certificate, a passport, a social unified credit code, and a business license; Create custom business rules; wherein the custom business rules include rule name, rule category, identification method and identification rule, and the identification rule supports keyword matching and regular expression matching of table fields; The custom business rules are tested, and the custom business rules that pass the test are used as valid custom business rules.

7. The method according to claim 1, It is characterized in that Also includes: Sending the detection report to the back-end server for processing; The exploration report and its processed data are displayed on the front-end device interface and support export in multiple formats.

8. A data exploration device, It is characterized in that include: A rule configuration module, used to pre-configure multiple business rules required for data exploration, and configure table fields in a data table in a data source associated with each business rule; A task creation module, used for creating a data source level exploration task corresponding to the exploration demand when there is an exploration demand; wherein the data source level exploration task includes a target data source, and the target data source is a data source that needs to be explored; A subtask generation module, used to take each data table included in the target data source as a target data table, and generate a data table-level exploration subtask corresponding to each target data table; A subtask placement module is used to place each data table-level exploration subtask corresponding to each target data table in the target data source into a task execution thread pool queue; The subtask execution module is used to execute each data table level exploration subtask in the task execution thread pool queue in sequence according to the storage order; wherein the execution process of each data table level exploration subtask includes: obtaining the table field that needs to be explored in the target data table corresponding to the data table level exploration subtask, using the table field as the target table field, obtaining the business rule associated with the target table field, matching the target table field with the associated business rule, and obtaining a matching result; A result summary module, used to summarize the matching results corresponding to each target table field in each target data table in the target data source; The report generation module is used to generate a detection report based on the summarized matching results.

9. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. A computing device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.