Movatterモバイル変換


[0]ホーム

URL:


CN106096365A - The screen locking method of a kind of mobile terminal and mobile terminal - Google Patents

The screen locking method of a kind of mobile terminal and mobile terminal
Download PDF

Info

Publication number
CN106096365A
CN106096365ACN201610403847.3ACN201610403847ACN106096365ACN 106096365 ACN106096365 ACN 106096365ACN 201610403847 ACN201610403847 ACN 201610403847ACN 106096365 ACN106096365 ACN 106096365A
Authority
CN
China
Prior art keywords
mobile terminal
display interface
axis
angle
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610403847.3A
Other languages
Chinese (zh)
Inventor
兰永城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201610403847.3ApriorityCriticalpatent/CN106096365A/en
Publication of CN106096365ApublicationCriticalpatent/CN106096365A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention provides screen locking method and the mobile terminal of a kind of mobile terminal, wherein mobile terminal includes fingerprint recognition module, and this screen locking method includes: the fingerprint input operation on the monitoring current placement state of mobile terminal, current display state and fingerprint recognition module;When mobile terminal be currently at display state, the current placement state of mobile terminal meets screen locking condition and simultaneously the fingerprint input operation on fingerprint recognition module is by checking time, output screen locking instruction.The screen locking method of mobile terminal of the present invention can utilize fingerprint and gravity sensitive to combine and realize the singlehanded quickly screen locking of user, promoting Consumer's Experience to a certain extent, the physical button screen locking mode in prior art that solves shortens service life of physical button and software screen locking affects the problem of experience of user.

Description

Translated fromChinese
一种移动终端的锁屏方法及移动终端Method for locking screen of mobile terminal and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种移动终端的锁屏方法及移动终端。The invention relates to the field of communication technology, in particular to a method for locking the screen of a mobile terminal and the mobile terminal.

背景技术Background technique

目前设置有指纹识别的移动终端,给用户的解锁带来很好的体验,解锁速度快,但也会带来误触发的问题,特别是指纹识别模块设置在移动终端背部,很容易被手指触摸到,误触发会增加移动终端的功耗且会影响用户的操作体验。比如用户走路时,移动终端握在手中,如果不小心触发到移动终端的指纹模块,则会亮屏,此时会造成移动终端功耗的增加。At present, mobile terminals equipped with fingerprint recognition bring a good unlocking experience to users, and the unlocking speed is fast, but it will also cause the problem of false triggering, especially when the fingerprint recognition module is set on the back of the mobile terminal, it is easy to be touched by fingers It is found that false triggering will increase the power consumption of the mobile terminal and affect the user's operating experience. For example, when the user walks, the mobile terminal is held in the hand. If the fingerprint module of the mobile terminal is accidentally triggered, the screen will be turned on, which will increase the power consumption of the mobile terminal.

且目前移动终端常用的锁屏方式主要包括:物理按键锁屏和软件锁屏,在采用物理按键锁屏时,物理按键的按压会对移动终端产生一定的压力感且频繁使用物理按键会缩短物理按键的使用寿命;软件锁屏方式一般需要用户双手协助操作,影响用户的使用体验。And at present, the lock screen methods commonly used in mobile terminals mainly include: physical button lock screen and software lock screen. The service life of the buttons; the software lock screen method generally requires the user's hands to assist the operation, which affects the user's experience.

发明内容Contents of the invention

本发明实施例的目的在于提供一种移动终端的锁屏方法及移动终端,旨在解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。The purpose of the embodiments of the present invention is to provide a method for locking the screen of a mobile terminal and the mobile terminal, aiming at solving the problems in the prior art that the physical key screen locking method shortens the service life of the physical key and the software locking screen affects the user experience.

第一方面,本发明实施例提供一种移动终端的锁屏方法,移动终端包括指纹识别模组,该方法包括:In a first aspect, an embodiment of the present invention provides a method for locking the screen of a mobile terminal, where the mobile terminal includes a fingerprint recognition module, and the method includes:

监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组上的指纹输入操作;Monitor the current placement status, current display status and fingerprint input operation on the fingerprint identification module of the mobile terminal;

当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。When the mobile terminal is currently in the display state, the current placement state of the mobile terminal satisfies the lock screen condition and at the same time the fingerprint input operation on the fingerprint recognition module passes the verification, output the screen lock instruction.

第二方面,本发明实施例还提供一种移动终端,移动终端包括指纹识别模组,移动终端还包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, the mobile terminal includes a fingerprint recognition module, and the mobile terminal further includes:

监测模块,用于监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组上的指纹输入操作;The monitoring module is used to monitor the current placement state of the mobile terminal, the current display state and the fingerprint input operation on the fingerprint recognition module;

处理模块,用于当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。The processing module is used to output the screen lock instruction when the mobile terminal is currently in the display state, the current placement state of the mobile terminal satisfies the lock screen condition, and the fingerprint input operation on the fingerprint identification module is verified at the same time.

本发明实施例上述技术方案的有益效果至少包括:The beneficial effects of the above technical solutions of the embodiments of the present invention at least include:

通过检测移动终端的当前摆放状态、显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。By detecting the current placement state of the mobile terminal, the display state of the display interface, and whether the fingerprint is input, it is determined that the display interface of the mobile terminal is in the display state, the current placement state of the mobile terminal meets the lock screen conditions, and the fingerprint recognition module is on When the fingerprint input operation is verified, the lock screen operation can be performed, and the combination of fingerprint and gravity sensor can be used to realize the user's one-handed quick lock screen, which improves the user experience to a certain extent and solves the problem of shortening the physical button lock screen method in the prior art. The service life of physical buttons and software lock screen affect the user experience.

附图说明Description of drawings

图1表示本发明实施例一移动终端的锁屏方法示意图;FIG. 1 shows a schematic diagram of a method for locking the screen of a mobile terminal according to Embodiment 1 of the present invention;

图2表示本发明实施例二移动终端的锁屏方法示意图;FIG. 2 shows a schematic diagram of a method for locking the screen of a mobile terminal in Embodiment 2 of the present invention;

图3表示本发明实施例二检测第一方向的方法示意图;FIG. 3 shows a schematic diagram of a method for detecting a first direction in Embodiment 2 of the present invention;

图4a表示本发明实施例移动终端的摆放状态示意图一;FIG. 4a shows a first schematic diagram of a placement state of a mobile terminal according to an embodiment of the present invention;

图4b表示本发明实施例移动终端的摆放状态示意图二;FIG. 4b shows a second schematic diagram of a placement state of a mobile terminal according to an embodiment of the present invention;

图4c表示本发明实施例移动终端的摆放状态示意图三;FIG. 4c shows a third schematic diagram of a placement state of a mobile terminal according to an embodiment of the present invention;

图4d表示本发明实施例移动终端的摆放状态示意图四;FIG. 4d shows a schematic diagram 4 of a placement state of a mobile terminal according to an embodiment of the present invention;

图4e表示本发明实施例移动终端的摆放状态示意图五;FIG. 4e shows a fifth schematic diagram of a placement state of a mobile terminal according to an embodiment of the present invention;

图5表示本发明实施例三移动终端的示意图一;FIG. 5 shows a first schematic diagram of a mobile terminal according to Embodiment 3 of the present invention;

图6表示本发明实施例三移动终端的示意图二;FIG. 6 shows a second schematic diagram of a mobile terminal according to Embodiment 3 of the present invention;

图7表示本发明实施例四移动终端框图;FIG. 7 shows a block diagram of a mobile terminal according to Embodiment 4 of the present invention;

图8表示本发明实施例五移动终端框图。FIG. 8 shows a block diagram of a mobile terminal according to Embodiment 5 of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图及具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

本发明针对现有的技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题,提供了多种解决方案,具体如下:The present invention provides various solutions for the problem that the physical button lock screen shortens the service life of the physical button and the software lock screen affects the user experience in the prior art, specifically as follows:

实施例一Embodiment one

如图1所示,本发明实施例一提供一种移动终端的锁屏方法,其中移动终端包括指纹识别模组,锁屏方法包括:As shown in Figure 1, Embodiment 1 of the present invention provides a method for locking the screen of a mobile terminal, wherein the mobile terminal includes a fingerprint identification module, and the method for locking the screen includes:

步骤101、监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组上的指纹输入操作。Step 101, monitor the current placement state, current display state and fingerprint input operation on the fingerprint recognition module of the mobile terminal.

移动终端的当前摆放状态包括:显示屏幕的朝向竖直向上的第一状态、显示屏幕的朝向水平向左的第二状态,显示屏幕的朝向位于竖直向上和水平向左之间的第三状态,显示屏幕的朝向竖直向下的第四状态,显示屏幕的朝向位于水平向左和竖直向下之间的第五状态,显示屏幕的朝向水平向右的第六状态,显示屏幕的朝向位于竖直向下和水平向右之间的第七状态,以及显示屏幕的朝向位于竖直向上和水平向右之间的第八状态。The current placement state of the mobile terminal includes: a first state in which the orientation of the display screen is vertically upward, a second state in which the orientation of the display screen is horizontally leftward, and a third state in which the orientation of the display screen is between vertically upward and horizontally leftward. state, the fourth state where the orientation of the display screen is vertically downward, the fifth state where the orientation of the display screen is between horizontal left and vertical downward, the sixth state where the orientation of the display screen is horizontally right, the orientation of the display screen The seventh state where the orientation is between vertically downward and horizontally right, and the eighth state where the orientation of the display screen is between vertically upward and horizontally right.

移动终端的显示状态包括:显示屏幕进行显示的状态和显示屏幕锁屏的状态。且移动终端上设置有指纹识别模组,指纹识别模组可以设置在移动终端的壳体上,指纹识别模组检测用户输入的指纹信息。The display state of the mobile terminal includes: a state where the display screen is displayed and a state where the display screen is locked. And the mobile terminal is provided with a fingerprint recognition module, which can be arranged on the housing of the mobile terminal, and the fingerprint recognition module detects the fingerprint information input by the user.

在对移动终端进行锁屏之前,需要监测移动终端的摆放状态、显示界面的显示状态以及指纹识别模组上是否有指纹输入操作。Before locking the screen of the mobile terminal, it is necessary to monitor the placement state of the mobile terminal, the display state of the display interface and whether there is a fingerprint input operation on the fingerprint identification module.

步骤102、当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。Step 102: When the mobile terminal is currently in the display state, the current placement of the mobile terminal satisfies the screen lock condition, and at the same time, the fingerprint input operation on the fingerprint recognition module passes the verification, output a screen lock command.

在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组上输入的指纹信息与预存标准指纹信息相匹配时,输出锁屏指令,对显示界面进行锁屏操作。When it is determined that the display interface of the mobile terminal is in the display state, the current placement state of the mobile terminal satisfies the lock screen condition, and the fingerprint information input on the fingerprint recognition module matches the pre-stored standard fingerprint information, output a lock screen command to perform a screen lock on the display interface. Lock screen operation.

其中移动终端的当前摆放状态满足锁屏条件时的状态包括:显示屏幕的朝向水平向左的第二状态,显示屏幕的朝向竖直向下的第四状态,显示屏幕的朝向位于水平向左和竖直向下之间的第五状态,显示屏幕的朝向水平向右的第六状态,以及显示屏幕的朝向位于竖直向下和水平向右之间的第七状态。The state when the current placement state of the mobile terminal satisfies the lock screen condition includes: the second state where the orientation of the display screen is horizontally to the left, the fourth state where the orientation of the display screen is vertically downward, and the orientation of the display screen is horizontally to the left The fifth state between vertically downward and vertically downward, the sixth state in which the orientation of the display screen is horizontally to the right, and the seventh state in which the orientation of the display screen is between vertically downward and horizontally to the right.

且对移动终端进行锁屏时,需要保证显示界面处于显示状态。In addition, when locking the screen of the mobile terminal, it is necessary to ensure that the display interface is in a display state.

在移动终端的当前摆放状态为第二状态、第四状态、第五状态、第六状态、第七状态中的任意一种,移动终端的显示界面处于显示状态,且用户在指纹识别模组上输入的指纹信息与标准指纹信息相吻合时,对移动终端进行锁屏。需要说明的是本实施例中的方位描述均是以水平桌面作为基准。When the current placement state of the mobile terminal is any one of the second state, the fourth state, the fifth state, the sixth state, and the seventh state, the display interface of the mobile terminal is in the display state, and the user is in the fingerprint recognition module When the fingerprint information entered on the screen matches the standard fingerprint information, the mobile terminal will be locked. It should be noted that all orientation descriptions in this embodiment are based on a horizontal desktop.

本发明实施例一,通过检测移动终端的当前摆放状态、显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。Embodiment 1 of the present invention, by detecting the current placement state of the mobile terminal, the display state of the display interface and whether the fingerprint is input, after determining that the display interface of the mobile terminal is in the display state, the current placement state of the mobile terminal meets the lock screen condition and When the fingerprint input operation on the fingerprint identification module passes the verification, the lock screen operation can be performed, and the combination of fingerprint and gravity sensor can be used to realize the user's one-handed fast lock screen, which improves the user experience to a certain extent and solves the problems in the prior art. The physical button lock screen method shortens the service life of the physical button and the software lock screen affects the user experience.

实施例二Embodiment two

如图2所示,本发明实施例二提供一种移动终端的锁屏方法,其中移动终端包括指纹识别模组,锁屏方法包括:As shown in Figure 2, Embodiment 2 of the present invention provides a method for locking the screen of a mobile terminal, wherein the mobile terminal includes a fingerprint identification module, and the method for locking the screen includes:

步骤201、检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Step 201: Detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface.

第一方向为与移动终端的显示界面垂直、且与显示界面的朝向方向相同的方向。当移动终端放置在水平桌面上且显示屏幕的朝向为竖直向上时,则第一方向为:垂直于水平桌面竖直向上。当移动终端与水平桌面之间的夹角为45度,且显示界面的朝向为左上方时,则第一方向为:与水平桌面之间的夹角为45度且指向左上方。当移动终端与水平桌面之间的夹角为60度,且显示界面的朝向为右上方时,则第一方向为:与水平桌面之间的夹角为60度且指向右上方。移动终端相对于水平桌面的方向在此不再列举,且需要说明的是上述的方位均是以水平桌面为基准进行阐述的。The first direction is a direction perpendicular to the display interface of the mobile terminal and the same as an orientation direction of the display interface. When the mobile terminal is placed on the horizontal desktop and the orientation of the display screen is vertically upward, the first direction is: perpendicular to the horizontal desktop and vertically upward. When the angle between the mobile terminal and the horizontal desktop is 45 degrees, and the orientation of the display interface is the upper left, then the first direction is: the angle between the mobile terminal and the horizontal desktop is 45 degrees and points to the upper left. When the angle between the mobile terminal and the horizontal desktop is 60 degrees, and the orientation of the display interface is upper right, then the first direction is: the angle between the mobile terminal and the horizontal desktop is 60 degrees and it points to the upper right. The orientation of the mobile terminal relative to the horizontal desktop is not listed here, and it should be noted that the above orientations are all described based on the horizontal desktop.

检测第一方向的具体方法,如图3所示,包括:The specific method for detecting the first direction, as shown in Figure 3, includes:

步骤2011、获取移动终端内重力传感器检测的重力检测信号;Step 2011, acquiring the gravity detection signal detected by the gravity sensor in the mobile terminal;

步骤2012、根据重力检测信号获取三维直角坐标系的Z轴重力分量,其中三维直角坐标系的X-Y平面平行于显示界面,三维直角坐标系的Z轴的方向与第一方向相同;Step 2012: Obtain the Z-axis gravity component of the three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, and the direction of the Z-axis of the three-dimensional rectangular coordinate system is the same as the first direction;

步骤2013、根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Step 2013: Detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the Z-axis gravity component.

首先获取重力传感器输出的重力检测信号,其中重力传感器设置于移动终端内部,是一种根据压电效应原理来工作的器件。根据重力检测信号来获取三维直角坐标系的Z轴重力分量。其中本实施例中建立的三维直角坐标系中,三维直角坐标系的X-Y平面与显示界面平行,三维直角坐标系的Z轴垂直于移动终端的显示界面、且与显示界面的朝向相同。Firstly, the gravity detection signal output by the gravity sensor is obtained, wherein the gravity sensor is arranged inside the mobile terminal and is a device that works according to the principle of piezoelectric effect. The Z-axis gravity component of the three-dimensional Cartesian coordinate system is obtained according to the gravity detection signal. In the three-dimensional rectangular coordinate system established in this embodiment, the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, and the Z-axis of the three-dimensional rectangular coordinate system is perpendicular to the display interface of the mobile terminal and has the same orientation as the display interface.

然后根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向,具体为:Then detect the first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the Z-axis gravity component, specifically:

根据Z轴重力分量与移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角。在获取Z轴重力分量之后,利用现有技术可以根据Z轴重力分量与移动终端的重力值确定出Z轴与第三方向之间的第一夹角,其中第三方向竖直向下,与垂直于水平面向上的第二方向的方向相反。A first included angle between the Z-axis and the third vertically downward direction is determined according to the gravity component of the Z-axis and the gravity value of the mobile terminal. After obtaining the Z-axis gravity component, the first angle between the Z-axis and the third direction can be determined according to the Z-axis gravity component and the gravity value of the mobile terminal using the existing technology, wherein the third direction is vertically downward, and The direction of the second direction perpendicular to the horizontal plane upward is opposite.

根据Z轴重力分量与移动终端的重力值确定出Z轴与第三方向之间的第一夹角时,可以采用的方法为:由于Z轴重力分量已知,Z轴与X轴和Y轴垂直,那么Z轴与X轴和Y轴所在的平面垂直,表示X轴的重力分量和Y轴的重力分量的合力的线段在X轴和Y轴所形成的端面上,Z轴与X轴和Y轴所在的平面垂直,则Z轴与X轴和Y轴所在的平面上的任一直线垂直,则Z轴与表示X轴的重力分量和Y轴的重力分量的合力的线段垂直。When determining the first angle between the Z axis and the third direction according to the gravity component of the Z axis and the gravity value of the mobile terminal, the method that can be used is: since the gravity component of the Z axis is known, the Z axis and the X axis and the Y axis Vertical, then the Z-axis is perpendicular to the plane where the X-axis and Y-axis are located, and the line segment representing the resultant force of the gravity component of the X-axis and the gravity component of the Y-axis is on the end surface formed by the X-axis and the Y-axis, and the Z-axis and the X-axis and The plane where the Y axis is located is vertical, then the Z axis is perpendicular to any straight line on the plane where the X and Y axes are located, then the Z axis is perpendicular to the line segment representing the resultant force of the gravity component of the X axis and the gravity component of the Y axis.

由于Z轴重力分量已知、移动终端的重力值已知且Z轴与表示X轴的重力分量和Y轴的重力分量的合力的线段垂直,根据力的合成、分解的平行四边形法则,可以确定X轴的重力分量和Y轴的重力分量的合力,确定Z轴与第三方向之间的第一夹角。Since the gravity component of the Z axis is known, the gravity value of the mobile terminal is known, and the Z axis is perpendicular to the line segment representing the resultant force of the gravity component of the X axis and the gravity component of the Y axis, according to the parallelogram law of force synthesis and decomposition, it can be determined The resultant force of the gravity component of the X axis and the gravity component of the Y axis determines the first included angle between the Z axis and the third direction.

根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度。在获取Z轴与第三方向之间的第一夹角之后,可以确定出第一夹角的补角的角度值,其中第一夹角的补角的角度值即为Z轴与第二方向之间的夹角角度,因为Z轴的方向与第一方向相同,则可以确定第一夹角的补角的角度值即为第一方向与第二方向之间的夹角角度,第一方向与第二方向之间的夹角在0~180度之间。According to the first included angle between the Z axis and the third direction, an included angle between the first direction and the second direction is determined. After obtaining the first angle between the Z axis and the third direction, the angle value of the supplementary angle of the first angle can be determined, wherein the angle value of the supplementary angle of the first angle is the Z axis and the second direction The angle between the angle, because the direction of the Z axis is the same as the first direction, the angle value of the supplementary angle of the first angle can be determined to be the angle between the first direction and the second direction, the first direction The included angle with the second direction is between 0° and 180°.

最后,根据第一方向与第二方向之间的夹角角度检测出垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Finally, the first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface is detected according to the included angle between the first direction and the second direction.

移动终端的重力值为g,且方向为竖直向下,指向地面。如图4a所示,当移动终端放置在水平桌面上且显示界面的朝向为竖直向上时,则Z轴垂直于水平桌面竖直向上。此时,X轴上的重力分量为0,Y轴上的重力分量为0,Z轴上的重力分量为-g。The gravity value of the mobile terminal is g, and the direction is vertically downward, pointing to the ground. As shown in FIG. 4a, when the mobile terminal is placed on a horizontal desktop and the orientation of the display interface is vertically upward, the Z axis is perpendicular to the horizontal desktop and vertically upward. At this time, the gravity component on the X axis is 0, the gravity component on the Y axis is 0, and the gravity component on the Z axis is -g.

如图4b所示,当移动终端放置在水平桌面上且显示界面的朝向为竖直向下时,则Z轴垂直于水平桌面竖直向下。此时,X轴上的重力分量为0,Y轴上的重力分量为0,Z轴上的重力分量为g。As shown in FIG. 4b, when the mobile terminal is placed on a horizontal desktop and the orientation of the display interface is vertically downward, the Z axis is perpendicular to the horizontal desktop and vertically downward. At this time, the gravity component on the X axis is 0, the gravity component on the Y axis is 0, and the gravity component on the Z axis is g.

如图4c所示,当移动终端与水平桌面之间的夹角为90度,且显示界面的朝向为水平向左时,则Z轴与水平面平行且指向左侧。此时,X轴上的重力分量为-g,Y轴上的重力分量为0,Z轴上的重力分量为0。As shown in FIG. 4c, when the angle between the mobile terminal and the horizontal desktop is 90 degrees, and the orientation of the display interface is horizontal to the left, then the Z axis is parallel to the horizontal plane and points to the left. At this time, the gravity component on the X axis is -g, the gravity component on the Y axis is 0, and the gravity component on the Z axis is 0.

如图4d所示,当移动终端与水平桌面之间的夹角为90度,且显示界面的朝向为水平向右时,则Z轴与水平面平行且指向右侧。此时,X轴上的重力分量为g,Y轴上的重力分量为0,Z轴上的重力分量为0。As shown in FIG. 4d, when the angle between the mobile terminal and the horizontal desktop is 90 degrees, and the orientation of the display interface is horizontal to the right, then the Z axis is parallel to the horizontal plane and points to the right. At this time, the gravity component on the X axis is g, the gravity component on the Y axis is 0, and the gravity component on the Z axis is 0.

如图4e所示,当移动终端与水平桌面之间的夹角为90度,且手持移动终端的用户面向显示界面时,则Z轴与第二方向垂直且指向用户,此时,X轴上的重力分量为0,Y轴上的重力分量为-g,Z轴上的重力分量为0。As shown in Figure 4e, when the angle between the mobile terminal and the horizontal desktop is 90 degrees, and the user holding the mobile terminal faces the display interface, the Z axis is perpendicular to the second direction and points to the user. The gravity component of is 0, the gravity component on the Y axis is -g, and the gravity component on the Z axis is 0.

在移动终端由图4a所示的状态变化为图4c所示的状态时,即移动终端由显示界面垂直于水平桌面向上的状态变化为显示界面的朝向为水平向左时,此时X轴上的重力分量由0变为-g,Y轴上的重力分量不变,Z轴上的重力分量由-g变为0。When the mobile terminal changes from the state shown in Figure 4a to the state shown in Figure 4c, that is, when the mobile terminal changes from the state where the display interface is vertical to the horizontal desktop upwards to when the orientation of the display interface is horizontal to the left, at this time the X axis The gravity component of the weight changes from 0 to -g, the gravity component on the Y axis remains unchanged, and the gravity component on the Z axis changes from -g to 0.

在移动终端由图4a所示的状态变化为图4d所示的状态时,即移动终端由显示界面垂直于水平桌面向上的状态变化为显示界面的朝向为水平向右时,此时X轴上的重力分量由0变为g,Y轴上的重力分量不变,Z轴上的重力分量由-g变为0。When the mobile terminal changes from the state shown in Figure 4a to the state shown in Figure 4d, that is, when the mobile terminal changes from the state where the display interface is vertical to the horizontal desktop upwards to when the orientation of the display interface is horizontal to the right, at this time the X axis The gravity component on the Y axis changes from 0 to g, the gravity component on the Y axis remains unchanged, and the gravity component on the Z axis changes from -g to 0.

在移动终端由图4a所示的状态变化为图4e所示的状态时,即移动终端由显示界面垂直于水平桌面向上的状态变化为显示界面与与手持移动终端的用户相对时,此时X轴上的重力分量不变,Y轴上的重力分量由0变为-g,Z轴上的重力分量由-g变为0。When the mobile terminal changes from the state shown in Figure 4a to the state shown in Figure 4e, that is, the mobile terminal changes from the state where the display interface is vertical to the horizontal desktop upwards to when the display interface is opposite to the user holding the mobile terminal, at this time X The gravity component on the axis remains unchanged, the gravity component on the Y axis changes from 0 to -g, and the gravity component on the Z axis changes from -g to 0.

需要说明的是,上述移动终端的摆放状态、以及摆放状态的变化仅仅为几个典型实施例,移动终端的摆放状态、以及摆放状态的变化在此不再一一列举。It should be noted that the placement state of the mobile terminal and changes in the placement state are only a few typical embodiments, and the placement state and changes in the placement state of the mobile terminal will not be listed here.

上述图4a~图4e中均是以X轴与移动终端的宽度方向平行,Y轴与移动终端的长度方向平行、Z轴垂直于显示界面且指向与显示界面的朝向相同来阐述的。当然本领域技术人员也可以根据自身习惯来确定X轴、Y轴和Z轴的空间位置。上述的变化过程实际是移动终端的转动过程,在转动过程中,移动终端的顶部和底部的位置不会发生变化。4a-4e above are all explained with the X-axis parallel to the width direction of the mobile terminal, the Y-axis parallel to the length direction of the mobile terminal, and the Z-axis perpendicular to the display interface and pointing to the same orientation as the display interface. Of course, those skilled in the art can also determine the spatial positions of the X-axis, Y-axis and Z-axis according to their own habits. The above changing process is actually a rotating process of the mobile terminal, and during the rotating process, the positions of the top and bottom of the mobile terminal will not change.

步骤202、检测移动终端显示界面的当前显示状态和指纹识别模组上的指纹输入操作。Step 202, detecting the current display state of the display interface of the mobile terminal and the fingerprint input operation on the fingerprint identification module.

移动终端的显示状态包括:显示屏幕进行显示的状态和显示屏幕锁屏的状态。且移动终端上设置有指纹识别模组,指纹识别模组可以设置在移动终端的壳体上,指纹识别模组检测用户输入的指纹信息。The display state of the mobile terminal includes: a state where the display screen is displayed and a state where the display screen is locked. And the mobile terminal is provided with a fingerprint recognition module, which can be arranged on the housing of the mobile terminal, and the fingerprint recognition module detects the fingerprint information input by the user.

步骤203、当第一方向与垂直于水平面向上的第二方向之间的夹角角度大于等于预设角度、当前显示界面处于显示状态且同时指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。Step 203, when the angle between the first direction and the second direction perpendicular to the horizontal plane is greater than or equal to the preset angle, the current display interface is in the display state, and the fingerprint input operation on the fingerprint recognition module is verified, output Lock screen command.

在确定出第一方向与第二方向之间的夹角角度大于等于预设角度、显示界面处于显示状态且指纹识别模组上的指纹输入操作通过验证时即可输出锁屏指令,对移动终端进行锁屏。其中预设角度为90度。When it is determined that the included angle between the first direction and the second direction is greater than or equal to the preset angle, the display interface is in the display state, and the fingerprint input operation on the fingerprint recognition module passes the verification, the lock screen instruction can be output, and the mobile terminal Lock screen. The preset angle is 90 degrees.

在第一方向与第二方向的夹角角度小于预设角度时,第一方向的状态包括:垂直于水平面竖直向上、垂直于显示界面指向左上方、垂直于显示界面指向右上方,此时Z轴重力分量为负值,显示界面的朝向包括:竖直向上的第一状态,位于竖直向上和水平向左之间的第三状态,位于竖直向上和水平向右之间的第八状态,此时移动终端的摆放状态不满足锁屏条件。When the included angle between the first direction and the second direction is smaller than the preset angle, the state of the first direction includes: perpendicular to the horizontal plane and vertical upward, perpendicular to the display interface pointing to the upper left, and perpendicular to the display interface to point to the upper right. The Z-axis gravity component is a negative value, and the orientation of the display interface includes: the first state vertically upward, the third state between vertically upward and horizontally left, and the eighth state between vertically upward and horizontally right state, at this time, the placement state of the mobile terminal does not meet the lock screen condition.

在第一方向与第二方向的夹角角度大于预设角度时,第一方向的状态包括:垂直于水平面竖直向下、垂直于显示界面指向左下方、垂直于显示界面指向右下方,此时Z轴重力分量为正值,显示界面的朝向包括:竖直向下的第四状态,位于水平向左和竖直向下之间的第五状态,位于竖直向下和水平向右之间的第七状态,此时移动终端的摆放状态满足锁屏条件。When the included angle between the first direction and the second direction is greater than the preset angle, the state of the first direction includes: perpendicular to the horizontal plane and vertically downward, perpendicular to the display interface pointing to the lower left, perpendicular to the display interface and pointing to the lower right, and When the Z-axis gravity component is a positive value, the orientation of the display interface includes: the fourth state of vertical downward, the fifth state between horizontal left and vertical downward, and the fifth state between vertical downward and horizontal right In the seventh state between, the placement state of the mobile terminal meets the lock screen condition at this time.

在第一方向与第二方向的夹角角度等于预设角度时,第一方向的状态包括:垂直于显示界面水平向左、垂直于显示界面垂直向右,此时Z轴重力分量为0。显示界面的朝向包括:水平向左的第二状态,水平向右的第六状态,此时移动终端的摆放状态满足锁屏条件。When the included angle between the first direction and the second direction is equal to the preset angle, the state of the first direction includes: vertical to the display interface, horizontal to the left, vertical to the display interface, vertical to the right, and the Z-axis gravity component is 0 at this time. The orientation of the display interface includes: a second state of being horizontally left, and a sixth state of being horizontally right, and at this time, the placement state of the mobile terminal satisfies the lock screen condition.

本发明实施例二,通过检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向与垂直于水平面向上的第二方向之间的夹角角度,显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、第一方向与第二方向之间的夹角角度大于等于预设角度满足锁屏条件且指纹识别模组上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。In the second embodiment of the present invention, by detecting the angle between the first direction perpendicular to the display interface of the mobile terminal and the same as the orientation direction of the display interface, and the second direction perpendicular to the horizontal plane, the display state of the display interface and Whether the fingerprint is in the input state, after determining that the display interface of the mobile terminal is in the display state, the angle between the first direction and the second direction is greater than or equal to the preset angle, the lock screen condition is met, and the fingerprint input operation on the fingerprint identification module is verified. When performing the lock screen operation, the combination of fingerprint and gravity sensor can be used to realize the user's one-handed fast lock screen, which improves the user experience to a certain extent, and solves the problem of shortening the service life of physical keys in the prior art. And the problem that the software lock screen affects the user experience.

实施例三Embodiment Three

以下为本发明实施例三提供的一种移动终端的实施例。移动终端的实施例与上述的方法实施例属于同一构思,移动终端的实施例中未详尽描述的细节内容,可以参考上述方法实施例。The following is an embodiment of a mobile terminal provided by Embodiment 3 of the present invention. The embodiment of the mobile terminal and the above-mentioned method embodiment belong to the same idea, and details not described in detail in the embodiment of the mobile terminal can refer to the above-mentioned method embodiment.

其中,如图5所示,移动终端包括指纹识别模组,且移动终端还包括:Wherein, as shown in Figure 5, the mobile terminal includes a fingerprint identification module, and the mobile terminal also includes:

监测模块10,用于监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组上的指纹输入操作;The monitoring module 10 is used to monitor the current placement state of the mobile terminal, the current display state and the fingerprint input operation on the fingerprint recognition module;

处理模块20,用于当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。The processing module 20 is configured to output a screen lock instruction when the mobile terminal is currently in the display state, the current placement state of the mobile terminal meets the screen lock condition and the fingerprint input operation on the fingerprint recognition module is verified.

其中,如图6所示,监测模块10包括:Wherein, as shown in Figure 6, the monitoring module 10 includes:

检测子模块11,用于检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向;The detection sub-module 11 is configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface;

计算子模块12,用于计算第一方向与第二方向之间的夹角角度,其中第二方向为垂直于水平面向上的方向;Calculation sub-module 12, used to calculate the angle angle between the first direction and the second direction, wherein the second direction is an upward direction perpendicular to the horizontal plane;

确定子模块13,用于当夹角角度大于等于预设角度时,确定移动终端的当前摆放状态满足锁屏条件。The determination sub-module 13 is configured to determine that the current placement state of the mobile terminal satisfies the lock screen condition when the included angle is greater than or equal to a preset angle.

其中,检测子模块11包括:Wherein, detection submodule 11 includes:

第一获取单元110,用于获取移动终端内重力传感器检测的重力检测信号;The first obtaining unit 110 is used to obtain the gravity detection signal detected by the gravity sensor in the mobile terminal;

第二获取单元111,用于根据重力检测信号获取三维直角坐标系的Z轴重力分量,其中三维直角坐标系的X-Y平面平行于显示界面,三维直角坐标系的Z轴的方向与第一方向相同;The second acquiring unit 111 is configured to acquire the Z-axis gravity component of the three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, and the direction of the Z-axis of the three-dimensional rectangular coordinate system is the same as the first direction ;

检测单元112,用于根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。The detection unit 112 is configured to detect a first direction perpendicular to the display interface of the mobile terminal and the same as the orientation direction of the display interface according to the Z-axis gravity component.

其中,检测单元112包括:Wherein, the detection unit 112 includes:

第一子单元1121,用于根据Z轴重力分量与移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角;The first subunit 1121 is configured to determine a first angle between the Z axis and a third vertical downward direction according to the gravity component of the Z axis and the gravity value of the mobile terminal;

第二子单元1122,用于根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度;The second subunit 1122 is configured to determine the angle between the first direction and the second direction according to the first angle between the Z axis and the third direction;

第三子单元1123,用于根据第一方向与第二方向之间的夹角角度检测出垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。The third subunit 1123 is configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as an orientation direction of the display interface according to an included angle between the first direction and the second direction.

其中,第二子单元1122进一步用于:Wherein, the second subunit 1122 is further used for:

确定第一夹角的补角的角度值为第一方向与第二方向之间的夹角角度。Determine the angle value of the supplementary angle of the first included angle as the included angle between the first direction and the second direction.

其中,预设角度为90度。Wherein, the preset angle is 90 degrees.

本发明实施例三,通过检测移动终端的当前摆放状态、显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。Embodiment 3 of the present invention, by detecting the current placement state of the mobile terminal, the display state of the display interface, and whether the fingerprint is input, after determining that the display interface of the mobile terminal is in the display state, the current placement state of the mobile terminal satisfies the lock screen condition and When the fingerprint input operation on the fingerprint identification module passes the verification, the lock screen operation can be performed, and the combination of fingerprint and gravity sensor can be used to realize the user's one-handed fast lock screen, which improves the user experience to a certain extent and solves the problems in the prior art. The physical button lock screen method shortens the service life of the physical button and the software lock screen affects the user experience.

实施例四Embodiment four

本发明实施例四提供了一种移动终端,如图7所示,移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704、用户接口703和指纹识别模组706。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。Embodiment 4 of the present invention provides a mobile terminal. As shown in FIG. Various components in the mobile terminal 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .

其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本文描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (Direct Rambus RAM, DRRAM). Memory 702 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 7021 and an application program 7022 .

其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如显示控制器、媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。Among them, the operating system 7021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a display controller, a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 7022 .

在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,处理器701用于监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组706上的指纹输入操作;当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组706上的指纹输入操作通过验证时,输出锁屏指令。In this embodiment of the present invention, the processor 701 is used to monitor the current placement state, current display state and Fingerprint input operation on the fingerprint recognition module 706; when the mobile terminal is currently in the display state, the current placement state of the mobile terminal meets the lock screen condition and the fingerprint input operation on the fingerprint recognition module 706 is verified at the same time, output the lock screen instruction .

上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecific IntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates Or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable GateArray, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,处理器701还用于检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向;计算第一方向与第二方向之间的夹角角度,其中第二方向为垂直于水平面向上的方向;当夹角角度大于等于预设角度时,确定移动终端的当前摆放状态满足锁屏条件,其中,预设角度为90度。Optionally, the processor 701 is further configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface; calculate an included angle between the first direction and the second direction, where the second The direction is an upward direction perpendicular to the horizontal plane; when the included angle is greater than or equal to a preset angle, it is determined that the current placement state of the mobile terminal satisfies the lock screen condition, wherein the preset angle is 90 degrees.

可选的,处理器701还用于获取移动终端内重力传感器检测的重力检测信号;根据重力检测信号获取三维直角坐标系的Z轴重力分量,其中三维直角坐标系的X-Y平面平行于显示界面,三维直角坐标系的Z轴的方向与第一方向相同;根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Optionally, the processor 701 is also configured to obtain a gravity detection signal detected by a gravity sensor in the mobile terminal; obtain a Z-axis gravity component of a three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, The direction of the Z-axis of the three-dimensional Cartesian coordinate system is the same as the first direction; the first direction perpendicular to the display interface of the mobile terminal and the same as the orientation direction of the display interface is detected according to the gravity component of the Z-axis.

可选的,处理器701在根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向时,还用于:根据Z轴重力分量与移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角;根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度;根据第一方向与第二方向之间的夹角角度检测出垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Optionally, when the processor 701 detects the first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the Z-axis gravity component, it is further configured to: according to the Z-axis gravity component and the gravity of the mobile terminal The value determines the first angle between the Z axis and the third vertical direction; according to the first angle between the Z axis and the third direction, determine the angle between the first direction and the second direction Angle: Detecting a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the included angle between the first direction and the second direction.

可选的,处理器701在根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度时,还用于确定第一夹角的补角的角度值为第一方向与第二方向之间的夹角角度。Optionally, when the processor 701 determines the angle between the first direction and the second direction according to the first angle between the Z axis and the third direction, it is also used to determine the supplementary angle of the first angle The angle value of is the angle between the first direction and the second direction.

移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

本发明实施例的移动终端,通过处理器701检测移动终端的当前摆放状态、显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组706上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。In the mobile terminal of the embodiment of the present invention, the processor 701 detects the current placement state of the mobile terminal, the display state of the display interface, and whether the fingerprint is input, and determines whether the display interface of the mobile terminal is in the display state and the current placement state of the mobile terminal When the lock screen condition is satisfied and the fingerprint input operation on the fingerprint identification module 706 is verified, the screen lock operation can be performed, and the combination of fingerprint and gravity sensor can be used to realize the user's one-hand fast lock screen, which improves the user experience to a certain extent The invention solves the problems in the prior art that the physical button screen lock method shortens the service life of the physical button and the software lock screen affects the user experience.

实施例五Embodiment five

本发明实施例五提供了一种移动终端。如图8所示,移动终端800可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。Embodiment 5 of the present invention provides a mobile terminal. As shown in FIG. 8 , the mobile terminal 800 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图8中的移动终端800包括射频(RadioFrequency,RF)电路810、存储器820、输入单元830、显示单元840、指纹识别模组850、处理器860、音频电路870、WiFi(WirelessFidelity)模块880和电源890。Mobile terminal 800 in Fig. 8 comprises radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, fingerprint identification module 850, processor 860, audio frequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.

其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器860,并能接收处理器860发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备830,其他输入设备830可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 830 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 800 . Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831 . The touch panel 831, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 831 using any suitable object or accessory such as a finger or a stylus), and based on preset The specified program drives the corresponding connected device. Optionally, the touch panel 831 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 830, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板841。Wherein, the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800 . The display unit 840 may include a display panel 841. Optionally, the display panel 841 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器860以确定触摸事件的类型,随后处理器860根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 831 can cover the display panel 841 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 860 to determine the type of the touch event, and then the processor The 860 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器860是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器860可包括一个或多个处理单元。Wherein the processor 860 is the control center of the mobile terminal 800, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 821, and calling the software programs and/or modules stored in the second memory 821. The data in the memory 822 executes various functions of the mobile terminal 800 and processes data, so as to monitor the mobile terminal 800 as a whole. Optionally, the processor 860 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,处理器860用于监测移动终端的当前摆放状态、当前显示状态以及指纹识别模组850上的指纹输入操作;当移动终端当前处于显示状态、移动终端的当前摆放状态满足锁屏条件且同时指纹识别模组850上的指纹输入操作通过验证时,输出锁屏指令。In the embodiment of the present invention, the processor 860 is used to monitor the current placement status, current Display state and the fingerprint input operation on the fingerprint identification module 850; when the mobile terminal is currently in the display state, the current placement state of the mobile terminal meets the lock screen condition and the fingerprint input operation on the fingerprint identification module 850 is verified at the same time, output Lock screen command.

可选地,处理器860还用于检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向;计算第一方向与第二方向之间的夹角角度,其中第二方向为垂直于水平面向上的方向;当夹角角度大于等于预设角度时,确定移动终端的当前摆放状态满足锁屏条件,其中,预设角度为90度。Optionally, the processor 860 is further configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface; calculate an included angle between the first direction and the second direction, where the second The direction is an upward direction perpendicular to the horizontal plane; when the included angle is greater than or equal to a preset angle, it is determined that the current placement state of the mobile terminal satisfies the lock screen condition, wherein the preset angle is 90 degrees.

可选的,处理器860还用于获取移动终端内重力传感器检测的重力检测信号;根据重力检测信号获取三维直角坐标系的Z轴重力分量,其中三维直角坐标系的X-Y平面平行于显示界面,三维直角坐标系的Z轴的方向与第一方向相同;根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Optionally, the processor 860 is also configured to obtain a gravity detection signal detected by a gravity sensor in the mobile terminal; obtain a Z-axis gravity component of a three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, The direction of the Z-axis of the three-dimensional Cartesian coordinate system is the same as the first direction; the first direction perpendicular to the display interface of the mobile terminal and the same as the orientation direction of the display interface is detected according to the gravity component of the Z-axis.

可选的,处理器860在根据Z轴重力分量检测垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向时,还用于:根据Z轴重力分量与移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角;根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度;根据第一方向与第二方向之间的夹角角度检测出垂直于移动终端的显示界面、且与显示界面的朝向方向相同的第一方向。Optionally, when the processor 860 detects the first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the Z-axis gravity component, it is further configured to: according to the Z-axis gravity component and the gravity of the mobile terminal The value determines the first angle between the Z axis and the third vertical direction; according to the first angle between the Z axis and the third direction, determine the angle between the first direction and the second direction Angle: Detecting a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface according to the included angle between the first direction and the second direction.

可选的,处理器860在根据Z轴与第三方向之间的第一夹角,确定第一方向与第二方向之间的夹角角度时,还用于确定第一夹角的补角的角度值为第一方向与第二方向之间的夹角角度。Optionally, when the processor 860 determines the angle between the first direction and the second direction according to the first angle between the Z axis and the third direction, it is also used to determine the supplementary angle of the first angle The angle value of is the angle between the first direction and the second direction.

本发明实施例的移动终端,通过处理器860检测移动终端的当前摆放状态、显示界面的显示状态和指纹是否输入状态,在确定移动终端的显示界面处于显示状态、移动终端的当前摆放状态满足锁屏条件且指纹识别模组850上的指纹输入操作通过验证时,进行锁屏操作,可以利用指纹和重力传感相结合来实现用户的单手快速锁屏,在一定程度上提升用户体验,解决现有技术中物理按键锁屏方式缩短物理按键的使用寿命以及软件锁屏影响用户的使用体验的问题。In the mobile terminal of the embodiment of the present invention, the processor 860 detects the current placement state of the mobile terminal, the display state of the display interface, and whether the fingerprint is input, and determines whether the display interface of the mobile terminal is in the display state and the current placement state of the mobile terminal When the lock screen condition is satisfied and the fingerprint input operation on the fingerprint identification module 850 is verified, the screen lock operation can be performed, and the combination of fingerprint and gravity sensor can be used to realize the user's one-hand fast lock screen, which improves the user experience to a certain extent The invention solves the problems in the prior art that the physical button screen lock method shortens the service life of the physical button and the software lock screen affects the user experience.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can also be made without departing from the principles described in the present invention. within the scope of protection of the invention.

Claims (12)

Translated fromChinese
1.一种移动终端的锁屏方法,所述移动终端包括指纹识别模组,其特征在于,所述方法包括:1. A method for locking the screen of a mobile terminal, said mobile terminal comprising a fingerprint identification module, characterized in that said method comprises:监测所述移动终端的当前摆放状态、当前显示状态以及所述指纹识别模组上的指纹输入操作;Monitoring the current placement state, current display state and fingerprint input operation on the fingerprint identification module of the mobile terminal;当所述移动终端当前处于显示状态、所述移动终端的当前摆放状态满足锁屏条件且同时所述指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。When the mobile terminal is currently in the display state, the current placement state of the mobile terminal satisfies the lock screen condition and at the same time, the fingerprint input operation on the fingerprint recognition module passes the verification, output the screen lock instruction.2.根据权利要求1所述的移动终端的锁屏方法,其特征在于,所述监测所述移动终端的当前摆放状态包括:2. The method for locking the screen of the mobile terminal according to claim 1, wherein the monitoring the current placement state of the mobile terminal comprises:检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向;Detecting a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface;计算所述第一方向与第二方向之间的夹角角度,其中所述第二方向为垂直于水平面向上的方向;calculating an included angle between the first direction and a second direction, wherein the second direction is an upward direction perpendicular to the horizontal plane;当所述夹角角度大于等于预设角度时,确定所述移动终端的当前摆放状态满足锁屏条件。When the included angle is greater than or equal to the preset angle, it is determined that the current placement state of the mobile terminal satisfies the screen lock condition.3.根据权利要求2所述的移动终端的锁屏方法,其特征在于,所述检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向的步骤包括:3. The method for locking the screen of a mobile terminal according to claim 2, wherein the step of detecting a first direction that is perpendicular to the display interface of the mobile terminal and that is the same as the orientation direction of the display interface comprises :获取所述移动终端内重力传感器检测的重力检测信号;Obtain the gravity detection signal detected by the gravity sensor in the mobile terminal;根据所述重力检测信号获取三维直角坐标系的Z轴重力分量,其中所述三维直角坐标系的X-Y平面平行于所述显示界面,所述三维直角坐标系的Z轴的方向与所述第一方向相同;Obtain the Z-axis gravity component of the three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, and the direction of the Z-axis of the three-dimensional rectangular coordinate system is the same as that of the first same direction;根据Z轴重力分量检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向。Detecting a first direction that is perpendicular to the display interface of the mobile terminal and is the same as an orientation direction of the display interface according to the gravity component of the Z axis.4.根据权利要求3所述的移动终端的锁屏方法,其特征在于,所述根据Z轴重力分量检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向的步骤包括:4. The method for locking the screen of a mobile terminal according to claim 3, wherein the detection of the first display interface perpendicular to the display interface of the mobile terminal and in the same orientation direction as the display interface is performed according to the Z-axis gravity component. Steps in one direction include:根据Z轴重力分量与所述移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角;determining a first angle between the Z axis and a third vertical downward direction according to the gravity component of the Z axis and the gravity value of the mobile terminal;根据Z轴与所述第三方向之间的第一夹角,确定所述第一方向与所述第二方向之间的夹角角度;determining an included angle between the first direction and the second direction according to a first included angle between the Z axis and the third direction;根据所述第一方向与所述第二方向之间的夹角角度检测出垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向。A first direction that is perpendicular to the display interface of the mobile terminal and is the same as an orientation direction of the display interface is detected according to an included angle between the first direction and the second direction.5.根据权利要求4所述的移动终端的锁屏方法,其特征在于,所述根据Z轴与所述第三方向之间的第一夹角,确定所述第一方向与所述第二方向之间的夹角角度的步骤包括:5. The method for locking the screen of a mobile terminal according to claim 4, wherein the first direction and the second direction are determined according to the first angle between the Z axis and the third direction. The steps for the included angle between directions include:确定所述第一夹角的补角的角度值为所述第一方向与所述第二方向之间的夹角角度。An angle value for determining a supplementary angle of the first included angle is an included angle between the first direction and the second direction.6.根据权利要求2所述的移动终端的锁屏方法,其特征在于,所述预设角度为90度。6. The method for locking the screen of a mobile terminal according to claim 2, wherein the preset angle is 90 degrees.7.一种移动终端,所述移动终端包括指纹识别模组,其特征在于,所述移动终端还包括:7. A kind of mobile terminal, described mobile terminal comprises fingerprint recognition module, is characterized in that, described mobile terminal also comprises:监测模块,用于监测所述移动终端的当前摆放状态、当前显示状态以及所述指纹识别模组上的指纹输入操作;A monitoring module, configured to monitor the current placement state and current display state of the mobile terminal and the fingerprint input operation on the fingerprint identification module;处理模块,用于当所述移动终端当前处于显示状态、所述移动终端的当前摆放状态满足锁屏条件且同时所述指纹识别模组上的指纹输入操作通过验证时,输出锁屏指令。A processing module, configured to output a screen lock command when the mobile terminal is currently in a display state, the current placement state of the mobile terminal meets the screen lock condition, and the fingerprint input operation on the fingerprint recognition module passes verification.8.根据权利要求7所述的移动终端,其特征在于,所述监测模块包括:8. The mobile terminal according to claim 7, wherein the monitoring module comprises:检测子模块,用于检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向;A detection submodule, configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as the orientation direction of the display interface;计算子模块,用于计算所述第一方向与第二方向之间的夹角角度,其中所述第二方向为垂直于水平面向上的方向;A calculation submodule, configured to calculate the included angle between the first direction and the second direction, wherein the second direction is an upward direction perpendicular to the horizontal plane;确定子模块,用于当所述夹角角度大于等于预设角度时,确定所述移动终端的当前摆放状态满足锁屏条件。A determining submodule, configured to determine that the current placement state of the mobile terminal satisfies the lock screen condition when the included angle is greater than or equal to a preset angle.9.根据权利要求8所述的移动终端,其特征在于,所述检测子模块包括:9. The mobile terminal according to claim 8, wherein the detection submodule comprises:第一获取单元,用于获取所述移动终端内重力传感器检测的重力检测信号;a first acquiring unit, configured to acquire a gravity detection signal detected by a gravity sensor in the mobile terminal;第二获取单元,用于根据所述重力检测信号获取三维直角坐标系的Z轴重力分量,其中所述三维直角坐标系的X-Y平面平行于所述显示界面,所述三维直角坐标系的Z轴的方向与所述第一方向相同;The second acquisition unit is configured to acquire the Z-axis gravity component of the three-dimensional rectangular coordinate system according to the gravity detection signal, wherein the X-Y plane of the three-dimensional rectangular coordinate system is parallel to the display interface, and the Z-axis of the three-dimensional rectangular coordinate system The direction is the same as the first direction;检测单元,用于根据Z轴重力分量检测垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向。The detection unit is configured to detect a first direction that is perpendicular to the display interface of the mobile terminal and is the same as an orientation direction of the display interface according to the Z-axis gravity component.10.根据权利要求9所述的移动终端,其特征在于,所述检测单元包括:10. The mobile terminal according to claim 9, wherein the detection unit comprises:第一子单元,用于根据Z轴重力分量与所述移动终端的重力值确定出Z轴与竖直向下的第三方向之间的第一夹角;The first subunit is configured to determine a first angle between the Z axis and a third vertical downward direction according to the gravity component of the Z axis and the gravity value of the mobile terminal;第二子单元,用于根据Z轴与所述第三方向之间的第一夹角,确定所述第一方向与所述第二方向之间的夹角角度;A second subunit, configured to determine an included angle between the first direction and the second direction according to a first included angle between the Z axis and the third direction;第三子单元,用于根据所述第一方向与所述第二方向之间的夹角角度检测出垂直于所述移动终端的显示界面、且与所述显示界面的朝向方向相同的第一方向。The third subunit is configured to detect a first direction perpendicular to the display interface of the mobile terminal and in the same orientation direction as the display interface according to the included angle between the first direction and the second direction. direction.11.根据权利要求10所述的移动终端,其特征在于,所述第二子单元进一步用于:11. The mobile terminal according to claim 10, wherein the second subunit is further used for:确定所述第一夹角的补角的角度值为所述第一方向与所述第二方向之间的夹角角度。An angle value for determining a supplementary angle of the first included angle is an included angle between the first direction and the second direction.12.根据权利要求8所述的移动终端,其特征在于,所述预设角度为90度。12. The mobile terminal according to claim 8, wherein the preset angle is 90 degrees.
CN201610403847.3A2016-06-082016-06-08The screen locking method of a kind of mobile terminal and mobile terminalPendingCN106096365A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610403847.3ACN106096365A (en)2016-06-082016-06-08The screen locking method of a kind of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610403847.3ACN106096365A (en)2016-06-082016-06-08The screen locking method of a kind of mobile terminal and mobile terminal

Publications (1)

Publication NumberPublication Date
CN106096365Atrue CN106096365A (en)2016-11-09

Family

ID=57228424

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610403847.3APendingCN106096365A (en)2016-06-082016-06-08The screen locking method of a kind of mobile terminal and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106096365A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106569586A (en)*2016-11-112017-04-19奇酷互联网络科技(深圳)有限公司Terminal device and method and apparatus thereof for turning off screen
CN111368281A (en)*2020-03-042020-07-03Oppo广东移动通信有限公司Electronic equipment and unlocking method thereof
CN112084480A (en)*2020-09-152020-12-15珠海格力电器股份有限公司Screen locking method and device of mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101853379A (en)*2009-03-182010-10-06Lg电子株式会社The method of portable terminal and this portable terminal of control
CN101980516A (en)*2010-10-262011-02-23浙江大学 A method for locking and unlocking screens on mobile phones with Android system
CN102736853A (en)*2012-05-172012-10-17北京三星通信技术研究有限公司Screen unlocking method, screen locking method and terminal
CN103577073A (en)*2012-07-302014-02-12联想(北京)有限公司Information processing method and electronic equipment
CN104104784A (en)*2013-04-102014-10-15中兴通讯股份有限公司Method and system for automatic screen locking of terminal
KR20150045205A (en)*2013-10-182015-04-28엘지전자 주식회사Electronic device and control method thereof
CN105373315A (en)*2015-10-152016-03-02广东欧珀移动通信有限公司Standby method and apparatus for mobile terminal and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101853379A (en)*2009-03-182010-10-06Lg电子株式会社The method of portable terminal and this portable terminal of control
CN101980516A (en)*2010-10-262011-02-23浙江大学 A method for locking and unlocking screens on mobile phones with Android system
CN102736853A (en)*2012-05-172012-10-17北京三星通信技术研究有限公司Screen unlocking method, screen locking method and terminal
CN103577073A (en)*2012-07-302014-02-12联想(北京)有限公司Information processing method and electronic equipment
CN104104784A (en)*2013-04-102014-10-15中兴通讯股份有限公司Method and system for automatic screen locking of terminal
KR20150045205A (en)*2013-10-182015-04-28엘지전자 주식회사Electronic device and control method thereof
CN105373315A (en)*2015-10-152016-03-02广东欧珀移动通信有限公司Standby method and apparatus for mobile terminal and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106569586A (en)*2016-11-112017-04-19奇酷互联网络科技(深圳)有限公司Terminal device and method and apparatus thereof for turning off screen
CN111368281A (en)*2020-03-042020-07-03Oppo广东移动通信有限公司Electronic equipment and unlocking method thereof
CN112084480A (en)*2020-09-152020-12-15珠海格力电器股份有限公司Screen locking method and device of mobile terminal

Similar Documents

PublicationPublication DateTitle
CN105824559B (en)False touch recognition and processing method and electronic equipment
CN106778183A (en)A kind of Terminal fingerprints know method for distinguishing and mobile terminal
CN106250754B (en)A kind of control method and mobile terminal of application program
CN107229911B (en) Fingerprint identification method and mobile terminal
CN105243345B (en)The method and electronic equipment of a kind of electronic equipment false-touch prevention
CN107506109A (en)A kind of method and mobile terminal for starting application program
CN106484303A (en)A kind of method preventing maloperation and electronic equipment
CN107272956A (en)A kind of display methods, mobile terminal and computer-readable recording medium
CN106126039A (en)Operation interface display method and mobile terminal
CN106445235A (en)Touch starting position identification method and mobile terminal
CN106951174A (en)The method of adjustment and mobile terminal of a kind of dummy keyboard
CN106095185B (en) One-hand operation method and mobile terminal
CN106200948A (en)The falling protection method of a kind of flexible screen mobile terminal and mobile terminal
CN105824525A (en)Method for triggering terminal operation and mobile terminal
CN106371719A (en)Screen rotation control method and mobile terminal
CN106250026A (en)The startup method of the application program of a kind of mobile terminal and mobile terminal
CN107613193A (en) A camera control method and mobile terminal
CN106557259A (en)A kind of operational approach and mobile terminal of mobile terminal
CN106873874A (en)A kind of application program open method and mobile terminal
CN106648242A (en)Control method of touch-control operation and mobile terminal
CN106022065A (en)Mobile terminal and control method thereof
CN106445299A (en) A control method and mobile terminal
CN107422970A (en)A kind of unlocking method and mobile terminal
CN106096365A (en)The screen locking method of a kind of mobile terminal and mobile terminal
CN106681640B (en) Screen display control method of a mobile terminal and mobile terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20161109


[8]ページ先頭

©2009-2025 Movatter.jp