Message communication of sensor and other data
First Claim
1. One or more computer-readable storage media that comprise executable instructions to provide information to an application, wherein the executable instructions, when executed by a computer, cause the computer to perform acts comprising:
- receiving, from said application, a subscription request;
using a sensor interface to obtain a reading from a sensor, said sensor interface comprising software that provides a mechanism through which sensor values are readable by programs that use said sensor interface;
creating a message based on a set of one or more readings, wherein said set comprises said reading; and
providing said message to said application.
2 Assignments
0 Petitions
Accused Products
Abstract
A service may be provided that reads sensors, and that communicates information based on the sensor readings to applications. In one example, an operating system provides a sensor interface that allows programs that run on a machine to read the values of sensors (such as an accelerometer, light meter, etc.). A service may use the interface to read the value of sensors, and may receive subscriptions to sensor values from other programs. The service may then generate messages that contain the sensor value, and may provide these messages to programs that have subscribed to the messages. The messages may contain raw sensor data. Or, the messages may contain information that is derived from the sensor data and/or from other data.
13 Citations
20 Claims
-
1. One or more computer-readable storage media that comprise executable instructions to provide information to an application, wherein the executable instructions, when executed by a computer, cause the computer to perform acts comprising:
-
receiving, from said application, a subscription request; using a sensor interface to obtain a reading from a sensor, said sensor interface comprising software that provides a mechanism through which sensor values are readable by programs that use said sensor interface; creating a message based on a set of one or more readings, wherein said set comprises said reading; and providing said message to said application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of providing information to a program, the method comprising:
using a processor to perform acts comprising; receiving, from said program, a request to subscribe to notifications from a service; at said service, using a programming interface to obtain a reading from a sensor, said programming interface being provided by an operating system that is present at a machine that comprises said processor; creating a message that is based on a set of one or more sensor readings, wherein said set comprises said reading; providing said message to said program; and taking a tangible action based on said message. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A machine for using sensor data, the machine comprising:
-
a processor; a data remembrance component; a sensor; and a service component that is stored in said data remembrance component and that is executable on said processor, said service component using a sensor interface to obtain a reading from said sensor, said sensor interface being provided by an operating system that is present at said machine, said service component generating a message based on information that comprises a set of sensor readings, said set of sensor readings comprising said reading, said service component receiving a subscription request from a program that executes on said machine, said service component providing said message to said program based on said service component having received said subscription request from said program. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification