# US 2023/0055677 A1 · Systems and methods for data linkage and entity resolution of continuous and un-synchronized data streams

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

- Number: US 2023/0055677 A1
- Document ID: US20230055677A1
- Status: Published application
- Kind: A1
- Application number: 17/463,989
- Filed: 2021-09-01
- Published: 2023-02-23
- Earliest claimed: 2021-08-17
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Pakshal Kumar H Dhelaria; Ambarish Kumar; Saifulla Shaik; Aikaterini Kalou
- Web page: https://patentgrep.com/patent/US20230055677A1

## CPC

- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- H04L 41/0233: Object-oriented techniques, for representation of network management data, e.g. common object request broker architecture [CORBA]
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- H04L 41/14: Network analysis or design
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/2866: Architectures; Arrangements
- H04L 67/562: Brokering proxy services
- G06F 2201/86: Event-based monitoring
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure is directed to a scalable, extensible, fault-tolerant system for stateful joining of two or more streams that are not fully synchronized, event ordering is not guaranteed, and certain events arrive a bit late. The system can ensure to combine the events or link the data in near real-time with low latency to mitigate impacts on downstream applications, such as ML models for determining suspicious behavior. Apart from combining events, the system can ensure to propagate the needed entities to other product streams or help in entity resolution. If any of the needed data is yet to arrive, a user can configure a few parameters to achieve desired eventual and attribute consistency. The architecture is designed to be agnostic of stream processing framework and can work well with both streaming and batch paths.

## Claims

### Claim 1

A method comprising:
creating, by one or more processors, responsive to processing a first event from a first stream of a plurality of streams, an object including first data from the first event for merging the first data with second data from a second event of a second stream of the plurality of streams;
routing, by the one or more processors, the first event to a retry stream to reprocess the first event responsive to determining that the object does not include the second data from the second event and a number of times the first event has been routed to the retry stream does not satisfy a threshold; and
transmitting, by the one or more processors, i) the first data and the second data included in the object responsive to processing the second event to update the object to include the second data or ii) the first data included in the object responsive to determining that the object does not include the second data from the second event and the number of times the first event has been routed to the retry stream satisfies the threshold.

### Claim 2 (depends on 1)

The method of claim 1, further comprising subscribing, by the one or more processors, to the first stream, the second stream, and the retry stream.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, that the object does not include the second data and the number of times the first event has been routed to the retry stream does not satisfy the threshold;
updating, by the one or more processors, a count indicating the number of times the first event has been routed to the retry stream; and
wherein routing the first event comprises passing, by the one or more processors, the first event to a message broker corresponding to the retry stream.

### Claim 4 (depends on 1)

The method of claim 1, wherein creating the object comprises:
identifying, by the one or more processors, one or more attributes from the first event; and
storing, by the one or more processors, as the first data, the one or more attributes in the object.

### Claim 5 (depends on 4)

The method of claim 4, wherein creating the object for the first event comprises creating the object for the first event responsive to determining that an identifier of the first event does not match an identifier of any object stored by the one or more processors.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, by the one or more processors, the second event from the second stream;
determining, by the one or more processors, an identifier from the second event;
determining, by the one or more processors, that the identifier from the second event matches an identifier of the object; and
storing, by the one or more processors, as the second data, one or more attributes from the second event in the object.

### Claim 7 (depends on 6)

The method of claim 6, further comprising dropping, by the one or more processors, the first event responsive to transmitting either the first data stored in the object or the first data and the second data stored in the object.

### Claim 8 (depends on 1)

The method of claim 1, further comprising assigning a flag to the object indicating that the data is to be transmitted responsive to i) determining that the object does not include the second data and the number of times the first event has been routed to the retry stream satisfies the threshold or ii) determining that the object includes the second data.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
generating, by the one or more processors, responsive to determining that the object includes the second data, a third event comprising one or more attributes from the first event and the second event, and wherein transmitting the data comprises transmitting the third event; or
generating, by the one or more processors, responsive to determining that the object does not include the second data and the number of times the first event was routed to the retry stream satisfies the threshold, a fourth event comprising one or more attributes from the first event; and
wherein transmitting the data included in the object comprises transmitting the third event or the fourth event.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
updating, by the one or more processors, responsive to creating the object including the first data of the first event, the object with a first flag indicating that the first event from the first stream has been received; and
updating, by the one or more processors, responsive to updating the object to include the second data of the second event, the object with a second flag indicating that the second event from the second stream has been received.

### Claim 11

A system comprising:
one or more processors configured to:
create, responsive to receiving a first event from a first stream of a plurality of streams, an object including first data from the first event for merging the first data with second data from a second event of a second stream of the plurality of streams;
route the first event to a retry stream to reprocess the first event responsive to determining that the object does not include the second data from the second event and a number of times the first event has been routed to the retry stream does not satisfy a threshold; and
transmit i) the first data and the second data included in the object responsive to processing the second event to update the object to include the second data or ii) the first data included in the object responsive to determining that the object does not include the second data from the second event and the number of times the first event has been routed to the retry stream satisfies the threshold.

### Claim 12 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
determine that the object does not include the second data and the number of times the first event has been routed to the retry stream does not satisfy the threshold;
update a count indicating the number of times the first event has been routed to the retry stream; and
wherein to route the first event, the one or more processors are configured to pass the first event to a message broker corresponding to the retry stream.

### Claim 13 (depends on 11)

The system of claim 11, wherein to create the object, the one or more processors are further configured to:
identify one or more attributes from the first event; and
store, as the first data, the one or more attributes in the object.

### Claim 14 (depends on 11)

The system of claim 11, wherein to create the object for the first event, the one or more processors are configured to create the object for the first event responsive to determining that an identifier of the first event does not match an identifier of any object stored by the one or more processors.

### Claim 15 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
receive the second event from the second stream;
determine an identifier from the second event;
determine that the identifier from the second event matches an identifier of the object; and
store, as the second data, one or more attributes from the second event in the object.

### Claim 16 (depends on 16)

The system of claim 16, wherein the one or more processors are further configured to drop the first event responsive to transmitting either the first data stored in the object or the first data and the second data stored in the object.

### Claim 17 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to assign a flag to the object indicating that the data included in the object is to be transmitted responsive to i) determining that the object does not include the second data and the number of times the first event has been routed to the retry stream satisfies the threshold or ii) determining that the object includes the second data.

### Claim 18 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
generate, responsive to determining that the object includes the second data, a third event comprising one or more attributes from the first event and the second event, and wherein transmitting the data comprises transmitting the third event; or
generate, responsive to determining that the object does not include the second data and the number of times the first event was routed to the retry stream satisfies the threshold, a fourth event comprising one or more attributes from the first event; and
wherein to transmit the data included in the object, the one or more processors are further configured to transmit the third event or the fourth event.

### Claim 19 (depends on 11)

The system of claim 11, wherein the one or more processors are further configured to:
update, responsive to creating the object using attributes of the first event, the object with a first flag indicating that the first event from the first stream has been received; and
update, responsive to updating the object using attributes of the second event, the object with a second flag indicating that the second event from the retry stream has been received.

### Claim 20

A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
create, responsive to receiving a first event from a first stream of a plurality of streams, an object including first data from the first event for merging the first data with second data from a second event of a second stream of the plurality of streams;
route the first event to a retry stream to reprocess the first event responsive to determining that the object does not include the second data from the second event and a number of times the first event has been routed to the retry stream does not satisfy a threshold; and
transmit i) the first data and the second data included in the object responsive to processing the second event to update the object to include the second data or ii) the first data included in the object responsive to determining that the object does not include the second data from the second event and the number of times the first event has been routed to the retry stream satisfies the threshold.
