EFFICIENT CONTEXT MONITORING
First Claim
1. A method comprising:
- obtaining, by a context daemon executing on a computing device, current context information related to a current state of the computing device;
in response to determining that the current context information corresponds to a first context callback request associated with a context client, determining, by the context daemon, whether a communication session exists with the context client; and
in response to determining that the communication session does not exist with the context client, sending, by the context daemon, a restart message to a launch daemon requesting that the launch daemon restart the context client.
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are systems, methods, and non-transitory computer-readable storage media for efficiently monitoring the operating context of a computing device. In some implementations, the context daemon and/or the context client can be terminated to conserve system resources. For example, if the context daemon and/or the context client are idle, they can be shutdown to conserve battery power or free other system resources (e.g., memory). When an event occurs (e.g., a change in current context) that requires the context daemon and/or the context client to be running, the context daemon and/or the context client can be restarted to handle the event. Thus, system resources can be conserved while still providing relevant context information collection and callback notification features.
-
Citations
20 Claims
-
1. A method comprising:
-
obtaining, by a context daemon executing on a computing device, current context information related to a current state of the computing device; in response to determining that the current context information corresponds to a first context callback request associated with a context client, determining, by the context daemon, whether a communication session exists with the context client; and in response to determining that the communication session does not exist with the context client, sending, by the context daemon, a restart message to a launch daemon requesting that the launch daemon restart the context client. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium comprising instructions that, when executed by a computing device, cause a context daemon of the computing device to:
-
obtain current context information related to a current state of the computing device; in response to determining that the current context information corresponds to a first context callback request associated with a context client, determine whether a communication session exists with the context client; and in response to determining that the communication session does not exist with the context client, send a restart message to a launch daemon requesting that the launch daemon restart the context client. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computing device comprising:
-
one or more hardware processors; and logic, which when executed by the one or more hardware processors on the computing device, causes a context daemon to; obtain current context information related to a current state of the computing device; in response to determining that the current context information corresponds to a first context callback request associated with a context client, determine whether a communication session exists with the context client; and in response to determining that the communication session does not exist with the context client, send a restart message to a launch daemon requesting that the launch daemon restart the context client. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification