The invention discloses a fast realization method of application function, which includes the following steps: collecting the output parameters of the built-in angular velocity sensor and pressure sensor of the terminal in real time, determining the tilt angle of the current terminal based on the output parameters of the angular velocity sensor and the output parameters of the pressure sensor. The numerical value determines the pressure position and corresponding pressure value on the current terminal, determines whether there is an application function associated with the tilt angle of the current terminal, the pressure position on the current terminal and the corresponding pressure value, and executes the application function if there is an application function associated with the pressure value. The invention also discloses a mobile terminal and a computer readable storage medium. When the space state of the monitored terminal, the pressure position and the corresponding pressure value are related to the application function, the application function can be executed, the execution process of the application function can be simplified, and the realization speed of the application function can be improved.
【技术实现步骤摘要】
应用功能的快速实现方法、移动终端及可读存储介质
本专利技术涉及移动终端
,尤其涉及一种应用功能的快速实现方法、移动终端及计算机可读存储介质。
技术介绍
目前手机用户越来越多,手机的功能也越来越强大,给用户带来了极大的方便,但是用户在使用手机某些应用功能的过程中,往往比较繁琐,例如相机抓拍功能,在抓拍过程中,一般需要在解锁或者点亮屏幕后,在桌面点击相机图标开启相机,再将摄像头对准拍摄对象,对焦之后再进行拍摄,若此时用户要抓拍某些瞬间画面,则会因为抓拍过程过于繁琐,来不及拍摄,而导致错过最佳拍摄时间。
技术实现思路
本专利技术的主要目的在于提供一种应用功能的快速实现方法、移动终端及计算机可读存储介质,旨在解决现有的移动终端执行应用功能的过程过于繁琐的技术问题。为实现上述目的,本专利技术提供了一种应用功能的快速实现方法,所述应用功能的快速实现方法包括:实时采集终端内置角速度传感器和压力传感器的输出参数值;基于所述角速度传感器的输出参数值,确定当前终端的倾斜角度;基于所述压力传感器的输出参数值,确定当前终端上的压力位置及对应压力值;判断是否存在与当前终端的倾斜角度、当前 ...
【技术保护点】
1.一种应用功能的快速实现方法,其特征在于,所述应用功能的快速实现方法包括:实时采集终端内置角速度传感器和压力传感器的输出参数值;基于所述角速度传感器的输出参数值,确定当前终端的倾斜角度;基于所述压力传感器的输出参数值,确定当前终端上的压力位置及对应压力值;判断是否存在与当前终端的倾斜角度、当前终端上的压力位置以及对应压力值关联的应用功能;若存在关联的应用功能,则执行所述应用功能。
【技术特征摘要】
1.一种应用功能的快速实现方法,其特征在于,所述应用功能的快速实现方法包括:实时采集终端内置角速度传感器和压力传感器的输出参数值;基于所述角速度传感器的输出参数值,确定当前终端的倾斜角度;基于所述压力传感器的输出参数值,确定当前终端上的压力位置及对应压力值;判断是否存在与当前终端的倾斜角度、当前终端上的压力位置以及对应压力值关联的应用功能;若存在关联的应用功能,则执行所述应用功能。2.如权利要求1所述的应用功能的快速实现方法,其特征在于,所述应用功能至少包括:相机抓拍、第三方应用展示支付条形码以及音乐播放器播放音乐中的任一种。3.如权利要求1所述的应用功能的快速实现方法,其特征在于,在所述实时采集终端内置角速度传感器和压力传感器的输出参数值的步骤之前,所述方法还包括:当接收到应用设置指令时,根据所述设置指令,启动应用设置模式;在应用设置模式下,采集当前终端内置角速度传感器和压力传感器的输出参数值;基于所述角速度传感器的输出参数值,确定当前终端的倾斜角度,基于所述压力传感器的输出参数值,确定当前终端上的压力位置及对应压力值;将当前终端对应的所述倾斜角度、所述压力位置及对应压力值与应用功能进行关联并保存。4.如权利要求3所述的应用功能的快速实现方法,其特征在于,所述方法还包括:在应用设置过程中,判断当前终端对应的所述倾斜角度、所述压力位置及对应压力值是否已进行应用功能关联;若是,则提示重新进行应用设置。5.如权利要求3所述的应用功能的快速实现方法,其特征在于,所述方法还包括:在应用设置模式下,当接收到修改指令时,根据所述修改指令,重新采集当前终端内置角速度传感器和压力传感器的输出参数值;基于所述角速度传感器的输出...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。