Rule recombination method, data management platform and computing equipment
By analyzing the relationship between detection rules on the data management platform, the number of detection rules configured by data engineers is reduced, the problem of data table quality is solved, and data monitoring efficiency and resource utilization are improved.
Patent Information
- Application Number
- CN202310114527.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-08-23
AI Technical Summary
On the network platform, the number of data tables is huge and there are quality problems, such as missing data, format errors, and data inconsistencies. This causes data engineers to configure a large number of detection rules, which consumes a lot of computing resources and labor costs.
By using multiple detection rules to traverse the data on the data management platform, determine the relationship between the rules (coverage, intersection, mutual exclusion), delete or generate new detection rules to reduce the number of running rules and save computing resources and maintenance costs. .
It effectively reduces the number of detection rules, reduces computing resource consumption and human maintenance costs, and improves the efficiency of data quality monitoring.
Smart Images

Figure CN118535406A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data monitoring technology, and in particular to a rule reorganization method, a data management platform and a computing device. Background Art
[0002] On the Internet platform, a large amount of data is generated every day. This data is stored in different storage structures in the form of tables. A data table is a grid virtual table that temporarily stores data. The storage structure generally stores tens of millions or hundreds of millions of data tables. It is inevitable that some data tables have quality problems, such as missing data, format errors, inconsistent data, etc. Data engineers need to monitor the quality of these data tables with quality problems.
[0003] When data engineers repair data tables and improve their quality, they need to configure a large number of detection rules to view and discover data tables with quality problems. The number of data tables stored in the storage structure is too large, and the number of detection rules configured by data engineers is relatively large, resulting in the need for a large number of data engineers to participate. At the same time, when a large number of detection rules are running, a large amount of computing resources are consumed. Summary of the invention
[0004] In order to solve the above problems, a method for rule reorganization is provided in an embodiment of the present application. When a computing device runs multiple detection rules at the same time, the multiple detection rules can be reorganized based on the monitoring results of the multiple detection rules, thereby reducing the number of detection rules subsequently run by the computing device, saving computing resources for monitoring the detection rules, and the human cost of maintaining the detection rules. In addition, the present application also provides a data management platform and a computing device corresponding to the method for rule reorganization.
[0005] To this end, the following technical solutions are adopted in the embodiments of the present application:
[0006] In a first aspect, the present application provides a method for rule reorganization, which is applied to a data management platform, and the method includes: using multiple detection rules to traverse multiple data stored in a database configured by the data management platform respectively, and obtaining monitoring results of each detection rule detecting the multiple data, wherein the detection rule refers to a rule for detecting data with missing data, format errors, and data inconsistency; based on the monitoring results corresponding to the multiple detection rules, determining the relationship between the multiple detection rules; the relationship between the detection rules is coverage, intersection, and mutual exclusion, and the coverage relationship is a relationship in which the monitoring results that satisfy one detection rule are all included in the monitoring results that satisfy another detection rule, the intersection relationship is a relationship in which the monitoring results that satisfy one detection rule are partially included in the monitoring results that satisfy another detection rule, and the mutual exclusion relationship is that the monitoring results that satisfy one detection rule are independent of the monitoring results that satisfy another detection rule; in response to the relationship between the multiple detection rules, deleting some detection rules, or generating detection rules that detect the monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect the monitoring results that satisfy the multiple detection rules.
[0007] In this implementation, the data management platform is deployed on a computing device. When the computing device runs multiple detection rules at the same time, it can reorganize the multiple detection rules based on the monitoring results of the multiple detection rules, delete some detection rules, or generate detection rules that detect monitoring results that meet the corresponding detection rules, so as to reduce the number of detection rules subsequently run by the computing device, save computing resources for monitoring the detection rules, and save manpower costs for maintaining the detection rules.
[0008] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: in response to the relationship between the first detection rule and the second detection rule being the overlapping relationship, deleting the first detection rule or the second detection rule.
[0009] In this embodiment, the computing device determines that all monitoring results that meet the first detection rule are included in the monitoring results that meet the second detection rule, and can traverse all data based on the first detection rule to filter out monitoring results that meet the first detection rule and the second detection rule. The computing device does not need to process the second detection rule, which can reduce the computing resources of the computing device.
[0010] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: in response to the relationship between the first detection rule and the second detection rule being the intersection relationship, deleting the first detection rule and the second detection rule, and generating a third detection rule; the computing device traverses the multiple data using the third detection rule to obtain monitoring results that simultaneously satisfy the first detection rule and the second detection rule.
[0011] In this implementation, taking two detection rules as an example, the computing device determines that part of the data of the monitoring result corresponding to the first detection rule is included in the data of the monitoring result corresponding to the second detection rule, and can generate a third detection rule based on screening the monitoring results that meet the first detection rule and the second detection rule. The computing device can delete the first detection rule and the second detection rule, retain the third detection rule, and reduce the number of detection rules running, so as to reduce the computing resources of the computing device.
[0012] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, deleting the first detection rule and the second detection rule, and generating a fourth detection rule; the computing device traverses the multiple data using the fourth detection rule to obtain monitoring results that satisfy the first detection rule or the second detection rule.
[0013] In this implementation, taking two detection rules as an example, the computing device determines that the monitoring result corresponding to the first detection rule is completely different from the monitoring result corresponding to the second detection rule, and can generate a fourth detection rule based on the monitoring results that filter out the first detection rule and the monitoring results that filter out the second detection rule. The computing device can delete the first detection rule and the second detection rule, retain the fourth detection rule, and reduce the number of detection rules to be run, so as to reduce the computing resources of the computing device.
[0014] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the deleting of some detection rules, or generating detection rules that detect monitoring results corresponding to the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results corresponding to the multiple detection rules, specifically includes: in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, and the monitoring results that satisfy the first detection rule and the monitoring results that satisfy the second detection rule are equal to the multiple data, deleting the first detection rule or the second detection rule.
[0015] In this implementation, taking two detection rules as an example, the computing device determines that the monitoring result corresponding to the first detection rule is completely different from the monitoring result corresponding to the second detection rule, and the monitoring result corresponding to the first detection rule and the monitoring result corresponding to the second detection rule are equal to all data tables, indicating that the first detection rule conflicts with the second detection rule. The computing device can delete one of the first detection rule and the second detection rule and run the other detection rule, and can filter out the monitoring results of the two detection rules, thereby reducing the number of detection rules to be run, thereby reducing the computing resources of the computing device.
[0016] In one embodiment, the multiple detection rules include a first detection rule, a second detection rule, and a fifth detection rule, and the deleting of some detection rules, or generating a detection rule that detects monitoring results corresponding to the multiple detection rules, or deleting the detection rules and generating a detection rule that detects monitoring results corresponding to the multiple detection rules, specifically includes: in response to the relationship between the first detection rule and the second detection rule, deleting the first detection rule or the second detection rule, or generating a detection rule that detects monitoring results corresponding to the first detection rule and the second detection rule, or deleting the first detection rule or the second detection rule and generating a detection rule that detects monitoring results corresponding to the first detection rule and the second detection rule; based on the relationship between the first detection rule and the second detection rule, The monitoring result corresponding to the detection rule obtained by the second detection rule and the fifth detection rule is determined, and the relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule is determined; in response to the relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule, the detection rule obtained by the first detection rule and the second detection rule or the fifth detection rule is deleted, or a detection rule is generated that detects the monitoring result corresponding to the first detection rule, the second detection rule and the fifth detection rule is satisfied, or the detection rule or the fifth detection rule is deleted and a detection rule is generated that detects the monitoring result corresponding to the first detection rule, the second detection rule and the fifth detection rule is satisfied.
[0017] In this embodiment, when the number of detection rules that are simultaneously run by the computing device is greater than two, the computing device may select two detection rules and determine the relationship between the two detection rules based on the monitoring results of the two detection rules. Then, the computing device determines a new detection rule and the monitoring result of the third detection rule based on the two detection rules, determines the relationship between the new detection rule and the fifth detection rule, and further reduces the number of detection rules that are run, so as to reduce the computing resources of the computing device.
[0018] In one embodiment, it further includes: sending reorganization information to the client, wherein the reorganization information instructs the client to display the deleted part of the detection rules, or the detection rules generated to detect the monitoring results that meet the corresponding detection rules.
[0019] In this embodiment, the computing device sends the reorganization suggestion to the client of the data engineer or user in the form of information. Based on the reorganization information, the client displays the detection rules to be deleted and the detection rules to be retained, allowing the data engineer or user to decide whether to adopt the reorganization suggestion, thereby achieving the goal of simplifying or reorganizing the existing rule set.
[0020] In one embodiment, the method specifically includes: using at least two detection rules among the rules for detecting missing data, the rules for detecting blank data tables, and the rules for detecting illegal data formats to traverse multiple data tables stored in the database, and obtain detection results of each detection rule detecting the multiple data tables; based on the detection results corresponding to the at least two detection rules, determining whether the at least two detection rules are in an overlapping, or intersecting, or mutually exclusive relationship; in response to the relationship between the at least two detection rules being the overlapping relationship, deleting some of the at least two detection rules; or in response to the relationship between the at least two detection rules being the intersecting relationship, deleting the at least two detection rules, and generating detection rules that respectively meet the monitoring results of each detection rule of the at least two detection rules; or in response to the relationship between the at least two detection rules being the mutually exclusive relationship, deleting the at least two detection rules, and generating detection rules that respectively meet the monitoring results of each detection rule of the at least two detection rules.
[0021] In a second aspect, the present application provides a data management platform, which is used to use multiple detection rules to traverse multiple data stored in a database configured by the data management platform, and obtain monitoring results of each detection rule detecting the multiple data, wherein the detection rule refers to a rule for detecting data with missing data, format errors, and data inconsistency; based on the monitoring results corresponding to the multiple detection rules, the relationship between the multiple detection rules is determined; the relationship between the detection rules is coverage, intersection, and mutual exclusion, the coverage relationship is a relationship in which the monitoring results that satisfy one detection rule are all included in the monitoring results that satisfy another detection rule, the intersection relationship is a relationship in which the monitoring results that satisfy one detection rule are partially included in the monitoring results that satisfy another detection rule, and the mutual exclusion relationship is that the monitoring results that satisfy one detection rule are independent of the monitoring results that satisfy another detection rule; and in response to the relationship between the multiple detection rules, some detection rules are deleted, or detection rules that detect the monitoring results that satisfy the multiple detection rules are generated, or detection rules are deleted and detection rules that detect the monitoring results that satisfy the multiple detection rules are generated.
[0022] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the data management platform is specifically configured to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule being the overlapping relationship.
[0023] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the data management platform is specifically used to delete the first detection rule and the second detection rule in response to the relationship between the first detection rule and the second detection rule being the intersection relationship, and generate a third detection rule; the computing device uses the third detection rule to traverse the multiple data to obtain monitoring results that simultaneously satisfy the first detection rule and the second detection rule.
[0024] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the data management platform is specifically used to delete the first detection rule and the second detection rule in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, and generate a fourth detection rule; the computing device uses the fourth detection rule to traverse the multiple data to obtain monitoring results that satisfy the first detection rule or the second detection rule.
[0025] In one embodiment, the multiple detection rules include a first detection rule and a second detection rule, and the data management platform is specifically used to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, and the monitoring results that satisfy the first detection rule and the monitoring results that satisfy the second detection rule are equal to the multiple data.
[0026] In one embodiment, the multiple detection rules include a first detection rule, a second detection rule, and a fifth detection rule, and the data management platform is specifically used to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule, or generate a detection rule that detects the monitoring results corresponding to the first detection rule and the second detection rule, or delete the first detection rule or the second detection rule and generate a detection rule that detects the monitoring results corresponding to the first detection rule and the second detection rule; based on the monitoring results corresponding to the detection rules obtained by the first detection rule and the second detection rule and the fifth detection rule, determine the relationship between the detection rules obtained by the first detection rule and the second detection rule and the fifth detection rule; in response to the relationship between the detection rules obtained by the first detection rule and the second detection rule and the fifth detection rule, delete the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule, or generate a detection rule that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule, or delete the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule and generate a detection rule that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule.
[0027] In one embodiment, the data management platform is further used to send reorganization information to the client, wherein the reorganization information instructs the client to display some of the detection rules after deletion, or the detection rules generated to detect monitoring results that meet the corresponding detection rules.
[0028] In one embodiment, the data management platform is specifically used to traverse the multiple data tables stored in the database using at least two detection rules among the rules for detecting missing data, the rules for detecting blank data tables, and the rules for detecting illegal data formats, to obtain detection results of the multiple data tables detected by each detection rule; based on the detection results corresponding to the at least two detection rules, determine whether the at least two detection rules are in an overlapping, or intersecting, or mutually exclusive relationship; in response to the relationship between the at least two detection rules being the overlapping relationship, delete some of the at least two detection rules; or in response to the relationship between the at least two detection rules being the intersecting relationship, delete the at least two detection rules, and generate detection rules that respectively meet the monitoring results of each detection rule of the at least two detection rules; or in response to the relationship between the at least two detection rules being the mutually exclusive relationship, delete the at least two detection rules, and generate detection rules that respectively meet the monitoring results of each detection rule of the at least two detection rules.
[0029] In a third aspect, the present application provides a computing device, comprising: at least one memory, and at least one processor, wherein the at least one processor is used to execute instructions stored in the at least one memory, so that the computing device executes various possible implementation embodiments of the first aspect.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute various possible implementation embodiments of the first aspect.
[0031] In a fifth aspect, the present application provides a computer program product, characterized in that the computer program product stores instructions, and when the instructions are executed by a computer, the computer implements various possible implementation embodiments of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The following is a brief introduction to the drawings required for describing the embodiments or prior art.
[0033] Figure 1 A flow chart of monitoring data tables for an existing data management platform;
[0034] Figure 2 A schematic diagram of a flow chart of a data management platform monitoring a data table provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of the architecture of a data management platform provided in an embodiment of the present application;
[0036] FIG4( a ) is a schematic diagram showing that two detection rules provided in an embodiment of the present application are in an overlapping relationship;
[0037] FIG4( b ) is a schematic diagram showing that two detection rules provided in an embodiment of the present application are in an intersection relationship;
[0038] FIG4( c ) is a schematic diagram showing that two detection rules provided in an embodiment of the present application are mutually exclusive;
[0039] Figure 5 A flowchart of the data management platform provided in the embodiment of the present application processing the data in the user table;
[0040] Figure 6 A schematic diagram of the monitoring result relationship analysis result after the two detection rules provided in the embodiment of the present application are run;
[0041] Figure 7 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0042] Figure 8A schematic diagram of the architecture of a computing device cluster provided in an embodiment of the present application;
[0043] Fig. 9 A schematic diagram of the architecture of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0045] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.
[0046] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.
[0047] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0048] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
[0049] The technical solution protected by this application can be applied to a data management platform. A data management platform refers to a platform that stores a large number of data tables and performs operations such as monitoring, management, screening, and reorganization on the data tables. The data management platform can be divided into data platforms such as financial data management center, enterprise data management center, and advertising data management center according to the application scenario. The data management platform can be deployed on a large computing device cluster consisting of a personal computer, a server, or multiple servers to improve the computing power and storage capacity of processing data tables. The data management platform can be deployed on a cloud platform, cloud storage, or other computing systems.
[0050] In the following embodiments, the data management platform is a data quality controller (DQC) module of a data governance center (DGC) deployed in a Huawei cloud server. It can be imagined that this application takes this as an example and is not limited thereto.
[0051] Figure 1 The following is a flow chart of monitoring data tables on an existing data management platform. Figure 1 As shown, the data engineer accesses the DQC module of DGC and defines detection rules in the DQC module to select appropriate rule templates and data tables or data fields that need to be monitored, as well as configure the alarm conditions and notification methods of the rules. The detection rules, alarm conditions, and notification methods are saved in the data quality control module and run. The computing cluster of DGC retrieves the corresponding data tables from the database of DGC, and then runs "Rule 1" and "Rule 2". After DGC waits for the rules to run, it saves the running results of the two rules. Based on the running results and alarm conditions, DGC determines whether to send an alarm notification to the user through the notification mechanism of DGC. The user repairs the data table based on the alarm notification and the running results.
[0052] In the prior art, when the number of data tables retrieved from the database by the computing cluster is relatively large, the governance tool for managing a large number of data tables not only has built-in basic detection rules, but also a large number of detection rules configured by data engineers on many fields of a large number of data tables. If the business scope is not clearly defined among data engineers, the new detection rules configured in the fields of the data table will conflict with the original detection rules, overlap, and cover each other, resulting in a waste of computing resources and repeated alarm notifications. In addition, when maintaining a large number of detection rules in the future, each engineer needs to maintain a large number of detection rules that may be repeated or conflicting to ensure the quality of the data, and many repeated, conflicting, or overlapping detection rules run periodically for up to 1 day, consuming computing resources of up to 64CU (computer unit)+.
[0053] For example, in a 64CU data lake insight (DLI) queue, the user information table contains 100 million rows of data. Define rule 1 as "email format verification", and the running time of rule 1 is 2 hours. Define rule 2 as "Huawei email format verification", and the running time of rule 2 is 1 hour.
[0054] At 09:00:00, Rule 1 and Rule 2 start running at the same time.
[0055] At 10:00:00, Rule 2 ends, while Rule 1 is still running. At this point, all the data in the running results meet the requirements of Rule 2, and all of them end with "@huawei.com".
[0056] At 11:00:00, the running of Rule 1 ends. At this time, the data of the running results all conform to the mailbox format required by Rule 1.
[0057] In the above example, the running result that satisfies Rule 2 must meet the running result of Rule 1. This situation is called "rule override (RO)". That is, the data management platform only needs to run Rule 2 and does not need to run Rule 1 again. Rule 1 consumes an additional two hours of 64 CU computing resources.
[0058] In order to solve the problem of waste of computing resources in the existing data management platform, the embodiment of the present application provides a rule reorganization method, a data management platform and a computing device. Figure 2 As shown, the present application adds a rule reorganization unit to the data management platform. The rule reorganization unit can determine whether there is an overlapping, intersecting, mutually exclusive or conflicting relationship between multiple rules based on the running results of multiple rules, and reorganize the detection rules bound to the current data table fields according to different relationships. The rule reorganization unit newly added to the present application simplifies the number of data detection rules bound to data table fields, reduces the number of rules maintained by data engineers, and avoids processing duplicate or conflicting alarms. The rule reorganization unit greatly reduces the waste of computing resources caused by the overlapping, intersecting, mutually exclusive or conflicting rules, and further wastes a lot of time and computing costs. The rule reorganization unit only needs to add an additional intersection mark bit to the data table field, and will not introduce too many additional computing resources.
[0059] The method for rule reorganization protected by the present application is executed by a data management platform deployed on a computing device, and the specific implementation process is: the data management platform uses multiple detection rules to traverse multiple data tables stored in the database configured by the data management platform, and obtains the monitoring results of each detection rule detecting multiple data tables. The data management platform determines the relationship between the multiple detection rules based on the monitoring results corresponding to the multiple detection rules. In response to the relationship between the multiple detection rules, the data management platform deletes some detection rules, or generates detection rules that detect monitoring results that meet the corresponding detection results of multiple detection rules, or deletes the detection rules and generates detection rules that detect monitoring results that meet the corresponding detection rules.
[0060] Detection rules refer to rules for detecting problems such as missing data, format errors, and data inconsistency in the data table. For example, the detection rules can be rules for detecting missing data, rules for detecting blank data tables, and rules for detecting illegal data formats. The data can exist in a data table or other formats. The relationship between detection rules is one of coverage, intersection, and mutual exclusion. The coverage relationship is a relationship in which the monitoring results that meet one detection rule are all included in the monitoring results that meet another detection rule. The intersection relationship is a relationship in which the monitoring results that meet one detection rule are partially included in the monitoring results that meet another detection rule. The mutual exclusion relationship is a relationship in which the monitoring results that meet one detection rule and the monitoring results that meet another detection rule are unrelated.
[0061] In the present application, when a computing device runs multiple detection rules at the same time, it can reorganize the multiple detection rules based on the monitoring results of the multiple detection rules, delete some detection rules, or generate detection rules that detect monitoring results that meet the corresponding monitoring results of multiple detection rules, so as to reduce the number of detection rules subsequently run by the computing device, save computing resources for monitoring the detection rules, and save the manpower cost of maintaining the detection rules.
[0062] Figure 3 Schematic diagram of the architecture of a data management platform provided in an embodiment of the present application. Figure 3 As shown, the data management platform is deployed on a computing device 20, which includes a data table database 100, a rule database 200, a result database 300, a notification module 400, and a data management platform 500. The data table database 100, the rule database 200, the result database 300, and the notification module 400 establish communication connections with the data management platform 500, respectively.
[0063] The data table database 100 may be a cloud storage, a memory of a computer deployed by the computing device 20, or other storage device. The data table database 100 may store data tables. In the present application, the type of data tables stored in the data table database 100 is related to the application scenario of the computing device 20. For example, when the computing device 20 is applied to a financial data management center, the data table database 100 stores data about finance. When the computing device 20 is applied to an advertising data management center, the data table database 100 stores data about advertising.
[0064] The rule database 200 may be a cloud storage, a memory of a computer deployed by the computing device 20, or other storage device. The rule database 200 may store detection rules. In the present application, the detection rules stored in the rule database 200 may be formulated by a data engineer or a user. The detection rules stored in the rule database 200 may be generated by the data management platform 500.
[0065] The result database 300 can be a cloud storage, a memory of a computer deployed by the computing device 20, or other storage device. The result database 300 can store data tables that the data management platform 500 screens according to various detection rules. In the present application, the data tables stored in the result database 300 carry detection rules. The result database 300 can store the data tables separately according to the detection rules so that the data management platform 500 can retrieve the data tables screened by various detection rules.
[0066] The notification module 400 may be a speaker, mailbox, mobile terminal, etc. The notification module 400 is used to receive warning notifications from the data management platform 500, and may notify data engineers or users via email, text messages, phone calls, etc.
[0067] The data management platform 500 can be a processor of a computer deployed by a cloud server or computing device 20, or other devices with processing functions. The data management platform 500 allows data engineers or users to formulate detection rules. The data management platform 500 can monitor the quality of the data table based on the detection rules and data tables. The data management platform 500 can reorganize the detection rules based on the monitoring results. And other functions.
[0068] The data management platform 500 can be divided into a rule management unit 510, a data processing unit 520 and a rule reorganization unit 530 according to the execution function. Among them, the rule management unit 510, the data processing unit 520 and the rule reorganization unit 530 can all be implemented by software, or can be implemented by hardware, or can be implemented by a combination of software and hardware. Exemplarily, the implementation of the rule management unit 510 is introduced below by taking the rule management unit 510 as an example. Similarly, the implementation of the data processing unit 520 and the rule reorganization unit 530 can refer to the implementation of the rule management unit 510.
[0069] As an example of a software functional unit, the rule management unit 510 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the rule management unit 510 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 can be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code can be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region can include multiple AZs.
[0070] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0071] As an example of a hardware functional unit, the rule management unit 510 may include at least one computing device, such as a computing device, etc. Alternatively, the rule management unit 510 may also be a device implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), etc. 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.
[0072] The multiple computing devices included in the rule management unit 510 can be distributed in the same region or in different regions. The multiple computing devices included in the rule management unit 510 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the rule management unit 510 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as computing devices, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0073] It should be noted that, in other embodiments, the rule management unit 510 can be used to execute any step in the rule reorganization method, the data processing unit 520 can be used to execute any step in the rule reorganization method, and the rule reorganization unit 530 can be used to execute any step in the rule reorganization method. The steps that the rule management unit 510, the data processing unit 520 and the rule reorganization unit 530 are responsible for implementing can be specified as needed. The full functions of the data management platform 500 are realized by respectively implementing different steps in the rule reorganization method through the rule management unit 510, the data processing unit 520 and the rule reorganization unit 530.
[0074] The rule management unit 510 can assist data engineers or users in formulating detection rules and store the detection rules in the rule database 200. The rule management unit 510 can retrieve the set detection rules from the rule database 200 according to the scheduling rules configured by the data engineer or user, and transmit them to the data processing unit 520, so that the data processing unit 520 processes the data in the data table database 100.
[0075] In one embodiment, during the process of developing the detection rules, the rule management unit 510 can allow the data engineer or the user's client to display a page for developing the detection rules, and the data engineer or the user can operate on the page to build the detection rules. After the data engineer or the user has completed building the detection rules, the data engineer or the user's client sends the detection rules to the rule management unit 510. The rule management unit 510 stores the detection rules in the rule database 200.
[0076] The data processing unit 520 receives at least one target detection rule and obtains a large amount of data in the data table database 100 based on the target detection rule. The data processing unit 520 traverses all data based on each target detection rule and identifies whether each data satisfies each target detection rule. The data processing unit 520 identifies the target data that satisfies the target detection rule in response to the target detection rule.
[0077] In the present application, after the data processing unit 520 identifies the target data, it can mark the target data so that the target data carries a check symbol to facilitate the rule reorganization unit 530 to reorganize the target detection rule based on the check symbol of the target data. In one embodiment, after the data processing unit 520 identifies other data that does not meet the target detection rule, it can mark the other data with another check symbol.
[0078] In one embodiment, the check symbols carried by the target data identified by each target detection rule may be different.
[0079] In one embodiment, a target data may carry check symbols marked with different target detection rules.
[0080] After the data processing unit 520 completes monitoring of a large amount of data for each target detection rule, the monitoring results can be cached in the result database 300. The result database 300 accumulates each monitoring result to facilitate data engineers or users to understand the data change trend of the data table database 100.
[0081] After the data processing unit 520 completes monitoring of a large amount of data for each target detection rule, the monitoring result can be sent to the notification module 400. The notification module 400 can send the monitoring result to the terminal of the data engineer or the user, so that the data engineer or the user can process other data that does not meet the target detection rule, such as modifying other data, improving the quality of other data, etc.
[0082] The data processing unit 520 can run the detection rules regularly according to the scheduling cycle configured by the data engineer or user. Multiple detection rules of the rule database 200 can be concurrently sent to the data management platform 500 for operation. The data processing unit 520 can make different detection rules complete at different times according to the complexity of the detection rules and the amount of data scanned. After the data processing unit 520 completes each detection rule, it writes the monitoring results to the object storage service (OSS) or the data table database 100.
[0083] In the present application, when the data processing unit 520 traverses all data based on the detection rules, the data processing unit 520 marks the target data that meets the detection rules with the detection rule to distinguish the target data from other data that does not meet the detection rules. The rule reorganization unit 530 can calculate the intersection and union of the monitoring results screened by different detection rules based on the marks of the detection rules of each data to identify the relationship between multiple target detection rules.
[0084] The relationship between the monitoring results of the detection rules includes the relationship of full intersection, partial intersection and union. The full intersection relationship is the relationship that the monitoring results that meet one detection rule are all included in the monitoring results that meet another detection rule. The partial intersection relationship is the relationship that the monitoring results that meet one detection rule are partially included in the monitoring results that meet another detection rule. The union relationship is that the monitoring results that meet one detection rule and the monitoring results that meet another detection rule are independent of each other.
[0085] The relationships between detection rules include coverage, intersection, and mutual exclusion. The coverage relationship is that the relationship between the detection results of the detection rules is a full intersection relationship. The intersection relationship is that the relationship between the detection results of the detection rules is a partial intersection relationship. The mutual exclusion relationship is that the relationship between the detection results of the detection rules is a union relationship.
[0086] The following takes two detection rules as an example to explain the relationship between the detection rules in detail:
[0087] The two detection rules are the first detection rule and the second detection rule. The data processing unit 520 traverses all data based on the first detection rule, and the target data that meets the first detection rule is the first monitoring result. The data processing unit 520 traverses all data based on the second detection rule, and the target data that meets the second detection rule is the second monitoring result.
[0088] As shown in Figure 4(a), all data of the first monitoring result are included in the data of the second monitoring result. That is, the first detection result of the first detection rule and the second detection result of the second detection rule are in a complete intersection relationship. The first detection rule and the second detection rule are in an overlapping relationship. Therefore, the rule reorganization unit 530 can delete the "second detection rule" and retain the "first detection rule" based on the first detection result of the first detection rule and the second detection result of the second detection rule. The data processing unit 520 can traverse all data based on the first detection rule and filter out monitoring results that meet the first detection rule and the second detection rule. The rule reorganization unit 530 does not need to process the second detection rule, which can reduce the computing resources of the computing device 20.
[0089] In one embodiment, the rule reorganization unit 530 can delete the "first detection rule" and retain the "second detection rule" according to the set rule. The data processing unit 520 can traverse all data based on the second detection rule, and can not only filter out the monitoring results that meet the second detection rule, but also filter out the monitoring results that meet the first detection rule. The data processing unit 520 can filter out all problematic data based on the second detection rule.
[0090] As shown in FIG4(b), part of the data of the second monitoring result is included in the data of the first monitoring result, or part of the data of the first monitoring result is included in the data of the second monitoring result. That is, the first detection result of the first detection rule and the second detection result of the second detection rule are in a partial intersection relationship. The first detection rule and the second detection rule are in an intersection relationship. Therefore, the rule reorganization unit 530 can filter out the target data that meets the first detection rule and the second detection rule based on the first detection result of the first detection rule and the second detection result of the second detection rule, and define it as the third monitoring result. The rule reorganization unit 530 can generate a "third detection rule" based on the third monitoring result. The rule reorganization unit 530 can delete the "first detection rule" and the "second detection rule" and retain the "third detection rule". The data processing unit 520 can traverse all the data based on the third detection rule and filter out the third monitoring result that meets the first detection rule and the second detection rule. The rule reorganization unit 530 does not need to process the first detection rule and the second detection rule, which can reduce the computing resources of the computing device 20.
[0091] In one embodiment, in the process of the rule reorganization unit 530 generating the third detection rule based on the third monitoring result, the rule reorganization unit 530 may send the third monitoring result to the client of the data engineer or the user. The data engineer or the user may construct a third detection rule that can filter out the third monitoring result based on the third monitoring result displayed by the client. The client of the data engineer or the user stores the third detection rule in the rule database 200. The data processing unit 520 may retrieve the third detection rule of the rule database 200, and traverse all the data based on the third detection rule to filter out the third monitoring result that satisfies the third detection rule.
[0092] As shown in FIG. 4( c ), all data of the first monitoring result are completely different from all data of the second monitoring result. That is, the first detection result of the first detection rule and the second detection result of the second detection rule are in a union relationship. The first detection rule and the second detection rule are in a mutually exclusive relationship. Therefore, the rule reorganization unit 530 can filter out the target data that meets the first detection rule and the target data that meets the second detection rule based on the first detection result of the first detection rule and the second detection result of the second detection rule, and define them as the fourth monitoring result. The rule reorganization unit 530 can generate a "fourth detection rule" based on the fourth monitoring result. The rule reorganization unit 530 can delete the "first detection rule" and the "second detection rule" and retain the "fourth detection rule". The data processing unit 520 can traverse all data based on the fourth detection rule and filter out the fourth monitoring result that meets the first detection rule or the second detection rule. The rule reorganization unit 530 does not need to process the first detection rule and the second detection rule, which can reduce the computing resources of the computing device 20.
[0093] In one embodiment, the rule reorganization unit 530 detects whether the first detection rule and the second detection rule conflict, such as the first detection rule is "select data larger than 5KB" and the second detection rule is "select data not larger than 5KB". When the rule reorganization unit 530 determines that the first detection rule conflicts with the second detection rule, the rule reorganization unit 530 may choose to retain one detection rule based on the data volume of the monitoring results based on the detection rules. For example, when the data volume of the first monitoring result is larger than the data volume of the second monitoring result, the rule reorganization unit 530 deletes the "first detection rule" and retains the "second detection rule". For another example, when the data volume of the first monitoring result is not larger than the data volume of the second monitoring result, the rule reorganization unit 530 deletes the "second detection rule" and retains the "first detection rule".
[0094] It is conceivable that when the number of detection rules executed by the data processing unit 520 is three or more, the rule reorganization unit 530 can detect the relationship between the three or more detection rules based on the monitoring results of the three or more detection rules to reduce the number of detection rules. The process of the rule reorganization unit 530 reorganizing the three or more detection rules is exactly the same as the process of reorganizing the two detection rules.
[0095] In one embodiment, when the number of detection rules received by the rule reorganization unit 530 is greater than two, the rule reorganization unit 530 may select two detection rules, and determine the relationship between the two detection rules based on the monitoring results of the two detection rules, thereby reducing one detection rule. Then, based on the monitoring results of the detection rules after the two detection rules are reorganized and the third detection rule, the rule reorganization unit 530 determines the relationship between the detection rules after the two detection rules are reorganized and the third detection rule, thereby reducing one detection rule again. This can be done by analogy to reduce the number of detection rules to be run subsequently.
[0096] In the present application, the detection rules of the rule reorganization unit 530 may be different each time it runs. When the rule reorganization unit 530 detects changes in the type and quantity of the detection rules, the rule reorganization unit 530 reorganizes all the detection rules to obtain one detection rule.
[0097] In an embodiment of the present application, when the data management platform 500 runs multiple detection rules at the same time, it can reorganize the multiple detection rules based on the monitoring results of the multiple detection rules, thereby reducing the number of detection rules subsequently run by the data management platform 500, saving computing resources for monitoring the detection rules, and the manpower cost of maintaining the detection rules.
[0098] In addition, the data management platform 500 infers the logical relationship between the detection rules based on the mathematical relationship between the monitoring results of different detection rules. The data management platform 500 infers the logical relationship between different detection rules on the same field, such as intersection, coverage and mutual exclusion, to a certain extent, and further gives different optimization suggestions based on these three different relationships.
[0099] like Figure 5 As shown, the data management platform 500 can be the DQC module of the DGC of the Huawei cloud server. The data management platform 500 binds the "email format check" to the e-mail column of the user table of the data table database 100. In order to make the data requirements more clear, the data management platform 500 adds a detection rule of "huawei-partner email check" as an example. The specific implementation process of the data management platform 500 is as follows:
[0100] Step S501: The scheduler of the data management platform 500 may periodically run the detection rules according to the configured scheduling period.
[0101] In step S502 , the rule management unit 510 of the data management platform 500 may retrieve the detection rule from the rule database 200 .
[0102] In this embodiment, after receiving the detection rules, the rule management unit 510 can submit two detection rules bound to the E-mail field in the user table of the data table database 100 to the data processing unit 520 of the data management platform 500 based on the detection rules. The rule management unit 510 retrieves two detection rules, namely "email format verification" and "Huawei-partner email verification".
[0103] In step S503 , the data acquisition device of the data processing unit 520 of the data management platform 500 acquires data from the data table database 100 .
[0104] In this embodiment, after receiving the operation request, the data processing unit 520 can, based on the detection rule, let the data retriever obtain the data of the E-mail column in the user table, and transmit the data of the E-mail column to the executor of the data processing unit 520 of the data management platform 500. The data retrieved by the data retriever can be a user table. The user table includes three columns, namely, an identity document (ID) column, a name column, and an E-mail column. The ID column represents the serial number of a row. The Name column represents the user name. The E-mail column represents the user's email address.
[0105] In step S504 , the executor of the data processing unit 520 of the data management platform 500 determines the target data based on the two detection rules and inputs the target data into the result database 300 .
[0106] In this embodiment, after receiving two detection rules, the executor can traverse all the data in the E-mail column based on the two detection rules, and mark the target data that meets each detection rule with the corresponding detection rule. For example, when the executor determines that a piece of data meets a detection rule, the position set for the data is marked with "1". For another example, when the executor determines that a piece of data does not meet a detection rule, the position set for the data is marked with "0".
[0107] Step S505, the rule reorganization unit 530 of the data management platform 500 obtains monitoring results from the result database 300, and determines the relationship between two detection rules based on the monitoring results determined by different detection rules. The relationship between two detection rules can be a complete intersection, a partial intersection, and a union.
[0108] In this embodiment, if Figure 6 As shown in the figure, all the data in the E-mail column meets the detection rule of "Email format verification". The data in the E-mail column of row N meets the detection rule of "Huawei-partner email verification". Therefore, the detection rule of "Huawei-partner email verification" is included in the detection rule of "Email format verification". This shows that the detection rule of "Huawei-partner email verification" is stricter than the detection rule of "Email format verification".
[0109] Step S506: The rule reorganization unit 530 of the data management platform 500 reorganizes the two detection rules based on the relationship between the two detection rules.
[0110] In this embodiment, the rule reorganization unit 530 can determine the reorganization suggestion as follows: delete the detection rule of "email format verification" and retain the detection rule of "huawei-partner email verification" based on the fact that the detection rule of "huawei-partner email verification" is included in the detection rule of "email format verification". The rule reorganization unit 530 sends the reorganization suggestion to the client of the data engineer or user in the form of information. Based on the reorganization information, the client displays the detection rules to be deleted and the detection rules to be retained, allowing the data engineer or user to decide whether to adopt the reorganization suggestion, thereby achieving the goal of simplifying or reorganizing the existing rule set.
[0111] The technical solution protected by this application can be applied to deduplication optimization of data standards, optimization of code access control inspection rules, and other types of quality inspection fields, such as deduplication of inspection standards for food, clothing, electronic products, etc. with different domestic and international inspection standards, and optimization of acceptance standards for various products from different countries and manufacturers. "Testing standards" can be understood as testing rules. Standards of "different countries" or "non-uniform markets" can be regarded as a set of rules to be optimized that are bound to the same product. "Testing results" can be the monitoring results after the running of the testing rules, so as to achieve an optimization plan that meets the quality inspection standards of multiple countries.
[0112] In this application, the rule reorganization unit 530 can infer the logical relationship between each detection rule only through the relationship characteristics of the monitoring results after the detection rules are run. It is conceivable that the rule reorganization unit 530 can replace the characteristics of the monitoring results with other characteristics, such as the regular relationship of the detection rule itself, the data set repaired by the detection rule, the computing power consumption of the detection rule, and other multi-dimensional characteristics, and even introduce a machine learning model to improve and replace the feature selection part in this solution.
[0113] In this application, the rule reorganization unit 530 detects that the relationship between the detection rules is coverage, intersection and mutual exclusion. It is conceivable that the relationship between the detection rules can be expanded to more relationships such as parent-child relationship, reference relationship, brother relationship, etc., covering and optimizing the reorganization suggestion result part in this solution.
[0114] Figure 7 Schematic diagram of a computing device provided in an embodiment of the present application. Figure 7 As shown, the computing device 20 includes a bus 210, a processor 220, a memory 230, and a communication interface 240. The processor 220, the memory 230, and the communication interface 240 communicate with each other through the bus 210. The computing device 20 can be a server, a computer, a portable notebook, a cabinet, etc. It should be understood that the present application does not limit the number of processors and memories in the computing device 20.
[0115] The bus 210 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The bus 210 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 210 may include a path for transmitting information between various components of the computing device 20 (eg, the processor 220, the memory 230, and the communication interface 240).
[0116] The processor 220 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0117] The memory 230 may include a volatile memory, such as a random access memory (RAM). The memory 230 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).
[0118] The memory 230 stores executable program codes, and the processor 220 executes the executable program codes to respectively implement the functions of the aforementioned rule management unit 510, the data processing unit 520, and the rule reorganization unit 530, thereby implementing the rule reorganization method. That is, the memory 230 stores instructions for executing the rule reorganization method.
[0119] Alternatively, the memory 230 stores executable codes, and the processor 220 executes the executable codes to respectively implement the functions of the aforementioned data management platform 500, thereby implementing the rule reorganization method. That is, the memory 230 stores instructions for executing the rule reorganization method.
[0120] The communication interface 240 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 20 and other devices or a communication network.
[0121] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can 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 can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.
[0122] like Figure 8 As shown, the computing device cluster includes at least one computing device 20. The memory 230 in one or more computing devices 20 in the computing device cluster may store the same instructions for executing the rule reorganization method.
[0123] In some possible implementations, the memory 230 of one or more computing devices 20 in the computing device cluster may also store partial instructions for executing the method for rule reorganization. In other words, the combination of one or more computing devices 100 may jointly execute instructions for executing the method for rule reorganization.
[0124] It should be noted that the memory 230 in different computing devices 20 in the computing device cluster may store different instructions, which are respectively used to execute part of the functions of the data management platform 500. That is, the instructions stored in the memory 230 in different computing devices 20 may implement the functions of one or more modules in the rule management unit 510, the data processing unit 520 and the rule reorganization unit 530.
[0125] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig. 9 A possible implementation is shown. Fig. 9As shown, two computing devices 20A and 20B 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 230 in the computing device 20A stores instructions for executing the functions of the rule management unit 510. At the same time, the memory 230 in the computing device 20B stores instructions for executing the functions of the data processing unit 520 and the rule reorganization unit 530.
[0126] Fig. 9 The connection method between the computing device clusters shown may be that considering that the rule reorganization method provided in the present application requires a large amount of data storage, it is considered that the functions implemented by the data processing unit 520 and the rule reorganization unit 530 are handed over to the computing device 20B for execution.
[0127] It should be understood that Fig. 9 The functions of the computing device 20A shown in FIG. 20A may also be completed by multiple computing devices 20. Similarly, the functions of the computing device 20B may also be completed by multiple computing devices 20.
[0128] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Figure 8 and Fig. 9 The connection mode of the computing device cluster is different in that the memory 230 in one or more computing devices 20 in the computing device cluster may store the same instructions for executing the rule reorganization method.
[0129] In some possible implementations, the memory 230 of one or more computing devices 20 in the computing device cluster may also store partial instructions for executing the method for rule reorganization. In other words, the combination of one or more computing devices 20 may jointly execute the instructions for executing the method for rule reorganization.
[0130] It should be noted that the memory 230 in different computing devices 20 in the computing device cluster may store different instructions for executing partial functions of the computing device 20. That is, the instructions stored in the memory 230 in different computing devices 20 may implement the functions of one or more devices in the data management platform 500.
[0131] The embodiment of the present application also provides a computer program product including instructions. The computer program product 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 is caused to perform a method for rule reorganization.
[0132] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute a method for rule reorganization.
[0133] 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 cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method of rule reorganization, It is characterized in that Applied to a data management platform, the method comprises: Using multiple detection rules to traverse multiple data stored in the database configured by the data management platform, respectively, to obtain monitoring results of the multiple data detected by each detection rule, wherein the detection rule refers to a rule for detecting data missing, format error, and data inconsistency; Based on the monitoring results corresponding to the multiple detection rules, determine the relationship between the multiple detection rules; the relationship between the detection rules is coverage, intersection and mutual exclusion, the coverage relationship is a relationship in which the monitoring results that meet one detection rule are all included in the monitoring results that meet another detection rule, the intersection relationship is a relationship in which the monitoring results that meet one detection rule are partially included in the monitoring results that meet another detection rule, and the mutual exclusion relationship is that the monitoring results that meet one detection rule and the monitoring results that meet another detection rule are independent of each other; In response to the relationship between the multiple detection rules, some detection rules are deleted, or detection rules that detect monitoring results that meet the multiple detection rules are generated, or detection rules are deleted and detection rules that detect monitoring results that meet the multiple detection rules are generated.
2. The method according to claim 1, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: In response to the relationship between the first detection rule and the second detection rule being the overlapping relationship, deleting the first detection rule or the second detection rule.
3. The method according to claim 1, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: In response to the relationship between the first detection rule and the second detection rule being the intersection relationship, the first detection rule and the second detection rule are deleted, and a third detection rule is generated; the data management platform uses the third detection rule to traverse the multiple data to obtain monitoring results that simultaneously meet the first detection rule and the second detection rule.
4. The method according to claim 1, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: In response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, the first detection rule and the second detection rule are deleted, and a fourth detection rule is generated; the data management platform uses the fourth detection rule to traverse the multiple data to obtain monitoring results that meet the first detection rule or the second detection rule.
5. The method according to claim 1, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: In response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, and the monitoring result satisfying the first detection rule and the monitoring result satisfying the second detection rule are equal to the multiple data, the first detection rule or the second detection rule is deleted.
6. The method according to any one of claims 1 to 5, It is characterized in that The multiple detection rules include a first detection rule, a second detection rule and a fifth detection rule, The deleting of some detection rules, or generating detection rules that detect monitoring results that satisfy the multiple detection rules, or deleting detection rules and generating detection rules that detect monitoring results that satisfy the multiple detection rules, specifically includes: In response to the relationship between the first detection rule and the second detection rule, delete the first detection rule or the second detection rule, or generate a detection rule that detects the monitoring results corresponding to the first detection rule and the second detection rule, or delete the first detection rule or the second detection rule and generate a detection rule that detects the monitoring results corresponding to the first detection rule and the second detection rule; Determine, based on the monitoring results corresponding to the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule, a relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule; In response to the relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule, the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule is deleted, or a detection rule is generated that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule, or the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule is deleted and a detection rule is generated that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule.
7. The method according to any one of claims 1 to 6, It is characterized in that Also includes: The reorganization information is sent to the client, where the reorganization information instructs the client to display the deleted part of the detection rules, or the detection rules that are generated to detect the monitoring results that meet the multiple detection rules.
8. The method according to any one of claims 1 to 7, It is characterized in that The method specifically comprises: Using at least two detection rules among a rule for detecting missing data, a rule for detecting blank data tables, and a rule for detecting illegal data formats, traverse multiple data tables stored in the database to obtain detection results of the multiple data tables detected by each detection rule; Based on the detection results corresponding to the at least two detection rules, determining whether the at least two detection rules are in an overlapping, overlapping, or mutually exclusive relationship; In response to the relationship between the at least two detection rules being the overlapping relationship, deleting some of the at least two detection rules; or In response to the relationship between the at least two detection rules being the intersection relationship, deleting the at least two detection rules, and generating detection rules that respectively satisfy the monitoring results of each detection rule of the at least two detection rules; or In response to the relationship between the at least two detection rules being the mutually exclusive relationship, the at least two detection rules are deleted, and detection rules that respectively satisfy the monitoring results of each detection rule of the at least two detection rules are generated.
9. A data management platform, It is characterized in that The data management platform is used to Using multiple detection rules to traverse multiple data stored in the database configured by the data management platform, respectively, to obtain monitoring results of the multiple data detected by each detection rule, wherein the detection rule refers to a rule for detecting data missing, format error, and data inconsistency; Based on the monitoring results corresponding to the multiple detection rules, determine the relationship between the multiple detection rules; the relationship between the detection rules is coverage, intersection and mutual exclusion, the coverage relationship is a relationship in which the monitoring results that meet one detection rule are all included in the monitoring results that meet another detection rule, the intersection relationship is a relationship in which the monitoring results that meet one detection rule are partially included in the monitoring results that meet another detection rule, and the mutual exclusion relationship is that the monitoring results that meet one detection rule and the monitoring results that meet another detection rule are independent of each other; as well as In response to the relationship between the multiple detection rules, some detection rules are deleted, or detection rules that detect monitoring results that meet the multiple detection rules are generated, or detection rules are deleted and detection rules that detect monitoring results that meet the multiple detection rules are generated.
10. The data management platform according to claim 9, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The data management platform is specifically configured to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule being the overlapping relationship.
11. The data management platform according to claim 9, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The data management platform is specifically used to delete the first detection rule and the second detection rule and generate a third detection rule in response to the relationship between the first detection rule and the second detection rule being the intersection relationship; the data management platform uses the third detection rule to traverse the multiple data to obtain monitoring results that simultaneously satisfy the first detection rule and the second detection rule.
12. The data management platform according to claim 9, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The data management platform is specifically used to delete the first detection rule and the second detection rule and generate a fourth detection rule in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship; the data management platform uses the fourth detection rule to traverse the multiple data to obtain monitoring results that meet the first detection rule or the second detection rule.
13. The data management platform according to claim 9, It is characterized in that The plurality of detection rules include a first detection rule and a second detection rule, The data management platform is specifically used to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule being the mutually exclusive relationship, and the monitoring results satisfying the first detection rule and the monitoring results satisfying the second detection rule are equal to the multiple data.
14. The data management platform according to any one of claims 9 to 13, It is characterized in that The multiple detection rules include a first detection rule, a second detection rule and a fifth detection rule, The data management platform is specifically used to delete the first detection rule or the second detection rule in response to the relationship between the first detection rule and the second detection rule, or generate a detection rule that detects a monitoring result that satisfies the first detection rule and the second detection rule, or delete the first detection rule or the second detection rule and generate a detection rule that detects a monitoring result that satisfies the first detection rule and the second detection rule; Determine, based on the monitoring results corresponding to the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule, a relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule; In response to the relationship between the detection rule obtained by the first detection rule and the second detection rule and the fifth detection rule, the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule is deleted, or a detection rule is generated that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule, or the detection rule or the fifth detection rule obtained by the first detection rule and the second detection rule is deleted and a detection rule is generated that detects the monitoring results corresponding to the first detection rule, the second detection rule and the fifth detection rule.
15. The data management platform according to any one of claims 9 to 14, It is characterized in that The data management platform is further used to send reorganization information to the client, wherein the reorganization information instructs the client to display the deleted part of the detection rules, or the detection rules generated to detect the monitoring results that meet the corresponding detection rules.
16. The data management platform according to any one of claims 9 to 15, It is characterized in that The data management platform is specifically used to traverse the multiple data tables stored in the database using at least two detection rules among a rule for detecting missing data, a rule for detecting blank data tables, and a rule for detecting illegal data formats, to obtain detection results of the multiple data tables detected by each detection rule; Based on the detection results corresponding to the at least two detection rules, determining whether the at least two detection rules are in an overlapping, overlapping, or mutually exclusive relationship; In response to the relationship between the at least two detection rules being the covering relationship, deleting some of the at least two detection rules; or In response to the relationship between the at least two detection rules being the intersection relationship, deleting the at least two detection rules, and generating detection rules that respectively satisfy the monitoring results of each detection rule of the at least two detection rules; or In response to the relationship between the at least two detection rules being the mutually exclusive relationship, the at least two detection rules are deleted, and detection rules that respectively satisfy the monitoring results of each detection rule of the at least two detection rules are generated.
17. A computing device, It is characterized in that include: at least one memory, At least one processor, wherein the at least one processor is configured to execute instructions stored in the at least one memory, so that the computing device executes the method according to any one of claims 1 to 8.
18. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 8.
19. A computer program product, It is characterized in that The computer program product stores instructions, and when the instructions are executed by a computer, the computer implements the method according to any one of claims 1 to 8.
