A multi-mode data compliance verification method, device and medium based on data standards

Through the multi-modal data compliance verification method based on data standards, the problem that data verification in the prior art is susceptible to manual intervention is solved, and the standardized inspection of structured, semi-structured and unstructured data is realized, which improves the Data quality and system stability.

CN118194000BActive Publication Date: 2024-11-01ZHONGKE DIGITAL MEASUREMENT (WUXI) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410591578.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-11-01
Estimated Expiration
2044-05-14

AI Technical Summary

Technical Problem

Existing data compliance verification methods are susceptible to manual intervention, which makes it difficult to ensure accuracy and impartiality, and inefficient inspections, making it difficult to adapt to complex data structures and content.

Method used

Using a multi-modal data compliance verification method based on data standards, by obtaining document objects and database objects, formulating inspection templates, judging data types, using multi-threaded inspection data structures and contents, establishing an evaluation task metric system, and using evaluation algorithms to generate data Standardized quality score.

Benefits of technology

It improves the quality and compliance of data, ensures the stability and reliability of the data system, and provides reliable quality assurance for informatization construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118194000B_ABST
    Figure CN118194000B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-mode data compliance verification method, device and medium based on data standards, wherein the method includes S1, obtaining document objects and database objects, formulating inspection templates according to the document objects and database objects, and preparing for the standardized inspection of the data to be inspected; S2, judging the type of data to be inspected, scheduling the corresponding inspection template for standardized inspection according to the type of data to be inspected, and obtaining the inspection result; S3, establishing an evaluation task measurement index system to verify and evaluate the inspection result, and generate a data standardization quality score. The present invention adopts a multi-mode data compliance verification method, which can effectively check the standardization of structured data, semi-structured data and unstructured data, improve the quality and compliance of data, improve the accuracy and completeness of data, obtain the standardized quality score of data, improve the stability and reliability of the data system, and provide a reliable quality assurance means for information construction projects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data compliance verification, and in particular to a multi-mode data compliance verification method, device and medium based on data standards. Background Art

[0002] Data compliance verification can ensure data quality, which is crucial for business decision-making and the normal operation of information systems. However, as data quality inspection develops, there is a major hidden danger, that is, the data quality inspection process may lead to data inaccuracy due to excessive human intervention (such as Figure 2 As shown in Figure 1-3). Therefore, the accuracy and timeliness of data checks are now receiving more and more attention.

[0003] There are three main solutions at present: the first is the manual inspection method. This method uses professionals to evaluate the results of data construction by consulting standard documents and conducting on-site inspections. Manual inspections have the problems of poor objectivity and timeliness, and it is not easy to form a complete inspection mechanism and obtain reliable inspection results in the face of large data scale and complex content. In addition, the manual inspection process is cumbersome, costly, and prone to subjective bias, which affects the accuracy and fairness of the evaluation results. The second is the semi-automatic inspection method. This method uses pre-defined rules and templates to inspect data and assist professionals in inspection and evaluation. Although semi-automatic methods can improve efficiency and reduce errors compared to full manual inspections, they still require manual participation in the definition of rules and templates, the interpretation and processing of data, and there are certain subjectivity and errors. Moreover, the scope of application of semi-automatic methods is limited, and complex data structures and contents may not be fully covered, resulting in incomplete accuracy of the evaluation results. The third is the automated inspection method based on data mining and machine learning. This method uses data mining and machine learning technology to analyze and inspect large-scale and complex data, extract patterns and anomalies from them, and assist in standard normative inspections and quality assessments. Although methods based on data mining and machine learning can improve efficiency and accuracy, they require a large amount of training data and model optimization, and the standardization requirements of information construction in specific industries may require customized models and algorithms. In addition, the results of data mining and machine learning methods are poorly interpretable, making it difficult to intuitively understand the inspection results and evaluation process, which may affect users' trust and acceptance.

[0004] It can be seen that although the existing data conformity verification methods have made some progress, they are easily affected by external conditions, and the inspection content may be affected by human and other environmental factors, and the accuracy and fairness of the results are not easy to guarantee. Therefore, a multi-mode data conformity verification method is needed to improve the verification efficiency. Summary of the invention

[0005] The purpose of the present invention is to provide a multi-mode data conformity verification method, device and medium based on data standards to solve the problems of uneven data standardization levels and poor objectivity and timeliness of data standardization inspection in information construction.

[0006] Embodiments of the present invention provide a multi-mode data compliance verification method, device and medium based on data standards.

[0007] A first aspect: A multi-mode data compliance verification method based on data standards, comprising:

[0008] S1, obtaining document objects and database objects, formulating inspection templates based on the document objects and database objects, and preparing for standardized inspection of the data to be inspected;

[0009] S2, determining the type of data to be checked, scheduling a corresponding inspection template to perform standardized inspection according to the type of data to be checked, and obtaining the inspection result;

[0010] S3. Establish a measurement indicator system for assessment tasks, verify and evaluate the inspection results based on the measurement indicator system, and generate data standardization quality scores.

[0011] The measurement index system includes evaluation models, evaluation rules and evaluation indicators.

[0012] Furthermore, the S1 comprises the steps of:

[0013] S11, connecting the file storage system and the database system;

[0014] S12, using stream technology to obtain document objects, and using JDBC technology to obtain database objects;

[0015] S13, obtaining document object structure information and obtaining database object data information;

[0016] S14, formulate custom inspection rules through Lambda expressions;

[0017] S15, obtaining a check template according to the structure information or the library table and table field structure information and the custom check rule.

[0018] Furthermore, the data information of the database object includes library table and table field structure information.

[0019] Furthermore, the S2 comprises the steps of:

[0020] S21, obtaining the data to be checked from the data source, determining the type of data to be checked, and scheduling the corresponding inspection template;

[0021] S22, checking the structure information and data information of the data to be checked in a multi-threaded manner according to the checking template information;

[0022] S23, obtaining and storing the inspection results.

[0023] Furthermore, the types of data to be checked include: structured data, semi-structured data and unstructured data.

[0024] Furthermore, the step of S3 includes:

[0025] S31, set up the evaluation task measurement indicator system;

[0026] S32, selecting an evaluation algorithm;

[0027] S33, performing quality assessment calculation on the inspection result;

[0028] S33, generate data normalization quality scores.

[0029] Furthermore, the evaluation algorithm includes a basic algorithm and a custom algorithm: the function types adopted by the evaluation algorithm include text functions, date and time functions, logical functions, mathematical and trigonometric functions, and search functions.

[0030] A second aspect: An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method provided in the first aspect when executing the program.

[0031] A third aspect: A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0032] Beneficial effects of the present invention:

[0033] The present invention adopts a multi-mode data conformity verification method, which can effectively check the standardization of structured data, semi-structured data and unstructured data, improve the quality and conformity of data, and improve the accuracy and completeness of data. By establishing a measurement indicator system and obtaining standardized quality scores for data according to specific inspection rules and quality assessment data, the quality of data products can be evaluated, which is conducive to improving the stability and reliability of the data system and providing a reliable quality assurance means for information construction projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a flow chart of a multi-mode data compliance verification method based on data standards of the present invention;

[0035] Figure 2Schematic diagram of the principle of data inaccuracy caused by human intervention;

[0036] Figure 3 Schematic diagram of the principle of obtaining data inspection results and verifying evaluation in the present invention;

[0037] Figure 4 This is a schematic diagram of the principle structure of the verification and evaluation of the present invention;

[0038] Figure 5 It is a schematic diagram of the structure of the electronic device of the present invention. DETAILED DESCRIPTION

[0039] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar symbols throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0040] Data compliance verification can ensure data quality, which is crucial for business decision-making and the normal operation of information systems. Although existing data inspection methods have made some progress, they are easily affected by external conditions, and the inspection content may be affected by human and other environmental factors, which may affect the accuracy and fairness of the results. Therefore, a method that can improve inspection efficiency is needed.

[0041] In view of the above problems, the present invention provides a multi-mode data compliance verification method based on data standards. Figure 1 A flow chart of a multi-mode data compliance verification method based on data standards provided in an embodiment of the present invention, the method comprising:

[0042] S1, obtain the document object or database object, formulate the inspection template, and prepare for the standardized inspection of the data to be inspected.

[0043] The inspection template includes structure information and data information. The structure information is obtained based on the document object, and the data information is obtained based on the database object, including:

[0044] S11, connect the file storage system and the database system.

[0045] S12, using stream technology to obtain document objects, and using JDBC technology to obtain database objects.

[0046] S13, obtaining document object structure information, obtaining database object data information, the data information mainly includes library table and table field structure information.

[0047] S14, formulate custom inspection rules through Lambda expressions; custom inspection rules can be generated by selecting system built-in rules or custom rules.

[0048] S15, obtaining a check template according to the structure information or the library table and table field structure information and the custom check rule.

[0049] S2, determining the type of data to be checked, scheduling a corresponding inspection template to perform standardized inspection according to the type of data to be checked, and obtaining the inspection result.

[0050] like Figure 2 As shown, the types of data to be checked mainly include: structured data, semi-structured data and unstructured data. For different data types, personalized inspection templates are used to obtain inspection results.

[0051] S21, obtaining the data to be checked from the data source, determining the type of the data to be checked, and scheduling a corresponding inspection template.

[0052] The data to be inspected also includes its own structural information and data information. First, it is determined whether the data to be inspected is structured data, semi-structured data or unstructured data, and then the corresponding inspection template is scheduled.

[0053] S22, according to the inspection template information, the structural information and data information of the data to be inspected are inspected in a multi-threaded manner; and the customized inspection rules are used to perform standardized inspection of the data to be inspected.

[0054] S23, obtaining and storing the inspection results in preparation for subsequent verification and evaluation.

[0055] S3, establish an evaluation task measurement indicator system, verify and evaluate the inspection results based on the measurement indicator system, generate data standardization quality scores, and obtain standardized quality score results by setting up a measurement indicator system and using different evaluation algorithms.

[0056] S31, set up an evaluation task measurement indicator system. The measurement indicator system includes the establishment of evaluation models, evaluation rules and evaluation indicators, which can objectively reflect the standardized quality of the data to be checked.

[0057] S32, selecting an evaluation algorithm, the evaluation algorithm includes a basic algorithm and a custom algorithm, as shown in Table 1, and the function types used by the evaluation algorithm include text functions, date and time functions, logical functions, mathematical and trigonometric functions, and search functions.

[0058] Table 1 Detailed list of evaluation algorithm functions

[0059]

[0060] The evaluation algorithm knowledge base can provide algorithm evaluation methods such as weighted sum method, weighted product method, hierarchical analysis method, fuzzy comprehensive ranking method, etc.; it can support general mathematical operations, function operations and other operations, and has functions such as algorithm selection, algorithm definition, and algorithm mapping. It can also support programming in JavaScript programming language and customize algorithm functions, which can be stored in the evaluation algorithm knowledge base through settings.

[0061] S33, perform quality assessment calculation on the inspection results, such as Figure 4 As shown, by selecting an evaluation algorithm, using weighted sum method, weighted product method and other algorithms to complete the standardization quality evaluation, obtain the evaluation results, generate data standardization quality scores, and the evaluation results can be directly displayed or exported in the form of a report.

[0062] The present invention also provides an electronic device, Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 5 As shown, the electronic device may include: a processor, a communications interface, a memory, and a communications bus, wherein the processor, the communications interface, and the memory communicate with each other via the communications bus. The processor may call the logic instructions in the memory to execute the following method:

[0063] S1, obtaining document objects and database objects, formulating inspection templates based on the document objects and database objects, and preparing for standardized inspection of the data to be inspected;

[0064] S2, determining the type of data to be checked, scheduling a corresponding inspection template to perform standardized inspection according to the type of data to be checked, and obtaining the inspection result;

[0065] S3. Establish a measurement indicator system for assessment tasks, verify and evaluate the inspection results based on the measurement indicator system, and generate data standardization quality scores.

[0066] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0067] An embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method provided in each of the above embodiments is implemented, for example, including:

[0068] S1, obtaining document objects and database objects, formulating inspection templates based on the document objects and database objects, and preparing for standardized inspection of the data to be inspected;

[0069] S2, determining the type of data to be checked, scheduling a corresponding inspection template to perform standardized inspection according to the type of data to be checked, and obtaining the inspection result;

[0070] S3. Establish a measurement indicator system for assessment tasks, verify and evaluate the inspection results based on the measurement indicator system, and generate data standardization quality scores.

[0071] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0072] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-mode data conformity verification method based on data standards, characterized in that: include: S1, obtaining document objects and database objects, formulating inspection templates based on the document objects and database objects, and preparing for standardized inspection of the data to be inspected; S2, determining the type of data to be checked, scheduling a corresponding inspection template to perform standardized inspection according to the type of data to be checked, and obtaining the inspection result; S3. Establish a measurement indicator system for assessment tasks, verify and evaluate the inspection results based on the measurement indicator system, and generate data standardization quality scores; The S1 comprises the steps of: S11, connecting the file storage system and the database system; S12, using stream technology to obtain document objects, and using JDBC technology to obtain database objects; S13, obtaining document object structure information and obtaining database object data information; S14, formulate custom inspection rules through Lambda expressions; S15, obtaining a check template according to the structure information or the structure information of the library table and table fields and the custom check rule; The S2 comprises the steps of: S21, obtaining the data to be checked from the data source, determining the type of data to be checked, and scheduling the corresponding inspection template; S22, checking the structure information and data information of the data to be checked in a multi-threaded manner according to the checking template information; S23, obtaining and storing the inspection results; The steps of S3 include: S31, set up the evaluation task measurement indicator system; S32, selecting an evaluation algorithm; S33, performing quality assessment calculation on the inspection result; S34, generate data normalization quality scores; The measurement index system includes evaluation models, evaluation rules and evaluation indicators.

2. A multi-mode data conformity verification method based on data standards according to claim 1, characterized in that: The data information of the database object includes library table and table field structure information.

3. The method for verifying the conformity of multi-mode data based on data standards according to claim 1, characterized in that: The types of data to be checked include: structured data, semi-structured data and unstructured data.

4. The method for verifying the conformity of multi-mode data based on data standards according to claim 1, characterized in that: The evaluation algorithm includes basic algorithm and custom algorithm: The types of functions used by the evaluation algorithm include text functions, date and time functions, logical functions, math and trigonometric functions, and lookup functions.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of a multi-mode data compliance verification method based on data standards as claimed in any one of claims 1 to 4 are implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a multi-mode data compliance verification method based on a data standard as claimed in any one of claims 1 to 4 are implemented.