Techniques for ephemeral messaging with a message queue
First Claim
1. An apparatus, comprising:
- a processor circuit on a device;
a delayed-action worker module, operative on the processor circuit to;
wake according to a wake timer;
determine a current update object corresponding to an atomic modification to a message inbox for a recipient messaging endpoint in a recipient update queue indicated by a delayed-action cursor, the delayed-action cursor associated with a specific time delay for performing delayed-action activities for the current update object;
determine a delayed-action activity for the current update object;
perform the delayed-action activity for the current update object;
determine a next update object for the delayed-action cursor for the recipient update queue by scanning chronologically forwards through the recipient update queue until the next update object with a delayed-action indicator corresponding to the specific time delay associated with the delayed-action cursor is found;
associate the delayed-action cursor with the next update object; and
determine a next wake time for the delayed-action worker module based on the specific time delay associated with the delayed-action cursor and a creation time for the next update object;
wherein the specific time delay is selected from a pre-defined set of time delays, each time delay in the predefined set being unique time delay, such as to constrain the total number of delayed-action cursors by associating only one delayed-action cursor with each unique time delay.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for ephemeral message are described. In one embodiment, an apparatus may comprise a delayed-action worker module operative to wake according to a wake timer; determine a current update object for a delayed-action cursor for a recipient update queue for a messaging system, the delayed-action cursor associated with an action delay for the recipient update queue; determine a delayed-action activity for the current update object; perform the delay-action activity for the current update object; determine a next update object for the delayed-action cursor for the recipient update queue; and determine a next wake timer for the delayed-action worker module based on the action delay and a creation time for the next update object. Other embodiments are described and claimed.
45 Citations
18 Claims
-
1. An apparatus, comprising:
-
a processor circuit on a device; a delayed-action worker module, operative on the processor circuit to; wake according to a wake timer; determine a current update object corresponding to an atomic modification to a message inbox for a recipient messaging endpoint in a recipient update queue indicated by a delayed-action cursor, the delayed-action cursor associated with a specific time delay for performing delayed-action activities for the current update object; determine a delayed-action activity for the current update object; perform the delayed-action activity for the current update object; determine a next update object for the delayed-action cursor for the recipient update queue by scanning chronologically forwards through the recipient update queue until the next update object with a delayed-action indicator corresponding to the specific time delay associated with the delayed-action cursor is found; associate the delayed-action cursor with the next update object; and determine a next wake time for the delayed-action worker module based on the specific time delay associated with the delayed-action cursor and a creation time for the next update object; wherein the specific time delay is selected from a pre-defined set of time delays, each time delay in the predefined set being unique time delay, such as to constrain the total number of delayed-action cursors by associating only one delayed-action cursor with each unique time delay. - View Dependent Claims (2, 3, 4, 5, 11, 13, 15)
-
-
6. At least one non-transitory computer-readable storage medium comprising instructions that, when executed, cause a system to:
-
wake a delayed-action worker according to a wake timer; determine a current update object corresponding to an atomic modification to a message inbox for a recipient messaging endpoint in a recipient update queue indicated by a delayed-action cursor associated with a specific time delay for performing delayed-action activities for the current update object; determine a delayed-action activity for the current update object; perform the delayed-action activity for the current update object; determine a next update object for the delayed-action cursor for the recipient update queue by scanning chronologically forwards through the recipient update queue until the next update object with a delayed-action indicator corresponding to the specific time delay associated with the delayed-action cursor is found; associate the delayed-action cursor with the next update object; and determine a next wake time for the delayed-action worker based on the specific time delay associated with the delay-action cursor and a creation time for the next update object wherein the specific time delay is selected from a pre-defined set of time delays, each time delay in the predefined set being unique time delay, such as to constrain the total number of delayed-action cursors by associating only one delayed-action cursor with each unique time delay. - View Dependent Claims (7, 8, 9, 10, 12, 14, 16, 17, 18)
-
Specification