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

Accelerometer control method, accelerometer control device and intelligent terminal

An accelerometer and smart terminal technology, applied in the direction of measurement of acceleration, speed/acceleration/impact measurement, measurement device, etc., can solve the problems of forming a splash screen, repeated switching between horizontal and vertical screens, etc., to achieve the effect of dynamic adjustment

Inactive Publication Date: 2019-08-02
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, the application program based on the accelerometer in the smart terminal will experience abnormalities when running, such as repeated switching between horizontal and vertical screens, forming a flickering screen, etc.

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
  • Accelerometer control method, accelerometer control device and intelligent terminal
  • Accelerometer control method, accelerometer control device and intelligent terminal
  • Accelerometer control method, accelerometer control device and intelligent terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] A kind of accelerometer control method provided by the embodiment of the present invention is described below, please refer to figure 2 , the accelerometer control method in the embodiment of the present invention comprises:

[0048] In step S201, under the running state of the accelerometer, the current vibration situation and the reporting frequency of the smart terminal are obtained;

[0049] In the embodiment of the present invention, after the smart terminal is powered on, it is possible to detect whether the accelerometer is in the running state continuously or periodically or when a preset event is triggered; or, if the application layer of the smart terminal receives the drive of the above smart terminal If the output data of the accelerometer is reported by the upper layer, it can also be determined that the accelerometer is in the running state at this time. When it is determined that the above-mentioned accelerometer is in the running state, the current vib...

Embodiment 2

[0059] On the basis of the first embodiment above, the second embodiment of the present invention provides another accelerometer control method. The following describes the accelerometer control method provided by the embodiment of the present invention. Please refer to image 3 , the accelerometer control method in the embodiment of the present invention comprises:

[0060] In step S301, when the above-mentioned accelerometer is started, the filter control parameters of the above-mentioned accelerometer are initialized;

[0061] In the embodiment of the present invention, the filter control parameters of the accelerometer are initialized each time the accelerometer is started. Wherein, the above-mentioned filter control parameters include a filter order and a sampling frequency, the above-mentioned filter order is the order of the window sliding average digital filter adopted by the above-mentioned accelerometer, and the above-mentioned sampling frequency is the reading of th...

Embodiment 3

[0085] An embodiment of the present invention provides an accelerometer control device, such as Figure 5 As shown, the accelerometer control device 500 in the embodiment of the present invention includes:

[0086] The acquiring unit 501 is configured to acquire the current vibration situation and the reporting frequency of the smart terminal under the running state of the accelerometer, wherein the reporting frequency is that the driving layer of the smart terminal reports the output of the accelerometer to the application layer of the smart terminal The frequency of the data, the above-mentioned vibration situation indicates whether the above-mentioned smart terminal is in a vibration state;

[0087] The determining unit 502 is configured to determine the target filtering control parameters of the accelerometer based on preset filtering parameter adjustment information based on the current vibration situation and reporting frequency acquired by the acquiring unit 501, wherei...

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 discloses an accelerometer control method, an accelerometer control device, an intelligent terminal, and a computer readable storage medium. The method comprises the steps: obtaining the current vibration condition and reporting frequency of the intelligent terminal when an accelerator is in operation, wherein the reporting frequency is the frequency that a drive layer of the intelligent terminal reports the output data of the accelerator to an application layer of the intelligent terminal, and the vibration condition indicates whether the intelligent terminal is in a vibration state or not; determining a target filtering control parameter of the accelerator based on a preset filtering parameter adjustment information according to the current vibration condition and the reporting frequency, wherein the filtering parameter adjustment information comprises the vibration condition, the reporting frequency and a filtering control parameter; and adjusting the current filtering control parameter of the accelerator based on a target filtering control parameter. According to the scheme of the invention, the method achieves the dynamic adjustment of the filtering control parameters of the accelerator.

Description

technical field [0001] The invention belongs to the technical field of intelligent terminals, and in particular relates to an accelerometer control method, an accelerometer control device, an intelligent terminal and a computer-readable storage medium. Background technique [0002] The accelerometer is an important sensor of the smart terminal. It outputs the space vector sum of the acceleration of gravity and the acceleration of the smart terminal, and can generate different output values ​​according to the real-time attitude of the smart terminal. Since acceleration is a physical quantity that can be mutated, when the smart terminal shakes sharply, the accelerometer will output high-frequency clutter, resulting in a huge change in the output data of the xyz axis. At this time, the application program based on the accelerometer in the smart terminal will experience abnormalities during operation, such as repeated switching between horizontal and vertical screens, forming a ...

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): G01P15/097
CPCG01P15/097
Inventor 莫斐
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD