# US 2021/0286609 A1 · Windowed writes

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

- Number: US 2021/0286609 A1
- Document ID: US20210286609A1
- Status: Published application
- Kind: A1
- Application number: 16/814,064
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: David Andrew Killian; Bradley Baron; Benjamin Ralph Hollis; Amit Saurav; James Daniel Baird; Zubair Khan; Spoorthi Ravi
- Web page: https://patentgrep.com/patent/US20210286609A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 16/2322: {using timestamps}
- G06F 16/24556: {Aggregation; Duplicate elimination}
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- H04N 21/8547: involving timestamps for synchronizing content
- H04L 51/52: for supporting social networking services
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems and methods are provided for synchronizing data. The systems and methods include operations for: storing a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source; receiving a second update to the content of the messaging application feature from the first source; determining that the second update was received within a write window of the last update timestamp; in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.

## Claims

### Claim 1

A method comprising:
storing, by one or more processors of a computing device, a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source;
receiving a second update to the content of the messaging application feature from the first source;
determining that the second update was received within a write window of the last update timestamp, the write window having a predefined length;
in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and
sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving the synchronization request from the client device; and
computing a synchronization time of the messaging application feature based on the synchronization request and the write window.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining that the last update timestamp of the synchronization entry is greater the synchronization time; and
retrieving the first update and the second update to the content of the messaging application feature from the first source in response to determining that the last update timestamp of the synchronization entry is greater the last synchronization time.

### Claim 4 (depends on 2)

The method of claim 2, wherein the synchronization time is computed by subtracting the write window from a last synchronization timestamp indicating a last time the client device was synchronized.

### Claim 5 (depends on 2)

The method of claim 2, wherein the synchronization time is computed by subtracting a synchronization window from a last synchronization timestamp indicating a last time the client device was synchronized, wherein the synchronization window is larger than the write window.

### Claim 6 (depends on 4)

The method of claim 4, further comprising retrieving content of the messaging application feature that is associated with an update timestamp that follows the synchronization time.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first source is a first user, and wherein the client device is associated with a second user.

### Claim 8 (depends on 1)

The method of claim 1, wherein the messaging application feature comprises at least one of a single chat messaging feature, a group messaging feature, a content sharing feature, profile information feature, or a comment feature.

### Claim 9 (depends on 8)

The method of claim 8, wherein the single chat messaging feature is associated with a first write window that is shorter than a second write window associated with the group messaging feature.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving a third update to the content of the messaging application feature from the first source;
determining that the third update was received after the write window measured from the last update timestamp; and
in response to determining that the third update was received after the write window, updating the last update timestamp with a current timestamp.

### Claim 11 (depends on 1)

The method of claim 1, wherein determining that the second update was received within a write window of the last update timestamp comprises:
retrieving the last update timestamp from the synchronization entry, associated with the first source;
retrieving the write window associated with the messaging application feature;
obtaining a current timestamp of the second update;
computing a difference between the last update timestamp and the current timestamp;
comparing the difference to the write window; and
determining that the difference is less than the write window.

### Claim 12 (depends on 1)

The method of claim 1, wherein the synchronization entry maintains a last update timestamp for each source associated with the messaging application feature.

### Claim 13 (depends on 1)

The method of claim 1, wherein a size of the write window corresponds to a number of write and read messages a given update to the messaging application feature generates, wherein a first write window having a first size generates a first frequency of read messages, and wherein a second write window having a second size, smaller than the first size, generates a second frequency of read messages, and wherein the second frequency is lower than the first frequency.

### Claim 14 (depends on 1)

The method of claim 1, wherein the last update timestamp is a first last update timestamp associated with the first source, further comprising:
receiving a third update to the content of the messaging application feature from a second source;
retrieving a second last update timestamp for the second source;
determining that the third update was received after the write window measured from the second last update timestamp; and
in response to determining that the third update was received after the write window, updating the second last update timestamp with a current timestamp

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
storing the synchronization entry in a table of synchronization entries, each synchronization entry in the table comprises a row in the table; and
retrieving the synchronization entry from a corresponding row in the table to obtain the last update timestamp.

### Claim 16 (depends on 1)

The method of claim 1, further comprising in response to receiving the synchronization request from the client device, providing, to the client device, data corresponding to the messaging application feature from a time earlier than a last time the client device was synchronized.

### Claim 17 (depends on 16)

The method of claim 16, wherein the last time the client device was synchronized is received in a token provided by the client device.

### Claim 18 (depends on 16)

The method of claim 16, further comprising deleting duplicate content from the messaging application feature in response to receiving the data.

### Claim 19

A system comprising:
one or more processors of a computing device; and
a memory storing instructions that, when executed by the one or more processors, configure the one or more processors to perform operations comprising:
storing a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source;
receiving a second update to the content of the messaging application feature from the first source;
determining that the second update was received within a write window of the last update timestamp, the write window having a predefined length;
in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and
sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.

### Claim 20

A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by one or more processors of a computing device, cause the one or more processors to perform operations comprising:
storing a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source;
receiving a second update to the content of the messaging application feature from the first source;
determining that the second update was received within a write window of the last update timestamp, the write window having a predefined length;
in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and
sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.
