Determining Sensor Information in the Background On a Mobile Device
First Claim
1. A mobile device comprising:
- one or more sensors;
a memory;
a sensor processor, the sensor processor configured to;
determine sensor data using the one or more sensors on an interval basis,store the sensor data into one or more first-in, first-out (FIFO) queues in the memory as the sensor data is determined, andreplace at least a portion of the stored sensor data if a main application processor of the mobile device does not request the stored sensor data within a certain amount of time; and
a main application processor, the main application processor configured to;
receive data indicating a request for sensor data for a recent time period, andin response to receiving the data indicating the request, retrieve the sensor data for the recent time period from the one or more FIFO queues.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems for acquiring and batching sensor data using a mobile device are described. In one example, a system in a mobile device is provided. The system includes one or more sensors, a memory, a sensor processor, and a main application processor. The sensor processor is configured to determine sensor data using the one or more sensors on an interval basis and store the sensor data into one or more first-in, first-out (FIFO) queues. Additionally, the sensor processor is configured to replace at least a portion of the stored sensor data if a main application processor of the mobile device does not request the stored sensor data within a certain amount of time. The main application processor is configured to receive data indicating a request for sensor data for a recent time period and, in response, to retrieve the sensor data from the one or more FIFO queues.
-
Citations
20 Claims
-
1. A mobile device comprising:
-
one or more sensors; a memory; a sensor processor, the sensor processor configured to; determine sensor data using the one or more sensors on an interval basis, store the sensor data into one or more first-in, first-out (FIFO) queues in the memory as the sensor data is determined, and replace at least a portion of the stored sensor data if a main application processor of the mobile device does not request the stored sensor data within a certain amount of time; and a main application processor, the main application processor configured to; receive data indicating a request for sensor data for a recent time period, and in response to receiving the data indicating the request, retrieve the sensor data for the recent time period from the one or more FIFO queues. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of batching sensor data while a main application processor of a mobile device is in an inactive state, the method comprising:
-
receiving, by a sensor processor and from the main application processor, data indicating a request to collect sensor data using one or more sensors of the mobile device, wherein the sensor processor is configured to collect sensor data using less power than the main application processor uses when determining sensor data; in response to receiving the data indicating the request, the sensor processor determining sensor data using the one or more sensors on an interval basis; storing, by the sensor processor, the determined sensor data into one or more first-in, first out (FIFO) queues of a memory; determining, by the sensor processor, that a given one of the one or more FIFO queues is full; and in response to determining that a given one of the one or more FIFO queues is full, discounting, by the sensor processor, a portion of the sensor data that is stored in the given FIFO queue of the one or more FIFO queues, such that additional sensor data for a subsequent interval may be stored into the given FIFO queue. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer-readable medium having stored therein instructions, that when executed by a sensor processor, cause the sensor processor to perform functions comprising:
-
receiving, from a main application processor of a mobile device, data indicating a request to collect sensor data using one or more sensors of the mobile device; in response to receiving the data indicating the request, determining sensor data using the one or more sensors on an interval basis without using the main application processor; storing the determined sensor data into one or more first-in, first out (FIFO) queues of a memory; determining that a given one of the one or more FIFO queues is full; and in response to determining that a given one of the one or more FIFO queues is full, discounting a portion of the sensor data that is stored in the given FIFO queue of the one or more FIFO queues, such that additional sensor data for a subsequent interval may be stored into the given FIFO queue. - View Dependent Claims (18, 19, 20)
-
Specification