System and method for synchronization of actions in the background of an application
First Claim
Patent Images
1. A method comprising:
- registering, with a background page script executing on a device, a plurality of webpages associated with an application executing on the device, wherein registering each of the plurality of webpages is in response to opening respective webpages;
caching an action generated by one of the plurality of webpages in a database;
deregistering, with the background page script, the one of the plurality of webpages in response to closing the one of the plurality of webpages; and
in response to a determination that the device is in an online state and that the one of the plurality of webpages is deregistered;
retrieving, by the background page script, the action from the database; and
transmitting, by the background page script, the action.
2 Assignments
0 Petitions
Accused Products
Abstract
A background page script is executing on a device. A plurality of webpages are executing on the device. The plurality of webpages register with the background page script. An action generated by one of the plurality of webpages is cached in a database. In response to a determination that the device is in an online state and that the one of the plurality of webpages is no longer registered, the background page script retrieves the action from the database and transmits the action.
11 Citations
20 Claims
-
1. A method comprising:
-
registering, with a background page script executing on a device, a plurality of webpages associated with an application executing on the device, wherein registering each of the plurality of webpages is in response to opening respective webpages; caching an action generated by one of the plurality of webpages in a database; deregistering, with the background page script, the one of the plurality of webpages in response to closing the one of the plurality of webpages; and in response to a determination that the device is in an online state and that the one of the plurality of webpages is deregistered; retrieving, by the background page script, the action from the database; and transmitting, by the background page script, the action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer readable medium storing computer program instructions, which, when executed on a processor, cause the processor to perform a method comprising:
-
registering, with a background page script executing on a device, a plurality of webpages associated with an application executing on the device, wherein registering each of the plurality of webpages is in response to opening respective webpages; caching a action generated by one of the plurality of webpages in a database; deregistering, with the background page script, the one of the plurality of webpages in response to closing the one of the plurality of webpages; and in response to a determination that the device is in an online state and that the one of the plurality of webpages is deregistered; retrieving, by the background page script, the action from the database; and transmitting, by the background page script, the action. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A method comprising:
-
accessing, by a device, an application via an Internet; executing, by the device, a background page script associated with the application; registering, in a background page, a first webpage associated with the application in response to opening the first webpage; registering, in the background page, a second webpage associated with the application in response to opening the second webpage; storing in a database a first action generated by the first webpage and a second action generated by the second webpage, while the device is in an offline state; determining that the first webpage is closed; determining that the second webpage is closed; deregistering, from the background page, the first webpage in response to the determining that the first webpage is closed; deregistering, from the background page, the second webpage in response to the determining that the second webpage is closed; retrieving, by the background page script, from the database, the first action and the second action; and transmitting the first action and the second action to a server via the Internet. - View Dependent Claims (18, 19, 20)
-
Specification