System and method for identifying events as root causes of data quality anomalies

By monitoring and analyzing the parameters associated with the data in the data warehouse, detecting data differences and identifying the reasons, forming a dependency diagram, the problem of data quality check failure in the data warehouse is solved, and accurate identification and prevention of data quality anomalies are achieved, improving improve the stability of the data warehouse.

CN113168407BActive Publication Date: 2024-09-24VISA INTERNATIONAL SERVICE ASSOCIATION
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201880100130.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-19
Publication Date
2024-09-24
Estimated Expiration
2038-12-19

AI Technical Summary

Technical Problem

Existing technologies are difficult to accurately identify and solve the root causes of data quality check failures in data warehouses, resulting in the inability to effectively prevent the occurrence of data discrepancies.

Method used

By monitoring and analyzing parameters associated with the data, data differences are detected, and event weights and occurrence scores are used to identify the causes of data differences, form a dependency graph, and take preventive measures to prevent the occurrence of data differences.

Benefits of technology

It achieves accurate identification and prevention of the root causes of data quality anomalies, improves the stability and data quality of the data warehouse, and can effectively prevent the occurrence of data discrepancies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113168407B
    Figure CN113168407B
Patent Text Reader

Abstract

An embodiment detects and predicts data discrepancy issues in a data warehouse. An embodiment derives meaningful insights into events that occurred prior to the data discrepancy and correlates the events to understand the root cause of the data discrepancy (or the root cause of an alert generated due to detection of the data discrepancy). An embodiment takes or recommends actionable measures to prevent further occurrence of the event identified as the root cause. According to various embodiments, when the monitored data is transaction data (e.g., transaction volume, transaction amount, transaction processing speed, etc.), internal events (e.g., data job failure, job delay, job server maintenance) or external events (e.g., seasonal holiday events, natural disasters) may cause a drop or surge in the transaction data, resulting in data quality anomalies (i.e., data discrepancies).
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Various internal and external factors may cause data quality check failures at the data warehouse. Conventional mechanisms that only report "pass" or "fail" status do not help organizations understand the root causes of data quality anomalies and do not provide insight to resolve underlying issues. In order to fully understand the underlying issues that lead to data quality check failures, the events that trigger data quality check failure alerts must be accurately identified, analyzed, and resolved.

[0002] Embodiments of the invention address these and other problems individually and collectively. Summary of the invention

[0003] An embodiment provides a method for identifying a cause of a data difference among monitored data. The method includes using a server computer to monitor parameters associated with data collected in conjunction with a processing computer. The method also includes detecting a data difference among the data and identifying a first event associated with the data difference. A group of events associated with the first event may be identified. The score of each event among the group of events may be calculated as a function of a weight assigned to each event among the group of events and an incidence score determined for each event among the group of events. A second event among the group of events may be identified as a cause of the data difference. The second event may have the highest score among the group of events. The method may also include taking preventive measures to prevent the data difference in view of the identified cause of the data difference.

[0004] In some embodiments, the occurrence score of the selected event is determined based on runtime characteristics of all child events and parent events of the selected event. The selected event occurs before all child events of the selected event, and all parent events of the selected event occur before the selected event.

[0005] According to some embodiments, the method may also include, before taking preventive measures, identifying a third event different from the second event as the actual cause of the data difference. If the third event is included in the set of events, the method may include adjusting the weight of each event in the set of events by a predetermined amount, wherein the adjustment includes increasing the weight of the third event. If the third event is not included in the set of events, the method may include adding the third event to the set of events and adjusting the weight of each event in the set of events by a predetermined amount, wherein the adjustment includes increasing the weight of the third event. In both cases, the score of each event in the set of events may then be recalculated. The method may include two or more iterations of adjustment and recalculation, wherein the score of the third event increases at each iteration so that the third event has the highest score in the set of events at the end of all iterations.

[0006] In some embodiments, the weight of a given event is stored along with a history that the given event is the actual cause of the data discrepancy. The set of events associated with a first event may include one or more parent events of the first event, wherein the one or more parent events occurred before the first event. The first event and the set of events may include one or more of an internal event of the processing computer and an external event of the processing computer.

[0007] In some embodiments, the method may further include receiving an alert associated with the data discrepancy, and in response to the alert, identifying a first event associated with the data discrepancy.

[0008] According to an embodiment, the first event and the set of events may form a dependency graph. The method may further include adding a new event to the dependency graph. The new event may be associated with a third event and a fourth event in the set of events, and the fourth event may be a descendant of the third event. Then, the new event may be associated with the third event in the dependency graph, but not with the fourth event.

[0009] Embodiments may also include a computer including a processor and a computer readable medium including code that, when executed by the processor, causes the processor to perform the above method.

[0010] These and other embodiments are described in further detail below. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 An exemplary data analysis system for identifying root causes of data quality anomalies at a data warehouse is shown in accordance with various embodiments.

[0012] Figure 2A An exemplary dependency graph including event nodes, parent nodes, and child nodes is shown according to various embodiments.

[0013] Figure 2B Inter-cluster dependencies and intra-cluster dependencies are shown according to various embodiments.

[0014] Figure 3 An exemplary root cause analysis module is shown that analyzes the incidence of all internal and external events to identify root cause events in accordance with various embodiments.

[0015] Figure 4 An exemplary correlation between errors associated with a node and a weight assigned to the node is shown in accordance with various embodiments.

[0016] Figure 5A Adding a node to an existing dependency graph using thresholded cross-correlation and redundancy removal techniques according to various embodiments is shown.

[0017] Figure 5B Graph showing thresholded cross-correlations in accordance with various embodiments.

[0018] Figure 6A-6B The concept of redundancy removal according to various embodiments is illustrated.

[0019] Figure 7A-7B Limited failure information about a job according to a conventional system is shown, consisting of the fact that, at completion, the failed job ran longer than the non-failed jobs.

[0020] Figure 8 An exemplary process flow for identifying events as root causes of data discrepancies and taking preventive measures in light of the identified events is shown in accordance with various embodiments. DETAILED DESCRIPTION

[0021] The following discussion of some terms may be useful in embodiments of the present invention.

[0022] An "event" may refer to an occurrence that affects the amount of data processed by a server and / or at a data warehouse and / or the speed of processing associated with the data. The event may be an event within the data warehouse, referred to as an internal event, or an event outside the data warehouse, referred to as an external event.

[0023] A "root cause" may include a condition or causal chain that produces a result or effect of interest, such as a data quality anomaly observed at a data warehouse. Root cause analysis (RCA) may refer to a problem-solving approach used to identify the root cause of a failure or problem, such as a data discrepancy or data quality anomaly. If removing an event from the problem failure sequence would prevent the final undesirable result from recurring, then that event may be a root cause.

[0024] A "dependency graph" may include a graph representing dependencies between several objects (e.g., events) on each other. An exemplary dependency graph may include a directed graph. A directed graph may be an ordered pair G=(V, A), where V represents a node and A represents a vertex.

[0025] A "processor" may include any suitable one or more data computing devices. A processor may include one or more microprocessors that work together to achieve the desired functionality. A processor may include a CPU that includes at least one high-speed data processor sufficient to execute program components for executing user and / or system generated requests. The CPU may be a microprocessor such as AMD's Athlon, Duron, and / or Opteron; IBM and / or Motorola's PowerPC; IBM and Sony's Cell processor; Intel's Celeron, Itanium, Pentium, Xeon, and / or XScale; and / or similar one or more processors.

[0026] "Memory" may be any suitable device or devices that can store electronic data. Suitable memory may include non-transitory computer-readable media that stores instructions that can be executed by a processor to implement the desired method. Examples of memory may include one or more memory chips, disk drives, etc. Such memory may operate using any suitable electrical, optical, and / or magnetic operating modes.

[0027] A "server computer" may include a powerful computer or computer cluster. For example, a server computer may be a large mainframe, a small computer cluster, or a group of servers acting as a unit. In one example, a server computer may be a database server coupled to a network server. A server computer may include one or more computing devices and may use any of a variety of computing structures, arrangements, and compilations to service requests from one or more client computers.

[0028] As used herein, the term "system" may refer to one or more computing devices or combinations of computing devices, such as, but not limited to, processors, servers, client devices, software applications, and / or other similar components. In addition, as used herein, references to "servers" or "processors" may refer to previously described servers and / or processors stated as performing a previous step or function, different servers and / or processors, and / or combinations of servers and / or processors. For example, as used in the specification and claims, a first server and / or first processor stated as performing a first step or function may refer to the same or different servers and / or processors stated as performing a second step or function.

[0029] "Machine learning models" may include applications of artificial intelligence that provide systems with the ability to automatically learn and improve from experience without being explicitly programmed. A machine learning model may include a set of software routines and parameters that can predict the output of a process (e.g., identification of a computer network attacker, authentication of a computer, appropriate recommendations based on a user search query, etc.) based on a "feature vector" or other input data. The structure of the software routine (e.g., the number of subroutines and the relationships between them) and / or the values ​​of the parameters may be determined during a training process that may use actual results of the process being modeled, such as identification of different classes of input data. Examples of machine learning models include support vector machines, which are models that classify data by establishing gaps or boundaries between differently classified inputs.

[0030] Embodiments relate to systems and methods for detecting and predicting data discrepancy problems in data warehouses. In some embodiments, the systems and methods may implement machine learning models for identifying the root causes of data discrepancies. Embodiments derive meaningful insights into events that occurred before the data discrepancies and correlate the events to understand the root causes of the data discrepancies (or the root causes of alerts generated due to detection of the data discrepancies). Embodiments take or recommend actionable measures to prevent further occurrences of the events identified as the root causes. According to various embodiments, when the monitored data is transaction data (e.g., transaction volume, transaction amount, transaction processing speed, etc.), internal events (e.g., data job failures, job delays, job server maintenance) or external events (e.g., seasonal holiday events, natural disasters) may cause a drop or surge in transaction data, resulting in data discrepancies (e.g., data quality anomalies).

[0031] Embodiments provide a probability metric about an event being the root cause of a generated alert based on performance measurements of the events and dependencies between the events. Events may be ranked based on the probability of the event occurring or failing. According to various embodiments, a dependency graph may be formed based on the identified multiple events. Each node in the dependency graph may represent an event. A given event may have one or more parent events that occur before the given event. A given event may also have one or more child events that occur after the given event.

[0032] According to various embodiments, the Figure 1The exemplary data analysis system 100 shown in Figure 1 may be used to perform analysis (e.g., machine learning models) for identifying the root cause of data quality anomalies detected at a data warehouse. The system 100 may include a monitoring computer 106 coupled to and monitoring a data warehouse 150. The monitoring computer 106 may be internal or external (i.e., remote) to the data warehouse 150. The data warehouse 150 may receive data from a processing computer 104. According to various embodiments, the data may be transaction data, and the processing computer 104 may be a transaction processing network computer 104. The data may be sent from the transmission computer 102 to the processing computer 104 and continue at the processing computer 104. The processing computer 104 may store and / or process the data at the data warehouse 150.

[0033] To simplify the explanation, Figure 1 A certain number of components are shown in the drawings. However, it should be understood that embodiments of the present invention may include more than one of each component. In addition, some embodiments of the present invention may include more than one of each component. Figure 1 All parts shown in the figure are less or more parts. In addition, Figure 1 The components may communicate using any suitable communication protocol via any suitable communication medium.

[0034] The transmission computer 102, the processing computer 104, the data warehouse 150, and the monitoring computer 106 may all be in operative communication with each other via any suitable communication channel or communication network. Suitable communication networks may be any one and / or combination of the following: direct interconnection, the Internet, a local area network (LAN), a metropolitan area network (MAN), an operating mission as an Internet node (OMNI), a secure custom connection, a wide area network (WAN), a wireless network (e.g., using protocols such as, but not limited to, wireless application protocol (WAP), I-mode, etc.), etc.

[0035] Messages between computers, networks and devices may be sent using secure communication protocols such as, but not limited to, File Transfer Protocol (FTP), Hypertext Transfer Protocol (HTTP), Secure Hypertext Transfer Protocol (HTTPS), Secure Sockets Layer (SSL), ISO (e.g., ISO 8583), etc.

[0036] According to various embodiments in which the data stored and / or processed at the data warehouse is transaction data, the transmission computer 102 may be associated with a business entity (e.g., a commercial bank) that has a business relationship with a specific resource provider (e.g., a merchant) or other entity and may be involved in the process of a transaction. The transmission computer 102 may issue and manage the account of the resource provider and exchange funds with the business entity computer on behalf of the resource provider. Some entities may perform the functions of both the transmission computer 102 and the business entity computer. Embodiments of the present invention encompass such single entity transmission / authorization entity computers. In some embodiments, the transmission computer 102 may be configured to send / receive data (e.g., data received in an authorization request message or another message) to / from the processing network computer 104.

[0037] The processing computer 104 may be configured to process transactions between a user (e.g., using a user device) and a resource provider. In some examples, the processing computer 104 may be configured to perform a settlement process between a transmission computer 102 associated with an acquirer (e.g., a financial institution associated with a resource provider) and a business entity computer associated with a business entity (e.g., a financial institution associated with a user).

[0038] The processing computer 104 may include data processing subsystems, networks, and operations to support and deliver authorization services, exception file services, and clearing and settlement services. For example, the processing computer 104 may include a server coupled to a network interface (e.g., via an external communication interface) and an information database. The processing computer 104 may represent a transaction processing network. An exemplary transaction processing network may include VisaNet TM For example, VisaNet TM Transaction processing networks such as VisaNet can process credit card transactions, debit card transactions and other types of commercial transactions. TM Specifically, it includes the VIP system (Visa Integrated Payment System) that processes authorization requests, and the Base II system that performs clearing and settlement services. The processing computer 104 can use any suitable wired or wireless network, including the Internet.

[0039] According to various embodiments, monitoring computer 106 may monitor data received, processed, stored and / or transmitted by processing computer 104 and / or data repository 150. Monitoring computer 106 may include memory 108, processor 110, input / output elements 112, network interface 113 and computer readable media 114.

[0040] The computer readable medium 114 may include several components, such as a monitoring module 116, an alarm module 118, and a root cause analysis module 120. More or fewer components are contemplated. It should also be appreciated that Figure 1The components depicted in the can be combined to perform the functions described herein. The computer-readable medium 114 can also include code that can be executed by the processor 110 to implement the methods discussed herein.

[0041] The processing computer 104 may include a processor 107 of a processing module 105, the processing module including code that, when executed, causes the processor 107 to send and / or receive authorization request messages and / or authorization response messages from any suitable source to any suitable destination. For example, the processing module 105 may be configured to cause the processor 107 to receive an authorization request message from the transmission computer 102. In some embodiments, the processing module 105 may be configured to cause the processor 107 to send an authorization request message to any suitable destination, such as a business entity computer. The processing module 105 may further be configured to receive an authorization response message from any suitable source (e.g., a business entity computer) and to send an authorization response message to any suitable destination (e.g., the transmission computer 102).

[0042] Processing module 105 may also include code that, when executed, causes processor 107 to perform any suitable operation using at least the transaction data included in the authorization request message. In some embodiments, transaction data (e.g., account identifier, merchant information such as merchant and / or transaction location identifier, amount associated with the transaction, etc.) included in a particular authorization request message may be communicated to processing module 105. Processing module 105 may be configured to perform any suitable operation using such data.

[0043] According to various embodiments, the monitoring module 116 may be configured to monitor data received by the processing computer 104 and / or the data warehouse 150. For example, the monitoring module 116 may monitor the data volume, processing speed, etc. of the incoming data. When the monitoring module 116 detects an anomaly with respect to data quality (e.g., data processing speed is below a predetermined threshold, incoming data is below or above a predetermined processing capacity threshold by a predetermined amount, etc.), the monitoring module 116 may notify the alarm module 118. The alarm module 118 may generate an alarm indicating the data quality anomaly. The root cause analysis module 120 may then perform analysis (e.g., by implementing a machine learning model) to determine the root cause of the identified data quality anomaly, and, where applicable, propose remedial or preventive measures to resolve the data quality anomaly.

[0044] According to various embodiments, the analysis performed by the root cause analysis may include identifying an event E represented by a node in a dependency graph that illustrates inter-event relationships associated with data. The analysis may then proceed to recursively identify all parent nodes (i.e., ancestors) of event E in the dependency graph, and identify the parent event P and child event C of each of the identified parent nodes. For example, an exemplary job (E) may have a parent job (P) and a child job (c).

[0045] Figure 2A An exemplary dependency graph 200 is shown including an event node 202, parent nodes P1 204 through Pi 206, and child nodes C1 208 through Ci 210. A given node of the dependency graph 200 shows an event that may affect a system (e.g., Figure 1 An exemplary event (E) 202 may refer to something that has occurred or failed. According to various embodiments, events may be classified into two categories: internal events and external events. Exemplary internal events may refer to events that occur within the data warehouse, such as job failures (e.g., a job failed to complete execution), job delays (e.g., a job was not completed within the allocated time), server maintenance, hardware failure, etc. Exemplary external events may refer to events that occur outside the data warehouse that will affect the amount of data processed, such as holidays, disasters, holidays, sporting events, other entertainment events, etc.

[0046] According to various embodiments, multiple nodes of a dependency graph may form a cluster. A cluster may refer to a collection of nodes of similar types. For example, a job cluster may include nodes that all represent jobs, a maintenance cluster may include nodes that all represent maintenance events, a special event cluster may include nodes that all represent external events, and the like. Figure 2B Inter-cluster dependencies 220 (i.e., dependencies among nodes from different clusters) and intra-cluster dependencies 222 (dependencies among nodes of a given cluster) are shown. Arrows 221 and 222 represent the dependency of a node on another node. For example, arrow 221 represents the dependency of node 224 from a first cluster on node 226 from a second cluster, and represents the dependency of node 226 from the second cluster on node 224 from the first cluster. Arrow 223 represents the dependency of a first node 234 from a first cluster on a second node 236 from the same first cluster, and represents the dependency of a second node 236 from a first cluster on a first node 234 from the same first cluster.

[0047] When the alarm module 118 generates an alarm indicating a data quality anomaly, the root cause analysis module 120 determines the root cause event of the data quality anomaly. The root cause event may be the event that actually causes the alert to be generated. For example, when a parent job fails, some jobs after the parent job may also fail and cause an alert to be generated. In this exemplary scenario, the parent job may be the root cause event because the parent job triggered the failure of all other jobs that caused the alert to be generated. Figure 3 As shown in , the root cause analysis module 120 may analyze the occurrence of all events (e.g., job failure 304, server maintenance 306, external events 308, etc.) during analysis 300 to identify the root cause event 302. According to various embodiments, the root cause analysis module 120 may assign a weight to each node. The weight of a node may represent the frequency of the node being a root cause event.

[0048] According to various embodiments, the root cause analysis module 120 may determine the probability that each node fails (e.g., for internal events such as jobs) or occurs (e.g., for external events such as maintenance or special events) and becomes the root cause of a data quality anomaly. The probability that a given node is the root cause of a data quality anomaly may be expressed as:

[0049] P(root cause ∩ occurrence) = P(root cause | occurrence) * P(occurrence)

[0050] The root cause analysis module 120 may then calculate an occurrence score for each node based on the P(occurrence) of the node. The occurrence score for a given node is a function of the performance metrics (e.g., runtime, latency, histogram counts) of the node itself, its parent nodes, and its child nodes. The occurrence score for a given node may be expressed as:

[0051] Occurrence score (s) = f (self-metric, parent-metric, child-metric)

[0052] According to various embodiments, maintenance occurring / not occurring, the probability that a special event is a sporting event, a disaster, or a holiday, etc. may be metrics.

[0053] As provided above, the root cause analysis module 120 may assign a weight (w) to each node. The weight may be a measure of the probability that a node event occurrence is a root cause of a data quality anomaly (e.g., a data discrepancy), expressed as P(root cause|occurrence). According to various embodiments, the weight of a given node may be initially set to 1, and the weight may change as the machine learning model is trained.

[0054] For example, an initial weight of 1 may be assigned to two events A and B. In response to a first data discrepancy alert, the machine learning model discussed herein may identify event A as the root cause of a data discrepancy at the data warehouse. The weight associated with event A may increase from 1 to, for example, 2, because the probability that event A is the root cause of the data discrepancy has increased. In some embodiments, the increase in weight may be based on a predetermined formula. Subsequently, a second alert is generated in response to a second data discrepancy, and the model may also identify event A as the root cause of the second data discrepancy. The weight associated with event A may increase from 2 to, for example, 3, because the probability that event A is the root cause of the data discrepancy has further increased. A third data discrepancy alert may be generated in response to detecting a third data discrepancy at the data warehouse. The root cause of the third data discrepancy may be identified as event B. The weight associated with event B may increase from 1 to, for example, 2, because the probability that event B is the root cause of the data discrepancy has increased. According to various embodiments, the weights assigned to events / nodes may be stored together with historical data indicating the frequency with which the associated events are the root causes of data discrepancies.

[0055] The incidence score s is calculated as follows:

[0056]

[0057] or

[0058]

[0059] in:

[0060] Runtime error (r) = (own runtime - average parent runtime) - E[(own runtime - average parent runtime)]

[0061] Offset error (o) = (own offset - maximum parent offset) - E[(own offset - maximum parent offset)]

[0062] Start time error (st) = (own start time - maximum parent start time) - E[(own start time - maximum parent start time)]

[0063] Where E[x] represents the outlier value of x. If the data is time series data, the Holt-Winters algorithm can be used to predict the outlier value of x.

[0064] According to various embodiments, for internal events (e.g., maintenance events), the occurrence score of a node representing an event may be set to 0 if the event does not occur (e.g., maintenance does not occur). If the event occurs, the occurrence score may be set to the sum of the occurrence scores of the child nodes of the event, and the occurrence scores of the child nodes may then be reset to 0.

[0065] For external events (such as holiday events), the incidence score of the node representing the event can be set to the impact score * (the sum of the incidence scores of the child nodes). The incidence scores of the child nodes can then be reset to (1 - impact score) * (the current incidence score of the child).

[0066] As provided above, for a given monitoring event E represented as a point in a dependency graph, the root cause analysis module 120 can identify the parent event P and the child events C of event E. The root cause analysis module 120 can then calculate a node score as a function of the weight w and the incidence score s of each node (i.e., α = f(w, s)). According to various embodiments, the node score can be calculated as:

[0067]

[0068] Embodiments predict the node with the highest α as the root cause of the data quality anomaly. If the actual root cause of the data quality anomaly is later identified as a different node, it may be necessary to update (i.e., train) the root cause analysis algorithm. According to various embodiments, the algorithm can be trained by adjusting the weight w of the nodes (to identify the actual root cause in root cause analysis, for example). For example, the weight is adjusted by adding Δw to train the algorithm.

[0069] If the actual root cause node does not exist in the current node lineage (e.g., in the current dependency graph), the actual root cause node can be added to the current dependency graph, and an initial weight of 1 can be assigned to the new node (i.e., the actual root cause node). According to various embodiments, the actual root cause node can be added to the current dependency graph using thresholded cross-correlation and redundancy removal techniques, as discussed in more detail below.

[0070] If the actual root cause node exists in the current node lineage (e.g., in the current dependency graph), an error in the algorithm can be determined based on whether the weight of the identified root cause node is lower or higher than the weight of the actual root cause node. That is, for root cause node i, if then the error can be determined as

[0071] On the other hand, if αi < αj, then for some node j, wi.si < wj.sj, the weight of node i (i.e., w i ) can be increased to correct the inequality and reduce the error (i.e., wi = wi + Δw).

[0072] According to various embodiments, training may be performed on the entire training set (e.g., randomly) or on a predetermined batch size (e.g., for each instance with a batch size of one). When training randomly (for the entire batch), training may be such that training reduces the total error to below a preset threshold. In some embodiments, each training example may reduce the error by a fixed amount. Infinitely increasing the weights will drive the error to zero, but will also cause the weights to be biased toward the training examples, known as overfitting. Figure 4 Graph 400 is shown, which shows the correlation between error and weight. Graph 400 shows that as the weight increases indefinitely, the error per training instance approaches zero. However, while the error on the training set continues to gradually decrease, the error on the test set will increase toward the end due to overfitting. This is related to the network starting to find and fine-tune features in the data, rather than general properties.

[0073] According to various embodiments, by making Δwi proportional to it and increase it accordingly to avoid biasing the weights.

[0074]

[0075]

[0076]

[0077] Where γ is a learning rate hyperparameter (i.e., the value of γ is set before the learning process begins). The learning rate dictates how quickly the system updates the parameters.

[0078] According to the illustrative example, for three nodes (n1, n2, n3) each having a weight (w) = 1, the embodiment may generate the following scores: s1 = 0.5, s2 = 0.3, s3 = 0.2. Based on the relationship among the scores (i.e., s1>s2>s3), the event represented by n1 may be predicted as the root cause event of the data quality anomaly. Thereafter, if the actual root cause event of the data quality anomaly is revealed as a node represented by n2, the weights may be updated as follows: w1 = 1, w2 = 2, w3 = 1. Now, the values ​​become w1.s1 = 0.5, w2.s2 = 0.6, w3.s3 = 0.2, so w2.s2>w1.s1>w3.s3, and the machine learning model may correctly predict that node n2 is the root cause event of the data quality anomaly.

[0079] Thresholded Cross-Correlation and Redundancy Removal (TCRR)

[0080] The correlation between two variables may refer to some form of interrelationship of the variables. Correlated variables may contain information about each other. The stronger the correlation between the two variables, the more information one variable will convey about the other variable. The correlation may be a positive correlation, where when one variable increases, the other variable also increases, and when one variable decreases, the other variable also decreases. The correlation may be a neutral correlation, also known as no correlation or zero correlation, where there is no relationship between the two variables, so that the value of one variable changes while the other variable remains unchanged. The correlation may be a negative correlation, which is a correlation where when one variable increases, the other variable decreases, and when one variable decreases, the other variable increases.

[0081] The level of linear correlation between two variables can be expressed using the Pearson Correlation Coefficient, which is the covariance between two vectors normalized by the product of their standard deviations. The Pearson correlation coefficient ρ of variables x and y can be expressed as:

[0082]

[0083]

[0084] where σx and σy are the standard deviations of the variables x and y.

[0085] When considering the correlation between continuous functions, cross-correlation can refer to the similarity of two sequences (e.g., f and g) as a function of the displacement of one sequence relative to the other. For discrete functions f and g, the cross-correlation can be expressed as:

[0086]

[0087] Therefore, for some embodiments, normalized values ​​of the cross-correlations may be used in the calculations.

[0088] Each node (or event) in the dependency graph may consist of historical data, which may be represented as a time series. A new node to be added to the dependency graph may also be represented by a time series. When a new node is added to an existing dependency graph, the inter-correlations between the time series may be determined. Then, the TCRR method may be followed to add the new node to the dependency graph. The hysteresis limits and thresholds may be determined by the user using exhaustive enumeration.

[0089] exist Figure 5AIn the exemplary embodiment shown in , an external node 502 related to a holiday event can be added to the dependency graph 504. The holiday event can cause an increase in transaction volume on the transaction processing network after about 2 days, and an alarm can be generated. If the holiday is modeled as a spike on the holiday day 506 (e.g., the 5th day), when the time series of the new holiday event node 502 is cross-correlated with the nodes of the existing dependency graph 504, the nodes affected by this node will generally have some abnormal behavior and will show a sudden increase in cross-correlation in the near future (e.g., the next 2-3 days) time point. Using a suitable hysteresis limit 508 (e.g., 5 days in this exemplary embodiment) and a threshold 510, the relevant dependency nodes can be identified, and the redundant nodes can be removed from the dependency graph 504 by the redundancy removal method.

[0090] According to the exemplary TCRR method described herein, a hysteresis limit can be used to eliminate potential high cross-correlations that can occur after a long time between two nodes. Such cross-correlations have no practical significance and should not be considered. The hysteresis limit can help eliminate meaningless cross-correlations. Figure 5A In the exemplary embodiment shown in , a 1-year limit may be sufficient to observe an annual pattern, or a 7-day limit may be sufficient to observe a weekly pattern.

[0091] According to various embodiments, if the correlation value crosses a threshold within the partitioned hysteresis limit, then the two variables may be considered to be dependent on each other, e.g. Figure 5B This can be called thresholded cross-correlation.

[0092] Figure 6A-6B 600. For example, for a given dependency graph 600, an embodiment may use thresholded interdependencies to identify a first node J1 604, a second node J2 606, and a third node J3 608 as being dependent on a first event represented as node 602. Fig. 6A As shown in , the first node J1 604, the second node J2 606, and the third node J3 608 may have an internal lineage, wherein the second node J2 606 depends on the first node J1 604. In addition, the third node J3 608 depends on the second node J2 606. Using redundancy removal, an embodiment may remove the connection between the first event node 602 and the second node J2 606 and the connection between the first event node 602 and the third node J3 608. Figure 6B The resulting dependency graph 650 is shown in FIG.

[0093] According to various embodiments, thresholded intercorrelation and redundancy removal techniques may be used to add new nodes to an existing dependency graph. For example, as explained above, if an actual root cause node does not exist in a given dependency graph, the actual root cause node may be added to the dependency graph using thresholded intercorrelation and redundancy removal techniques. As explained above, an exemplary implementation of the TCRR technique may include: determining the time series of all nodes and new nodes; performing intercorrelation of the time series of new nodes and existing nodes; identifying all nodes so that within a lag limit, a threshold has been crossed; for such a group of selected nodes, removing nodes whose parents are also in the group; and adding the new node to the dependency graph with the remaining nodes in the group as its child nodes.

[0094] In some embodiments, in a given dependency graph, each job node may represent a job running in the system. A job collector may collect all information related to a job from different sources (e.g., a database). The information may include information related to a job start timestamp, a job end timestamp, a job runtime, etc. According to various embodiments, the performance of a job may be measured based on the runtime of the job, the latency of the job, and the frequency of the job run.

[0095] like Fig. 7A As shown in , an exemplary job may be represented by a time sequence 700, where each new job run is a burst 704 in the sequence 700. The start time 704 of the job may illustrate the number of times the job is inserted into the system during a particular duration (i.e., the frequency of the job). The offset 702 of the job may illustrate anomalies due to the delay of the job start time from a reference time 706. Figure 7B As shown in , in conventional systems, failure information about a job consists of the fact that, at completion, the failed job ran longer than the non-failed jobs because the runtime includes the restart time. An embodiment predicts and / or identifies the root cause event that caused the job failure.

[0096] Figure 8An exemplary process flow for identifying an event as the root cause of a data difference and taking preventive measures in view of the identified event is shown. At S802, a server computer monitors parameters associated with data collected by a processing computer. At S804, the server computer detects data differences among the data. At S806, the server computer identifies a first event associated with the data difference. At S808, the server computer determines a group of events associated with the first event. At S810, the server computer calculates the score of each event among the group of events as a function of the weight assigned to each event among the group of events and the incidence score determined for each event among the group of events. At S812, the server computer identifies the second event among the group of events as the cause of the data difference, wherein the second event has the highest score among the group of events. The server computer may then take preventive measures to prevent the data difference in view of the data difference cause identified at S826. In some embodiments, after S812, the server computer may identify the third event as the actual cause of the data difference at S814. At S816, the server computer may determine whether the third event is included in the set of events. If the answer to S816 is yes (i.e., the third event is included in the set of events), the server computer adjusts the weight of each event in the set of events by a predetermined amount, wherein the adjustment includes increasing the weight of the third event at S820. If the answer to S816 is no (i.e., the third event is not included in the set of events), the server computer adds the third event to the set of events at S818 and moves to S820. The server computer then recalculates the score of each event in the set of events at S822 so that the third event has the highest score among the set of events. At S824, the server computer may determine whether the third event has the highest score. If the answer to S824 is yes (i.e., the third event has the highest score), the process moves to S826, where the server computer takes preventive measures to prevent data differences in view of the identified reasons for the data differences. If the answer to S824 is no (ie, the third event does not have the highest score), the process returns to step S820 to adjust the weights and returns to step S822 to recalculate the scores.

[0097] In an exemplary embodiment, a job associated with uploading transaction data to a database may have failed. The failure may cause a data quality indicator that monitors daily transaction volume to generate an alert due to a drop in data volume. The embodiments discussed herein may identify all events (nodes) in a dependency graph that may have caused an alert. The embodiments may then generate a score and three errors (i.e., runtime error, offset error, start time error) for each node in an effort to identify whether an alert is generated due to excessive runtime / failure, delayed offset, and / or job frequency issues. A trained machine learning model may identify jobs associated with transaction data as root cause nodes. If the model fails to identify the actual job as the root cause job, the feedback mechanism discussed above may adjust the weights to train the model accordingly.

[0098] In an exemplary embodiment, a sudden increase in transaction volume, such as monitored by a data quality indicator, may be identified. The sudden increase may be attributed to a special external event (e.g., Thanksgiving). The indicator may generate an alert that requires investigation. The embodiments discussed herein may predict a special external event as the root cause of an alert by selecting possible nodes from a dependency graph and sorting the scores generated for these nodes. An embodiment may first calculate the scores of all nodes in the job failure cluster, as these scores may form the basis for calculating the scores of nodes in other clusters. An embodiment may then calculate the scores of jobs in other clusters. An embodiment may identify the highest ranked node among all clusters as the root cause of the alert. A trained machine learning model may identify a special external event as a root cause node. If the model fails to identify a special external event as a root cause job, the feedback mechanism discussed above may adjust the weights to train the model accordingly.

[0099] Embodiments have many advantages. For example, embodiments can identify internal events of the data warehouse as well as external events as root causes of data quality anomalies observed at the data warehouse. According to various embodiments, the actual root cause may be a node that already exists in the data dependency graph. In other embodiments, the actual root cause may not be part of the data dependency graph and may be added using the thresholded cross-correlation and redundancy removal techniques described herein.

[0100] Any software component or function described in this application can be implemented as a software code executed by a processor using any suitable computer language such as Java, C, C++, C#, Objective-C, Swift, or a scripting language such as Perl or Python using, for example, conventional or object-oriented techniques. The software code can be stored as a series of instructions or commands on a computer-readable medium for storage and / or transmission, and suitable media include random access memory (RAM), read-only memory (ROM), magnetic media such as a hard drive or floppy disk, or optical media such as a compact disk (CD) or a digital versatile disk (DVD), flash memory, etc. The computer-readable medium can be any combination of such storage or transmission devices.

[0101] Such program can also be encoded and sent using a carrier signal adapted to be transmitted via wired, optical and / or wireless networks that meet multiple protocols including the Internet. Therefore, the computer-readable medium according to an embodiment of the present invention can be created using a data signal encoded with such a program. The computer-readable medium encoded with program code can be encapsulated with compatible devices or provided separately with other devices (for example, downloaded via the Internet). Any such computer-readable medium can reside on or inside a single computer product (for example, hard drive, CD or entire computer system), and can be present on or inside different computer products in a system or network. A computer system can include a monitor, a printer or other suitable displays for providing any result mentioned herein to a user.

[0102] The above description is illustrative and not restrictive. After reading this disclosure, many variations of the present invention will become apparent to those skilled in the art. Therefore, the scope of the present invention should not be determined with reference to the above description, but should be determined with reference to the pending claims and their full scope or equivalent.

[0103] One or more features of any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the present invention.

[0104] Unless expressly indicated to the contrary, the articles "a," "an," or "the" are intended to mean "one or more."

[0105] All patents, patent applications, publications, and descriptions mentioned above are incorporated herein by reference in their entirety for all purposes. No admission is made that they are prior art.

Claims

1. A method for identifying causes of data discrepancies among monitored data, the method comprising: monitoring, using the server computer, parameters associated with the data collected in conjunction with the processing computer; detecting data differences among the data using the server computer; identifying, using the server computer, a first event associated with the data discrepancy; determining, using the server computer, a set of events associated with the first event, wherein events in the set of events represent events that affect at least one of an amount of data processed by the processing computer or a processing speed, wherein the set of events includes one or more internal events internal to an organization and one or more external events external to the organization, the organization including the processing computer; calculating, using the server computer, a score for each event in the set of events as a function of a weight assigned to each event in the set of events and an incidence score determined for each event in the set of events, wherein the weight assigned to each event in the set of events is a measure of probability that the event is a root cause of the data discrepancy; identifying, using the server computer, a second event among the set of events as the cause of the data discrepancy, wherein the second event has a highest score among the set of events; taking preventive measures to prevent the data discrepancy in view of the identified cause of the data discrepancy, The occurrence score of the selected event is determined based on runtime characteristics of all child events and parent events of the selected event, wherein the selected event occurs before all child events of the selected event, and all parent events of the selected event occur before the selected event.

2. The method of claim 1, further comprising, before taking said preventive measures: identifying a third event different from the second event as an actual cause of the data discrepancy; determining that the set of events includes the third event; adjusting the weight of each event in the set of events by a predetermined amount, wherein adjusting comprises increasing the weight of the third event; as well as The score is recalculated for each event in the set of events.

3. The method of claim 2, further comprising two or more iterations of adjusting and recalculating, wherein the score of the third event is increased at each iteration so that the third event has the highest score among the set of events at the end of all iterations. The method of claim 1 , wherein the weight of a given event is stored together with a history that the given event was the actual cause of the data discrepancy.

5. The method of claim 1, further comprising, before taking said preventive measures: identifying a third event different from the second event as an actual cause of the data discrepancy; determining that the set of events does not include the third event; adding the third event to the set of events; adjusting the weight of each event in the set of events by a predetermined amount, wherein adjusting comprises increasing the weight of the third event; as well as The score is recalculated for each event in the set of events.

6. The method of claim 5, further comprising two or more iterations of adjusting and recalculating, wherein the score of the third event is increased at each iteration so that the third event has the highest score among the set of events at the end of all iterations.

7. The method of claim 1, further comprising: receiving an alert associated with the data discrepancy; In response to the alert, the first event associated with the data discrepancy is identified.

8. The method of claim 1, wherein the set of events associated with the first event includes one or more parent events of the first event, wherein the one or more parent events occur before the first event.

9. The method of claim 1, wherein the first event and the set of events form a dependency graph.

10. The method according to claim 9, further comprising: adding a new event to the dependency graph, wherein the new event is associated with a third event and a fourth event in the set of events, wherein the fourth event is a descendant of the third event; The new event is associated with the third event but not with the fourth event.

11. A computer, comprising: processor; as well as A computer readable medium comprising code which, when executed by the processor, causes the processor to: monitoring parameters associated with data collected in conjunction with processing computers; detecting data discrepancies among the data; identifying a first event associated with the data discrepancy; determining a set of events associated with the first event, wherein events in the set of events represent events that affect at least one of an amount of data processed by the processing computer or a processing speed, wherein the set of events includes one or more internal events internal to an organization and one or more external events external to the organization, the organization including the processing computer; calculating a score for each event in the set of events as a function of a weight assigned to each event in the set of events and an incidence score determined for each event in the set of events, wherein the weight assigned to each event in the set of events is a measure of probability that the event is a root cause of the data discrepancy; identifying a second event among the set of events as a cause of the data discrepancy, wherein the second event has a highest score among the set of events; taking preventive measures to prevent the data discrepancy in view of the identified cause of the data discrepancy, The occurrence score of the selected event is determined based on runtime characteristics of all child events and parent events of the selected event, wherein the selected event occurs before all child events of the selected event, and all parent events of the selected event occur before the selected event.

12. The computer of claim 11, wherein the code, when executed by the processor, further causes the processor to: Before taking the preventive measures described: identifying a third event different from the second event as an actual cause of the data discrepancy; determining that the set of events includes the third event; adjusting the weight of each event in the set of events by a predetermined amount, wherein adjusting comprises increasing the weight of the third event; and The score is recalculated for each event in the set of events.

13. The computer of claim 11, wherein the weight of a given event is stored together with a history that the given event was the actual cause of the data discrepancy.

14. The computer of claim 11, wherein the code, when executed by the processor, further causes the processor to: Before taking the preventive measures described: identifying a third event different from the second event as an actual cause of the data discrepancy; determining that the set of events does not include the third event; adding the third event to the set of events; adjusting the weight of each event in the set of events by a predetermined amount, wherein adjusting comprises increasing the weight of the third event; as well as The score is recalculated for each event in the set of events.

15. The computer of claim 11, wherein the code, when executed by the processor, further causes the processor to: receiving an alert associated with the data discrepancy; In response to the alert, the first event associated with the data discrepancy is identified.

16. The computer of claim 11, wherein the set of events associated with the first event includes one or more parent events of the first event, wherein the one or more parent events occur before the first event.

17. The computer of claim 11, wherein the first event and the set of events form a dependency graph.

18. The computer of claim 17, wherein the code, when executed by the processor, further causes the processor to: adding a new event to the dependency graph, wherein the new event is associated with a third event and a fourth event in the set of events, wherein the fourth event is a descendant of the third event; The new event is associated with the third event but not with the fourth event.

Citation Information

Patent Citations

  • Root cause problem identification through event correlation

    CN102129372A

  • Micro-blog-based real-time event monitoring method and system

    CN103955505A

  • Multivariate data-aware calculation engine and middleware data processing method thereof

    CN106294865A

  • System and method for determining a risk root cause

    US20130305356A1

  • System Event Analyzer and Outlier Visualization

    US20170070414A1