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

Mode switching control method and device

A mode switching and control method technology, applied in the field of communication, can solve the problems of increasing the workload of the interface, the complexity of the Android sensor framework, etc., and achieve the effect of improving efficiency and convenience

Active Publication Date: 2015-05-06
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the common configuration method is to increase the interface function in the operating system, and pass the data of the application layer to the driver layer through the interface function, so that the driver layer can configure the parameters of the sensor driver. However, the workload of adding the interface is very large. For example, in the Android system, the communication mechanism provided by the Android sensor framework does not provide a separate parameter for data transfer from the application layer to the driver layer. If there is a special need for data transfer from the application layer to the driver layer, it is generally necessary to add an interface. However, the Android sensor framework is very complex, and communicates with the driver layer based on Binder (the process communication mechanism in the Android system), and the workload of adding interfaces is very large, so adding interface functions is not a good solution

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
  • Mode switching control method and device
  • Mode switching control method and device
  • Mode switching control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0021] The embodiment of the present invention discloses a mode switching control method and device, the method includes: the application layer of the terminal device detects the screen state of the terminal device; The rate input parameter of the sensor listener function is passed to the driver layer of the terminal device, wherein the rate input parameter is configured as a value corresponding to the first working mode; the driver layer inputs The value of t...

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 embodiment of the invention discloses a mode switching control method and device. The method comprises the following steps that an application layer of terminal equipment detects the screen state of the terminal equipment; if the condition that a screen is at a bright screen state is detected, a sensor listener function is executed so that a speed input parameter of the sensor listener function is transmitted to a driving layer of the terminal equipment, wherein the speed input parameter is configured into a value corresponding to a first work mode; the driving layer carries out parameter configuration on a driving program of a gesture recognition sensor according to the transmitted value of the speed input parameter of the sensor listener function, so that the gesture recognition sensor works in the first work mode. When the method and the device disclosed by the embodiment of the invention are implemented, the speed input parameter is transmitted to the driving layer through executing the sensor listener function, and the driving layer is promoted for carrying out parameter configuration on the driving program of the gesture recognition sensor, and the interface addition is not needed, and the parameter configuration efficiency, speed and convenience of the parameter configuration of the driving program of the sensor are improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a mode switching control method and device. Background technique [0002] The intelligence level of terminal equipment is getting higher and higher, and various sensors have begun to be integrated into terminal equipment, such as gyroscopes, infrared sensors, temperature sensors, etc. The application of various sensors based on terminal equipment is developing rapidly, such as gesture recognition function, At present, with the help of special sensor hardware and drivers, terminal devices can already recognize some simple and complex air gestures of users, such as upward gestures, downward gestures, and circle gestures to open an application. [0003] When the terminal device realizes the gesture recognition function, it is necessary to configure the parameters of the sensor driver so that the sensor hardware can recognize different gestures of the user in different...

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 Applications(China)
IPC IPC(8): G06F9/48
Inventor 王健
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD