Message communication of sensor and other data
First Claim
1. A method for an application to obtain and provide sensor information while the application is running on a computing device, the method comprising:
- determining that a particular messaging infrastructure is to be used for communicating sensor readings to the application, wherein determining that the particular messaging infrastructure is to be used additionally includes notifying a developer of said application to inform the developer that the particular messaging infrastructure is to be used;
receiving a subscription request from the application to receive notifications of sensor readings;
using a programming interface to obtain one or more sensor reading(s) from a sensor, wherein the programming interface is provided by an operating system that is present at the computing device, and wherein the sensor is physically detached from the computing device; and
presenting a message that is generated based on at least the one or more sensor reading(s) obtained from the sensor using the programming interface, the message being formatted using the particular messaging infrastructure.
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.
34 Citations
23 Claims
-
1. A method for an application to obtain and provide sensor information while the application is running on a computing device, the method comprising:
-
determining that a particular messaging infrastructure is to be used for communicating sensor readings to the application, wherein determining that the particular messaging infrastructure is to be used additionally includes notifying a developer of said application to inform the developer that the particular messaging infrastructure is to be used; receiving a subscription request from the application to receive notifications of sensor readings; using a programming interface to obtain one or more sensor reading(s) from a sensor, wherein the programming interface is provided by an operating system that is present at the computing device, and wherein the sensor is physically detached from the computing device; and presenting a message that is generated based on at least the one or more sensor reading(s) obtained from the sensor using the programming interface, the message being formatted using the particular messaging infrastructure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computing system for providing information to an application running on the computing system, the computing system comprising:
-
one or more processor(s); and one or more storage device(s) having stored thereon computer executable instructions that are executable by the one or more processor(s) to cause the computing system to; determine that a particular messaging infrastructure is to be used for communicating sensor readings to the application, wherein determining that the particular messaging infrastructure is to be used additionally includes notifying a developer of said application to inform the developer that the particular messaging infrastructure is to be used; receive a subscription request from the application to receive notifications of sensor readings; use a sensor interface to obtain a reading from a sensor that is physically detached from said computing system, the sensor interface comprising software that provides a mechanism through which sensor values are readable by programs that use the sensor interface; and present, to said application, a message that is generated based on at least the reading obtained from the sensor, wherein the message is formatted using the particular messaging infrastructure, and wherein the application is configured to receive sensor data, which includes the reading, and to consume the received sensor data while the application is running on the computing system. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer program product comprising one or more storage device(s) having stored thereon computer executable instructions that are executable by one or more processor(s) of a computing system to cause the computing system to provide an application on the computing system, wherein the application is configured to receive sensor data and to consume the received sensor data while the application is running on the computing system, and to implement a method that includes:
-
determining that a particular messaging infrastructure is to be used for communicating sensor readings to the application, wherein determining that the particular messaging infrastructure is to be used additionally includes notifying a developer of said application to inform the developer that the particular messaging infrastructure is to be used; receiving a subscription request from the application to receive notification of sensor readings; using a sensor interface to obtain a reading from a sensor, the sensor interface comprising software that provides a mechanism through which sensor values are readable by programs that use the sensor interface, the sensor being physically detached from the computing system; and presenting a message that is generated based on at least the reading obtained from the sensor, wherein the message is formatted using the particular messaging infrastructure. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification