# US 2021/0174219 A1 · Schema correspondence rule generation using machine learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174219 A1
- Document ID: US20210174219A1
- Status: Published application
- Kind: A1
- Application number: 16/705,132
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: PeerNova, Inc.
- Applicants: PeerNova, Inc.
- Inventors: Kartik Gupta
- Web page: https://patentgrep.com/patent/US20210174219A1

## CPC

- G06F 16/28: Databases characterised by their database models, e.g. relational or object models
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F 16/258: {Data format conversion from or to a database}
- G06F 16/285: {Clustering or classification}
- G06N 5/025: Extracting rules from data
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A schema matching system processes training event data received from multiple sources to determine correspondence rules associating fields in the schemas of each source. To generate the correspondence rules, the schema matching system can use training event data from multiple sources comprising events associated with multiple schemas. Then, based on one or more similarity metrics between data entries of the training event data, the system matches individual events using a machine learning algorithm and, based on the pairs of matching events, corresponding schema fields across the multiple schemas. Based on the matching events and/or user feedback, the schema matching system can generate one or more correspondence rules based on the normalization rules and the corresponding fields of the schemas for later use by one or more transaction monitoring systems on incoming event data.

## Claims

### Claim 1

A method comprising:
retrieving a first set of events associated with a first source, each event of the first set of events comprising a set of data entries organized in a first schema comprising a first set of fields;
retrieving a second set of events associated with a second source, each event of the second set of events comprising a set of data entries organized in a second schema comprising a second set of fields, the second set of fields distinct from the first set of fields; and
determining a correspondence between the first schema and the second schema by:
calculating a similarity metric for each of a plurality of data entry pairs, each data entry pair comprising a first data entry of an event of the first set of events and a second data entry of an event of the second set of events, the similarity metric for a data entry pair representing a difference between the first and second data entries of the data entry pair;
identifying, based on the calculated similarity metrics for the plurality of data entry pairs, a match between a first event of the first set of events and a second event of the second set of events, the match associating one or more data entries of the first event with one or more data entries of the second event; and
generating a correspondence rule based on the match, the correspondence rule defining a relationship between the a first field of the first set of fields and a second field of the second set of fields.

### Claim 2 (depends on 1)

The method of claim 1, wherein one or more events of the first set of events and one or more events of the second set of events are associated with a transaction processed at least in part by the first source and the second source.

### Claim 3 (depends on 1)

The method of claim 1, wherein the similarity metric for a data entry pair is a string distance between the first data entry and the second date entry of the data entry pair.

### Claim 4 (depends on 3)

The method of claim 3, wherein the string distance is a Jaro-Winkler string distance.

### Claim 5 (depends on 1)

The method of claim 1, wherein the similarity metric for a data entry pair is based on a phonetic similarity between the first data entry and the second date entry of the data entry pair.

### Claim 6 (depends on 1)

The method of claim 1, wherein identifying a match between a first event of the first set of events and a second event of the second set of events comprises:
applying a clustering algorithm to the first and second set of events based on the calculated similarity metrics.

### Claim 7 (depends on 1)

The method of claim 1, wherein the correspondence rule is a lineage rule which, when applied to an event, generates a link signature providing a record of the event in a standardized format.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining a correspondence between the first schema and the second schema further comprises receiving, from a user, user feedback confirming the match.

### Claim 9 (depends on 1)

The method of claim 1, wherein retrieving a first set of events associated with a first source comprises applying one or more normalization rules to the data entries of each event of the first set of events.

### Claim 10

A non-transitory computer readable storage medium comprising instructions which, when executed by a processor, cause the processor to perform the steps of:
retrieving a first set of events associated with a first source, each event of the first set of events comprising a set of data entries organized in a first schema comprising a first set of fields;
retrieving a second set of events associated with a second source, each event of the second set of events comprising a set of data entries organized in a second schema comprising a second set of fields, the second set of fields distinct from the first set of fields; and
determining a correspondence between the first schema and the second schema by:
calculating a similarity metric for each of a plurality of data entry pairs, each data entry pair comprising a first data entry of an event of the first set of events and a second data entry of an event of the second set of events, the similarity metric for a data entry pair representing a difference between the first and second data entries of the data entry pair;
identifying, based on the calculated similarity metrics for the plurality of data entry pairs, a match between a first event of the first set of events and a second event of the second set of events, the match associating one or more data entries of the first event with one or more data entries of the second event; and
generating a correspondence rule based on the match, the correspondence rule defining a relationship between the a first field of the first set of fields and a second field of the second set of fields.

### Claim 11 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein one or more events of the first set of events and one or more events of the second set of events are associated with a transaction processed at least in part by the first source and the second source.

### Claim 12 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein the similarity metric for a data entry pair is a string distance between the first data entry and the second date entry of the data entry pair.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the string distance is a Jaro-Winkler string distance.

### Claim 14 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein the similarity metric for a data entry pair is based on a phonetic similarity between the first data entry and the second date entry of the data entry pair.

### Claim 15 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein identifying a match between a first event of the first set of events and a second event of the second set of events comprises:
applying a clustering algorithm to the first and second set of events based on the calculated similarity metrics.

### Claim 16 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein the correspondence rule is a lineage rule which, when applied to an event, generates a link signature providing a record of the event in a standardized format.

### Claim 17 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein determining a correspondence between the first schema and the second schema further comprising receiving, from a user, user feedback confirming the match.

### Claim 18 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein retrieving a first set of events associated with a first source comprises applying one or more normalization rules to the data entries of each event of the first set of events.

### Claim 19

A system comprising:
a processor; and
a non-transitory computer readable storage medium comprising instructions which, when executed by the processor, cause the processor to perform the steps of:
retrieving a first set of events associated with a first source, each event of the first set of events comprising a set of data entries organized in a first schema comprising a first set of fields;
retrieving a second set of events associated with a second source, each event of the second set of events comprising a set of data entries organized in a second schema comprising a second set of fields, the second set of fields distinct from the first set of fields; and
determining a correspondence between the first schema and the second schema by:
calculating a similarity metric for each of a plurality of data entry pairs, each data entry pair comprising a first data entry of an event of the first set of events and a second data entry of an event of the second set of events, the similarity metric for a data entry pair representing a difference between the first and second data entries of the data entry pair;
identifying, based on the calculated similarity metrics for the plurality of data entry pairs, a match between a first event of the first set of events and a second event of the second set of events, the match associating one or more data entries of the first event with one or more data entries of the second event; and
generating a correspondence rule based on the match, the correspondence rule defining a relationship between the a first field of the first set of fields and a second field of the second set of fields.

### Claim 20 (depends on 19)

The system of claim 19, wherein one or more events of the first set of events and one or more events of the second set of events are associated with a transaction processed at least in part by the first source and the second source.
