Managing processes within suspend states and execution states
First Claim
1. A method for managing an application state of an application, comprising:
- maintaining an application message queue associated with an application while the application is in a suspend state, the application message queue configured to store system messages for the application while the application is in the suspend state;
determining whether a first system message directed to the application message queue while the application is in the suspend state is supplementary to a second system message within the application message queue;
upon determining the first system message is supplementary to the second system message, modifying at least one of the first system message or the second system message by merging the first system message and the second system message;
maintaining and associating one or more counters with one or more wake policies for waking the application after the application is put into a suspend state, the wake policies causing the application to be transitioned out of the suspend state when the one or more counters reach a predetermined aggregate threshold of wake notifications, the one or more counters being incremented or decremented in response to a wake notification that is created in response to an event associated with the one or more wake policies; and
processing at least the modified message.
2 Assignments
0 Petitions
Accused Products
Abstract
One or more techniques and/or systems are provided for suspending logically related processes associated with an application, determining whether to resume a suspended process based upon one or more wake policies, and/or managing an application state of an application, such as timer and/or system message data. That is, logically related processes associated with an application, such as child processes, may be identified and suspended based upon logical relationships between the processes (e.g., a logical container hierarchy may be traversed to identify logically related processes). A suspended process may be resumed based upon a set of wake policies. For example, a suspended process may be resumed based upon an inter-process communication call policy that may be triggered by an application attempting to communicate with the suspended process. Application data may be managed while an application is suspended so that the application may be resumed in a current and/or relevant state.
-
Citations
23 Claims
-
1. A method for managing an application state of an application, comprising:
-
maintaining an application message queue associated with an application while the application is in a suspend state, the application message queue configured to store system messages for the application while the application is in the suspend state; determining whether a first system message directed to the application message queue while the application is in the suspend state is supplementary to a second system message within the application message queue; upon determining the first system message is supplementary to the second system message, modifying at least one of the first system message or the second system message by merging the first system message and the second system message; maintaining and associating one or more counters with one or more wake policies for waking the application after the application is put into a suspend state, the wake policies causing the application to be transitioned out of the suspend state when the one or more counters reach a predetermined aggregate threshold of wake notifications, the one or more counters being incremented or decremented in response to a wake notification that is created in response to an event associated with the one or more wake policies; and processing at least the modified message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for managing an application state of an application, comprising:
-
one or more processing units; and memory comprising computer-executable instructions that are executable by the one or more processing units to cause the system to; maintain an application message queue associated with an application while the application is in a suspend state, the application message queue configured to store system messages for the application while the application is in the suspend state; and maintain and associate one or more counters with one or more wake policies for waking the application after the application is put into a suspend state, the wake policies causing the application to be transitioned out of the suspend state when the one or more counters reach a predetermined aggregate threshold of wake notifications, the one or more counters being incremented or decremented in response to a wake notification that is created in response to an event associated with the one or more wake policies. - View Dependent Claims (13, 14, 15)
-
-
16. A computer readable storage device comprising computer executable instructions that when executed via a processing unit perform operations for managing an application state of an application, comprising:
-
maintaining an application message queue associated with an application while the application is in a suspend state, the application message queue configured to store system messages for the application while the application is in the suspend state; maintaining and associating one or more counters with one or more wake policies for waking the application after the application is put into a suspend state, the wake policies causing the application to be transitioned out of the suspend state when the one or more counters a predetermined aggregate threshold of wake notifications, the one or more counters being incremented or decremented in response to a wake notification that is created in response to an event associated with the one or more wake policies; determining whether a first system message directed to the application message queue while the application is in the suspend state corresponds to a second system message within the application message queue; and upon determining the first system message is supplementary to the second system message, modifying at least one of the first system message or the second system message. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
Specification