发明名称 Application development environment for portable electronic devices
摘要 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.
申请公布号 US9535817(B2) 申请公布日期 2017.01.03
申请号 US201113158345 申请日期 2011.06.10
申请人 Microsoft Technology Licensing, LLC 发明人 Aluru Vamsee R K;Sarda Pankaj Kachrulal;Vadlapudi Madhu
分类号 G06F17/50;G06F17/30;G06F9/44;G06F11/36 主分类号 G06F17/50
代理机构 代理人 Sullivan Kevin;Drakos Kate;Minhas Micky
主权项 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 a sensor data engine via an application programming interface, the sensor simulation data from the source of sensor simulation data;determining, by the sensor data engine, a time to provide the sensor simulation data to the sensor interface component, said determining comprising processing at least one timing parameter of the sensor simulation data that comprises a timestamp and an offset;providing, from the sensor data engine, the sensor simulation data to a 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 operation 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 a driver for use in operating the application.
地址 Redmond WA US