WO2016061971A1 - 终端设备及其解锁处理方法、计算机存储介质 - Google Patents

终端设备及其解锁处理方法、计算机存储介质 Download PDF

Info

Publication number
WO2016061971A1
WO2016061971A1 PCT/CN2015/073707 CN2015073707W WO2016061971A1 WO 2016061971 A1 WO2016061971 A1 WO 2016061971A1 CN 2015073707 W CN2015073707 W CN 2015073707W WO 2016061971 A1 WO2016061971 A1 WO 2016061971A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
target area
unlocking
display area
area
Prior art date
Application number
PCT/CN2015/073707
Other languages
English (en)
French (fr)
Inventor
李焕
王琛
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016061971A1 publication Critical patent/WO2016061971A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to an unlocking technology of a terminal device, and in particular, to a terminal device, an unlocking processing method thereof, and a computer storage medium.
  • the screen of the terminal is getting larger and larger, which makes the blind spot on the screen untouchable when the terminal device is operated by one hand.
  • the user In order to operate the blind zone interface, the user is required.
  • the hand-over operation or the two-hand operation at the same time the terminal device provided by the related art has already supported switching between the horizontal display mode and the vertical display mode to facilitate user operation; however, the related technology still has an unlock interface that does not support the horizontal display mode and Vertical screen display mode switching between modes;
  • the unlocking interface is displayed after being turned upside down or left and right, that is, there are four kinds of unlocking patterns in the display direction (ie, four screens that can face the screen)
  • the edge display is displayed; however, the unlocked interface displayed at this time (for example, the relative position between the nine squares) is fixed, and the unlocked interface of the display cannot be adaptively adjusted according to the posture of the terminal device, thereby making it impossible to target different holding modes. (For example, holding with the left hand or holding with the right hand), the adaptive display is still unable to meet the user's need to unlock the terminal device with one hand, which affects the user experience.
  • the embodiment of the invention provides a terminal device, an unlocking processing method thereof, and a computer storage medium, which can meet the requirement that the user needs to operate the terminal device for unlocking with one hand, and improve the user experience.
  • An unlock processing method comprising:
  • the unlocking authentication is performed by displaying the adapted unlocking interface in the target area.
  • a terminal device comprising:
  • the parsing unit is configured to acquire at least one sensing parameter, and parse the sensing parameter to obtain pose information of the terminal device;
  • a determining unit configured to determine a target area in a display area of the terminal device based on posture information of the terminal device
  • the authentication unit is configured to perform unlock authentication by displaying the adapted unlocking interface in the target area.
  • a computer storage medium having executable instructions stored therein, the executable instructions being configured to perform the unlock processing method described above.
  • the posture of the terminal device is intelligently analyzed by using the sensing parameter, thereby determining the posture of the terminal device; thus, the result interface preset in the related technology may be adapted and adjusted based on the location of the terminal device.
  • the adaptation adjustment and unlocking interface can always be located in an area where the user can perform the touch operation with one hand, which satisfies the need for the user to perform one-hand operation in some scenarios, and has high operation efficiency and improves the user experience.
  • FIG. 1 is a schematic flowchart 1 of an implementation process of an unlocking process according to an embodiment of the present invention
  • FIG. 3a is a schematic diagram 2 of an implementation process of an unlocking process according to an embodiment of the present invention.
  • FIG. 3b is a schematic diagram of a pose of a terminal device according to an embodiment of the present invention.
  • 3c to 3d are schematic diagrams showing display of a terminal device according to an embodiment of the present invention.
  • 4a is a schematic diagram 3 of an implementation process of an unlocking process according to an embodiment of the present invention.
  • 4b is a second schematic diagram of a pose of a terminal device according to an embodiment of the present invention.
  • 4c to 4e are schematic diagrams showing the display of a terminal device according to an embodiment of the present invention.
  • the inventor has found that the terminal device provided by the related art supports switching between the horizontal display mode and the vertical display mode to facilitate the user to operate the terminal device.
  • the related art does not support the unlock interface.
  • the unlocking interface is displayed up and down or left and right, and there are four kinds of unlocking patterns. Display direction (ie, can be displayed toward the 4 edges of the screen); but the unlock interface (such as the relative position between the nine squares) is fixed, that is, the unlock interface cannot be adjusted according to the position and posture of the terminal device, thereby causing The unlocking interface cannot be adaptively displayed for different poses, so it still cannot meet the user's need to unlock the terminal device with one hand;
  • the inventors have also found that if the acquired pose parameter can be used to determine the pose information of the electronic device, and based on the pose information of the terminal device, the target region is determined in the display region of the terminal device, based on the target region.
  • the preset unlocking interface is adapted and adjusted to obtain an adaptive unlocking interface, and the preset unlocking expiration is adjusted to obtain an adaptive unlocking interface.
  • the embodiment of the invention describes an unlocking processing method, which can be applied to a terminal device such as a smart phone or a tablet computer. As shown in FIG. 1 , the method may include the following steps:
  • Step 101 Acquire at least one sensing parameter.
  • Sensing parameters can be obtained by setting sensors at the terminal device; as an example, at least one of the following types of sensors can be set in the terminal device: an acceleration sensor (such as a gyroscope); a proximity sensor; an infrared sensor; a pressure sensor; using different sensors Obtain the corresponding sensing parameters.
  • an acceleration sensor such as a gyroscope
  • a proximity sensor such as a gyroscope
  • an infrared sensor such as a gyroscope
  • a pressure sensor such as a pressure sensor
  • Step 102 Parse the sensing parameter to obtain pose information of the terminal device.
  • step 102 at least one of the following information of the display area of the terminal device can be obtained by parsing the sensing parameter: the offset of the display area of the terminal device with respect to the gravity direction (for example, the offset angle can be used to represent);
  • the holding mode in which the terminal device is located the following is explained:
  • the gravity direction may be determined based on the data output by the gyroscope, and the pose information of the terminal device may be represented by an angle between the geometric center line of the display region of the terminal device and the gravity direction;
  • the grip of the terminal device (such as the two sides of the fuselage) is provided with an infrared sensor, which can obtain the sensing parameters based on the two infrared sensors of the body (when the user holds the thumb, the thumb holds the body On one side, the other four fingers hold the other side of the fuselage, causing the two sensed heats of the fuselage to be different), determining whether the terminal device is in the left-hand holding mode or the right-hand holding mode;
  • the sensing parameters can be obtained based on the two proximity sensors of the body (the thumb holding device when the user holds the hand) On one side of the body, the other four fingers hold the other side of the fuselage, causing the fuselage to sense The pressure is different), determining whether the terminal device is in the left-hand holding mode or the right-hand holding mode;
  • the sensing parameters can be obtained based on the two pressure sensors of the body (the thumb holding device when the user holds the hand) On one side of the body, the other four fingers hold the other side of the fuselage, causing the two sensed contacts of the fuselage to be different. It is determined whether the terminal device is in the left-hand holding mode or the right-hand holding mode.
  • Step 103 Determine a target area in a display area of the terminal device based on the pose information of the terminal device.
  • a gravity direction may be determined based on the sensing parameter; a first target area is determined in the display area based on the pose information of the display area of the terminal device, and a gravity direction; wherein the first target area is located in the display The bottom of the area along the direction of gravity; thus, when the user needs to display the unlocking interface in a specific area (ie, an area that can be processed by one hand), the position of the terminal device can be changed to make the specific area located in the display area of the terminal device along the gravity The bottom of the direction, thereby triggering the terminal device to identify the specific area as the first target area, and the first target area displays the adaptation unlocking interface, thereby facilitating the user to implement the unlocking operation; in the actual application, the fixed display unlocking interface of the first target area may be Or dynamically displaying in the first target area (corresponding to the scene in which the first target area exceeds the one-hand operation range, for example, the adaptation unlocking interface may be in the first target area to facilitate the user to perform a
  • a gravity direction may be determined based on the sensing parameter; a second target area is determined in the display area based on the pose information of the display area of the terminal device, and the gravity direction; wherein the second target area is located a bottom portion of the display area along the direction of gravity; determining a third target area in the second target area based on the holding mode in which the terminal device is located, wherein the third target area is a touch operation area supported by the holding mode;
  • the terminal can be changed.
  • Positioning the device such that the specific area is located at the bottom of the display area of the terminal device along the gravity direction, thereby triggering the terminal device to identify the specific area as the second target area, and determining the second target area according to the holding mode in which the terminal device is located The user can perform the touch operation area (ie, the third target area) in the current grip mode, and display the adaptation unlock interface in the third target area to ensure that the user can perform the unlock operation with one hand.
  • Step 105 Perform unlocking authentication by displaying an adaptation unlocking interface in the target area.
  • the preset unlocking trajectory (corresponding to the authentication operation information) may correspond to the specific holding mode. Accordingly, when the unlocking trajectory (corresponding to the unlocking operation information) is acquired through the adaptation unlocking interface, it is required to be based on the location of the terminal device.
  • the holding mode adjusts the unlocking track.
  • the terminal device acquires the unlocking track when in the right hand holding mode
  • the acquired unlocking track is flipped, based on If the matching unlocking track matches the preset unlocking track, the unlocking operation is authenticated; if the preset unlocking track corresponds to the left hand holding mode, and the terminal device acquires the unlocking track in the left hand holding mode, Then directly using the matching result of the obtained unlocked track and the preset unlocked track to authenticate the unlocking operation; In the terminal device further security.
  • the embodiment of the invention further describes a terminal device for implementing the above-mentioned unlock processing method. As shown in FIG. 2, the following unit may be included:
  • the adjusting unit 23 is configured to perform an adaptation adjustment on the preset unlocking interface based on the target area to obtain an adapted unlocking interface
  • the authentication unit 24 is configured to perform unlock authentication by displaying the adapted unlocking interface in the target area.
  • the parsing unit 21 is further configured to parse the sensing parameter to obtain at least one of the following information of the display area of the terminal device:
  • the holding mode in which the terminal device is located is located.
  • the determining unit 22 includes:
  • the first determining module 221 is configured to determine a gravity direction based on the sensing parameter
  • a second determining module 222 (connected to the first determining module 221) configured to determine a first target area in the display area based on the pose information of the display area of the terminal device and the direction of gravity;
  • the first target area is located at the bottom of the display area in the direction of gravity.
  • the determining unit 22 includes:
  • the third determining module 223 is configured to determine a gravity direction based on the sensing parameter
  • a fourth determining module 224 (connected to the third determining module 223) configured to determine a second target area in the display area based on the pose information of the display area of the terminal device and the gravity direction, the second target The area is located at the bottom of the display area in the direction of gravity;
  • the authentication unit 24 includes: an obtaining module 241, configured to acquire an unlocking operation information based on the adaptation unlocking interface;
  • the adjustment module 242 (connected to the acquisition module 241) is configured to adjust the unlock operation information based on a holding mode in which the terminal device is located;
  • the authentication module 243 (connected to the adjustment module 242) is configured to authenticate the unlocking operation based on the adjusted unlocking operation information and the authentication operation information; wherein the authentication operation information corresponds to the specific holding mode;
  • the obtaining module 241, the adjusting module 242, and the authentication module 243 are sequentially connected.
  • the above units may be implemented by a microprocessor or a logic programmable gate array (FPGA) in the terminal device.
  • FPGA logic programmable gate array
  • Embodiments of the present invention also describe a computer storage medium in which executable instructions are stored, the executable being utilized to perform the unlock processing method illustrated in FIG.
  • the terminal device When the user needs to unlock the terminal device, the terminal device is triggered to determine the target area of the display unlocking interface according to the position and posture of the terminal device, and the preset unlocking interface is adapted based on the target area. Adjust to display the adaptation adjustment interface in the target area, and complete the unlock authentication by receiving the unlock operation on the adaptation unlock interface.
  • step 301 the sensing parameters are acquired to determine the pose.
  • the terminal device is provided with a gyroscope, and two sides of the terminal device are provided with a proximity sensor; the data output by the gyroscope can be analyzed to obtain the gravity direction, and the offset angle of the geometric center line of the terminal device screen with respect to the gravity direction, thereby Determine to find the edge of the screen a and the edge b of the screen at the bottom of the gravity direction, as shown in Figure 3b; the sensing parameters of the proximity device can be determined by the sensing parameters of the proximity sensors of the two sides, such as one-handed holding Mode (left or right hand), two-handed mode.
  • Step 302 Determine a target area in the screen display area according to the posture of the terminal device.
  • step 303 the preset unlocking interface is adapted and adjusted according to the target area, and the adaptation adjustment interface is displayed.
  • the target area is smaller than the display area of the screen, it is necessary to adjust the size of the unlocking interface and the display example to be completely displayed in the target area.
  • the screen edge a is used as the bottom edge of the unlocking interface, and the entire unlocking interface can be slid along the screen edge a as a slider-like effect, and displayed in an area near the edge b of the screen, unlocking
  • the position of the target position of the interface sliding (that is, the degree of proximity to the b side) is determined by the extent to which the terminal device tilts a to the left and right sides of the bottom side.
  • the intersection position of the screen edge a and the screen edge b is displayed. The bottommost position in the screen in the direction of gravity, therefore, the position of the adaptation unlocking interface is near the position where the screen edge a meets the screen edge b.
  • Step 304 Acquire an unlocking operation on the unlocking adaptation interface, and perform unlocking authentication.
  • the pattern unlocking as an example, if the preset unlocking pattern is a “Z” shape and is not associated with the holding mode of the terminal device, when the unlocking operation interface acquires the unlocking operation, the trajectory of the unlocking operation and the “Z” are The font is matched, and if the match is successful, the authentication is unlocked;
  • the unlocking track needs to be adjusted in combination with the current holding mode of the terminal device. If the terminal device is in the right hand holding mode, the trajectory of the unlocking operation is directly matched with the “Z” font; if the terminal device is in the left hand holding mode, the trajectory of the unlocking operation is reversed, and the traversing operation trajectory is used. "Z" fonts are matched, such as If the match is successful, the authentication is unlocked.
  • the terminal device When the user needs to unlock the terminal device, by changing the posture of the terminal device, the terminal device is triggered to determine the target region of the display unlocking interface according to the posture of the terminal device, and based on the target region and the holding mode of the terminal device.
  • the preset unlocking interface is adapted and adjusted to display an adaptation adjustment interface in the target area, and the unlocking operation is completed by receiving an unlocking operation on the adaptation unlocking interface.
  • step 401 the sensing parameters are acquired to determine the pose.
  • the terminal device is provided with a gyroscope, and two sides of the terminal device are provided with a proximity sensor; the data output by the gyroscope can be analyzed to obtain the gravity direction, and the offset angle of the geometric center line of the terminal device screen with respect to the gravity direction, thereby It is determined that the edge of the screen a and the edge b of the screen at the bottom of the gravity direction are found, as shown in FIG. 4b; the holding mode of the terminal device can be determined by the sensing parameters of the proximity sensors of the two sides, such as one-handed holding. Mode (left or right hand), two-handed mode.
  • Step 402 Determine a target area in the screen display area according to the posture of the terminal device.
  • an area located at the bottom in the gravity direction is determined in the screen display area (corresponding to the second target area); secondly, based on the grip of the terminal device
  • the holding mode determines an area for displaying the unlocking interface (corresponding to the third target area). If the terminal device is in the left-hand holding mode, as shown in FIG. 4d, the area in the third target area that is located in the left-hand touch range is taken as the first If the terminal device is in the right-hand holding mode, as shown in FIG. 4e, the region in the third target region that is located in the right-hand touch range is used as the third target region.
  • Step 403 Adapt the preset unlocking interface according to the third target area and the holding mode of the terminal device, and display an adaptation adjustment interface.
  • the target area is smaller than the display area of the screen, it is necessary to adjust the size of the unlocking interface and the display example to be completely displayed in the target area.
  • Step 404 Acquire an unlocking operation on the unlocking adaptation interface, and perform unlocking authentication.
  • step 403 is similar to that of scenario 1, and is not described here.
  • the above scheme may be adopted, so that the user can easily unlock with one hand.
  • the unlocking interface can be adjusted to the bottommost region along the gravity direction by switching the position to be gripped to the bottom of the gravity direction, thereby enabling The one-hand touch bottom area (corresponding to the target area) completes the unlocking operation, which is convenient and quick, and improves the user experience.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk.
  • RAM random access memory
  • ROM read-only memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.

Abstract

本发明实施例公开了一种终端设备及其解锁处理方法、计算机存储介质,方法包括:获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。

Description

终端设备及其解锁处理方法、计算机存储介质 技术领域
本发明涉及终端设备的解锁技术,尤其涉及一种终端设备及其解锁处理方法、计算机存储介质。
背景技术
随着终端设备(智能终端设备、平板电脑)的飞速发展,终端的屏幕越来越大,这就使单手操作终端设备时在屏幕上存在无法触及的盲区,为了能够操作盲区界面,需要用户换手操作或是双手同时操作,相关技术提供的终端设备已经支持横屏显示模式与竖屏显示模式之间切换,以方便用户操作;然而相关技术尚存在解锁界面不支持在横屏显示模式与竖屏显示模式之间切换的问题;
如果把相关技术中的显示模式切换的技术方案直接应用于解锁界面,即对解锁界面进行上下或左右的翻转后进行显示,也即存在4种解锁图案的显示方向(即可以朝向屏幕的4个边缘显示);但此时显示的解锁界面(例如九宫格之间的相对位置)是固定的,不能根据终端设备的位姿对显示的解锁界面进行适应性调整,进而导致无法针对不同的握持模式(例如左手握持或右手握持)进行适应性显示,因此仍然无法满足用户需要单手操作终端设备进行解锁的需求,影响了用户体验。
发明内容
本发明实施例提供一种终端设备及其解锁处理方法、计算机存储介质,能够满足用户需要单手操作终端设备进行解锁的需求,提升用户体验。
本发明实施例的技术方案是这样实现的:
一种解锁处理方法,所述方法包括:
获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;
基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;
基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;
通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。
一种终端设备,所述终端设备包括:
解析单元,配置为获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;
确定单元,配置为基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;
调整单元,配置为基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;
鉴权单元,配置为通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。
一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为执行上述的解锁处理方法。
本发明实施例中,利用传感参数对终端设备的位姿进行智能解析,从而确定终端设备的位姿;这样,可以基于终端设备的位置对相关技术中预设的结果界面进行适配调整,使适配调整解锁界面总是能够位于用户可单手进行触控操作的区域,满足了用户在一些场景中需要单手操作的需要,操作效率高,提升了用户体验。
附图说明
图1为本发明实施例中解锁处理的实现流程示意图一;
图2为本发明实施例中终端设备的结构示意图;
图3a为本发明实施例中解锁处理的实现流程示意图二;
图3b为本发明实施例中终端设备的位姿示意图;
图3c~图3d为本发明实施例中终端设备的显示示意图;
图4a为本发明实施例中解锁处理的实现流程示意图三;
图4b为本发明实施例中终端设备的位姿示意图二;
图4c~图4e为本发明实施例中终端设备的显示示意图。
具体实施方式
发明人在实施本发明的过程中发现,相关技术提供的终端设备已经支持在横屏显示模式和竖屏显示模式之间进行切换,以方便用户操作终端设备;然而相关技术尚存在解锁界面不支持在横屏显示模式与竖屏显示模式之间切换的问题;
如果把相关技术中的横屏显示模式、竖屏显示模式之间切换的方案直接应用于解锁界面的显示,即对解锁界面进行上下、或左右的翻转后进行显示,也即存在4种解锁图案的显示方向(即可以朝向屏幕的4个边缘显示);但解锁界面(例如九宫格之间的相对位置)是固定的,也即解锁界面不能根据终端设备的位姿情况进行对应的调整,进而导致解锁界面无法针对不同的位姿进行适应性显示,因此仍然无法满足用户需要单手操作终端设备进行解锁的需求;
发明人在实施本发明的过程中还发现,如果能够利用获取的传感参数确定电子设备的位姿信息,并基于终端设备的位姿信息在终端设备的显示区域中确定目标区域,基于目标区域对预设的解锁界面进行适配调整,得到适配解锁界面,对预设的解锁届满进行调整得到适配解锁界面,通过在目标区域中显示适配结果界面进行解锁鉴权,则可以保证适配结果界面总是可以位于用户单手操作的区域,满足了用户在特定场景中需要单手操作 的需要,提高操作效率,提升用户体验。
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例记载一种解锁处理方法,可以应用于智能手机、平板电脑等终端设备,如图1所示,可以包括以下步骤:
步骤101,获取至少一个传感参数。
传感参数可以通过在终端设备设置传感器获取;作为一个示例,可以在终端设备中设置以下类型传感器至少之一:加速度传感器(如陀螺仪);接近传感器;红外传感器;压力传感器;利用不同的传感器获取对应的传感参数。
步骤102,解析所述传感参数得到终端设备的位姿信息。
步骤102中,通过解析传感参数,可以得到所述终端设备的显示区域的以下信息至少之一:终端设备的显示区域相对于重力方向的偏置(例如,可以采用偏置角度来表征);终端设备所处的握持模式;下面进行说明:
1)终端设备中设置有陀螺仪时,可以基于陀螺仪输出的数据确定重力方向,终端设备的位姿信息可以采用终端设备显示区域的几何中心线相对于重力方向的夹角表征;
2)终端设备的握持部(如机身的两个侧面)设置有红外传感器,可以基于机身的两个的红外传感器获取到的传感参数(当用户握持时,拇指握持机身的一侧,另外四个手指握持机身的另一侧,导致机身两个感应到的热量不同),确定终端设备是处于左手握持模式还是右手握持模式;
3)终端设备的握持部(如机身的两个侧面)设置有压力传感器时,可以基于机身的两个的接近传感器获取到的传感参数(当用户握持时,拇指握持机身的一侧,另外四个手指握持机身的另一侧,导致机身两个感应到 的压力不同),确定终端设备是处于左手握持模式还是右手握持模式;
4)终端设备的握持部(如机身的两个侧面)设置有接近传感器时,可以基于机身的两个的压力传感器获取到的传感参数(当用户握持时,拇指握持机身的一侧,另外四个手指握持机身的另一侧,导致机身两个感应到的触点不同),确定终端设备是处于左手握持模式还是右手握持模式。
步骤103,基于终端设备的位姿信息,在终端设备的显示区域中确定目标区域。
步骤104,基于目标区域对预设的解锁界面进行适配调整,得到适配解锁界面。
作为一个示例,在步骤103中,可以基于传感参数确定重力方向;基于终端设备的显示区域的位姿信息、以及重力方向在显示区域中确定第一目标区域;其中,第一目标区域位于显示区域中沿重力方向的底部;这样,当用户需要在特定区域(即可以单手进行处理的区域)显示解锁界面时,可以通过改变终端设备的位置,使特定区域位于终端设备的显示区域沿重力方向的底部,从而触发终端设备将特定区域识别为第一目标区域,并第一目标区域显示适配解锁界面,从而方便用户实施解锁操作;实际应用中,可以第一目标区域的固定显示解锁界面,或者在第一目标区域中动态显示(对应第一目标区域超出单手操作范围的场景,例如适配解锁界面可以在第一目标区域中以便于用户进行触控操作。
作为另一个示例,在步骤103中,可以基于传感参数确定重力方向;基于终端设备的显示区域的位姿信息、以及重力方向在显示区域中确定第二目标区域;其中,第二目标区域位于显示区域中沿重力方向的底部;基于终端设备所处的握持模式,在第二目标区域中确定第三目标区域,第三目标区域为所述握持模式支持的触控操作区域;这样,当用户需要在特定区域(即可以单手进行处理的区域)显示解锁界面时,可以通过改变终端 设备的位置,使特定区域位于终端设备的显示区域沿重力方向的底部,从而触发终端设备将特定区域识别为第二目标区域,并根据终端设备所处的握持模式,在第二目标区域确定用户采用当前握持模式可以进行触控操作的区域(也即第三目标区域),在第三目标区域中显示适配解锁界面,确保用户能够单手实施解锁操作。
需要指出的是,上述的解锁操作可以滑动解锁、图案解锁、或密码(如PIN码)解锁,本发明实施例中不作限定。
步骤105,通过在目标区域显示适配解锁界面,进行解锁鉴权。
以图案解锁为例,通过在目标区域显示九宫格获取实施的解锁轨迹(也即解锁操作),当解锁轨迹与预设的解锁轨迹(也即鉴权操作匹配)时,判定解锁操作通过;需要指出的是,预设的解锁轨迹(对应鉴权操作信息)可以与特定握持模式对应,相应地,当通过适配解锁界面获取解锁轨迹(对应解锁操作信息)时,需要基于终端设备所处的握持模式对解锁轨迹进行调整,例如,当预设的解锁轨迹与左手握持模式对应,而终端设备在处于右手握持模式获取到解锁轨迹时,则对获取到的解锁轨迹进行翻转,基于翻转后的解锁轨迹与预设的解锁轨迹的匹配结果,对解锁操作进行鉴权;如果预设的解锁轨迹与左手握持模式对应,而终端设备在处于左手握持模式获取到解锁轨迹时,则直接利用获取到的解锁轨迹与预设的解锁轨迹的匹配结果,对解锁操作进行鉴权;这样可以进一步终端设备的安全性。
本发明实施例还记载一种终端设备,用以实施上述的解锁处理方法,如图2所示,可以包括以下单元:
解析单元21,配置为获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;
确定单元22,配置为基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;
调整单元23,配置为基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;
鉴权单元24,配置为通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。
作为一个实施方式,所述解析单元21,还配置为解析所述传感参数,得到所述终端设备的显示区域的以下信息至少之一:
所述终端设备的显示区域相对于重力方向的偏置;
所述终端设备所处的握持模式。
作为一个实施方式,所述确定单元22包括:
第一确定模块221,配置为基于所述传感参数确定重力方向;
第二确定模块222(与第一确定模块221连接),配置为基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示区域中确定第一目标区域;其中,
所述第一目标区域位于所述显示区域中沿重力方向的底部。
作为一个实施方式,所述确定单元22包括:
第三确定模块223,配置为基于所述传感参数确定重力方向;
第四确定模块224(与第三确定模块223连接),配置为基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示区域中确定第二目标区域,所述第二目标区域位于所述显示区域中沿重力方向的底部;
第五确定模块225(与第四确定模块224连接),配置为基于所述终端设备所处的握持模式,在所述第二目标区域中确定第三目标区域,所述第三目标区域为所述握持模式支持的触控操作区域;第三确定模块223、第四确定模块224和第五确定模块225依次连接。
作为一个实施方式,所述鉴权单元24包括:获取模块241,配置为基于所述适配解锁界面获取解锁操作息;
调整模块242(与获取模块241连接),配置为基于所述终端设备所处的握持模式对所述解锁操作信息进行调整;
鉴权模块243(与调整模块242连接),配置为基于调整后的解锁操作信息、以及鉴权操作信息,对解锁操作进行鉴权;其中,所述鉴权操作信息与特定握持模式对应;获取模块241、调整模块242、鉴权模块243依次连接。
实际应用中,上述单元可由终端设备中的微处理器或逻辑可编程门阵列(FPGA)实现。
本发明实施例还记载一种计算机存储介质,其中存储有可执行指令,所述可执行利用用于执行图1所示的解锁处理方法。
下面结合实际应用场景进行具体说明。
场景一
场景说明:用户需要对终端设备解锁时,通过改变终端设备的位姿,触发终端设备根据自身所处的位姿确定显示解锁界面的目标区域,并基于目标区域对预设的解锁界面进行适配调整,以在目标区域显示适配调整界面,通过在适配解锁界面接收解锁操作完成解锁鉴权。
如图3a所示,可以包括以下步骤:
步骤301,获取传感参数,确定位姿。
设终端设备中设置有陀螺仪、终端设备的两个侧边设置有接近传感器;可以解析陀螺仪输出的数据得到重力方向、以及终端设备屏幕的几何中心线相对于重力方向的偏置角度,从而确定找到沿重力方向最底部的屏幕边缘a以及屏幕边缘b,如图3b所示;可以通过两个侧边的接近传感器的传感参数确定终端设备所处的握持模式,如单手握持模式(左手或右手)、双手握持模式。
步骤302,根据终端设备的位姿,在屏幕显示区域中确定目标区域。
步骤303,将预设的解锁界面根据目标区域进行适配调整,并显示适配调整界面。
由于目标区域小于屏幕的显示区域,因此需要对解锁界面的尺寸以及显示例进行对应调整,以在目标区域中完整显示。
当终端设备的位姿如图3b所示时,如图3c所示,将解锁界面沿着屏幕边缘a以及屏幕边缘b显示,以接收通过在解锁界面上给出的解锁操作,可以在直接将屏幕边缘a边作为解锁界面的正向底边,将屏幕边缘b作为解锁界面的侧边来显示,适用于屏幕边缘a边比较窄(a边长大约是解锁图案的1~2倍宽度)的情况;或者,如图3d所示,将屏幕边缘a作为解锁界面的底边,而整个解锁界面可以作为一个类似滑块的效果沿屏幕边缘a滑动,并在靠近屏幕边缘b的区域显示,解锁界面滑动的目标位置的位置(也就是靠近b边的程度)由终端设备以a为底边的左右倾斜的程度来决定,在图3d中,由于屏幕边缘a与屏幕边缘b的交汇位置为显示屏幕中沿重力方向的最底部位置,因此,适配解锁界面的位置靠近屏幕边缘a与屏幕边缘b交汇的位置。
步骤304,获取在解锁适配界面的解锁操作,进行解锁鉴权。
以图案解锁为例,如果预设的解锁图案为“Z”字型且未与终端设备的握持模式关联,则在解锁适配界面获取到解锁操作时,将解锁操作的轨迹与“Z”字型进行匹配,如果匹配成功则通过解锁鉴权;
如果预设的解锁图案为“Z”字型且与终端设备的右手握持模式关联,则在解锁适配界面获取到解锁操作时,需要结合终端设备的当前的握持模式对解锁轨迹进行调整,如果终端设备处于右手握持模式,则直接将解锁操作的轨迹与“Z”字型进行匹配;如果终端设备处于左手握持模式,则将解锁操作的轨迹进行翻转,利用翻转的操作轨迹与“Z”字型进行匹配,如 果匹配成功则通过解锁鉴权。
场景二
场景说明:用户需要对终端设备解锁时,通过改变终端设备的位姿,触发终端设备根据自身所处的位姿确定显示解锁界面的目标区域,并基于目标区域、以及终端设备的握持模式对预设的解锁界面进行适配调整,以在目标区域显示适配调整界面,通过在适配解锁界面接收解锁操作完成解锁鉴权。
如图4a所示,可以包括以下步骤:
步骤401,获取传感参数,确定位姿。
设终端设备中设置有陀螺仪、终端设备的两个侧边设置有接近传感器;可以解析陀螺仪输出的数据得到重力方向、以及终端设备屏幕的几何中心线相对于重力方向的偏置角度,从而确定找到沿重力方向最底部的屏幕边缘a以及屏幕边缘b,如图4b所示;可以通过两个侧边的接近传感器的传感参数确定终端设备所处的握持模式,如单手握持模式(左手或右手)、双手握持模式。
步骤402,根据终端设备的位姿,在屏幕显示区域中确定目标区域。
当终端设备的位姿如图4b所示时,首先,如图4c所示,在屏幕显示区域中确定位于沿重力方向底部的区域(对应第二目标区域);其次基于终端设备所处的握持模式确定用于显示解锁界面的区域(对应第三目标区域),如果终端设备处于左手握持模式,则如图4d所示,将第三目标区域中为位于左手触控范围的区域作为第三目标区域;如果终端设备处于右手握持模式,则如图4e所示,将第三目标区域中为位于右手触控范围的区域作为第三目标区域。
步骤403,将预设的解锁界面根据第三目标区域、以及终端设备的握持模式进行适配调整,并显示适配调整界面。
由于目标区域小于屏幕的显示区域,因此需要对解锁界面的尺寸以及显示例进行对应调整,以在目标区域中完整显示。
步骤403的处理方式与场景一类似,这里不再赘述。
步骤404,获取在解锁适配界面的解锁操作,进行解锁鉴权。
步骤403的处理方式与场景一类似,这里不再赘述。
上述场景中,不管解锁方式是基于PIN码、密码、图案或其他解锁方式,都可以采用上述方案,让用户可以方便的单手解锁。而且,不管用户握持的终端设备的哪个位置,都可以通过将用将握持的位置切换至沿重力方向最底部的方式,将解锁界面调整到沿重力方向的最底部区域进行显示,从而能够单手触控最底部区域(对应目标区域)完成解锁操作,操作方便快捷,提升了用户体验。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (11)

  1. 一种解锁处理方法,所述方法包括:
    获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;
    基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;
    基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;
    通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。
  2. 如权利要求1所述的方法,其中,所述解析所述传感参数得到终端设备的位姿信息,包括:
    解析所述传感参数,得到所述终端设备的显示区域的以下信息至少之一:
    所述终端设备的显示区域相对于重力方向的偏置;
    所述终端设备所处的握持模式。
  3. 如权利要求2所述的方法,其中,所述基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域,包括:
    基于所述传感参数确定重力方向;
    基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示区域中确定第一目标区域;其中,
    所述第一目标区域位于所述显示区域中沿重力方向的底部。
  4. 如权利要求1所述的方法,其中,所述基于终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域,包括:
    基于所述传感参数确定重力方向;
    基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示 区域中确定第二目标区域,所述第二目标区域位于所述显示区域中沿重力方向的底部;
    基于所述终端设备所处的握持模式,在所述第二目标区域中确定第三目标区域,所述第三目标区域为所述握持模式支持的触控操作区域。
  5. 如权利要求1至4任一项所述的方法,其中,所述通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权,包括:
    基于所述适配解锁界面获取解锁操作息;
    基于所述终端设备所处的握持模式对所述解锁操作信息进行调整;
    基于调整后的解锁操作信息、以及鉴权操作信息,对解锁操作进行鉴权;其中,
    所述鉴权操作信息与所述终端所处的特定握持模式对应。
  6. 一种终端设备,所述终端设备包括:
    解析单元,配置为获取至少一个传感参数,解析所述传感参数得到终端设备的位姿信息;
    确定单元,配置为基于所述终端设备的位姿信息,在所述终端设备的显示区域中确定目标区域;
    调整单元,配置为基于所述目标区域对预设的解锁界面进行适配调整,得到适配解锁界面;
    鉴权单元,配置为通过在所述目标区域显示所述适配解锁界面,进行解锁鉴权。
  7. 如权利要求6所述的终端设备,其中,
    所述解析单元,还配置为解析所述传感参数,得到所述终端设备的显示区域的以下信息至少之一:
    所述终端设备的显示区域相对于重力方向的偏置;
    所述终端设备所处的握持模式。
  8. 如权利要求7所述的终端设备,其中,所述确定单元包括:
    第一确定模块,配置为基于所述传感参数确定重力方向;
    第二确定模块,配置为基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示区域中确定第一目标区域;其中,
    所述第一目标区域位于所述显示区域中沿重力方向的底部。
  9. 如权利要求6所述的终端设备,其中,所述确定单元包括:
    第三确定模块,配置为基于所述传感参数确定重力方向;
    第四确定模块,配置为基于所述终端设备的显示区域的位姿信息、以及重力方向在所述显示区域中确定第二目标区域,所述第二目标区域位于所述显示区域中沿重力方向的底部;
    第五确定模块,配置为基于所述终端设备所处的握持模式,在所述第二目标区域中确定第三目标区域,所述第三目标区域为所述握持模式支持的触控操作区域。
  10. 如权利要求6至9任一项所述的终端设备,其中,所述鉴权单元包括:
    获取模块,配置为基于所述适配解锁界面获取解锁操作息;
    调整模块,配置为基于所述终端设备所处的握持模式对所述解锁操作信息进行调整;
    鉴权模块,配置为基于调整后的解锁操作信息、以及鉴权操作信息,对解锁操作进行鉴权;其中,所述鉴权操作信息与所述终端设备所处的特定握持模式对应。
  11. 一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为权利要求1至5任一项所述的解锁处理方法。
PCT/CN2015/073707 2014-10-20 2015-03-05 终端设备及其解锁处理方法、计算机存储介质 WO2016061971A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410559887.8A CN105589644A (zh) 2014-10-20 2014-10-20 终端设备及其解锁处理方法
CN201410559887.8 2014-10-20

Publications (1)

Publication Number Publication Date
WO2016061971A1 true WO2016061971A1 (zh) 2016-04-28

Family

ID=55760152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073707 WO2016061971A1 (zh) 2014-10-20 2015-03-05 终端设备及其解锁处理方法、计算机存储介质

Country Status (2)

Country Link
CN (1) CN105589644A (zh)
WO (1) WO2016061971A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569677A (zh) * 2016-11-11 2017-04-19 努比亚技术有限公司 屏幕显示方向的控制装置及方法
CN106873870A (zh) * 2017-01-06 2017-06-20 珠海格力电器股份有限公司 一种终端交互方法及其装置、终端及电子设备
CN108038359A (zh) * 2017-12-25 2018-05-15 广东欧珀移动通信有限公司 解锁方法及相关产品
CN109976628A (zh) * 2019-02-27 2019-07-05 Oppo广东移动通信有限公司 调整虚拟按键显示位置的方法、电子设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970500A (zh) * 2014-03-31 2014-08-06 小米科技有限责任公司 一种图片显示的方法及装置
CN104102436A (zh) * 2013-04-01 2014-10-15 广州三星通信技术研究有限公司 屏幕解锁方法和设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414829A (zh) * 2013-08-27 2013-11-27 深圳市金立通信设备有限公司 一种控制屏幕内容的方法、装置及终端设备
CN103593138B (zh) * 2013-11-15 2017-11-28 努比亚技术有限公司 实现单手操作移动终端的方法和移动终端

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102436A (zh) * 2013-04-01 2014-10-15 广州三星通信技术研究有限公司 屏幕解锁方法和设备
CN103970500A (zh) * 2014-03-31 2014-08-06 小米科技有限责任公司 一种图片显示的方法及装置

Also Published As

Publication number Publication date
CN105589644A (zh) 2016-05-18

Similar Documents

Publication Publication Date Title
US10021294B2 (en) Mobile terminal for providing partial attribute changes of camera preview image and method for controlling the same
EP3062286B1 (en) Optical distortion compensation
US20170161750A1 (en) Identity Authentication Method, Terminal Device And System
WO2016061971A1 (zh) 终端设备及其解锁处理方法、计算机存储介质
US9203835B2 (en) Systems and methods for authenticating a user based on a biometric model associated with the user
US10534453B2 (en) Mobile terminal and mobile terminal control method
EP3559847B1 (en) Electronic device for biometric authentication of a user
KR102013928B1 (ko) 영상 변형 장치 및 그 방법
US20130286161A1 (en) Three-dimensional face recognition for mobile devices
JP2019135645A (ja) 端末機及びこれのイメージ処理方法(terminal and image processing method thereof)
US20130222287A1 (en) Apparatus and method for identifying a valid input signal in a terminal
TWI489320B (zh) 電子文件標記方法及裝置
WO2015149498A1 (zh) 用于屏幕模式切换的方法、装置、计算机存储介质和设备
CN107169493A (zh) 信息识别方法及装置
US20150331492A1 (en) Method and apparatus for identifying spatial gesture of user
US20160274670A1 (en) Gesture input apparatus, gesture input method, and program for wearable terminal
WO2016082330A1 (zh) 调整虚拟按键布局的方法、装置及移动终端
US20180089519A1 (en) Multi-modal user authentication
JP2020528190A (ja) マルチデバイス・ロボット制御
US20190079663A1 (en) Screenshot method and screenshot apparatus for an electronic terminal
CN104077585A (zh) 图像校正方法、装置及终端
US20130259384A1 (en) Apparatus and method for recognizing hand shape using finger pattern
US10635799B2 (en) Biometric authentication apparatus, biometric authentication method, and non-transitory computer-readable storage medium for storing program for biometric authentication
US9536133B2 (en) Display apparatus and control method for adjusting the eyes of a photographed user
KR102147930B1 (ko) 포즈 인식 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15851884

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15851884

Country of ref document: EP

Kind code of ref document: A1