# US 2017/0293629 A1 · Merging multiple groups of records containing duplicates

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

- Number: US 2017/0293629 A1
- Document ID: US20170293629A1
- Status: Published application
- Kind: A1
- Application number: 15/094,232
- Filed: 2016-04-08
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Dai Duong DOAN; Chenghung KER; Parth VAISHNAV; Danil DVINOV
- Web page: https://patentgrep.com/patent/US20170293629A1

## CPC

- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24556: {Aggregation; Duplicate elimination}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The method includes generating a first graphical representation of a first group of records, including a root node associated with a first representative record of a duplicate record in the first group, the first graphical representation associated with a rank corresponding to a height of the first graphical representation. The method further includes forming a map to reflect the first graphical representation and first representative record. A second graphical representation of a second group of records is generated including a root node associated with a second representative record in the second group. The method compares each of the records in the second group of records with the map to determine if there is a sharing of a duplicate record in the second group with the first group. The first and second graphical representations are merged based on the second group of records sharing a duplicate record with the first group.

## Claims

### Claim 1

A computer-implemented method for merging multiple groups of records using graphical representation, the method comprising:
generating, by a database system, a first graphical representation of a first group of records, the first graphical representation including a root node associated with a duplicate record in the first group and identified as a first representative record, the first graphical representation associated with a rank corresponding to a height of the first graphical representation;
forming, by the database system, a map to reflect the first graphical representation including the first representative record;
generating, by the database system, a second graphical representation of a second group of records, the second graphical representation including a root node associated with a duplicate record in the second group and identified as a second representative record;
comparing, by the database system, each of the records in the second group of records with the map to determine if there is a sharing of a duplicate record in the second group of records with the first group of records; and
merging, by the database system, the second graphical representation with the first graphical representation based on the second group of records sharing the duplicate record with the first group of records.

### Claim 2 (depends on 1)

The method of claim 1, further comprising updating, by the database system, the map to reflect the merging of the second graphical representation with the first graphical representation.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second graphical representation is associated with a non-root node of the first graphical representation.

### Claim 4 (depends on 3)

The method of claim 3, further comprising finding, by the database system, the first representative record based on the merging.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first representative record, instead of the second representative record, is identified as a representative record of the duplicate records in the second group of records based on the merging.

### Claim 6 (depends on 5)

The method of claim 5, wherein the updating the map comprises pairing each of the duplicate records in the first group and in the second group of records with the first representative record.

### Claim 7 (depends on 6)

The method of claim 6, further comprising updating, by the database system, the rank of the first graphical representation to reflect a change to the height of the first graphical representation based on the merging.

### Claim 8 (depends on 1)

The method of claim 1, further comprising updating, by the database system, the map to reflect the second graphical representation and the first graphical representation based on the second group of records sharing no duplicate record with the first group of records.

### Claim 9 (depends on 8)

The method of claim 8, wherein the updating the map comprises pairing each of the duplicate records in the first group with the first representative record and paring each of the duplicate records in the second group of records with the second representative record.

### Claim 10

An apparatus for identifying duplicate records in a database object, the apparatus comprising:
one or more processors; and
a non-transitory computer readable medium storing a plurality of instructions, which when executed, cause the one or more processors to:
generate a first graphical representation of a first group of records, the first graphical representation including a root node associated with a duplicate record in the first group and identified as a first representative record, the first graphical representation associated with a rank corresponding to a height of the first graphical representation;
form a map to reflect the first graphical representation including the first representative record;
generate a second graphical representation of a second group of records, the second graphical representation including a root node associated with a duplicate record in the second group and identified as a second representative record;
compare each of the duplicate records in the second group of records with the map to determine if there is a sharing of a duplicate record in the second group of records with the first group of records; and
merge the second graphical representation with the first graphical representation based on the second group of records sharing a duplicate record with the first group of records.

### Claim 11 (depends on 10)

The apparatus of claim 10, further comprising updating the map to reflect the merging of the second graphical representation with the first graphical representation.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the second graphical representation is associated with a non-root node of the first graphical representation based on the merging.

### Claim 13 (depends on 12)

The apparatus of claim 12, further comprising finding the first representative record based on the merging, wherein the first representative record, instead of the second representative record, is identified as a representative record of the duplicate records in the second group of records based on the merging.

### Claim 14 (depends on 13)

The apparatus of claim 13, further comprising updating the rank of the first graphical representation to reflect a change to the height of the first graphical representation based on the merging, wherein the updating the map comprises pairing each of the duplicate records in the first group and in the second group of records with the first representative record.

### Claim 15 (depends on 10)

The apparatus of claim 10, further comprising updating the map to reflect the second graphical representation and the first graphical representation based on the second group of records sharing no duplicate record with the first group of records, wherein the updating the map comprises pairing each of the duplicate records in the first group with the first representative record and paring each of the duplicate records in the second group of records with the second representative record.

### Claim 16

A computer program product comprising computer-readable program code to be executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code including instructions to:
generate a first graphical representation of a first group of records, the first graphical representation including a root node associated with a duplicate record in the first group and identified as a first representative record, the first graphical representation associated with a rank corresponding to a height of the first graphical representation;
form a map to reflect the first graphical representation including the first representative record;
generate a second graphical representation of a second group of records, the second graphical representation including a root node associated with a duplicate record in the second group and identified as a second representative record;
compare each of the duplicate records in the second group of records with the map to determine if there is a sharing of a duplicate record in the second group of records with the first group of records; and
merge the second graphical representation with the first graphical representation based on the second group of records sharing a duplicated record with the first group of records.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising:
updating the map to reflect the merging of the second graphical representation with the first graphical representation, wherein the second graphical representation is associated with a non-root node of the first graphical representation.

### Claim 18 (depends on 17)

The computer program product of claim 17, further comprising:
finding the first representative record based on the merging, wherein the first representative record, instead of the second representative record, is identified as a representative record of the duplicate records in the second group of records based on the merging; and
updating the rank of the first graphical representation based on the merging, wherein the updating the map comprises pairing each of the duplicate records in the first group and in the second group of records with the first representative record.

### Claim 19 (depends on 16)

The computer program product of claim 16, further comprising updating the map to reflect the second graphical representation and the first graphical representation based on the second group of records sharing no duplicate record with the first group of records.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the updating the map comprises pairing each of the duplicate records in the first group with the first representative record and paring each of the duplicate records in the second group of records with the second representative record.
