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; and
creating a message based on a set of one or more readings, wherein said set comprises said reading.
1 Assignment
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.
-
Citations
2 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; and creating a message based on a set of one or more readings, wherein said set comprises said reading.
-
-
2. 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; and providing said message to said program.
Specification