# US 2021/0289045 A1 · Offline client replay and sync

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

- Number: US 2021/0289045 A1
- Document ID: US20210289045A1
- Status: Published application
- Kind: A1
- Application number: 17/337,072
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2018-10-01
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Blake Sullivan; Kentaro Kinebuchi; Jing Wu; Min Lu; Andrew Schwartz; Max Starets
- Web page: https://patentgrep.com/patent/US20210289045A1

## CPC

- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/025: for remote control or remote monitoring of applications
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/142: Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
- H04L 67/54: Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
- H04L 67/5683: Storage of data provided by user terminals, i.e. reverse caching
- H04L 67/59: Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example system and method facilitates operation of a networked software application that communicates with a network resource during periods of intermittent network connectivity and includes determining when a networked software application is offline and when it is online; selectively intercepting one or more request messages from the networked software application addressed to a network resource when the software application is offline, resulting in a store of intercepted request messages; detecting when the networked software application transitions from being offline to being online; and selectively issuing the one or more request messages to the network resource in a sequence in which the one or more request messages were stored in the store of intercepted request messages. In a more specific embodiment, the system is implemented via an offline toolkit for capturing REpresentational State Transfer (REST) calls when the networked software application (client) is offline; then selectively replaying the calls when the client reconnects, i.e., goes online.

## Claims

### Claim 1

A non-transitory tangible processor-readable medium including instructions executable by one or more processors, and when executed operable for:
selectively intercepting request messages from a networked software application addressed to a network resource when the networked software application is offline, resulting in intercepted request messages in a storage;
providing a synchronization log having log entries for each intercepted request messages;
when the networked software application transitions from being offline to being online, issuing a log-retrieval signal to the storage to retrieve all of the log entries to provide the request messages to the network resource;
receiving request message responses from the network resource for corresponding intercepted request messages; and
in response to receiving the request message responses, removing the log entries corresponding to the intercepted request messages from the synchronization log.

### Claim 2 (depends on 1)

The tangible processor-readable medium of claim 1, wherein providing of the request messages to the network resource is in a sequence in which the request messages were stored in the storage.

### Claim 3 (depends on 1)

The tangible processor-readable medium of claim 1, wherein the network resource includes a REpresentational State Transfer (REST) service, the networked software application is a REST client of the REST service, and the request messages are REST calls.

### Claim 4 (depends on 3)

The tangible processor-readable medium of claim 3, wherein the REST calls are generated by:
a client device that includes the networked software application, receiving client input to a user interface implemented via HyperText Transfer Protocol (HTTP) and JavaScript associated with a website, and
webpage code generating one or more events that trigger JavaScript calls that are routed through an interfacing software and converted into the associated REST calls.

### Claim 5 (depends on 4)

The tangible processor-readable medium of claim 4, wherein the interfacing software includes an Asynchronous JavaScript and XML (AJAX) engine.

### Claim 6 (depends on 1)

The tangible processor-readable medium of claim 1, further comprising:
receiving a confirmation signal from the storage indicating the removal of the log entries.

### Claim 7 (depends on 1)

The tangible processor-readable medium of claim 1, wherein the instructions executable by one or more processors are further operable for:
detecting a synchronization signal that may be generated when the networked software application has transitioned to from offline to online; and
in response to the detecting, synchronizing remotely stored data of a server with local storage, at least in part, by the providing of the request messages to the network resource.

### Claim 8

A method for facilitating operation of a networked software application that communicates with a network resource during periods of intermittent network connectivity, the method comprising:
selectively intercepting request messages from a networked software application addressed to a network resource when the networked software application is offline, resulting in intercepted request messages in a storage;
providing a synchronization log having log entries for each intercepted request messages;
when the networked software application transitions from being offline to being online, issuing a log-retrieval signal to the storage to retrieve all of the log entries to provide the request messages to the network resource;
receiving request message responses from the network resource for corresponding intercepted request messages; and
in response to receiving the request message responses, removing the log entries corresponding to the intercepted request messages from the synchronization log.

### Claim 9 (depends on 8)

The method of claim 8, wherein providing of the request messages to the network resource is in a sequence in which the request messages were stored in the storage.

### Claim 10 (depends on 8)

The method of claim 8, wherein the network resource includes a REpresentational State Transfer (REST) service, the networked software application is a REST client of the REST service, and the request messages are REST calls.

### Claim 11 (depends on 10)

The method of claim 10, wherein the REST calls are generated by:
a client device that includes the networked software application, receiving client input to a user interface implemented via HyperText Transfer Protocol (HTTP) and JavaScript associated with a website, and
webpage code generating one or more events that trigger JavaScript calls that are routed through an interfacing software and converted into the associated REST calls.

### Claim 12 (depends on 11)

The method of claim 11, wherein the interfacing software includes an Asynchronous JavaScript and XML (AJAX) engine.

### Claim 13 (depends on 8)

The method of claim 8, wherein the instructions executable by one or more processors are further operable for:
receiving a confirmation signal from the storage indicating the removal of the log entries.

### Claim 14 (depends on 8)

The method of claim 8, wherein the instructions executable by one or more processors are further operable for:
detecting a synchronization signal that may be generated when the networked software application has transitioned to from offline to online; and
in response to the detecting, synchronizing remotely stored data of a server with local storage, at least in part, by the providing of the request messages to the network resource.

### Claim 15

An apparatus comprising:
one or more processors; and
logic encoded in one or more tangible media for execution by the one or more processors and when executed operable for:
selectively intercepting request messages from a networked software application addressed to a network resource when the networked software application is offline, resulting in intercepted request messages in a storage;
providing a synchronization log having log entries for each intercepted request messages;
when the networked software application transitions from being offline to being online, issuing a log-retrieval signal to the storage to retrieve all of the log entries to provide the request messages to the network resource;
receiving request message responses from the network resource for corresponding intercepted request messages; and
in response to receiving the request message responses, removing the log entries corresponding to the intercepted request messages from the synchronization log.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein providing of the request messages to the network resource is in a sequence in which the request messages were stored in the storage.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the network resource includes a REpresentational State Transfer (REST) service, the networked software application is a REST client of the REST service, and the request messages are REST calls.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the REST calls are generated by:
a client device that includes the networked software application, receiving client input to a user interface implemented via HyperText Transfer Protocol (HTTP) and JavaScript associated with a website, and
webpage code generating one or more events that trigger JavaScript calls that are routed through an interfacing software and converted into the associated REST calls.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the interfacing software includes an Asynchronous JavaScript and XML (AJAX) engine.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein the logic, when executed, is further operable for:
receiving a confirmation signal from the storage indicating the removal of the log entries.
