System and method for synchronization of actions in the background of an application
First Claim
Patent Images
1. A method comprising:
- at a client device having one or more processors and memory storing one or more programs for execution by the one or more processors;
detecting that an instance of a web-based messaging application has been opened;
registering the instance of the web-based messaging application with a background application running on the client device;
receiving an action pertaining to an electronic message, wherein at least some information about the electronic message is stored locally on the client device;
in accordance with a determination that the client device is in an off-line state, caching the received action pertaining to the electronic message; and
responsive to a determination that the client device has transitioned from the off-line state to an on-line state at a time when the background application does not include any registered instances of the web-based messaging application, transmitting the cached action pertaining to the electronic message.
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.
13 Citations
20 Claims
-
1. A method comprising:
at a client device having one or more processors and memory storing one or more programs for execution by the one or more processors; detecting that an instance of a web-based messaging application has been opened; registering the instance of the web-based messaging application with a background application running on the client device; receiving an action pertaining to an electronic message, wherein at least some information about the electronic message is stored locally on the client device; in accordance with a determination that the client device is in an off-line state, caching the received action pertaining to the electronic message; and responsive to a determination that the client device has transitioned from the off-line state to an on-line state at a time when the background application does not include any registered instances of the web-based messaging application, transmitting the cached action pertaining to the electronic message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
10. A non-transitory computer readable storage medium storing computer program instructions, which, when executed on a client device with a processor, cause the processor to perform operations comprising:
-
detecting that an instance of a web-based messaging application has been opened; registering the instance of the web-based messaging application with a background application running on the client device; receiving an action pertaining to an electronic message, wherein at least some information about the electronic message is stored locally on the client device; in accordance with a determination that the client device is in an off-line state, caching the received action pertaining to the electronic message; and responsive to a determination that the client device has transitioned from the off-line state to an on-line state at a time when the background application does not include any registered instances of the web-based messaging application, transmitting the cached action pertaining to the electronic message. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A client device comprising:
-
a processor; and memory storing one or more computer programs, the computer program including instructions that when executed on the processor cause the processor to perform operations comprising; detecting that an instance of a web-based messaging application has been opened; registering the instance of the web-based messaging application with a background application running on the client device; receiving an action pertaining to an electronic message, wherein at least some information about the electronic message is stored locally on the client device; in accordance with a determination that the client device is in an off-line state, caching the received action pertaining to the electronic message; and responsive to a determination that the client device has transitioned from the off-line state to an on-line state at a time when the background application does not include any registered instances of the web-based messaging application, transmitting the cached action pertaining to the electronic message. - View Dependent Claims (20)
-
Specification