Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for providing sensor data to sensor-based applications

An application program and sensor technology, applied in the field of sensors, can solve the problems of increasing test cost, etc., and achieve the effect of low test cost and strong compatibility

Active Publication Date: 2019-08-13
深圳市掌中灵动科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method and device for providing sensor data to sensor-based applications in view of the current testing of sensor-based applications that require terminals to be equipped with physical sensors and increase test costs.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for providing sensor data to sensor-based applications
  • Method and apparatus for providing sensor data to sensor-based applications
  • Method and apparatus for providing sensor data to sensor-based applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] Such as figure 1 As shown, in one embodiment, a method of providing sensor data to a sensor-based application is provided. This embodiment is illustrated by taking the method applied to a mobile terminal as an example, and the mobile terminal may be a smart phone, a tablet computer, or a personal digital processing unit. The mobile terminal runs a self-starting virtual sensor middleware service running in resident memory, a virtual sensor and running application programs. At least part of the functions of the running application are sensor-based, such as an electronic compass or a gravity-...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for providing sensor data for an application program based on a sensor. The method comprises the steps that configuration information of a virtual sensor is obtained, and a virtual sensor instruction is sent to the running virtual sensor according to the configuration information; or a real-time user operation instruction is obtained, and the virtual sensor instruction is sent to the running virtual sensor according to the real-time user operation instruction; virtual sensor data are generated by the virtual sensor according to the virtual sensor instruction and sent to a system sensor service; the virtual sensor data are provided for the running application program through the system sensor service. According to the method and device for providing the sensor data for the application program based on the sensor, the test on the functions based on the sensor can be achieved without arranging a physical sensor at a terminal of the running application program, and the testing cost is low. The method and device can be suitable for various running application programs based on different kinds of sensors, and compatibility is high.

Description

technical field [0001] The invention relates to the technical field of sensors, in particular to a method and a device for providing sensor data to sensor-based application programs. Background technique [0002] At present, many applications use sensors more or less during operation, such as acceleration sensors, temperature sensors, or light sensors. The sensor can perceive terminal information or environmental information, so as to perform differentiated actions according to the perceived terminal information or environmental information. For example, at present, the shaking motion of the terminal can be detected by the acceleration sensor, so that the application program can execute the command matching the shaking motion. [0003] In order to make the sensor-based application program meet its design requirements, the application program needs to be tested, and the current test of the sensor-based application program requires the terminal itself to be equipped with phys...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455
Inventor 邱剑曹桂田项弦
Owner 深圳市掌中灵动科技有限公司