Application development environment for portable electronic devices
First Claim
1. In a computer comprising at least one processor, a method of testing an application for a mobile computing device, the method comprising:
- with the at least one processor;
connecting a sensor emulation environment to a source of sensor simulation data;
receiving, by the sensor emulation environment via an application programming interface, the sensor simulation data from the source of sensor simulation data;
determining, by the sensor emulation environment, a time to provide the sensor simulation data to a sensor interface component, said determining comprising processing at least one timing parameter of the sensor simulation data that comprises a start time and an offset;
providing, from the sensor data engine, the sensor simulation data to the sensor interface component that emulates an interface to a physical sensor at the determined time, the sensor data engine being operable to provide the sensor simulation data in accordance with a first operating mode and a second operating mode, the first operating mode causing the sensor simulation data to be provided to the sensor interface component in response to receiving a request for the sensor simulation data originating from a test controller that performs one or more automated tests on the application, the second operating mode causing the sensor simulation data to be provided to the sensor interface component in response to receiving a request for the sensor simulation data originating from the application; and
providing the sensor simulation data from the sensor interface component to the application.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for developing and testing an application for a device with one or more sensors using a sensor emulation environment that may allow testing of the application in a programmatic manner. The sensor emulation environment may emulate actual physical sensors. The sensor emulation environment may receive sensor simulation data from multiple types of sources of sensor data. A sensor data engine may receive sensor simulation data from a selected data source via an API. The data engine may provide data values at times that represent operation of a sensor. The sensor emulation environment may further include a sensor interface component that emulates a hardware interface to the emulated sensor in a physical target device such that application components, such as a driver, may interact with the sensor emulation environment.
43 Citations
20 Claims
-
1. In a computer comprising at least one processor, a method of testing an application for a mobile computing device, the method comprising:
with the at least one processor; connecting a sensor emulation environment to a source of sensor simulation data; receiving, by the sensor emulation environment via an application programming interface, the sensor simulation data from the source of sensor simulation data; determining, by the sensor emulation environment, a time to provide the sensor simulation data to a sensor interface component, said determining comprising processing at least one timing parameter of the sensor simulation data that comprises a start time and an offset; providing, from the sensor data engine, the sensor simulation data to the sensor interface component that emulates an interface to a physical sensor at the determined time, the sensor data engine being operable to provide the sensor simulation data in accordance with a first operating mode and a second operating mode, the first operating mode causing the sensor simulation data to be provided to the sensor interface component in response to receiving a request for the sensor simulation data originating from a test controller that performs one or more automated tests on the application, the second operating mode causing the sensor simulation data to be provided to the sensor interface component in response to receiving a request for the sensor simulation data originating from the application; and providing the sensor simulation data from the sensor interface component to the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
10. A computer system comprising at least one processor for testing an application for a mobile device, the computer system comprising:
a sensor emulation environment configured to; receive a request for sensor data originating from the application; in response to the request, receive, via an application programming interface, sensor simulation data from a source of sensor simulation data; determine a time to provide the sensor simulation data to at least one sensor interface component by processing at least one timing parameter of the sensor simulation data that comprises a start time and an offset; provide the sensor simulation data to the at least one sensor interface component, the sensor simulation data being provided at the determined time; and provide, from the at least one sensor interface component, the sensor simulation data to the application. - View Dependent Claims (11, 12, 13)
-
14. At least one computer-readable memory encoded with computer executable instructions that, when executed by at least one processor, perform a method of supplying simulated sensor data for testing an application for a mobile computing device, the method comprising:
-
receiving, via at least one sensor interface component, a request for sensor data originating from the application; in response to the request, obtaining, by a sensor emulation environment, sensor simulation data from an application programming interface, wherein the application programming interface receives the sensor simulation data from a source of sensor simulation data; determining, by the sensor emulation environment, a time to provide the sensor simulation data to the at least one sensor interface component by processing at least one timing parameter of the sensor simulation data that comprises a start time and an offset; providing, by the sensor emulation environment, the sensor simulation data to the at least one sensor interface component, the sensor simulation data being provided at the determined time; and providing, by the at least one sensor interface component, the sensor simulation data to the application. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification