WO2019144535A1 - 终端解锁方法、装置、设备及可读存储介质 - Google Patents

终端解锁方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2019144535A1
WO2019144535A1 PCT/CN2018/084555 CN2018084555W WO2019144535A1 WO 2019144535 A1 WO2019144535 A1 WO 2019144535A1 CN 2018084555 W CN2018084555 W CN 2018084555W WO 2019144535 A1 WO2019144535 A1 WO 2019144535A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
unlocking
fingerprint
owner
Prior art date
Application number
PCT/CN2018/084555
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 WO2019144535A1 publication Critical patent/WO2019144535A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a terminal unlocking method, apparatus, device, and readable storage medium.
  • the main purpose of the present invention is to provide a terminal unlocking method, device, device, and readable storage medium, which are aimed at solving the technical problem that the fingerprint unlocking security is not high and the user experience is reduced in the prior art.
  • the present invention provides a terminal unlocking method, where the terminal unlocking method includes:
  • the camera of the starting terminal When the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect preset user facial image information;
  • An operation attribute of the current unlock operation is identified based on the user face image information to determine a terminal unlock result based on the operation attribute.
  • the step of identifying an operation attribute of the current unlock operation based on the user face image information to determine a terminal unlocking result based on the operation attribute includes:
  • the user facial avatar information includes a plurality of avatar images, and when the user is the owner, obtaining the micro-expression information of the user to determine whether the user is in an excessive or sleep state comprises:
  • the micro-feature feature matrix of the user is obtained based on the plurality of avatar picture abstractions
  • the pre-stored micro-expression recognition model is called to identify whether the user is in an over-excited state or a sleep state.
  • the step of determining whether the user is in an excessive or sleep state comprises:
  • a password unlocking interface is generated for unlocking.
  • the acquiring the machine main picture information pre-stored by the terminal, and determining, according to the user face image information and the owner picture information, whether the user is the owner step comprises:
  • the first preset number of contact avatars are selected from the local contact avatar database of the terminal, and the second preset number of non-contact avatars are selected from the local cache database, where
  • the local cache database is an avatar database that does not include the local contact avatar, and the first preset number is associated with the second preset number;
  • the selected contact avatar and the non-contact avatar are displayed on the terminal unlocking interface for the user to select to unlock the terminal.
  • the step of displaying the selected contact avatar and the non-contact avatar in the terminal unlocking interface for the user to select to implement the terminal unlocking step includes:
  • the step of acquiring the operating pressure value corresponding to the touch terminal of the user by the fingerprint unlocking operation comprises:
  • the operating pressure value is greater than the preset pressure value, acquiring the first fingerprint information of the user, and determining whether the first fingerprint information matches the first fingerprint of the owner pre-stored by the terminal;
  • the matching it is determined whether the terminal detects the second fingerprint information within the preset duration.
  • the second fingerprint information is performed with the second fingerprint of the pre-stored owner.
  • the comparison determines the fingerprint unlocking result based on the comparison result.
  • the present invention further provides a terminal unlocking apparatus, where the terminal unlocking apparatus includes:
  • the first collection module is configured to collect an operation pressure value of the user operation terminal when detecting the terminal fingerprint unlocking operation
  • a second collecting module configured to: when the operating pressure value is greater than a preset pressure value, start a camera of the terminal to take a photo to collect preset user facial image information;
  • an identifying module configured to identify an operation attribute of the current unlocking operation based on the user facial image information, to determine a terminal unlocking result based on the operating attribute.
  • the present invention further provides a terminal unlocking device, where the terminal unlocking device includes: a memory, a processor, a communication bus, and a terminal unlocking program stored on the memory,
  • the communication bus is used to implement a communication connection between the processor and the memory
  • the processor is configured to execute the terminal unlocking program to implement the following steps:
  • the camera of the starting terminal When the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect preset user facial image information;
  • An operation attribute of the current unlock operation is identified based on the user face image information to determine a terminal unlock result based on the operation attribute.
  • the step of identifying an operation attribute of the current unlock operation based on the user face image information to determine a terminal unlocking result based on the operation attribute includes:
  • the user facial avatar information includes a plurality of avatar images, and when the user is the owner, obtaining the micro-expression information of the user to determine whether the user is in an excessive or sleep state comprises:
  • the micro-feature feature matrix of the user is obtained based on the plurality of avatar picture abstractions
  • the pre-stored micro-expression recognition model is called to identify whether the user is in an over-excited state or a sleep state.
  • the step of determining whether the user is in an excessive or sleep state comprises:
  • a password unlocking interface is generated for unlocking.
  • the acquiring the machine main picture information pre-stored by the terminal, and determining, according to the user face image information and the owner picture information, whether the user is the owner step comprises:
  • the first preset number of contact avatars are selected from the local contact avatar database of the terminal, and the second preset number of non-contact avatars are selected from the local cache database, where
  • the local cache database is an avatar database that does not include the local contact avatar, and the first preset number is associated with the second preset number;
  • the selected contact avatar and the non-contact avatar are displayed on the terminal unlocking interface for the user to select to unlock the terminal.
  • the step of displaying the selected contact avatar and the non-contact avatar in the terminal unlocking interface for the user to select to implement the terminal unlocking step includes:
  • the step of acquiring the operating pressure value corresponding to the touch terminal of the user by the fingerprint unlocking operation comprises:
  • the operating pressure value is greater than the preset pressure value, acquiring the first fingerprint information of the user, and determining whether the first fingerprint information matches the first fingerprint of the owner pre-stored by the terminal;
  • the matching it is determined whether the terminal detects the second fingerprint information within the preset duration.
  • the second fingerprint information is performed with the second fingerprint of the pre-stored owner.
  • the comparison determines the fingerprint unlocking result based on the comparison result.
  • the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors Used for:
  • the camera of the starting terminal When the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect preset user facial image information;
  • An operation attribute of the current unlock operation is identified based on the user face image information to determine a terminal unlock result based on the operation attribute.
  • the invention collects the operating pressure value of the user operating terminal when the terminal fingerprint unlocking operation is detected; when the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect the preset user facial image information. And identifying an operation attribute of the current unlock operation based on the user face image information to determine a terminal unlock result based on the operation attribute.
  • the preset user face image is acquired, based on the user face image, Identifying whether the current unlocking operation is a voluntary unlocking operation of the user, that is, identifying an operation attribute of the current unlocking operation, to determine a terminal unlocking result based on the operating attribute, to prevent the user from forcibly unlocking the fingerprint by another person if the consciousness is unclear, Therefore, the fingerprint unlocking security in the prior art in the present application is not high, and the technical problem of the user experience is reduced.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for unlocking a terminal according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for unlocking a terminal according to the present invention
  • FIG. 3 is a schematic structural diagram of a device in a hardware operating environment involved in a method according to an embodiment of the present invention.
  • the present invention provides a terminal unlocking method.
  • the terminal unlocking method includes:
  • the operating pressure value of the user operating terminal is collected; when the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect preset user facial image information; Describe the user facial image information, and identify an operation attribute of the current unlocking operation to determine a terminal unlocking result based on the operating attribute.
  • the terminal unlocking method includes:
  • Step S10 When detecting the terminal fingerprint unlocking operation, collecting an operation pressure value of the user operating terminal;
  • the operating pressure value of the user operating terminal is collected.
  • the physical layer (touch panel) of the terminal receives the unlocking and pressing operation of the user, and the terminal converts the physical pressing into an electrical signal TP, and transmits the TP.
  • the driving layer analyzes the unlocking pressing operation to obtain parameters such as the duration of operation, the operating pressure value, etc., and the driving layer uploads the parameter to the terminal frame layer, and the framework layer selects how to respond to the unlocking operation, and how to respond to the unlocking
  • the information of the operation is transmitted to the unlocking application of the terminal to determine the unlocking result of the terminal.
  • the operating pressure value of the user operating terminal is collected to determine whether the operating pressure value is greater than a preset pressure value, and when the operating pressure value is less than the preset pressure value, the terminal may acquire the fingerprint to unlock
  • the user fingerprint is operated, and the fingerprint of the user is compared with the fingerprint of the owner of the terminal to determine whether the fingerprint of the user is consistent with the fingerprint of the owner.
  • the fingerprint is consistent, the fingerprint of the terminal is successfully unlocked. If the fingerprint is inconsistent, the fingerprint of the terminal fails to be unlocked.
  • the terminal fingerprint fails to be unlocked, the user is prompted to re-open the terminal fingerprint.
  • Step S20 when the operating pressure value is greater than the preset pressure value, the camera of the terminal is activated to collect preset user facial image information;
  • the camera of the terminal When the operating pressure value is greater than the preset pressure value, the camera of the terminal is activated to collect the preset user facial image. It should be noted that the camera for starting the terminal is executed only when the operating pressure value is greater than the preset pressure value.
  • the step of collecting the preset user's face image that is, in the embodiment, when the terminal detects that the operating pressure value is greater than the preset pressure value, the terminal responds to the target fingerprint unlocking operation to start the terminal's camera, and collects the preset user's face.
  • the image needs to be set in advance in the built-in processor, the program segment represents a camera that starts the terminal, and collects processing logic of the preset user face image, and the processing logic is used to trigger processing when the target fingerprint unlocking operation is detected.
  • the device is responsive to the target fingerprint unlocking operation to acquire a preset user facial image information based on the target fingerprint unlocking operation to activate the camera of the terminal.
  • the camera of the terminal is activated to collect a preset user facial image, wherein the collecting the preset user facial image refers to collecting the current unlocking time preset user facial image, the user
  • the facial image may be a plurality of user avatar images. Further, the plurality of user avatar images include a series of micro-expression information of the user.
  • Step S30 Identify an operation attribute of the current unlocking operation based on the user's face image to determine a terminal unlocking result based on the operation attribute.
  • the operation attribute of the unlocking operation includes the user voluntarily unlocking or the user passively unlocking, wherein the step of identifying the operation attribute of the current unlocking operation based on the user's facial image information to determine the terminal unlocking result based on the operating attribute includes :
  • Step S31 acquiring machine owner picture information pre-stored by the terminal, and determining whether the user is the owner based on the user face image information and the owner picture information;
  • Obtaining the owner's picture information pre-stored by the terminal specifically acquiring the host avatar information pre-stored by the terminal, comparing the owner avatar information with the user avatar in the user's facial image information, to determine whether the user is the owner, and when the user When the owner is not the owner, the terminal fingerprint fails to be unlocked, and an instruction to prohibit the terminal from unlocking the fingerprint is generated to prohibit the terminal fingerprint from being unlocked, and other unlock interfaces such as password unlocking are generated.
  • Step S32 when the user is the owner, acquiring the micro-expression information of the user to determine whether the user is in an excessive or sleep state;
  • the micro-expression information of the user is obtained, and the user's micro-expression is used to determine whether the user is in an excessive or sleep state.
  • the user's facial avatar includes multiple avatar pictures.
  • the step of obtaining the micro-expression information of the user to determine whether the user is in an excessive or sleep state includes:
  • step A1 when the user is a host, the micro-feature feature matrix of the user is obtained based on the plurality of avatar picture abstractions;
  • the plurality of micro-expression images are acquired based on the plurality of avatar images to abstractly acquire the micro-expression feature matrix in the plurality of micro-expression images.
  • Step A2 Acquire, according to the respective micro-feature feature matrices, a time-based change characteristic curve of the user micro-expression
  • each micro-expression font matrix with the pre-stored micro-expression matrix to identify each micro-expression, wherein the micro-expression includes expressions such as fear, fear, calmness, happiness, etc., due to collecting multiple avatar images, generating more The micro-expression picture, and thus, can generate a time-based variation characteristic curve of the user micro-expression.
  • Step A3 based on the change characteristic curve, calling a pre-stored micro-expression recognition model to identify whether the user is in an over-excited state or a sleep state.
  • the micro-expression recognition model is a model capable of obtaining a user state based on a change characteristic curve.
  • Step S33 when the user is not in an excessive or sleep state, it is determined that the terminal fingerprint is successfully unlocked.
  • the invention collects the operating pressure value of the user operating terminal when the terminal fingerprint unlocking operation is detected; when the operating pressure value is greater than the preset pressure value, the camera of the starting terminal performs photographing to collect the preset user facial image information. And identifying an operation attribute of the current unlock operation based on the user face image information to determine a terminal unlock result based on the operation attribute.
  • the preset user facial image is collected, based on the user.
  • the fingerprint unlocking security in the prior art in the present application is not high, which reduces the technical problem of the user experience.
  • the present invention provides a second embodiment of the terminal unlocking method.
  • the machine main picture information pre-stored by the acquiring terminal is determined based on the user's facial image information and the owner's picture information. Whether the user is after the owner step includes:
  • Step B1 When the user is not the owner, select a first preset number of contact avatars from the local contact avatar database of the terminal, and select a second preset number of non-contact avatars from the local cache database.
  • the local cache database is an avatar database that does not include the local contact avatar, and the first preset number is associated with a second preset number;
  • the first preset number of contact avatars are selected from the terminal local contact avatar database.
  • the local contact avatar database stores the contact avatar, and the contact The avatar may be a phone contact avatar, a WeChat contact avatar, a microblog contact avatar, etc., that is, in the local contact avatar database, a category of each type of contact avatar is stored.
  • the first preset number of contact avatars are selected from the terminal local contact avatar database.
  • the local contact avatar database is in the database.
  • a preset number of contact avatars is selected in the type contact avatar.
  • the process may also select a preset number of contact avatars from different types of avatars of the local contact.
  • the local cache database is an avatar database that does not include the local contact avatar, and the avatar in the local cache database may be changed, that is, The avatar in the local cache database is updatable.
  • the non-contact avatar can be downloaded from the server to the local, where the first The preset number is associated with the second preset number, and the associated change refers to the total number of the first preset number and the second preset number, for example, the terminal unlocking interface displays the ninth square avatar, the first pre- The number of the presets may be four, and the number of the second presets may be five, or the number of the first presets may be three, and the number of the second presets may be five or the like.
  • step B2 the selected contact avatar and the non-contact avatar are displayed on the terminal unlocking interface for the user to select to unlock the terminal.
  • the selected contact avatar and the non-contact avatar are displayed on the terminal unlocking interface for the user to touch or click to select to unlock the terminal.
  • the first preset number of contact avatars are selected from the terminal local contact avatar database, and the second preset number is selected from the local cache database.
  • a non-contact avatar wherein the local cache database is an avatar database that does not include the local contact avatar, and the first preset number is associated with a second preset number;
  • the selected contact avatar and non-contact avatar are selected for the user to select to unlock the terminal.
  • the method for unlocking the contact is provided. Since the contact avatar can only be accurately identified by the owner, security is improved.
  • the present invention provides an embodiment of the method for unlocking a terminal.
  • the step of acquiring the operation pressure value corresponding to the touch terminal of the user after the fingerprint unlocking operation includes:
  • Step C1 When the operating pressure value is greater than the preset pressure value, obtain the first fingerprint information of the user, and determine whether the first fingerprint information matches the first fingerprint of the owner pre-stored by the terminal;
  • the first fingerprint information of the user is acquired or collected, and the first fingerprint information is compared with the first fingerprint of the pre-stored owner to determine Whether the first fingerprint information is the same as the first fingerprint of the owner, and when the same, performing the step of determining whether the terminal detects the second fingerprint information within a preset duration.
  • step C1 when the matching is performed, it is determined whether the terminal detects the second fingerprint information within the preset duration.
  • the second fingerprint information is compared with the pre-stored owner. The two fingerprints are compared, and the fingerprint unlocking result is determined based on the comparison result.
  • the terminal When the first fingerprint information is matched with the first fingerprint of the owner pre-stored by the terminal, it is determined whether the terminal detects the second fingerprint information within a preset duration, and when the terminal detects the second fingerprint information within the preset duration, the terminal The second fingerprint information is compared with the second fingerprint of the pre-stored owner, and the fingerprint unlocking result is determined based on the comparison result.
  • the first fingerprint and the second fingerprint of the owner pre-stored by the terminal are in advance of the owner. The fingerprint of the different fingers is entered. Specifically, if the first fingerprint of the owner is the fingerprint of the left thumb of the owner, the second fingerprint of the owner is the fingerprint of the owner and the finger, and the fingerprint unlocking result is determined based on the comparison result.
  • the second fingerprint information is the same as the second fingerprint of the owner pre-stored by the terminal, the fingerprint is successfully unlocked; otherwise, the fingerprint unlocking fails.
  • the accidental pressing is too heavy, which causes the terminal fingerprint unlocking process to be complicated.
  • the operating pressure value is greater than the preset pressure value, obtaining the first fingerprint information of the user, determining whether the first fingerprint information matches the first fingerprint of the owner pre-stored by the terminal;
  • the matching it is determined whether the terminal detects the second fingerprint information within the preset duration.
  • the second fingerprint information is performed with the second fingerprint of the pre-stored owner.
  • the comparison determines the fingerprint unlocking result based on the comparison result. In this embodiment, when the fingerprint is unlocked, the accidental pressing is too heavy, and the terminal fingerprint unlocking process is complicated.
  • the present invention also provides a terminal unlocking device, the terminal unlocking device comprising:
  • the first collection module is configured to collect an operation pressure value of the user operation terminal when detecting the terminal fingerprint unlocking operation
  • a second collecting module configured to: when the operating pressure value is greater than a preset pressure value, start a camera of the terminal to take a photo to collect preset user facial image information;
  • an identifying module configured to identify an operation attribute of the current unlocking operation based on the user facial image information, to determine a terminal unlocking result based on the operating attribute.
  • the identifying module includes:
  • a first acquiring unit configured to acquire machine owner picture information pre-stored by the terminal, and determine, according to the user face image information and the owner picture information, whether the user is a host;
  • a second obtaining unit configured to acquire micro-expression information of the user when the user is a host, to determine whether the user is in an excessive or sleep state
  • the identifying unit is configured to determine that the terminal fingerprint is successfully unlocked when the user is not in an excessive or sleep state.
  • the user facial avatar includes multiple avatar images
  • the second obtaining unit step includes:
  • An abstract unit configured to obtain, according to the plurality of avatar picture abstractions, individual micro-feature feature matrices of the user when the user is a host;
  • An acquiring unit configured to acquire, according to the respective micro-expression character matrix, a time-based change characteristic curve of the user micro-expression
  • the calling unit is configured to invoke the pre-stored micro-expression recognition model to identify whether the user is in an over-excited state or a sleep state based on the change characteristic curve.
  • the second obtaining unit implements:
  • a password unlocking interface is generated for unlocking.
  • the terminal unlocking device includes:
  • a first selecting module configured to: when the user is not the owner, select a first preset number of contact avatars from the local contact avatar database of the terminal, and select a second preset number from the local cache database a non-contact avatar, wherein the local cache database is an avatar database that does not include the local contact avatar, and the first preset number is associated with a second preset number;
  • the second selection module is configured to display the selected contact avatar and the non-contact avatar in the terminal unlocking interface for the user to select to unlock the terminal.
  • the second selecting module step includes:
  • a display unit configured to display the contact avatar and the non-contact avatar in the terminal unlocking interface
  • the determining unit determines that the terminal is successfully unlocked when all the avatars selected by the user are contact avatars.
  • the terminal unlocking device further includes:
  • the first determining module is configured to: when the operating pressure value is greater than the preset pressure value, acquire the first fingerprint information of the user, and determine whether the first fingerprint information matches the first fingerprint of the owner pre-stored by the terminal;
  • the second judging module is configured to: when the matching is performed, determine whether the terminal detects the second fingerprint information within a preset duration, and when the terminal detects the second fingerprint information within the preset duration, the second fingerprint information and the pre-stored The second fingerprint of the owner is compared, and the fingerprint unlocking result is determined based on the comparison result.
  • FIG. 3 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
  • the terminal unlocking device in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) terminal devices such as players and portable computers.
  • MP3 Motion Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) terminal devices such as players and portable computers.
  • the terminal unlocking device may include a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between the processor 1001 and the memory 1005.
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal unlocking device may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • terminal unlocking device structure shown in FIG. 3 does not constitute a limitation of the terminal unlocking device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • the operating system is a program that manages and controls the terminal to unlock device hardware and software resources, and supports the operation of the terminal unlocking program and other software and/or programs.
  • the network communication module is used to implement communication between components within the memory 1005 and to communicate with other hardware and software in the terminal unlocking device.
  • the processor 1001 is configured to execute the terminal unlocking program stored in the memory 1005, and implement the steps of the terminal unlocking method described above.
  • the present invention provides a readable storage medium having one or more programs stored thereon, the one or more programs being further executable by one or more processors for implementing any of the above The steps of the terminal unlocking method described in the item.
  • the embodiment of the readable storage medium of the present invention is substantially the same as the embodiment of the terminal unlocking method, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Collating Specific Patterns (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种终端解锁方法、装置、设备及可读存储介质,所述终端解锁方法包括当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。本发明解决现有技术中指纹解锁安全性不高,降低了用户体验的技术问题。

Description

终端解锁方法、装置、设备及可读存储介质
本申请要求于2018年01月23日提交中国专利局、申请号为201810066102.1、发明名称为“终端解锁方法、装置、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种终端解锁方法、装置、设备及可读存储介质。
背景技术
目前,大部分智能终端如手机等都提供有指纹解锁的功能,以保护用户的隐私,然而,特殊情况时,如用户在喝醉或者睡眠状态下,很容易被不法之徒或者亲友强制指纹解锁终端,从而造成用户的隐私信息泄漏或者财产损失,降低了用户体验。
发明内容
本发明的主要目的在于提供一种终端解锁方法、装置、设备及可读存储介质,旨在解决现有技术中指纹解锁安全性不高,降低了用户体验的技术问题。
为实现上述目的,本发明提供一种终端解锁方法,所述终端解锁方法包括:
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
可选地,所述基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果步骤包括:
获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主;
当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态;
当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功。
可选地,所述用户脸部头像信息包括多张头像图片,所述当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态步骤包括:
当所述用户是机主时,基于所述多张头像图片抽象得到用户的各个微表情特征矩阵;
基于所述各个微表情特征矩阵,获取所述用户微表情基于时间的变化特征曲线;
基于所述变化特征曲线,调用预存的微表情识别模型,以识别用户是否处于过激状态或者睡眠状态。
可选地,所述判断用户是否处于过激或者睡眠状态步骤之后包括:
当所述用户处于过激或者睡眠状态时,生成密码解锁界面,以供解锁。
可选地,所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
可选地,所述在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁步骤包括:
在终端解锁界面显示所述联系人头像与非联系人头像;
当检测到用户在所述终端解锁界面完成选取头像时,判断用户选取的头像是否全部为联系人头像;
当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
此外,为实现上述目的,本发明还提供一种终端解锁装置,所述终端解锁装置包括:
第一采集模块,用于当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
第二采集模块,用于当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
识别模块,用于基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
此外,为实现上述目的,本发明还提供一种终端解锁设备,所述终端解锁设备包括:存储器、处理器,通信总线以及存储在所述存储器上的终端解锁程序,
所述通信总线用于实现处理器与存储器间的通信连接;
所述处理器用于执行所述终端解锁程序,以实现以下步骤:
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
可选地,所述基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果步骤包括:
获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主;
当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态;
当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功。
可选地,所述用户脸部头像信息包括多张头像图片,所述当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态步骤包括:
当所述用户是机主时,基于所述多张头像图片抽象得到用户的各个微表情特征矩阵;
基于所述各个微表情特征矩阵,获取所述用户微表情基于时间的变化特征曲线;
基于所述变化特征曲线,调用预存的微表情识别模型,以识别用户是否处于过激状态或者睡眠状态。
可选地,所述判断用户是否处于过激或者睡眠状态步骤之后包括:
当所述用户处于过激或者睡眠状态时,生成密码解锁界面,以供解锁。
可选地,所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
可选地,所述在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁步骤包括:
在终端解锁界面显示所述联系人头像与非联系人头像;
当检测到用户在所述终端解锁界面完成选取头像时,判断用户选取的头像是否全部为联系人头像;
当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
此外,为实现上述目的,本发明还提供一种可读存储介质,所述可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
本发明通过当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。由于人在被强迫解锁时,按压终端触摸屏的压力大,因而在本申请中,当所述操作压力值大于预设压力值时,采集预设用户脸部图像,基于所述用户脸部图像,识别当前解锁操作是否为用户的自愿解锁操作即识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果,以防止用户在意识不明的情况下被他人强制指纹解锁的情况,因而本申请中现有技术中指纹解锁安全性不高,降低了用户体验的技术问题。
附图说明
图1为本发明终端解锁方法第一实施例的流程示意图;
图2为本发明终端解锁方法第二实施例的流程示意图;
图3是本发明实施例方法涉及的硬件运行环境的设备结构示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种终端解锁方法,在本发明终端解锁方法的第一实施例中,参照图1,所述终端解锁方法包括:
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
具体地,终端解锁方法包括:
步骤S10,当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值,具体地,终端物理层(触摸面板)接收到用户的解锁按压操作,终端将该物理按压转变为电信号TP,将TP传递至驱动层,驱动层对解锁按压操作进行解析,得到操作持续时长,操作压力值等参数,驱动层将该参数上传至终端框架层,框架层选择如何响应该解锁操作,并将如何响应该解锁操作的信息传递给终端的解锁应用,以确定终端的解锁结果。
当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值,以确定该操作压力值是否大于预设压力值,另外当操作压力值小于预设压力值时,终端可是采集所述指纹解锁操作对应的用户指纹,将该用户指纹与终端预存的机主指纹进行比对,以确定用户指纹与机主指纹是否一致,当一致时,终端指纹解锁成功,当不一致时,终端指纹解锁失败,在终端指纹解锁失败时,提示用户重新进行终端指纹解锁。
步骤S20,当所述操作压力值大于预设压力值,启动终端的摄像头,采集预设用户脸部图像信息;
当所述操作压力值大于预设压力值,启动终端的摄像头,采集预设用户脸部图像,需要说明的是,只有在操作压力值大于预设压力值满足时,才执行启动终端的摄像头,采集预设用户脸部图像的步骤,即,本实施例中,终端要在检测到操作压力值大于预设压力值时,响应该目标指纹解锁操作以启动终端的摄像头,采集预设用户脸部图像,需要事先在内置的处理器中设置程序段,该程序段表示启动终端的摄像头,采集预设用户脸部图像的处理逻辑,该处理逻辑用于在检测到目标指纹解锁操作时,触发处理器以响应所述目标指纹解锁操作,以基于该目标应指纹解锁操作以启动终端的摄像头,采集预设用户脸部图像信息。
当所述操作压力值大于预设压力值,启动终端的摄像头,采集预设用户脸部图像,其中,采集预设用户脸部图像指的是采集当前解锁时刻预设用户脸部图像,该用户脸部图像可是多张用户头像图片,进一步地,该多张用户头像图片包括用户的一系列微表情信息。
步骤S30,基于所述用户脸部图像,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果,其中,该终端解锁结果包括解锁成功结果或者解锁失败结果,需要说明的是,该解锁操作的操作属性包括用户自愿解锁或者用户被动解锁,其中,所述基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果步骤包括:
步骤S31,获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主;
获取终端预存的机主图片信息,具体地,获取终端预存的机主头像信息,将机主头像信息与用户脸部图像信息中的用户头像进行比对,以判断用户是否为机主,当用户不是机主时,终端指纹解锁失败,生成禁止终端进行指纹解锁的指令,以禁止终端指纹解锁,并生成其它的解锁界面如密码解锁等。
步骤S32,当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态;
当所述用户为机主时,获取所述用户的微表情信息,基于用户的微表情判断用户是否处于过激或者睡眠状态,具体地,所述用户脸部头像包括多张头像图片,所述当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态步骤包括:
步骤A1,当所述用户是机主时,基于所述多张头像图片抽象得到用户的各个微表情特征矩阵;
当所述用户是机主时,基于该多张头像图片,获取多张微表情图片,以抽象获取多张微表情图片中的微表情特征矩阵。
步骤A2,基于所述各个微表情特征矩阵,获取所述用户微表情基于时间的变化特征曲线;
基于所述各个微表情特征矩阵,与预存的微表情图片矩阵进行比较,以识别各个微表情,其中,该微表情包括害怕,恐惧,平静,高兴等表情,由于采集多张头像图片,生成多张微表情图片,因而,可对应生成用户微表情基于时间的变化特征曲线。
步骤A3,基于所述变化特征曲线,调用预存的微表情识别模型,以识别用户是否处于过激状态或者睡眠状态。
调用预存的微表情识别模型,将所述变化特征曲线对应的各个微表情特征矩阵作为输入向量至预存的微表情识别模型中,以接收输出结果,基于该输出结果判断用户是否处于过激状态或者睡眠状态,需要说明的是,微表情识别模型是能够基于变化特征曲线得到用户状态的模型。
步骤S33,当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功。
当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功,当所述用户是处于过激或者睡眠状态时,终端指纹解锁失败,并生成禁止指纹解锁的指令,基于该禁止指令,可生成密码解锁等解锁界面。
本发明通过当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。由于人在被强迫解锁时,按压终端触摸屏的压力大,持续时间长,因而在本实施例中,当所述操作压力值大于预设压力值,采集预设用户脸部图像,基于所述用户脸部图像,识别当前解锁操作是否为用户的自愿解锁操作即识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果,以防止用户在意识不明的情况下被他人强制指纹解锁的情况,因而本申请中现有技术中指纹解锁安全性不高,降低了用户体验的技术问题。
进一步地,本发明提供终端解锁方法的第二实施例,在第二实施例中,所述所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
步骤B1,当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,需要说明的是,本地联系人头像数据库中存储有联系人的头像,该联系人头像可是电话联系人头像,微信联系人头像,微博联系人头像等,即在该本地联系人头像数据库中,存储有各个类型的联系人头像的类别。当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,具体地,当所述用户不是机主时,从本地联系人头像数据库中的某类型联系人头像中选取预设个数的联系人头像,另外,该过程也可是依次从本地联系人各个不同类型的头像中选取预设个数的联系人头像。
从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,该本地缓存数据库中的头像可以变化,即是该本地缓存数据库中的头像可更新,如该本地缓存数据库中在检测到终端处于网络连接状态时,可以从服务器端下载非联系人头像至本地,其中,需要说明的是,所述第一预设个数与第二预设个数关联变化,该关联变化指的是第一预设个数与第二预设个数的总数不变,如终端解锁界面显示九宫格的头像,第一预设个数可是4个,第二预设个数可是5个,或者第一预设个数可是3个,第二预设个数可是5个等。
步骤B2,在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
在选取完成联系人头像与非联系人头像后,在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户触摸或者点击选取,以实现终端的解锁。
在本实施例中,通过当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。本实施例在禁止指纹解锁后,提供基于联系人解锁的方式,由于联系人头像只有机主才能准确识别出,因而提高了安全性。
进一步地,本发明提供终端解锁方法的实施例,在实施例中,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
步骤C1,当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
当所述操作压力值大于预设压力值时,在本实施例中,获取或者采集用户的第一指纹信息,将该第一指纹信息与预存的机主的第一指纹进行比对,以判断该第一指纹信息是否与机主的第一指纹相同,当相同时,执行判断终端是否在预设时长内检测到第二指纹信息的步骤。
步骤C1,当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
该第一指纹信息与终端预存的机主的第一指纹匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果,需要说明的是,终端预存的机主的第一指纹与第二指纹指的是机主预先录入的不同手指的指纹,具体地,如机主的第一指纹是机主左手大拇指的指纹,机主的第二指纹是机主又手中指的指纹,基于比对结果确定指纹解锁结果指的是,当第二指纹信息与终端预存的机主的第二指纹相同时,指纹解锁成功,否则,指纹解锁失败。在本实施例中,避免在指纹解锁时,偶然性按压过重而造成终端指纹解锁流程复杂的问题。
在本实施例中, 通过当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。本实施例避免在指纹解锁时,偶然性按压过重而造成终端指纹解锁流程复杂的问题。
本发明还提供一种终端解锁装置,所述终端解锁装置包括:
第一采集模块,用于当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
第二采集模块,用于当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
识别模块,用于基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
可选地,所述识别模块包括:
第一获取单元,用于获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主;
第二获取单元,用于当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态;
识别单元,用于当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功。
可选地,所述用户脸部头像包括多张头像图片,所述第二获取单元步骤包括:
抽象单元,用于当所述用户是机主时,基于所述多张头像图片抽象得到用户的各个微表情特征矩阵;
获取单元,用于基于所述各个微表情特征矩阵,获取所述用户微表情基于时间的变化特征曲线;
调用单元,用于基于所述变化特征曲线,调用预存的微表情识别模型,以识别用户是否处于过激状态或者睡眠状态。
可选地,所述第二获取单元实现:
当所述用户处于过激或者睡眠状态时,生成密码解锁界面,以供解锁。
可选地,所述终端解锁装置包括:
第一选取模块,用于当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
第二选取模块,用于在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
可选地,所述第二选取模块步骤包括:
显示单元,用于在终端解锁界面显示所述联系人头像与非联系人头像;
当检测到用户在所述终端解锁界面完成选取头像时,判断用户选取的头像是否全部为联系人头像;
确定单元,当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述终端解锁装置还包括:
第一判断模块,用于当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
第二判断模块,用于当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
参照图3,图3是本发明实施例方案涉及的硬件运行环境的设备结构示意图。
本发明实施例终端解锁设备可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等终端设备。
如图3所示,该终端解锁设备可以包括:处理器1001,例如CPU,存储器1005,通信总线1002。其中,通信总线1002用于实现处理器1001和存储器1005之间的连接通信。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储设备。
可选地,该终端解锁设备还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
本领域技术人员可以理解,图3中示出的终端解锁设备结构并不构成对终端解锁设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图3所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块以及终端解锁程序。操作系统是管理和控制终端解锁设备硬件和软件资源的程序,支持终端解锁程序以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与终端解锁设备中其它硬件和软件之间通信。
在图3所示的终端解锁设备中,处理器1001用于执行存储器1005中存储的终端解锁程序,实现上述所述的终端解锁方法的步骤。
本发明终端解锁设备具体实施方式与上述终端解锁方法各实施例基本相同,在此不再赘述。
本发明提供了一种可读存储介质,所述可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述任一项所述的终端解锁方法的步骤。
本发明可读存储介质具体实施方式与上述终端解锁方法各实施例基本相同,在此不再赘述。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利处理范围内。

Claims (20)

  1. 一种终端解锁方法,其特征在于,所述终端解锁方法包括:
    当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
    当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
    基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
  2. 如权利要求1所述的终端解锁方法,其特征在于,所述基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果步骤包括:
    获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主;
    当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态;
    当所述用户不是处于过激或者睡眠状态时,确定终端指纹解锁成功。
  3. 如权利要求2所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  4. 如权利要求2所述的终端解锁方法,其特征在于,所述用户脸部头像信息包括多张头像图片,所述当所述用户为机主时,获取所述用户的微表情信息,以判断用户是否处于过激或者睡眠状态步骤包括:
    当所述用户是机主时,基于所述多张头像图片抽象得到用户的各个微表情特征矩阵;
    基于所述各个微表情特征矩阵,获取所述用户微表情基于时间的变化特征曲线;
    基于所述变化特征曲线,调用预存的微表情识别模型,以识别用户是否处于过激状态或者睡眠状态。
  5. 如权利要求3所述的终端解锁方法,其特征在于,所述判断用户是否处于过激或者睡眠状态步骤之后包括:
    当所述用户处于过激或者睡眠状态时,生成密码解锁界面,以供解锁。
  6. 如权利要求3所述的终端解锁方法,其特征在于,所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
    当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
    在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
  7. 如权利要求3所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  8. 如权利要求2所述的终端解锁方法,其特征在于,所述判断用户是否处于过激或者睡眠状态步骤之后包括:
    当所述用户处于过激或者睡眠状态时,生成密码解锁界面,以供解锁。
  9. 如权利要求8所述的终端解锁方法,其特征在于,所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
    当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
    在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
  10. 如权利要求8所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  11. 如权利要求2所述的终端解锁方法,其特征在于,所述获取终端预存的机主图片信息,基于所述用户脸部图像信息与机主图片信息,判断用户是否为机主步骤之后包括:
    当所述用户不是机主时,从终端本地联系人头像数据库中选取第一预设个数的联系人头像,并从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数关联变化;
    在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁。
  12. 如权利要求11所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  13. 如权利要求11所述的终端解锁方法,其特征在于,所述在终端解锁界面显示所述选取的联系人头像与非联系人头像,以供用户选取,以实现终端的解锁步骤包括:
    在终端解锁界面显示所述联系人头像与非联系人头像;
    当检测到用户在所述终端解锁界面完成选取头像时,判断用户选取的头像是否全部为联系人头像;
    当用户选取的头像全部为联系人头像时,确定终端解锁成功。
  14. 如权利要求13所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  15. 如权利要求1所述的终端解锁方法,其特征在于,所述当检测到终端指纹解锁操作时,采集所述指纹解锁操作对应用户触摸终端的操作压力值步骤之后包括:
    当所述操作压力值大于预设压力值时,获取用户的第一指纹信息,判断该第一指纹信息是否与终端预存的机主的第一指纹匹配;
    当匹配时,判断终端是否在预设时长内检测到第二指纹信息,当终端在预设时长内检测到第二指纹信息时,将该第二指纹信息与预存的机主的第二指纹进行比对,基于比对结果确定指纹解锁结果。
  16. 一种终端解锁装置,其特征在于,所述终端解锁装置包括:
    第一采集模块,用于当检测到终端指纹解锁操作时,采集用户操作终端的操作压力值;
    第二采集模块,用于当所述操作压力值大于预设压力值时,启动终端的摄像头进行拍照,以采集预设用户脸部图像信息;
    识别模块,用于基于所述用户脸部图像信息,识别所述当前解锁操作的操作属性,以基于所述操作属性确定终端解锁结果。
  17. 一种终端解锁设备,其特征在于,所述终端解锁设备包括:存储器、处理器,通信总线以及存储在所述存储器上的终端解锁程序,
    所述通信总线用于实现处理器与存储器间的通信连接;
    所述处理器用于执行所述终端解锁程序,以实现如权利要求1所述的终端解锁方法的步骤。
  18. 一种终端解锁设备,其特征在于,所述终端解锁设备包括:存储器、处理器,通信总线以及存储在所述存储器上的终端解锁程序,
    所述通信总线用于实现处理器与存储器间的通信连接;
    所述处理器用于执行所述终端解锁程序,以实现如权利要求2所述的终端解锁方法的步骤。
  19. 一种可读存储介质,其特征在于,所述可读存储介质上存储有终端解锁程序,所述终端解锁程序被处理器执行时实现如权利要求1所述的终端解锁方法的步骤。
  20. 一种可读存储介质,其特征在于,所述可读存储介质上存储有终端解锁程序,所述终端解锁程序被处理器执行时实现如权利要求2所述的终端解锁方法的步骤。
PCT/CN2018/084555 2018-01-23 2018-04-26 终端解锁方法、装置、设备及可读存储介质 WO2019144535A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810066102.1 2018-01-23
CN201810066102.1A CN108256316B (zh) 2018-01-23 2018-01-23 终端解锁方法、装置、设备及可读存储介质

Publications (1)

Publication Number Publication Date
WO2019144535A1 true WO2019144535A1 (zh) 2019-08-01

Family

ID=62742096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084555 WO2019144535A1 (zh) 2018-01-23 2018-04-26 终端解锁方法、装置、设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN108256316B (zh)
WO (1) WO2019144535A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182354A (zh) * 2018-01-31 2018-06-19 平安科技(深圳)有限公司 终端解锁方法、装置、设备及可读存储介质
CN110969067B (zh) * 2018-09-30 2024-03-01 北京小米移动软件有限公司 用户注册、认证方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130322705A1 (en) * 2012-05-30 2013-12-05 Google Inc. Facial and fingerprint authentication
CN104754108A (zh) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 屏幕解锁启动联系人的方法及终端
CN105260643A (zh) * 2015-10-30 2016-01-20 南昌欧菲生物识别技术有限公司 多指纹交叉解锁方法及系统
CN106446627A (zh) * 2016-08-31 2017-02-22 广州三星通信技术研究有限公司 在电子终端进行身份验证的方法和设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902175A (zh) * 2012-12-27 2014-07-02 北京三星通信技术研究有限公司 一种终端及其解锁方法
EP3349424B1 (en) * 2015-10-08 2021-03-03 Huawei Technologies Co., Ltd. Method for protecting privacy information and terminal device
CN106445349B (zh) * 2016-10-18 2019-06-25 珠海格力电器股份有限公司 一种调整移动终端系统参数的方法、装置和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130322705A1 (en) * 2012-05-30 2013-12-05 Google Inc. Facial and fingerprint authentication
CN104754108A (zh) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 屏幕解锁启动联系人的方法及终端
CN105260643A (zh) * 2015-10-30 2016-01-20 南昌欧菲生物识别技术有限公司 多指纹交叉解锁方法及系统
CN106446627A (zh) * 2016-08-31 2017-02-22 广州三星通信技术研究有限公司 在电子终端进行身份验证的方法和设备

Also Published As

Publication number Publication date
CN108256316A (zh) 2018-07-06
CN108256316B (zh) 2019-08-23

Similar Documents

Publication Publication Date Title
WO2017148112A1 (zh) 一种指纹录入方法及终端
WO2019061613A1 (zh) 贷款资质筛选方法、装置及计算机可读存储介质
WO2017143692A1 (zh) 智能电视及其语音控制方法
WO2013127233A1 (zh) 一种基于手机的按键解锁方法及手机
WO2017095033A1 (ko) 마찰음을 이용하는 장치 및 방법
WO2019033904A1 (zh) 登录验证方法、系统及计算机可读存储介质
WO2019104876A1 (zh) 保险产品的推送方法、系统、终端、客户终端及存储介质
WO2018113187A1 (zh) 一种显示控制方法及显示装置
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
WO2019134218A1 (zh) 基于vtm的转账方法、装置、服务器和存储介质
WO2019000800A1 (zh) 制证方法、装置、设备及计算机可读存储介质
WO2015139594A1 (en) Security verification method, apparatus, and system
WO2016108407A1 (ko) 주석 제공 방법 및 장치
WO2018188342A1 (zh) 脚本文件生成方法、装置、设备和计算机可读存储介质
WO2019144526A1 (zh) 借记卡激活方法、设备、系统及计算机可读存储介质
WO2019085543A1 (zh) 电视机系统及电视机控制方法
WO2018201699A1 (zh) 客户评价方法、装置、设备以及计算机可读存储介质
WO2018018680A1 (zh) 应用提示信息显示方法及装置
WO2019164281A1 (en) Electronic device and control method thereof
WO2019144535A1 (zh) 终端解锁方法、装置、设备及可读存储介质
WO2015169177A1 (en) Web page display method and apparatus
WO2018023925A1 (zh) 拍摄方法及系统
WO2019042220A1 (zh) 智能系统调整方法、装置及计算机可读存储介质
WO2017016268A1 (zh) 一种智能手表的调控方法及智能手表
WO2015180584A1 (en) Sound effect playback method and apparatus

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: 18902595

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18902595

Country of ref document: EP

Kind code of ref document: A1