Movatterモバイル変換


[0]ホーム

URL:


CN106326713A - Unlocking method for screen of mobile terminal and mobile terminal - Google Patents

Unlocking method for screen of mobile terminal and mobile terminal
Download PDF

Info

Publication number
CN106326713A
CN106326713ACN201610798220.2ACN201610798220ACN106326713ACN 106326713 ACN106326713 ACN 106326713ACN 201610798220 ACN201610798220 ACN 201610798220ACN 106326713 ACN106326713 ACN 106326713A
Authority
CN
China
Prior art keywords
unlocking
similarity
mobile terminal
image
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.)
Granted
Application number
CN201610798220.2A
Other languages
Chinese (zh)
Other versions
CN106326713B (en
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 CN201610798220.2ApriorityCriticalpatent/CN106326713B/en
Publication of CN106326713ApublicationCriticalpatent/CN106326713A/en
Application grantedgrantedCritical
Publication of CN106326713BpublicationCriticalpatent/CN106326713B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种移动终端屏幕的解锁方法及移动终端,该方法包括:在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;根据所述指令,启动所述移动终端的摄像头;获取所述摄像头捕捉的至少一个目标图像;当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。本发明提供的移动终端屏幕的解锁方法,未增加任何硬件设备,通过摄像头捕捉目标图像就可进行解锁,操作简单快捷,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。

The present invention provides a method for unlocking the screen of a mobile terminal and the mobile terminal. The method includes: obtaining an instruction for unlocking the screen of the mobile terminal in a screen-locked state of the mobile terminal; according to the instruction, starting a camera of the mobile terminal; Acquiring at least one target image captured by the camera; when the at least one target image matches an unlocking image pre-stored in an unlocking image library, performing a screen unlocking operation. The unlocking method of the mobile terminal screen provided by the present invention does not add any hardware equipment, and can be unlocked by capturing the target image through the camera. The technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of the user's operation is solved.

Description

Translated fromChinese
一种移动终端屏幕的解锁方法及移动终端A mobile terminal screen unlocking method and mobile terminal

技术领域technical field

本发明涉及移动终端操控技术领域,尤其涉及一种移动终端屏幕的解锁方法及移动终端。The present invention relates to the technical field of mobile terminal manipulation, in particular to a mobile terminal screen unlocking method and a mobile terminal.

背景技术Background technique

现在手机成为用户越来越重要的电子消费产品,很多扩展功能也在手机上应用,特别是涉及到用户财产(例如支付宝、微信)、隐私(例如相册、微信、QQ),手机的保密性越来越重要,因而手机的解锁方式(例如快速的指纹解锁)也越来越成为手机厂商的卖点。其中,当前市面手机的解锁方式大致分为:Now mobile phones have become more and more important electronic consumer products for users, and many extended functions are also applied on mobile phones, especially when it comes to user property (such as Alipay, WeChat) and privacy (such as photo albums, WeChat, QQ), the confidentiality of mobile phones is getting higher and higher. Therefore, the unlocking method of mobile phones (such as fast fingerprint unlocking) has become more and more a selling point of mobile phone manufacturers. Among them, the current unlocking methods of mobile phones on the market are roughly divided into:

1、用手机界面密码来解锁,其中包括手机输入数字解锁,以及画九格图案解锁;1. Use the password on the mobile phone interface to unlock, including entering a number on the mobile phone to unlock, and drawing a nine-grid pattern to unlock;

2、使用指纹识别传感器进行指纹解锁,其中包括放置于手机前面的指纹传感器实现前置指纹解锁,以及放置于手机后面的指纹传感器实现后置指纹解锁。2. Use the fingerprint recognition sensor for fingerprint unlocking, including the fingerprint sensor placed on the front of the mobile phone to realize the front fingerprint unlocking, and the fingerprint sensor placed on the back of the mobile phone to realize the rear fingerprint unlocking.

其中,使用屏幕密码解锁或者在手机屏幕上画图案解锁的解锁方式,由于在解锁过程中容易被他人看到,或者在手机上划过的图案由于手指带有汗液,容易形成划痕,从而被其他人破解。另外,在用户使用该方式解锁时,用户解锁的操作过程也比较复杂,特别是单手操作的时候,很不方便,用户体验也差。Among them, using the screen password to unlock or drawing a pattern on the screen of the mobile phone is easy to be seen by others during the unlocking process, or the pattern drawn on the mobile phone is easy to form scratches due to sweat on the fingers, so it is blocked. Others crack. In addition, when the user uses this unlocking method, the user's unlocking operation process is relatively complicated, especially when the user operates with one hand, it is very inconvenient and the user experience is also poor.

另外,虽然使用指纹识别解锁现在越来越成为手机厂商的潮流,具有操作简单,解锁速度快的优点,但是指纹识别由于是硬件传感器,肯定存在单体不良的失效情况,可能出现不能解锁、不是特定指纹也可以解锁的情况,而且在解锁时,如果手指有脏污或者水渍的时候,通常是无法进行指纹解锁的。因此,指纹识别解锁对用户的保密情况存在不确定性。此外,在手机的设计制作过程中,指纹识别模组的增加也大大增加了硬件成本和设计难度,降低了整机的可靠性。In addition, although using fingerprint recognition to unlock is becoming more and more a trend of mobile phone manufacturers, it has the advantages of simple operation and fast unlocking speed, but because the fingerprint recognition is a hardware sensor, there must be a failure of a single unit, and it may not be unlocked, not Specific fingerprints can also be unlocked, and when unlocking, if the fingers are dirty or water-stained, it is usually impossible to unlock the fingerprint. Therefore, there is uncertainty in the confidentiality of the user for fingerprint recognition and unlocking. In addition, in the design and production process of the mobile phone, the increase of the fingerprint recognition module also greatly increases the hardware cost and design difficulty, and reduces the reliability of the whole machine.

由上述可知,现有的手机解锁方式无法在保证用户操作便利性的同时降低设计成本,并增强保密性。From the above, it can be seen that the existing mobile phone unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of the user's operation.

发明内容Contents of the invention

本发明提供一种移动终端屏幕的解锁方法及移动终端,以解决现有的解锁方式无法在保证用户操作便利性的同时降低设计成本,并增强保密性的技术问题。The invention provides a method for unlocking the screen of a mobile terminal and the mobile terminal to solve the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of user operation.

第一方面,本发明的实施例提供了一种移动终端屏幕的解锁方法,所述移动终端包括摄像头,所述方法包括:In a first aspect, embodiments of the present invention provide a method for unlocking a screen of a mobile terminal, where the mobile terminal includes a camera, and the method includes:

在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;Obtaining an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is locked;

根据所述指令,启动所述移动终端的摄像头;According to the instruction, start the camera of the mobile terminal;

获取所述摄像头捕捉的至少一个目标图像;acquiring at least one target image captured by the camera;

当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。When the at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed.

第二方面,本发明的实施例提供了一种移动终端,包括摄像头,所述移动终端还包括:In a second aspect, embodiments of the present invention provide a mobile terminal, including a camera, and the mobile terminal further includes:

指令获取模块,用于在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;The instruction acquisition module is used to acquire an instruction to unlock the screen of the mobile terminal in the state of the screen lock of the mobile terminal;

启动模块,用于根据所述指令获取模块获取的所述指令,启动所述移动终端的摄像头;A starting module, configured to start the camera of the mobile terminal according to the instruction acquired by the instruction acquiring module;

图像获取模块,用于获取所述摄像头捕捉的至少一个目标图像;An image acquisition module, configured to acquire at least one target image captured by the camera;

解锁执行模块,当所述图像获取模块获取的所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。The unlock execution module is configured to perform a screen unlock operation when the at least one target image acquired by the image acquisition module matches the unlock image pre-stored in the unlock image library.

这样,本发明的实施例,能够在移动终端屏幕处于锁屏状态下,获取解锁移动终端屏幕的指令,从而根据该指令启动移动终端的摄像头,使得该摄像头可以捕捉目标图像,进而当摄像头捕捉的至少一个目标图像与预先在解锁图像库中存储的解锁图像相匹配时,执行屏幕解锁操作。由此可知,本发明实施例的移动终端屏幕的解锁方法,未增加任何硬件设备,仅利用移动终端现有硬件设备即可实现屏幕解锁,操作简单方便,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。In this way, the embodiments of the present invention can obtain an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is in a locked state, thereby starting the camera of the mobile terminal according to the instruction, so that the camera can capture the target image, and then when the camera captures the When at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed. It can be seen that the method for unlocking the screen of the mobile terminal in the embodiment of the present invention does not add any hardware devices, and only the existing hardware devices of the mobile terminal can be used to unlock the screen. The operation is simple and convenient, and the unlock images in the unlock image library I know that the confidentiality is good, which effectively solves the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of user operation.

附图说明Description of drawings

图1表示本发明第一实施例的移动终端屏幕的解锁方法的流程图;Fig. 1 shows the flowchart of the method for unlocking the mobile terminal screen of the first embodiment of the present invention;

图2表示本发明第二实施例的移动终端屏幕的解锁方法的流程图;Fig. 2 represents the flowchart of the method for unlocking the screen of the mobile terminal according to the second embodiment of the present invention;

图3表示本发明第三实施例的移动终端的结构框图之一;Fig. 3 represents one of the structural block diagrams of the mobile terminal of the third embodiment of the present invention;

图4表示本发明第三实施例的移动终端的结构框图之二;Fig. 4 shows the second structural block diagram of the mobile terminal of the third embodiment of the present invention;

图5表示本发明第四实施例的移动终端的结构框图;Fig. 5 shows the structural block diagram of the mobile terminal of the 4th embodiment of the present invention;

图6表示本发明第五实施例的移动终端的结构框图。FIG. 6 shows a block diagram of a mobile terminal according to a fifth embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

第一实施例first embodiment

如图1所示,为本发明第一实施例的移动终端屏幕的解锁方法的流程图,该方法包括:As shown in Figure 1, it is a flow chart of the unlocking method of the mobile terminal screen of the first embodiment of the present invention, the method includes:

步骤101:在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令。Step 101: Obtain an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is locked.

本发明的实施例应用于手机、平板电脑等设置有摄像头的移动终端,且在该类移动终端中预先建立有解锁图像库。其中,可通过进入移动终端的设置页面,设置解锁图像。即,进入移动终端的设置页面后,利用移动终端的摄像头对拍摄对象进行拍摄,并将拍摄的图像存储在解锁图像库中,以便于在利用摄像头进行屏幕解锁时使用。The embodiments of the present invention are applied to mobile terminals equipped with cameras, such as mobile phones and tablet computers, and an unlocking image library is pre-established in such mobile terminals. Wherein, the unlocking image can be set by entering the setting page of the mobile terminal. That is, after entering the setting page of the mobile terminal, the camera of the mobile terminal is used to take pictures of the subject, and the captured images are stored in an unlocked image library for use when the camera is used to unlock the screen.

其中,在本发明的实施例中,所述解锁图像包括多种拍摄对象的图像。即用户可通过摄像头拍摄多种不同的拍摄对象的图像作为解锁图像。例如拍摄多种物品的图像作为解锁图像,或者拍摄用户身体的不同部位(如脸部、掌纹),或者拍摄用户自己摆出的特定手势等。Wherein, in the embodiment of the present invention, the unlocking image includes images of various shooting objects. That is, the user may take images of various subjects through the camera as unlocking images. For example, take images of various items as unlocking images, or take pictures of different parts of the user's body (such as face and palm prints), or take pictures of specific gestures made by the user.

因此,本发明实施例的移动终端屏幕的解锁方法不同与现有技术的人脸解锁。其中,现有技术的人脸解锁的解锁图像就是移动终端用户的脸部,从而使得其他人容易利用移动终端用户的人脸照片进行解锁,安全性较低。相比之下,本发明实施例中的解锁图像库中存储的解锁图像灵活多样,且只有用户自己知道,具备较好的安全性。Therefore, the method for unlocking the screen of the mobile terminal in the embodiment of the present invention is different from face unlocking in the prior art. Wherein, the unlocking image of the face unlocking in the prior art is the face of the mobile terminal user, so that other people can easily use the face photo of the mobile terminal user to unlock, and the security is low. In contrast, the unlocking images stored in the unlocking image database in the embodiment of the present invention are flexible and diverse, and only the user himself knows, which has better security.

另外,在移动终端屏幕处于锁屏状态下,用户可按照移动终端自身支持的摄像头快速启动方式,在移动终端上进行相应操作,以使得移动终端生成解锁移动终端屏幕的指令,进而根据该指令启动移动终端的摄像头。In addition, when the screen of the mobile terminal is locked, the user can perform corresponding operations on the mobile terminal according to the camera quick start mode supported by the mobile terminal itself, so that the mobile terminal generates an instruction to unlock the screen of the mobile terminal, and then starts the camera according to the instruction. The camera of the mobile terminal.

步骤102:根据所述指令,启动所述移动终端的摄像头。Step 102: Start the camera of the mobile terminal according to the instruction.

通过步骤101获取到解锁移动终端屏幕的指令后,则可启动该移动终端的摄像头,进入到拍照模式。After the instruction to unlock the screen of the mobile terminal is obtained through step 101, the camera of the mobile terminal can be started to enter the photographing mode.

步骤103:获取所述摄像头捕捉的至少一个目标图像。Step 103: Obtain at least one target image captured by the camera.

其中,摄像头捕捉的所述目标图像可以是对同一拍摄对象捕捉的多个图像,或者对多个不同拍摄对象分别捕捉的图像,或者对多个拍摄对象位于同一拍摄界面中时捕捉的图像。Wherein, the target image captured by the camera may be multiple images captured for the same subject, or images captured separately for multiple different subjects, or images captured when multiple subjects are located in the same shooting interface.

另外,摄像头启动进入到拍照模式后,在移动终端的显示界面可以实时观看到摄像头所捕捉的目标图像。其中,由于解锁图像库中的解锁图像为多种拍摄对象的图像,所以,用户可以利用多种拍摄对象进行解锁,解锁对象灵活多样。其中,当用户不方便利用其中某个拍摄对象进行解锁时,可以利用其它拍摄对象进行解锁,解锁操作非常灵活。例如,解锁图像库中的解锁图像包括有A、B、C这三个拍摄对象的图像,则当用户不方便利用A来进行解锁时,可利用B或者C来进行解锁。此外,为了进一步增强解锁操作的复杂程度,从而增强保密效果,可利用多个拍摄对象进行解锁。例如,利用A+B组合或B+C组合或A+B+C组合来进行解锁。In addition, after the camera is activated and enters the camera mode, the target image captured by the camera can be viewed in real time on the display interface of the mobile terminal. Wherein, since the unlocking images in the unlocking image database are images of various shooting objects, the user can use various shooting objects for unlocking, and the unlocking objects are flexible and diverse. Among them, when it is inconvenient for the user to use one of the shooting objects to unlock, other shooting objects can be used to unlock, and the unlocking operation is very flexible. For example, the unlocked images in the unlocked image library include images of three subjects A, B, and C, and when it is inconvenient for the user to use A to unlock, B or C can be used to unlock. In addition, in order to further increase the complexity of the unlocking operation, thereby enhancing the security effect, multiple shooting objects can be used for unlocking. For example, A+B combination, B+C combination or A+B+C combination is used for unlocking.

步骤104:当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。Step 104: When the at least one target image matches the unlocking image pre-stored in the unlocking image library, perform a screen unlocking operation.

通过步骤103获取到摄像头捕捉的至少一个目标图像后,可进一步根据预先在解锁图像库中存储的解锁图像,执行屏幕解锁操作。即当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作,解锁成功,否则解锁失败。After at least one target image captured by the camera is acquired through step 103, the screen unlocking operation may be further performed according to the unlocking image pre-stored in the unlocking image library. That is, when the at least one target image matches the unlocking image pre-stored in the unlocking image library, the screen unlocking operation is performed, and the unlocking is successful; otherwise, the unlocking fails.

由上述可知,本发明的实施例,能够在移动终端屏幕处于锁屏状态下,获取解锁移动终端屏幕的指令,从而根据该指令启动移动终端的摄像头,使得移动终端的摄像头可以捕捉目标图像,进而当摄像头捕捉的至少一个目标图像与预先在解锁图像库中存储的解锁图像相匹配时,执行屏幕解锁操作。因此,本发明实施例的移动终端屏幕的解锁方法,未增加任何硬件设备,仅利用移动终端现有硬件设备即可实现屏幕解锁,操作简单方便,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。As can be seen from the above, the embodiments of the present invention can obtain an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is in a locked state, thereby starting the camera of the mobile terminal according to the instruction, so that the camera of the mobile terminal can capture the target image, and then When at least one target image captured by the camera matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed. Therefore, the method for unlocking the screen of a mobile terminal according to the embodiment of the present invention does not add any hardware devices, and only the existing hardware devices of the mobile terminal can be used to unlock the screen. The operation is simple and convenient, and only the user knows the unlocked images in the unlocked image library. , with good confidentiality, which effectively solves the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of user operation.

第二实施例second embodiment

如图2所示,为本发明第二实施例的移动终端屏幕的解锁方法的流程图,该方法包括:As shown in Figure 2, it is a flow chart of the unlocking method of the mobile terminal screen of the second embodiment of the present invention, the method includes:

步骤201:在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令。Step 201: Obtain an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is locked.

本发明的实施例应用于手机、平板电脑等设置有摄像头的移动终端,且在该类移动终端中预先建立有解锁图像库。其中,可通过进入移动终端的设置页面,设置解锁图像。即,进入移动终端的设置页面后,利用移动终端的摄像头对拍摄对象进行拍摄,并将拍摄的图像存储在解锁图像库中,以便于在利用摄像头进行屏幕解锁时使用。The embodiments of the present invention are applied to mobile terminals equipped with cameras, such as mobile phones and tablet computers, and an unlocking image library is pre-established in such mobile terminals. Wherein, the unlocking image can be set by entering the setting page of the mobile terminal. That is, after entering the setting page of the mobile terminal, the camera of the mobile terminal is used to take pictures of the subject, and the captured images are stored in an unlocked image library for use when the camera is used to unlock the screen.

其中,在本发明的实施例中,所述解锁图像包括多种拍摄对象的图像。即用户可通过摄像头拍摄多种不同的拍摄对象的图像作为解锁图像。例如拍摄多种物品的图像作为解锁图像,或者拍摄用户身体的不同部位(如脸部、掌纹),或者拍摄用户自己摆出的特定手势等。Wherein, in the embodiment of the present invention, the unlocking image includes images of various shooting objects. That is, the user may take images of various subjects through the camera as unlocking images. For example, take images of various items as unlocking images, or take pictures of different parts of the user's body (such as face and palm prints), or take pictures of specific gestures made by the user.

因此,本发明实施例的移动终端屏幕的解锁方法不同与现有技术的人脸解锁。其中,现有技术的人脸解锁的解锁图像就是移动终端用户的脸部,从而使得其他人容易利用移动终端用户的人脸照片进行解锁,安全性较低。相比之下,本发明实施例中的解锁图像库中存储的解锁图像灵活多样,且只有用户自己知道,具备较好的安全性。Therefore, the method for unlocking the screen of the mobile terminal in the embodiment of the present invention is different from face unlocking in the prior art. Wherein, the unlocking image of the face unlocking in the prior art is the face of the mobile terminal user, so that other people can easily use the face photo of the mobile terminal user to unlock, and the security is low. In contrast, the unlocking images stored in the unlocking image database in the embodiment of the present invention are flexible and diverse, and only the user himself knows, which has better security.

另外,在移动终端屏幕处于锁屏状态下,用户可按照移动终端自身支持的摄像头快速启动方式,在移动终端上进行相应操作,以使得移动终端生成解锁移动终端屏幕的指令,进而根据该指令启动移动终端的摄像头。In addition, when the screen of the mobile terminal is locked, the user can perform corresponding operations on the mobile terminal according to the camera quick start mode supported by the mobile terminal itself, so that the mobile terminal generates an instruction to unlock the screen of the mobile terminal, and then starts the camera according to the instruction. The camera of the mobile terminal.

其中,在移动终端处于锁屏状态下,可通过按下移动终端的亮屏按键或返回按键预设次数快速启动移动终端的摄像头,或者在移动终端的亮屏界面的预设区域内利用触摸操作快速启动移动终端的摄像头。例如,快速双击开机亮屏按键,直接启动摄像头,其中,连续两次按下开机亮屏按键的时间间隔可以通过用户自行调整;或者,快速双击返回按键,其中,有些移动终端的机型返回按键是实体按键,则用户快速双击就可以很简单地启动摄像头,然而有些机型是电容触摸按键,同样可以通过快速触摸快速启动摄像头,但是当移动终端放置在口袋中时,需要关闭电容触摸返回按键快速启动摄像头的功能,以免造成误操作。Wherein, when the mobile terminal is in the locked screen state, the camera of the mobile terminal can be quickly started by pressing the screen bright button or the return button preset times of the mobile terminal, or the camera of the mobile terminal can be operated by touch in the preset area of the screen bright interface of the mobile terminal Quickly start the camera of the mobile terminal. For example, quickly double-click the power-on and bright-screen button to directly start the camera, wherein the time interval between pressing the power-on and bright-screen button twice in a row can be adjusted by the user; If it is a physical button, the user can quickly start the camera by double-clicking it quickly. However, some models have a capacitive touch button, and the camera can also be quickly started by a quick touch. However, when the mobile terminal is placed in the pocket, the capacitive touch button needs to be turned off. Quickly start the function of the camera to avoid misuse.

步骤202:根据所述指令,启动所述移动终端的摄像头。Step 202: According to the instruction, start the camera of the mobile terminal.

通过步骤201获取到解锁移动终端屏幕的指令后,则可启动该移动终端的摄像头,进入到拍照模式。After the instruction of unlocking the screen of the mobile terminal is obtained through step 201, the camera of the mobile terminal can be started to enter the photographing mode.

步骤203:获取所述摄像头捕捉的至少一个目标图像。Step 203: Obtain at least one target image captured by the camera.

其中,摄像头捕捉的所述目标图像可以是对同一拍摄对象捕捉的多个图像,或者对多个不同拍摄对象分别捕捉的图像,或者对多个拍摄对象位于同一拍摄界面中时捕捉的图像。Wherein, the target image captured by the camera may be multiple images captured for the same subject, or images captured separately for multiple different subjects, or images captured when multiple subjects are located in the same shooting interface.

另外,摄像头启动进入到拍照模式后,在移动终端的显示界面可以实时观看到摄像头所捕捉的目标图像。其中,由于解锁图像库中的解锁图像为多种拍摄对象的图像,所以,用户可以利用多种拍摄对象进行解锁,解锁对象灵活多样。其中,当用户不方便利用其中某个拍摄对象进行解锁时,可以利用其它拍摄对象进行解锁,解锁操作非常灵活。例如,解锁图像库中的解锁图像包括有A、B、C这三个拍摄对象的图像,则当用户不方便利用A来进行解锁时,可利用B或者C来进行解锁。此外,为了进一步增强解锁操作的复杂程度,从而增强保密效果,可利用多个拍摄对象进行解锁。例如,利用A+B组合或B+C组合或A+B+C组合来进行解锁。In addition, after the camera is activated and enters the camera mode, the target image captured by the camera can be viewed in real time on the display interface of the mobile terminal. Wherein, since the unlocking images in the unlocking image database are images of various shooting objects, the user can use various shooting objects for unlocking, and the unlocking objects are flexible and diverse. Among them, when it is inconvenient for the user to use one of the shooting objects to unlock, other shooting objects can be used to unlock, and the unlocking operation is very flexible. For example, the unlocked images in the unlocked image library include images of three subjects A, B, and C, and when it is inconvenient for the user to use A to unlock, B or C can be used to unlock. In addition, in order to further increase the complexity of the unlocking operation, thereby enhancing the security effect, multiple shooting objects can be used for unlocking. For example, A+B combination, B+C combination or A+B+C combination is used for unlocking.

步骤204:依次提取至少一个目标图像中的至少一个拍摄对象。Step 204: sequentially extract at least one shooting object in at least one target image.

其中,由于摄像头捕捉的所述目标图像可以是对同一拍摄对象捕捉的多个图像,或者对多个不同拍摄对象分别捕捉的图像,或者对多个拍摄对象位于同一拍摄界面中时捕捉的图像,所以一个目标图像中可能包括一个拍摄对象或者多个拍摄对象。Wherein, since the target image captured by the camera may be multiple images captured for the same subject, or images captured separately for multiple different subjects, or images captured when multiple subjects are located in the same shooting interface, Therefore, a target image may include one subject or multiple subjects.

步骤205:将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对。Step 205: Compare the at least one photographed object with the unlocking images pre-stored in the unlocking image library.

其中,优选地,步骤205包括:分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;当所述相似度大于第一预设阈值时,所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;存储所述相似度。Wherein, preferably, step 205 includes: respectively calculating the similarity between the at least one subject and the unlocked image in the unlocked image library; when the similarity is greater than a first preset threshold, the similarity The corresponding unlocking image is a target unlocking image of the subject corresponding to the similarity; storing the similarity.

即本发明的实施例采用图像处理技术,将步骤203中获取的目标图像与预先存储的解锁图像进行对比,获得图像对比的相似度。当存在大于第一预设阈值的相似度时,则查找到了与目标图像相匹配的目标解锁图像。其中,第一预设阈值与移动终端的平衡开机速度和识别卡准确度相关。That is, the embodiment of the present invention uses image processing technology to compare the target image obtained in step 203 with the pre-stored unlocking image to obtain the similarity of image comparison. When there is a similarity greater than the first preset threshold, a target unlocking image matching the target image has been found. Wherein, the first preset threshold is related to the balanced startup speed and identification card accuracy of the mobile terminal.

步骤206:当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。Step 206: When there is a target unlock image matching the subject in the unlock image library, perform a screen unlock operation.

当通过步骤204将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对后,若对比发现所述解锁图像库中存在与拍摄对象相匹配的目标解锁图像,则可执行屏幕解锁操作,成功解锁。否则,若不存在与拍摄对象相匹配的目标解锁图像,则解锁失败,移动终端的显示界面仍然停留在摄像头的拍照界面。另外,还可设置在预设时间段内若未成功解锁,则移动终端进入灭屏待机状态,以节省电量。After step 204, the at least one photographed object is compared with the unlocked images previously stored in the unlocked image database, and if the comparison finds that there is a target unlocked image matching the photographed object in the unlocked image database, you can Execute the screen unlock operation and unlock successfully. Otherwise, if there is no target unlocking image matching the object to be photographed, then the unlocking fails, and the display interface of the mobile terminal remains at the photographing interface of the camera. In addition, it can also be set that if the mobile terminal is not successfully unlocked within a preset time period, the mobile terminal enters a standby state with the screen off, so as to save power.

另外,使用者在录用初始图片的时候,随着使用习惯的变化,摄像头捕捉目标图像的角度也可能发生变化,所以解锁图像的实时更新对解锁极为重要。因此,进一步地,在步骤206之后,还包括:获取已存储的所述相似度;判断所述相似度是否处于预设范围之内;当所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。In addition, when the user takes the initial picture, the angle at which the camera captures the target image may also change as the usage habits change, so the real-time update of the unlock image is extremely important for unlocking. Therefore, further, after step 206, it also includes: acquiring the stored similarity; judging whether the similarity is within the preset range; when the similarity is within the preset range, Updating the target image corresponding to the similarity to the unlocking image library.

进一步地,为了使得更新的解锁图像的精确度更好,从而更加快速地利用摄像头进行屏幕解锁,在上述判断所述相似度是否处于预设范围之内的步骤之后,所述方法还包括:当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;当所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。Further, in order to improve the accuracy of the updated unlocking image, so that the camera can be used to unlock the screen more quickly, after the above step of judging whether the similarity is within a preset range, the method further includes: when When the similarity is within the preset range, obtain the number of times the similarity is within the preset range; when the similarity is within the preset range, the number of times is greater than a second preset When the threshold is reached, the target image corresponding to the similarity within the preset range is updated to the unlocked image library.

举例来说,假设解锁图像库中存储有X1、X2、X3三个解锁图像,且用户曾经n次使用X1进行解锁,且每一次利用X1解锁时计算获得的相似度为Ni(其中,i取值为1~n,n为正整数)。其中,若N1~Nn这n个相似度中,有m(m小于n)个相似度处于预设范围之内,若m达到了第二预设阈值,则可将这m个相似度对应的目标图像添加到解锁图像库中,从而加快解锁速度。For example, assume that there are three unlocking images X1, X2, and X3 stored in the unlocking image database, and the user has used X1 to unlock n times, and the similarity calculated each time using X1 to unlock is Ni (wherein, i is taken as The value is 1~n, n is a positive integer). Among them, if among the n similarities N1 to Nn, there are m (m is less than n) similarities within the preset range, and if m reaches the second preset threshold, then the m similarities corresponding to The target image is added to the unlock image library, which speeds up the unlocking process.

此外,解锁图像库中的解锁图像还可同步存储到网络侧,以便于用户在更换移动终端后,可以从网络侧重新下载解锁图像到更换的移动终端上,避免了再次利用摄像头拍摄解锁图像的繁琐。例如,移动终端用户可以在线申请一个账户,自动保存与更新该账户在解锁图像库中的解锁图像,以便于用户丢失移动终端后可以联网登录该账户,将解锁图像下载到本机,并且随着移动终端的使用,用户可以自动更新调节解锁图像库中的解锁图像,进一步提升了用户的使用体验。In addition, the unlocked images in the unlocked image library can also be stored synchronously on the network side, so that after the user replaces the mobile terminal, he can re-download the unlocked image from the network side to the replaced mobile terminal, avoiding the problem of using the camera to take the unlocked image again. cumbersome. For example, a mobile terminal user can apply for an account online, automatically save and update the unlock image of the account in the unlock image library, so that the user can log in to the account online after losing the mobile terminal, download the unlock image to the machine, and With the use of the mobile terminal, the user can automatically update and adjust the unlocking image in the unlocking image library, which further improves the user experience.

综上所述,本发明的实施例在不增加任何硬件设备的前提下,通过移动终端现有的摄像头捕捉目标图像就可进行解锁,操作简单快捷,单手就可完成。另外,解锁图像库中的解锁图像只有用户自己知道,保密性良好,而且解锁图像库中的解锁图像还可实时更新,能够进一步加快后续的解锁速度,提升用户的使用体验。由此可知,本发明的实施例有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。To sum up, the embodiment of the present invention can be unlocked by capturing the target image through the existing camera of the mobile terminal without adding any hardware devices, and the operation is simple and quick, and can be completed with one hand. In addition, only the user knows the unlocked images in the unlocked image library, and the confidentiality is good, and the unlocked images in the unlocked image library can be updated in real time, which can further speed up the subsequent unlocking speed and improve the user experience. It can be seen that the embodiments of the present invention effectively solve the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of the user's operation.

第三实施例third embodiment

本发明的实施例提供了一种移动终端,包括摄像头,如图3所示,为本发明第三实施例提供的移动终端的结构框图,该移动终端300还包括:An embodiment of the present invention provides a mobile terminal, including a camera, as shown in FIG. 3 , which is a structural block diagram of the mobile terminal provided in the third embodiment of the present invention. The mobile terminal 300 also includes:

指令获取模块301,用于在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;An instruction acquiring module 301, configured to acquire an instruction for unlocking the screen of the mobile terminal in the screen lock state of the mobile terminal;

启动模块302,用于根据所述指令获取模块301获取的所述指令,启动所述移动终端的摄像头;The starting module 302 is configured to start the camera of the mobile terminal according to the instruction obtained by the instruction obtaining module 301;

图像获取模块303,用于获取所述摄像头捕捉的至少一个目标图像;An image acquisition module 303, configured to acquire at least one target image captured by the camera;

解锁执行模块304,当所述图像获取模块303获取的所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。The unlock execution module 304 is configured to perform a screen unlock operation when the at least one target image acquired by the image acquisition module 303 matches an unlock image pre-stored in an unlock image library.

优选地,如图4所示,所述解锁执行模块304包括:Preferably, as shown in Figure 4, the unlock execution module 304 includes:

提取单元3041,用于依次提取至少一个目标图像中的至少一个拍摄对象;An extraction unit 3041, configured to sequentially extract at least one subject in at least one target image;

比对单元3042,用于将所述提取单元3041提取的所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对;A comparing unit 3042, configured to compare the at least one subject extracted by the extracting unit 3041 with the unlocked images pre-stored in the unlocked image library;

执行单元3043,用于当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。The executing unit 3043 is configured to execute a screen unlocking operation when there is a target unlocking image matching the subject in the unlocking image library.

优选地,如图4所示,所述比对单元3042包括:Preferably, as shown in Figure 4, the comparison unit 3042 includes:

计算子单元30421,用于分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;A calculation subunit 30421, configured to respectively calculate the similarity between the at least one photographed object and the unlocked image in the unlocked image library;

判定子单元30422,用于当所述相似度大于第一预设阈值时,判定所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;A determination subunit 30422, configured to determine that the unlock image corresponding to the similarity is a target unlock image of the subject corresponding to the similarity when the similarity is greater than a first preset threshold;

存储子单元30423,用于存储所述相似度。The storage subunit 30423 is configured to store the similarity.

可选地,如图4所示,所述解锁执行模块304还包括:Optionally, as shown in FIG. 4, the unlock execution module 304 also includes:

相似度获取单元3044,用于获取已存储的所述相似度;A similarity acquiring unit 3044, configured to acquire the stored similarity;

判断单元3045,用于判断所述相似度获取单元3044获取的所述相似度是否处于预设范围之内;A judging unit 3045, configured to judge whether the similarity obtained by the similarity obtaining unit 3044 is within a preset range;

第一更新单元3046,用于当所述判断单元3045判断所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。The first updating unit 3046 is configured to update the target image corresponding to the similarity to the unlocked image library when the judging unit 3045 judges that the similarity is within the preset range.

优选地,如图4所示,所述解锁执行模块304还包括:Preferably, as shown in Figure 4, the unlock execution module 304 also includes:

次数获取单元3047,用于当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;The number of times acquiring unit 3047, configured to acquire the number of times the similarity is within the preset range when the similarity is within the preset range;

第二更新单元3048,用于当所述次数获取单元3047获取的所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。The second updating unit 3048 is configured to, when the number of times of the similarity within the preset range acquired by the number of times acquiring unit 3047 is greater than a second preset threshold, update all the similarities within the preset range The target image corresponding to the similarity is updated to the unlocked image library.

本发明实施例的移动终端,通过指令获取模块301在在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令,从而触发启动模块302根据所述指令启动所述移动终端的摄像头,进而触发图像获取模块303获取所述摄像头捕捉的至少一个目标图像,使得解锁执行模块304在所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。由此可知,本发明实施例的移动终端在不增加任何硬件设备的前提下,仅通过移动终端现有的摄像头捕捉目标图像就可进行解锁,操作简单快捷,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。In the mobile terminal of the embodiment of the present invention, the instruction acquisition module 301 acquires an instruction to unlock the screen of the mobile terminal in the screen lock state of the mobile terminal, thereby triggering the starting module 302 to start the camera of the mobile terminal according to the instruction, and then triggering The image acquisition module 303 acquires at least one target image captured by the camera, so that the unlock execution module 304 performs a screen unlocking operation when the at least one target image matches an unlock image pre-stored in an unlock image library. It can be seen that the mobile terminal in the embodiment of the present invention can be unlocked only by capturing the target image through the existing camera of the mobile terminal without adding any hardware devices. The operation is simple and fast, and the unlocked image in the unlocked image database The user knows that the confidentiality is good, which effectively solves the technical problem that the existing unlocking method cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of the user's operation.

第四实施例Fourth embodiment

图5是本发明另一个实施例的移动终端的结构框图。具体地,图5中的移动终端500可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 5 is a structural block diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 500 in FIG. 5 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图5中的移动终端500包括射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、拍照模组550、处理器560、音频电路570、WiFi(Wireless Fidelity)模块580和电源590,其中,拍照模组550包括一摄像头。The mobile terminal 500 in FIG. 5 includes a radio frequency (Radio Frequency, RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a camera module 550, a processor 560, an audio circuit 570, a WiFi (Wireless Fidelity) module 580 and The power supply 590, wherein the camera module 550 includes a camera.

其中,输入单元530可用于接收用户输入的数字或字符信息,以及产生与移动终端500的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元530可以包括触控面板531。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上的操作),并根据预先设定的程式驱动相应的连接装置。Wherein, the input unit 530 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 500 . Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531 . The touch panel 531, 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 531 using any suitable object or accessory such as a finger and a stylus), and The specified program drives the corresponding connected device.

可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器560,并能接收处理器560发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Optionally, the touch panel 531 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 560, and can receive and execute commands sent by the processor 560. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 531, the input unit 530 may also include other input devices 532, 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.

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

应注意,触控面板531可以覆盖显示面板541,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器560以确定触摸事件的类型,随后处理器560根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 531 can cover the display panel 541 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 560 to determine the type of the touch event, and then the processor The 560 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.

其中处理器560是移动终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器521内的软件程序和/或模块,以及调用存储在第二存储器522内的数据,执行移动终端500的各种功能和处理数据,从而对移动终端500进行整体监控。其中,第二存储器522中存储有解锁图像库,所述解锁图像库中的解锁图像包括多种拍摄对象的图像可选的,处理器560可包括一个或多个处理单元。Wherein the processor 560 is the control center of the mobile terminal 500, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 521, and calls the software programs and/or modules stored in the second memory 521. The data in the memory 522 executes various functions of the mobile terminal 500 and processes data, so as to monitor the mobile terminal 500 as a whole. Wherein, the second memory 522 stores an unlocked image library, and the unlocked images in the unlocked image library include images of various shooting objects. Optionally, the processor 560 may include one or more processing units.

在本发明实施例中,处理器560能够在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令,从而根据所述指令,启动所述移动终端的摄像头,进而获取所述摄像头捕捉的至少一个目标图像,使得当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。In the embodiment of the present invention, the processor 560 can obtain an instruction to unlock the screen of the mobile terminal in the screen-locked state of the mobile terminal, so as to start the camera of the mobile terminal according to the instruction, and then obtain at least one image captured by the camera. A target image, so that when the at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed.

优选地,处理器560在当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作时,具体用于:依次提取至少一个目标图像中的至少一个拍摄对象;将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对;当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。Preferably, when the at least one target image matches the unlock image pre-stored in the unlock image library, the processor 560 is specifically configured to: sequentially extract at least one shot of the at least one target image object; comparing the at least one shooting object with unlocking images pre-stored in the unlocking image library; when there is a target unlocking image matching the shooting object in the unlocking image library, performing a screen unlocking operation .

优选地,处理器560在将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对时,具体用于:分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;当所述相似度大于第一预设阈值时,所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;存储所述相似度。Preferably, when the processor 560 compares the at least one photographed object with the unlock images pre-stored in the unlock image library, it is specifically configured to: respectively calculate the number of the at least one photographed object and the unlock image stored in the unlock image library. The similarity of the unlocked image; when the similarity is greater than a first preset threshold, the unlocked image corresponding to the similarity is the target unlocked image of the subject corresponding to the similarity; storing the similarity Spend.

优选地,处理器560在执行屏幕解锁操作之后,还用于:获取已存储的所述相似度;判断所述相似度是否处于预设范围之内;当所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。Preferably, after the screen unlocking operation is performed, the processor 560 is further configured to: acquire the stored similarity; determine whether the similarity is within a preset range; when the similarity is within the preset range, When within, update the target image corresponding to the similarity to the unlocked image library.

优选地,处理器560在判断所述相似度是否处于预设范围之内之后,还用于:当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;当所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。Preferably, after judging whether the similarity is within the preset range, the processor 560 is further configured to: when the similarity is within the preset range, acquire the The number of times within the range; when the number of times the similarity is within the preset range is greater than a second preset threshold, update the target image corresponding to the similarity within the preset range to the unlocked image library.

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

本发明实施例的移动终端500,能够在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令,从而根据该指令启动移动终端的摄像头,使得移动终端的摄像头可以捕捉目标图像,进而当摄像头捕捉的至少一个目标图像与预先在解锁图像库中存储的解锁图像相匹配时,执行屏幕解锁操作。由此可知,本发明实施例的移动终端未增加任何硬件设备,仅利用移动终端现有硬件设备即可实现屏幕解锁,操作简单方便,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。The mobile terminal 500 of the embodiment of the present invention can obtain an instruction to unlock the screen of the mobile terminal in the screen-locked state of the mobile terminal, thereby starting the camera of the mobile terminal according to the instruction, so that the camera of the mobile terminal can capture the target image, and then act as a camera When the captured at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed. It can be seen that the mobile terminal in the embodiment of the present invention does not add any hardware devices, and only the existing hardware devices of the mobile terminal can be used to unlock the screen. Good, it effectively solves the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of user operation.

第五实施例fifth embodiment

图6是本发明另一个实施例的移动终端的结构框图。具体地,图6所示的移动终端600包括:至少一个处理器601、存储器602、至少一个网络接口604、其他用户接口603和拍照模组606,所述拍照模组606包括一摄像头。移动终端600中的各个组件通过总线系统605耦合在一起。可理解,总线系统605用于实现这些组件之间的连接通信。总线系统605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统605。其中,用户接口603可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Fig. 6 is a structural block diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 shown in FIG. 6 includes: at least one processor 601, memory 602, at least one network interface 604, other user interfaces 603, and a camera module 606, and the camera module 606 includes a camera. Various components in the mobile terminal 600 are coupled together through a bus system 605 . It can be understood that the bus system 605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 605 in FIG. 6 for clarity of illustration. Wherein, the user interface 603 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.

可以理解,本发明实施例中的存储器602可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器602旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 602 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-Only Memory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable In addition to programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory can be 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 (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 602 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

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

其中,操作系统6021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序6022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序6022中。Among them, the operating system 6021 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 6022 includes various application programs, such as a media player (Media Player), 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 6022 .

在本发明实施例中,存储器602中存储有本发明中预先建立的解锁图像库,所述解锁图像库中的解锁图像包括多种拍摄对象的图像。通过调用存储器602存储的程序或指令,具体的,可以是应用程序6022中存储的程序或指令。In the embodiment of the present invention, the memory 602 stores a pre-established unlocking image library in the present invention, and the unlocking images in the unlocking image library include images of various shooting objects. By calling the programs or instructions stored in the memory 602 , specifically, the programs or instructions stored in the application program 6022 .

在本发明实施例中,处理器601能够在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令,从而根据所述指令,启动所述移动终端的摄像头,进而获取所述摄像头捕捉的至少一个目标图像,使得当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。In the embodiment of the present invention, the processor 601 can acquire an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is locked, so as to start the camera of the mobile terminal according to the instruction, and then obtain at least one image captured by the camera. A target image, so that when the at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed.

上述本发明实施例揭示的方法可以应用于处理器601中,或者由处理器601实现。处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器601可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器602,处理器601读取存储器602中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 601 or implemented by the processor 601 . The processor 601 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or instructions in the form of software. The aforementioned processor 601 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other possible Program logic devices, discrete gate 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, and 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 602, and the processor 601 reads the information in the memory 602, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital SignalProcessor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention 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 Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Equipment (Programmable Logic Device, PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions of this application, or a combination thereof middle.

对于软件实现,可通过执行本发明实施例功能的模块(例如过程、函数等)来实现本发明实施例的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology of the embodiments of the present invention can be implemented through modules (such as procedures, functions, etc.) that execute the functions of the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

优选地,处理器601在当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作时,具体用于:依次提取至少一个目标图像中的至少一个拍摄对象;将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对;当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。Preferably, when the at least one target image matches the unlock image pre-stored in the unlock image library, the processor 601 is specifically configured to: sequentially extract at least one shot of the at least one target image object; comparing the at least one shooting object with unlocking images pre-stored in the unlocking image library; when there is a target unlocking image matching the shooting object in the unlocking image library, performing a screen unlocking operation .

优选地,处理器601在将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对时,具体用于:分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;当所述相似度大于第一预设阈值时,所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;存储所述相似度。Preferably, when the processor 601 compares the at least one photographed object with the unlock images pre-stored in the unlock image database, it is specifically configured to: respectively calculate the number of the at least one photographed object and the unlock image stored in the unlock image database. The similarity of the unlocked image; when the similarity is greater than a first preset threshold, the unlocked image corresponding to the similarity is the target unlocked image of the subject corresponding to the similarity; storing the similarity Spend.

优选地,处理器601在执行屏幕解锁操作之后,还用于:获取已存储的所述相似度;判断所述相似度是否处于预设范围之内;当所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。Preferably, after the screen unlocking operation is performed, the processor 601 is further configured to: obtain the stored similarity; determine whether the similarity is within a preset range; when the similarity is within the preset range, When within, update the target image corresponding to the similarity to the unlocked image library.

优选地,处理器601在判断所述相似度是否处于预设范围之内之后,还用于:当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;当所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。Preferably, after judging whether the similarity is within a preset range, the processor 601 is further configured to: when the similarity is within the preset range, acquire the The number of times within the range; when the number of times the similarity is within the preset range is greater than a second preset threshold, update the target image corresponding to the similarity within the preset range to the unlocked image library.

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

本发明实施例的移动终端600,能够在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令,从而根据该指令启动移动终端的摄像头,使得移动终端的摄像头可以捕捉目标图像,进而当摄像头捕捉的至少一个目标图像与预先在解锁图像库中存储的解锁图像相匹配时,执行屏幕解锁操作。由此可知,本发明实施例的移动终端未增加任何硬件设备,仅利用移动终端现有硬件设备即可实现屏幕解锁,操作简单方便,且解锁图像库中的解锁图像只有用户自己知道,保密性良好,有效解决了现有的解锁方式无法在保证用户操作便利性的同时降低设计成本并增强保密性的技术问题。The mobile terminal 600 of the embodiment of the present invention can obtain an instruction to unlock the screen of the mobile terminal in the screen-locked state of the mobile terminal, thereby starting the camera of the mobile terminal according to the instruction, so that the camera of the mobile terminal can capture the target image, and then act as a camera When the captured at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed. It can be seen that the mobile terminal in the embodiment of the present invention does not add any hardware devices, and only the existing hardware devices of the mobile terminal can be used to unlock the screen. Good, it effectively solves the technical problem that the existing unlocking methods cannot reduce the design cost and enhance the confidentiality while ensuring the convenience of user operation.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。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. Skilled artisans 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.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

Translated fromChinese
1.一种移动终端屏幕的解锁方法,所述移动终端包括摄像头,其特征在于,所述方法包括:1. A method for unlocking a screen of a mobile terminal, the mobile terminal comprising a camera, wherein the method comprises:在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;Obtaining an instruction to unlock the screen of the mobile terminal when the screen of the mobile terminal is locked;根据所述指令,启动所述移动终端的摄像头;According to the instruction, start the camera of the mobile terminal;获取所述摄像头捕捉的至少一个目标图像;acquiring at least one target image captured by the camera;当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。When the at least one target image matches the unlocking image pre-stored in the unlocking image library, a screen unlocking operation is performed.2.根据权利要求1所述的方法,其特征在于,所述当所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作的步骤,包括:2. The method according to claim 1, wherein the step of performing a screen unlocking operation when the at least one target image matches an unlocking image pre-stored in an unlocking image library comprises:依次提取至少一个目标图像中的至少一个拍摄对象;sequentially extracting at least one subject in at least one target image;将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对;Comparing the at least one photographed object with unlocking images pre-stored in the unlocking image library;当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。When there is a target unlocking image matching the subject in the unlocking image library, a screen unlocking operation is performed.3.根据权利要求2所述的方法,其特征在于,所述将所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对的步骤,包括:3. The method according to claim 2, wherein the step of comparing the at least one object to be photographed with the unlocked image previously stored in the unlocked image library comprises:分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;respectively calculating the similarity between the at least one photographed object and the unlocked image in the unlocked image library;当所述相似度大于第一预设阈值时,所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;When the similarity is greater than a first preset threshold, the unlocking image corresponding to the similarity is a target unlocking image of the subject corresponding to the similarity;存储所述相似度。Store the similarity.4.根据权利要求3所述的方法,其特征在于,执行屏幕解锁操作之后,所述方法还包括:4. The method according to claim 3, wherein after the screen unlocking operation is performed, the method further comprises:获取已存储的所述相似度;Obtain the stored similarity;判断所述相似度是否处于预设范围之内;judging whether the similarity is within a preset range;当所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。When the similarity is within the preset range, updating the target image corresponding to the similarity to the unlocked image library.5.根据权利要求4所述的方法,其特征在于,所述判断所述相似度是否处于预设范围之内的步骤之后,所述方法还包括:5. The method according to claim 4, wherein after the step of judging whether the similarity is within a preset range, the method further comprises:当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;When the similarity is within the preset range, acquire the number of times the similarity is within the preset range;当所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。When the number of times the similarity is within the preset range is greater than a second preset threshold, updating the target image corresponding to the similarity within the preset range to the unlocked image library .6.一种移动终端,包括摄像头,其特征在于,所述移动终端还包括:6. A mobile terminal comprising a camera, characterized in that the mobile terminal also comprises:指令获取模块,用于在移动终端屏幕锁屏状态下,获取解锁移动终端屏幕的指令;The instruction acquisition module is used to acquire an instruction to unlock the screen of the mobile terminal in the state of the screen lock of the mobile terminal;启动模块,用于根据所述指令获取模块获取的所述指令,启动所述移动终端的摄像头;A starting module, configured to start the camera of the mobile terminal according to the instruction acquired by the instruction acquiring module;图像获取模块,用于获取所述摄像头捕捉的至少一个目标图像;An image acquisition module, configured to acquire at least one target image captured by the camera;解锁执行模块,当所述图像获取模块获取的所述至少一个目标图像与预先存储在解锁图像库中的解锁图像相匹配时,执行屏幕解锁操作。The unlock execution module is configured to perform a screen unlock operation when the at least one target image acquired by the image acquisition module matches the unlock image pre-stored in the unlock image library.7.根据权利要求6所述的移动终端,其特征在于,所述解锁执行模块包括:7. The mobile terminal according to claim 6, wherein the unlocking execution module comprises:提取单元,用于依次提取至少一个目标图像中的至少一个拍摄对象;an extraction unit, configured to sequentially extract at least one subject in at least one target image;比对单元,用于将所述提取单元提取的所述至少一个拍摄对象分别与预先在解锁图像库中存储的解锁图像进行比对;A comparing unit, configured to compare the at least one subject extracted by the extracting unit with unlocked images pre-stored in an unlocked image library;执行单元,用于当所述解锁图像库中存在与所述拍摄对象相匹配的目标解锁图像时,执行屏幕解锁操作。An executing unit, configured to execute a screen unlocking operation when there is a target unlocking image matching the subject in the unlocking image library.8.根据权利要求7所述的移动终端,其特征在于,所述比对单元包括:8. The mobile terminal according to claim 7, wherein the comparing unit comprises:计算子单元,用于分别计算所述至少一个拍摄对象与所述解锁图像库中的所述解锁图像的相似度;A calculation subunit, configured to calculate the similarity between the at least one photographed object and the unlocked image in the unlocked image library;判定子单元,用于当所述相似度大于第一预设阈值时,判定所述相似度对应的解锁图像为所述相似度对应的所述拍摄对象的目标解锁图像;A determination subunit, configured to determine that the unlock image corresponding to the similarity is a target unlock image of the subject corresponding to the similarity when the similarity is greater than a first preset threshold;存储子单元,用于存储所述相似度。The storage subunit is used to store the similarity.9.根据权利要求8所述的移动终端,其特征在于,所述解锁执行模块还包括:9. The mobile terminal according to claim 8, wherein the unlocking execution module further comprises:相似度获取单元,用于获取已存储的所述相似度;a similarity acquisition unit, configured to acquire the stored similarity;判断单元,用于判断所述相似度获取单元获取的所述相似度是否处于预设范围之内;a judging unit, configured to judge whether the similarity obtained by the similarity obtaining unit is within a preset range;第一更新单元,用于当所述判断单元判断所述相似度处于所述预设范围之内时,将所述相似度对应的所述目标图像更新至所述解锁图像库。A first updating unit, configured to update the target image corresponding to the similarity to the unlocked image library when the judging unit judges that the similarity is within the preset range.10.根据权利要求9所述的移动终端,其特征在于,所述解锁执行模块还包括:10. The mobile terminal according to claim 9, wherein the unlocking execution module further comprises:次数获取单元,用于当所述相似度处于所述预设范围之内时,获取所述相似度处于所述预设范围之内的次数;a times acquisition unit, configured to acquire the number of times the similarity is within the preset range when the similarity is within the preset range;第二更新单元,用于当所述次数获取单元获取的所述相似度处于所述预设范围之内的次数大于第二预设阈值时,将处于所述预设范围之内的所述相似度对应的所述目标图像更新至所述解锁图像库。The second updating unit is configured to, when the number of times of the similarity within the preset range acquired by the number of times acquiring unit is greater than a second preset threshold, update the similarity within the preset range The target image corresponding to the degree is updated to the unlocking image database.
CN201610798220.2A2016-08-312016-08-31A kind of unlocking method and mobile terminal of mobile terminal screenActiveCN106326713B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610798220.2ACN106326713B (en)2016-08-312016-08-31A kind of unlocking method and mobile terminal of mobile terminal screen

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610798220.2ACN106326713B (en)2016-08-312016-08-31A kind of unlocking method and mobile terminal of mobile terminal screen

Publications (2)

Publication NumberPublication Date
CN106326713Atrue CN106326713A (en)2017-01-11
CN106326713B CN106326713B (en)2019-03-05

Family

ID=57787301

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610798220.2AActiveCN106326713B (en)2016-08-312016-08-31A kind of unlocking method and mobile terminal of mobile terminal screen

Country Status (1)

CountryLink
CN (1)CN106326713B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106445328A (en)*2016-08-312017-02-22维沃移动通信有限公司Unlocking method of mobile terminal screen, and mobile terminal
CN106874787A (en)*2017-01-202017-06-20维沃移动通信有限公司A kind of image viewing method and mobile terminal
CN107346387A (en)*2017-06-232017-11-14深圳传音通讯有限公司Unlocking method and device
CN107454251A (en)*2017-07-132017-12-08广东欧珀移动通信有限公司Solve lock control method and Related product
CN107968888A (en)*2017-11-302018-04-27努比亚技术有限公司A kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium
CN109190356A (en)*2018-07-112019-01-11维沃移动通信有限公司A kind of unlocking screen method and terminal
US20190080120A1 (en)*2017-09-122019-03-14Guangdong Oppo Mobile Telecommunications Corp., Ltd.Unlocking methods and related products
WO2023272857A1 (en)*2021-06-302023-01-05未鲲(上海)科技服务有限公司Screen locking control method and apparatus, computer device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104077043A (en)*2013-08-092014-10-01苏州天鸣信息科技有限公司Image recognition running device and method thereof
CN105512541A (en)*2015-12-072016-04-20魅族科技(中国)有限公司Screen unlocking method, data encryption and decryption methods as well as related devices
CN105550561A (en)*2015-12-142016-05-04广东欧珀移动通信有限公司Identification method and device of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104077043A (en)*2013-08-092014-10-01苏州天鸣信息科技有限公司Image recognition running device and method thereof
CN105512541A (en)*2015-12-072016-04-20魅族科技(中国)有限公司Screen unlocking method, data encryption and decryption methods as well as related devices
CN105550561A (en)*2015-12-142016-05-04广东欧珀移动通信有限公司Identification method and device of mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106445328A (en)*2016-08-312017-02-22维沃移动通信有限公司Unlocking method of mobile terminal screen, and mobile terminal
CN106874787B (en)*2017-01-202019-12-24维沃移动通信有限公司 Image viewing method and mobile terminal
CN106874787A (en)*2017-01-202017-06-20维沃移动通信有限公司A kind of image viewing method and mobile terminal
CN107346387A (en)*2017-06-232017-11-14深圳传音通讯有限公司Unlocking method and device
CN107346387B (en)*2017-06-232023-10-17深圳传音通讯有限公司Unlocking method and device
CN107454251B (en)*2017-07-132020-06-05Oppo广东移动通信有限公司Unlocking control method and related product
CN107454251A (en)*2017-07-132017-12-08广东欧珀移动通信有限公司Solve lock control method and Related product
US20190080120A1 (en)*2017-09-122019-03-14Guangdong Oppo Mobile Telecommunications Corp., Ltd.Unlocking methods and related products
WO2019052291A1 (en)*2017-09-122019-03-21Guangdong Oppo Mobile Telecommunications Corp., Ltd.Unlocking methods and related products
EP3454240B1 (en)*2017-09-122021-11-03Guangdong Oppo Mobile Telecommunications Corp., Ltd.Unlocking methods and related products
CN107968888A (en)*2017-11-302018-04-27努比亚技术有限公司A kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium
CN109190356A (en)*2018-07-112019-01-11维沃移动通信有限公司A kind of unlocking screen method and terminal
WO2023272857A1 (en)*2021-06-302023-01-05未鲲(上海)科技服务有限公司Screen locking control method and apparatus, computer device, and storage medium

Also Published As

Publication numberPublication date
CN106326713B (en)2019-03-05

Similar Documents

PublicationPublication DateTitle
CN106326713A (en)Unlocking method for screen of mobile terminal and mobile terminal
CN106445328B (en) A mobile terminal screen unlocking method and mobile terminal
CN104660907B (en)The method, device and mobile terminal taken pictures
CN105933538A (en)Video finding method for mobile terminal and mobile terminal
CN106203038B (en)A kind of unlocking method and mobile terminal
CN106778183A (en)A kind of Terminal fingerprints know method for distinguishing and mobile terminal
CN105843525A (en)Information displaying method based on mobile terminal and mobile terminal
CN106485112A (en)A kind of method for opening application program and mobile terminal
CN106778389B (en)A kind of loss detection method and mobile terminal of mobile terminal
CN107959789B (en) An image processing method and mobile terminal
CN107229396B (en) Method for hiding application icon of mobile terminal and mobile terminal
CN105959564A (en)Photographing method and mobile terminal
CN106713659B (en)A kind of panorama shooting method and mobile terminal
CN106383638A (en)Paying way displaying method and mobile terminal
CN106874787B (en) Image viewing method and mobile terminal
CN107707738A (en)A kind of face identification method and mobile terminal
WO2017161824A1 (en)Method and device for controlling terminal
CN107613193A (en) A camera control method and mobile terminal
CN106371739A (en)Application quick startup method and mobile terminal
CN107480500A (en)The method and mobile terminal of a kind of face verification
CN107590465A (en)A kind of image processing method and mobile terminal
CN107103224A (en)A kind of unlocking method and mobile terminal
CN107704745B (en)A kind of biological feather recognition method and mobile terminal
CN106681640B (en) Screen display control method of a mobile terminal and mobile terminal
CN106022065A (en)Mobile terminal and control method thereof

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp