Dynamic web updates based on state
AssigneeAmazon Technologies, Inc.
InventorsAndrew Joseph Yates, Daniel I. R. Cordell, James M. Cook
Life of this patent
Estimating the term…
Abstract
Some examples provide for content updates based on the state of content described at least partially in a markup language and caused to be displayed in a browser window. A web application causes the content to be displayed and tracks state changes of the content caused by user interactions with the displayed content. The web application causes the display of updates to the content that are received responsive to requests sent based on the user interactions. The web application can exclude from display those updates that are associated with an outdated state of the content.
Claims19
One or more non-transitory computer-readable media storing computer-executable instructions executable by one or more processors to cause the one or more processors to:
- cause display of a dynamic web page within a browser window;
- receive data indicative of a user interaction with the dynamic web page;
- determine, from a type of the user interaction, that the user interaction changes a state of the dynamic web page from an old state to a new state;
- store the new state in a state file as a current state of the dynamic web page;
- send a request for first content from a remote source;
- associate the request for the first content with the current state in the state file;
- receive the first content from the remote source at a first time;
- receive second content from the remote source at a second time later than the first time;
- determine that the first content received from the remote source at the first time is associated with the request for the first content associated with the current state of the dynamic web page;
- determine that the second content received from the remote source at the second time is not associated with the request for the first content associated with the current state of the dynamic web page;
- update the dynamic web page with the first content;
- and
- refrain from updating the dynamic web page with the second content based on the determination that the second content is not associated with the request for the first content associated with the current state of the dynamic web page.
A method comprising:
- causing, by a computing system, display of content at least partially described by a markup language within a web view container of a native application;
- determining, by the computing system, a state change of the web view container from an old state to a new state caused at least partly by user interaction with the content, wherein the state change is determined to occur based on a type of the user interaction;
- storing, in a state file, the new state;
- determining a current state based at least in part on the new state;
- and
- causing, by the computing system, display of one or more updates to the content of the web view container that are received from a remote source, wherein the causing display includes causing display of a first update associated with the current state of the web view container and being received at a first time, and refraining from causing display of a second update received at a second time, later than the first time, the second update not associated with the current state of the web view container.
One or more non-transitory computer-readable media storing computer-executable instructions executable by one or more processors to cause the one or more processors to:
- receive data indicative of a plurality of user interactions with content, the content at least partially described by a markup language and displayed within a web view container of a native application;
- determine, from types of the plurality of user interactions, that at least one of the plurality of user interactions results in a change of the web view container from an old state to a current state;
- store a list of the plurality of user interactions in a state file;
- determine that a first update of a plurality of updates to the content that is received at a first time is associated with the current state of the web view container by determining that the first update is based at least partly on a first user interaction of the plurality of user interactions associated with the current state;
- determine that a second update of the plurality of updates to the content that is received at a second time, later than the first time, is associated with the old state of the web view container by determining that the second update is provided based at least partly on a second user interaction of the plurality of user interactions associated with the old state;
- and
- update the content with the first one of the plurality of updates.
Dependencies are inferred from the claim text.