System for offline object based storage and mocking of rest responses

US2021081263A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2021081263-A1
Application numberUS-202017103727-A
CountryUS
Kind codeA1
Filing dateNov 24, 2020
Priority dateOct 4, 2018
Publication dateMar 18, 2021
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An example system and method facilitates operation of a networked software application, i.e., client application which communicates with a network resource (e.g., web service) during periods of intermittent network connectivity, by selectively intercepting and shredding and/or unshredding service response messages. In a specific embodiment, the example system includes one or more pluggable shredders and unshredders that are used to explode a complex REpresentational State Transfer (REST) payload into its constituent structured primitive objects for ease of consumption by the User Interface (UI) of the client application. The exploded, i.e., shredded response message payloads are stored in local cache, where the cached data is strategically structured as compared to the received REST payload. One or more unshredders selectively reconstruct one or more REST response message payloads if client reissues the corresponding REST request message while offline. Accordingly, the client need not alter its activities based on whether the client is online or offline. Instead the client may operate as if it is always online, and the system will provide one or more mock responses containing the last known data set for the scenario wherein the server cannot be reached, i.e., when the client is offline.

First claim

Opening claim text (preview).

We claim: 1 . A non-transitory computer-readable storage medium carrying program instructions thereon, the instructions when executed by one or more processors cause the one or more processors to perform operations comprising: intercepting a first message response from a network resource in response to a first message of a client device, the first message response including retrieved data pertaining to an object; shredding the first message response by parsing the first message response into a predetermined structured format, resulting in a shredded version of the retrieved data; storing the shredded version of the retrieved data on the client device in a local cache; receiving a second message from the client device, wherein the second message pertains to the retrieved data of the object; and when a communication link between the client device and the network resource is in an-offline status, generating a mock response message via the shredded version of the retrieved data, the mock response message appearing as though it is a second message response from the network resource. 2 . The computer-readable storage medium of claim 1 , wherein one or more query parameters of the second message are used to query the local cache. 3 . The computer-readable storage medium of claim 1 , wherein the predetermined structured format corresponds to an organization of structured primitive objects of a payload of the first message response. 4 . The computer-readable storage medium of claim 1 , wherein the operations further comprise: determining a match between the second message and the stored shredded version of the retrieved data, wherein generating the mock response message is based, at least in part, on the match. 5 . The computer-readable storage medium of claim 1 , wherein the network resource includes a REpresentational State Transfer (REST) Application Programming Interface (API) or service and the first message response includes a REST message. 6 . The computer-readable storage medium of claim 5 , wherein the first message includes a REST message requesting to create, retrieve, update, or delete data of a computing object. 7 . The computer-readable storage medium of claim 1 , wherein generating the mock response message includes unshredding the predetermined structured format into a format consistent with the first message response. 8 . A method for facilitating operation of a client software application in a networked computing environment, the method comprising: intercepting a first message response from a network resource in response to a first message of a client device, the first message response including retrieved data pertaining to an object; shredding the first message response by parsing the first message response into a predetermined structured format, resulting in a shredded version of the retrieved data; storing the shredded version of the retrieved data on the client device in a local cache; receiving a second message from the client device, wherein the second message pertains to the retrieved data of the object; and when a communication link between the client device and the network resource is in an-offline status, generating a mock response message via the shredded version of the retrieved data, the mock response message appearing as though it is a second message response from the network resource. 9 . The method of claim 8 , wherein one or more query parameters of the second message are used to query the local cache. 10 . The method of claim 8 , further comprising: the predetermined structured format corresponds to an organization of structured primitive objects of a payload of the first message response. 11 . The method of claim 8 , further comprising: determining a match between the second message and the stored shredded version of the retrieved data, wherein generating the mock response message is based, at least in part, on the match. 12 . The method of claim 8 , wherein the network resource includes a REpresentational State Transfer (REST) Application Programming Interface (API) or service and the first message response includes a REST message. 13 . The method of claim 12 , wherein wherein the first message includes a REST message requesting to create, retrieve, update, or delete data of a computing object. 14 . The method of claim 8 , wherein generating the mock response message includes unshredding the predetermined structured format into a format consistent with the first message response. 15 . An apparatus comprising: one or more processors; and logic encoded in one or more non-transitory computer-readable storage media for execution by the one or more processors and when executed operable to perform operations comprising: intercepting a first message response from a network resource in response to a first message of a client device, the first message response including retrieved data pertaining to an object; shredding the first message response by parsing the first message response into a predetermined structured format, resulting in a shredded version of the retrieved data; storing the shredded version of the retrieved data on the client device in a local cache; receiving a second message from the client device, wherein the second message pertains to the retrieved data of the object; and when a communication link between the client device and the network resource is in an-offline status, generating a mock response message via the shredded version of the retrieved data, the mock response message appearing as though it is a second message response from the network resource. 16 . The apparatus of claim 15 , wherein one or more query parameters of the second message are used to query the local cache. 17 . The apparatus of claim 15 , wherein the predetermined structured format corresponds to an organization of structured primitive objects of a payload of the first message response. 18 . The apparatus of claim 17 , wherein the operations further comprise: determining a match between the second message and the stored shredded version of the retrieved data, wherein generating the mock response message is based, at least in part, on the match. 19 . The apparatus of claim 15 , wherein the network resource includes a REpresentational State Transfer (REST) Application Programming Interface (API) or service and the first message response includes a REST message. 20 . The apparatus of claim 15 , wherein wherein generating the mock response message includes unshredding the predetermined structured format into a format consistent with the first message response.

Assignees

Inventors

Classifications

  • Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users · CPC title

  • Storing data temporarily at an intermediate stage, e.g. caching · CPC title

  • Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34) · CPC title

  • Event management; Broadcasting; Multicasting; Notifications · CPC title

  • where the computing system component is a software system · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2021081263A1 cover?
An example system and method facilitates operation of a networked software application, i.e., client application which communicates with a network resource (e.g., web service) during periods of intermittent network connectivity, by selectively intercepting and shredding and/or unshredding service response messages. In a specific embodiment, the example system includes one or more pluggable shre…
Who is the assignee on this patent?
Oracle Int Corp
What technology area does this patent fall under?
Primary CPC classification H04L67/02. Mapped technology areas include Electricity.
When was this patent published?
Publication date Thu Mar 18 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).