WO2013075472A1 - Screen unlocking method and device - Google Patents

Screen unlocking method and device Download PDF

Info

Publication number
WO2013075472A1
WO2013075472A1 PCT/CN2012/076022 CN2012076022W WO2013075472A1 WO 2013075472 A1 WO2013075472 A1 WO 2013075472A1 CN 2012076022 W CN2012076022 W CN 2012076022W WO 2013075472 A1 WO2013075472 A1 WO 2013075472A1
Authority
WO
WIPO (PCT)
Prior art keywords
point set
indentation pattern
terminal
preset
similarity
Prior art date
Application number
PCT/CN2012/076022
Other languages
French (fr)
Chinese (zh)
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 WO2013075472A1 publication Critical patent/WO2013075472A1/en

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/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for unlocking a screen.
  • various terminals also play an important role.
  • mobile terminals have become an indispensable part of people's lives, and there are mobile terminals wherever they are.
  • the functions of mobile terminals are also growing stronger.
  • mobile terminals on the market all have a lock screen function, and the application of the lock screen function brings a lot of convenience to the user's life.
  • the user can lock the mobile terminal, which can save power consumption, increase the standby time of the mobile terminal, and prevent the user from negligently moving when the mobile terminal is in an idle or unused state.
  • the terminal performed an erroneous operation that should not be performed.
  • the mobile terminal has become a tool for storing private information.
  • the use of the lock function of the mobile terminal is not only for saving power consumption and preventing misoperation, but also for the security of the mobile phone.
  • the existing mobile terminal can set a password when the mobile phone locks the screen. When the user wants to unlock, the user must use the corresponding password to unlock the screen of the mobile terminal in the lock screen state.
  • the lock screen function of the existing touch screen mobile terminal can lock and unlock the screen by inputting a password and sliding the unlocking slider, but when the password is stolen by others and/or the mobile terminal falls into the hands of others, the lock screen of the mobile terminal
  • the function setting is simple and there is a great security risk.
  • the present invention provides a method and apparatus for unlocking a screen, so as to at least solve the problem that the lock screen function of the terminal in the related art is simple, resulting in a great security risk.
  • a method for unlocking a screen including: acquiring, by a terminal, an indentation pattern formed by pressing an input medium on an image collection interface of a touch screen; and extracting, by the terminal, a corresponding point set of the indentation graphic, comparing the indentation The similarity between the corresponding point set of the graphic and the preset point set; when the similarity degree is higher than or equal to the preset similarity threshold, the screen of the terminal is unlocked.
  • the indentation pattern comprises: a boundary continuous indentation pattern and/or a non-boundary continuous indentation pattern.
  • the terminal extracts a corresponding point set of the indentation pattern
  • comparing the similarity between the corresponding point set of the indentation pattern and the preset point set includes: extracting the boundary continuous indentation pattern
  • the corresponding point set extracts the feature points in the corresponding point set; calculates the feature value of the feature point according to the preset feature value algorithm; compares the similarity between the feature value and the preset feature value.
  • the method for extracting feature points comprises: framing a continuous indentation pattern with a rectangle having a minimum boundary; halving the rectangle by a set of parallel lines; extracting features at an intersection of parallel lines and boundary of continuous indentation pattern boundaries point.
  • the preset eigenvalue algorithm comprises: a curve approximation parameter method and/or a curve fitting parameter method.
  • the terminal extracts a corresponding point set of the indentation pattern
  • comparing the similarity between the corresponding point set of the indentation pattern and the preset point set includes: extracting the non-boundary continuous indentation The corresponding point set of the graph; the translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern relative to the preset point set, the translation/rotation transformation using the translation/rotation vector; the non-boundary after the translation/rotation transformation is compared The similarity between the corresponding point set of the continuous indentation pattern and the preset point set.
  • the terminal is a mobile terminal.
  • an apparatus for unlocking a screen including: an acquisition module configured to acquire an indentation pattern formed by pressing an input medium on an image collection interface of a touch screen of the terminal; and a comparison module configured to extract an indentation graphic Corresponding point set, comparing the similarity between the corresponding point set of the indentation pattern and the preset point set; and the unlocking module is set to unlock the screen of the terminal when the similarity degree is higher than or equal to the preset similarity threshold value.
  • the comparison module comprises: a first extraction sub-module, configured to extract a corresponding point set of the boundary continuous indentation pattern, and extract feature points in the corresponding point set; the first calculation sub- The module is configured to calculate a feature value of the feature point according to the preset feature value algorithm; the first comparison submodule is configured to compare the similarity between the feature value and the preset feature value.
  • the extraction module further comprises: a second extraction sub-module, configured to extract a corresponding point set of the non-boundary continuous indentation pattern; and a second calculation sub-module, set to calculate the non- The corresponding point set of the boundary continuous indentation pattern is compared with the translation/rotation vector of the preset point set, and the translation/rotation transformation is performed using the translation/rotation vector; the second comparison sub-module is set to compare the non-boundary after the translation/rotation transformation The similarity between the corresponding point set of the continuous indentation pattern and the preset point set.
  • the terminal is a mobile terminal.
  • the corresponding point set of the indentation pattern formed by pressing the image input interface of the touch screen is extracted, and the similarity between the corresponding point set of the indentation pattern and the preset point set is compared, when the similarity degree is used.
  • the preset similarity threshold is higher than or equal to the preset similarity threshold, the method for unlocking the terminal screen solves the problem that the lock screen function of the mobile terminal in the related art is simple to set up, and there is a great potential safety hazard, so that the user is safer when using the terminal. The way to unlock, let the terminal have a higher safety factor and improve the user experience.
  • FIG. 1 is a flowchart of a method for unlocking a screen according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for unlocking a screen according to a preferred embodiment of the present invention
  • FIG. 3 is a preferred embodiment of the present invention.
  • FIG. 4A is a schematic diagram 1 of a pattern acquisition according to a preferred embodiment 2 of the present invention
  • FIG. 4B is a schematic diagram 2 of a pattern acquisition according to a preferred embodiment 2 of the present invention
  • FIG. 4C is a schematic diagram of a pattern acquisition according to a preferred embodiment of the present invention
  • FIG. 5 is a schematic diagram of a seal pattern according to Embodiment 3 of the present invention
  • FIG. 6 is a block diagram of a screen unlocking apparatus according to an embodiment of the present invention
  • FIG. 8 is a structural block diagram of a screen unlocking apparatus according to an embodiment of the present invention
  • FIG. 9 is a structural block diagram of a screen unlocking apparatus according to a preferred embodiment 4 of the present invention; .
  • An embodiment of the present invention provides a method for unlocking a screen.
  • FIG. 1 it is a flowchart of a method for unlocking a screen according to an embodiment of the present invention.
  • the method for unlocking the screen includes: Step S102: The terminal acquires an indentation pattern formed by pressing an input medium on an image collection interface of the touch screen; in step S104, the terminal extracts a corresponding point set of the indentation graphic, and compares the corresponding point set of the indentation graphic.
  • Step S106 When the similarity degree is higher than or equal to the preset similarity threshold, the screen of the terminal is unlocked.
  • the corresponding point set of the indentation pattern formed by pressing the input medium on the image acquisition interface of the touch screen is extracted, and the similarity between the corresponding point set of the indentation pattern and the preset point set is compared, when the similarity is
  • the method for unlocking the terminal screen solves the problem that the lock screen function of the mobile terminal in the related art is simple to set up, and there is a great potential safety hazard, so that the user compares when using the terminal.
  • the indentation pattern may include: a boundary continuous indentation pattern and/or a non-boundary continuous indentation pattern.
  • the boundary continuous indentation pattern may be a human fingerprint indentation or a boundary continuous pattern composed of a circular pattern; the non-boundary continuous pattern may be various patterns, and if applied to a fixed device terminal, the pattern may be an encryption of the device manufacturer.
  • the seal, if applied to a mobile terminal, may be a seal that the user likes the pattern. The pattern is known only to the user. In other words, the seal of the pattern is only held by the user, which can improve the security performance of the terminal.
  • step S104 may further include the following processing:
  • the above method of extracting feature points may include the following processing:
  • the method for extracting feature points may further include: framing the rectangle with the smallest boundary to the continuous indentation pattern of the boundary; dividing the rectangle by a set of horizontal parallel lines and vertical parallel lines; horizontal parallel lines and vertical Feature points are extracted at intersections of parallel lines.
  • the preset feature value algorithm may include: a curve approximation parameter method and/or a curve fitting parameter method.
  • the indentation pattern can be input by the external seal pattern.
  • the terminal is a mobile terminal. The size of the mobile terminal is generally small. When the user's mobile terminal is lost, the method of safely unlocking the screen does not leak private information. Increased security.
  • Step S202 Display a graphic collection interface on a standby interface of the mobile terminal.
  • the image acquisition interface can be located at the upper part, the middle part, the lower part of the touch screen, etc., and can be set arbitrarily, and can be in any area on the touch screen, and the area is only known by the user, and the safety factor is improved.
  • Step S204 Collect a point set corresponding to the indentation pattern pressed by the authentication body on the touch screen.
  • Step S206 extracting feature values corresponding to the point set.
  • Step S208 determining whether the feature value matches the feature value preset by the terminal, and if it matches, unlocking is performed.
  • the screen can be unlocked by comparing the feature value of the acquired image with the feature value of the preset image.
  • FIG. 3 is a schematic flow chart of eigenvalue calculation according to a preferred embodiment 2 of the present invention. As shown in FIG. 3, this embodiment uses a finger pressure graphic to unlock. After obtaining the pixel point set M corresponding to the finger pressing pattern, the terminal needs to calculate the offset vector in order to eliminate the influence of the finger pressing position on the screen, and perform the translation/rotation transformation on the point set by using the offset vector to set the point.
  • FIG. 4A-4C the schematic diagram of the process of extracting the feature points of the acupressure pattern is introduced.
  • the processing is as follows: Acupressure pattern acquisition. Through the touch screen module of the mobile terminal, an area where the user presses the finger in the collection area by the finger is obtained.
  • FIG. 1 is a schematic diagram of a pattern acquisition according to a preferred embodiment 2 of the present invention.
  • the acquisition area is a rectangular area, and is used to collect the coordinates of the force area points when the user presses a finger. After collection, a set of coordinates is formed. Calculate the offset vector.
  • FIG. 4A it is a schematic diagram 2 of the pattern acquisition according to the preferred embodiment 2 of the present invention.
  • the feature point extraction method in the fingerprint pressing unlocking embodiment is as shown in FIG. 4C , A schematic diagram 3 of a pattern acquisition according to a preferred embodiment 2 of the present invention.
  • a quadrangle is parallel to the rectangular side of the Y-axis, and parallel lines are drawn at the equi-partitions, and the parallel lines intersect the boundary of the finger-pressure pattern at The 8 points of AH are used as the feature points of the acupressure pattern.
  • the acupressure pattern is unlocked by the curve approximation method, in which the eigenvalue calculation is performed by the second-order polynomial approximation method.
  • AC, CE, EG, GA are segmented.
  • the comparison criterion of the similarity of the two eigenvalues may adopt the distance measurement method in the similarity measurement method of the vector.
  • the metric is within a certain threshold range, the metric of the acupressure pattern is considered to be the same. Otherwise, It is determined that the features are different.
  • the method of feature point extraction may include: sampling feature points using parallel lines of n-divided rectangular boundaries; eigenvalue extraction may use curve approximation (eg, polynomial approximation, B-spline approximation, etc.) or curve fitting (eg, polynomial fitting) , polynomial function fitting, Bezier curve fitting, etc.), calculate the parameter set contained in the curve, merged into a vector as the eigenvalue of the acupressure graph; the eigenvalue similarity comparison criterion can also be calculated by the similarity function method.
  • Preferred Embodiment 3 is a schematic view of a stamp pattern provided according to Embodiment 3 of the present invention, as shown in FIG.
  • the figure does not necessarily have the boundary continuity of the finger pressure pattern, and the method of calculating the feature value by curve approximation and/or curve fitting cannot be used.
  • the terminal after obtaining the pixel point set M corresponding to the seal pattern, the terminal directly uses the M′ point set as the feature value (the unlocking of the seal graphic is compared with the unlocking of the finger pressing graphic in the second embodiment). For example, the process of feature point extraction and eigenvalue calculation is omitted, and the point set is directly used as a basis for judging whether the figure matches.
  • the similarity calculation is performed according to the point set in M' and the point set stored in the terminal; if the similarity is within the threshold, the unlocking is successful.
  • the method for calculating the similarity of two eigenvalues is as follows: When the metric value comparison is performed by the judging module, the entry condition is that the eigenvalue M1 introduced in the current standby interface and the eigenvalue M2 already stored in the terminal are obtained, and the calculation is required. The result is whether the two eigenvalues satisfy the similarity requirement.
  • the calculation method is as follows: Step 1: Extract the points with the smallest and largest horizontal and vertical coordinates in the point sets M1 and M2 respectively, that is, extract the upper left, lower left, upper right, and lower right of the seal graphic. Four points.
  • Step 2 Calculate the translation vector of the stamp graphic. Using the distance measure method, calculate the distance between the vectors A1A2, B1B2, C1C2, and D1D2, and find the mean of all the distance values, denoted as a.
  • Step 3 When a is in the threshold range, (A1A2+B 1B2+C1C2+D1D2 ) /4 is taken as the translation vector of M1. Go to step 4; otherwise, return "similarity does not meet the requirements".
  • Step 4 Translate the points in M1 according to the translation vector, and finally get a new point set.
  • Step 5 Count the number of points belonging to ⁇ 2 and belonging to ⁇ , denoted as m, indicating the addition of points; count the number of points belonging to ⁇ and not belonging to M2, denoted as n, indicating the sub-item; the statistics belong to M2 and The number of points not belonging to M2' is denoted by p, indicating the sub-item;
  • Step 6 The calculated (mnp) I ( m+n+p ) is the similarity corresponding to the two point sets. When the similarity satisfies the requirement, the "similarity meets the requirement" is returned; otherwise, the "similarity does not meet the requirement” is returned.
  • FIG. 6 is a structural block diagram of a screen unlocking apparatus according to an embodiment of the present invention.
  • the screen unlocking device is applied to the terminal, and includes: an acquiring module 10 configured to acquire an indentation pattern formed by pressing an input medium on an image capturing interface of the touch screen of the terminal; and comparing the module 20, configured to extract the indentation graphic Corresponding point set, comparing the similarity between the corresponding point set of the indentation pattern and the preset point set; the unlocking module 30 is configured to unlock the screen of the terminal when the similarity degree is higher than or equal to the preset similarity threshold value .
  • the acquisition module 10, the comparison module 20, and the unlocking module 30 are sequentially connected. As shown in FIG.
  • the comparison module 20 may include: a first extraction sub-module 202 configured to extract a corresponding point set of the boundary continuous indentation pattern, and extract features in the corresponding point set.
  • the first calculation sub-module 204 is configured to calculate the feature value of the feature point according to the preset feature value algorithm; the first comparison sub-module 206 is configured to compare the similarity between the feature value and the preset feature value. As shown in FIG.
  • the extraction module 20 may further include: a second extraction sub-module 208, configured to extract a corresponding point set of the non-boundary continuous indentation pattern; and a second calculation sub-
  • the module 210 is configured to calculate a translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern relative to the preset point set, and perform a translation/rotation transformation using the translation vector;
  • the second comparison sub-module 212 is set to compare translation/ The similarity between the corresponding point set of the non-boundary continuous indentation pattern after the rotation transformation and the preset point set.
  • the terminal may be a mobile terminal.
  • a preferred embodiment 4 is a block diagram of a screen unlocking apparatus according to a preferred embodiment 4 of the present invention, as shown in FIG.
  • the screen unlocking device includes: a setting module 902, configured to set a screen lock on the mobile terminal; an obtaining module 904, configured to extract the indentation pattern; and a feature extraction module 906 configured to perform feature value extraction on the indentation graphic;
  • the determining module 908 is configured to determine whether the feature value matches the terminal setting value; and the unlocking module 910 is configured to perform unlocking if the determination is consistent.
  • the setting module of the terminal performs the indentation pattern feature extraction and stores it in the terminal; in the standby state, the user extracts the pixel point of the indentation pattern formed on the touch screen by the authentication body through the obtaining module 904 in the standby interface to form a point set.
  • the feature extraction module 906 performs feature value calculation on the point set; the determination module performs feature value comparison, and if the matching is successful, the unlocking is performed normally.
  • an unlocking method of the terminal is realized, and the security of the terminal is enhanced.
  • the boundary of the figure formed after the actual authenticator presses the touch screen is not continuous as the boundary in the schematic diagram provided in the embodiment of the present invention, and the actual extraction has a certain zigzag shape, but the various algorithms proposed in the embodiments of the present invention are still Effectively from the above description, it can be seen that the present invention achieves the following technical effects:
  • the embodiment of the present invention utilizes the inherent attribute feature of the indentation graphic, and is applied to a terminal supporting multi-touch, and performs lock screen authentication, and increases
  • the security factor of the screen unlocking, the unlocking method is not easy to crack, and it has a good protection for the user's personal privacy. Improve the user experience.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Abstract

Disclosed are a screen unlocking method and device. The screen unlocking method includes: a terminal acquiring an indentation graph formed by an input medium pressing an image collection interface of a touch screen thereof; the terminal extracting a corresponding point set of the indentation graph, and comparing the similarity between the corresponding point set of the indentation graph and a preset point set; and when the similarity thereof is higher than or equal to a preset similarity threshold value, unlocking the screen of the terminal. The screen unlocking method solves the problem in the related art that the setting of the screen locking function of a mobile terminal is too simple and there is a serious security risk, so that a user can unlock a terminal in a more secure manner, and the terminal has a higher security coefficient, improving user experience.

Description

屏幕解锁的方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种屏幕解锁的方法及装置。 背景技术 随着时代的发展, 各种终端也都发挥着各自重要的作用。 例如移动终端, 已成为 人们生活中必不可少的一部分, 无论在哪里, 都有移动终端的身影。 移动终端的功能 也日益强大。 目前市面上的移动终端都具备锁屏功能, 这种锁屏功能的应用给用户的 生活带来了很多便捷。当移动终端处于空闲或不用的状态,用户可以将移动终端锁屏, 这样可以节约耗电, 增加移动终端的待机时间, 还可以防止用户在移动终端处于空闲 或不用的状态时, 由于疏忽对移动终端进行了本不该进行的误操作。 对一些用户来说, 移动终端已成为存储着私人信息的工具, 使用移动终端的锁屏 功能不仅仅是出于节约耗电和防止误操作的考虑, 还为了手机的安全性。 现有的移动 终端在手机锁屏时可以设置密码, 当想要解锁的时候, 用户必须使用相应的密码才可 以使处于锁屏状态的移动终端解锁屏。 现有的触摸屏移动终端的锁屏功能, 可以通过 输入密码及滑动解锁滑块进行锁屏及解锁屏,但一旦密码被他人窃取和 /或移动终端落 入他人手里时, 移动终端的锁屏功能设置简单, 存在极大的安全隐患。 针对相关技术中终端的锁屏功能设置简单, 存在极大的安全隐患的问题, 目前尚 未提出有效的解决方案。 发明内容 本发明提供了一种屏幕解锁的方法及装置, 以至少解决相关技术中终端的锁屏功 能设置简单, 导致存在极大的安全隐患的问题。 根据本发明的一个方面, 提供了一种屏幕解锁的方法, 包括: 终端获取输入介质 在其触摸屏的图像采集界面按压形成的压痕图形; 该终端提取压痕图形的对应点集, 比较压痕图形的对应点集与预设的点集的相似度; 当其相似度度高于或等于预设相似 度门限值时, 解锁终端的屏幕。 优选地, 上述压痕图形包括: 边界连续压痕图形和 /或非边界连续压痕图形。 优选地, 当压痕图形是边界连续压痕图形时, 终端提取压痕图形的对应点集, 比 较压痕图形的对应点集与预设的点集的相似度包括: 提取边界连续压痕图形的对应点 集, 在对应点集中提取特征点; 根据预设特征值算法计算特征点的特征值; 比较特征 值与预设特征值的相似度。 优选地,提取特征点的方法包括: 以一个边界最小的矩形框住边界连续压痕图形; 将矩形以一组平行线进行等分; 在平行线与边界连续压痕图形边界的相交处提取特征 点。 优选地, 预设特征值算法包括: 曲线逼近参数法和 /或曲线拟合参数法。 优选地, 当压痕图形是非边界连续压痕图形时, 终端提取压痕图形的对应点集, 比较压痕图形的对应点集与预设的点集的相似度包括: 提取非边界连续压痕图形的对 应点集; 计算非边界连续压痕图形的对应点集相对于预设的点集的平移 /旋转向量, 使 用平移 /旋转向量进行平移 /旋转变换; 比较平移 /旋转变换后的非边界连续压痕图形的 对应点集与预设的点集的相似度。 优选地, 终端为移动终端。 根据本发明的另一方面, 提供了一种屏幕解锁的装置, 包括: 获取模块, 设置为 获取输入介质在终端触摸屏的图像采集界面按压形成的压痕图形; 比较模块, 设置为 提取压痕图形的对应点集, 比较压痕图形的对应点集与预设的点集的相似度; 解锁模 块, 设置为当相似度度高于或等于预设相似度门限值时, 解锁终端的屏幕。 优选地, 当压痕图形是边界连续压痕图形时, 比较模块包括: 第一提取子模块, 设置为提取边界连续压痕图形的对应点集, 在对应点集中提取特征点; 第一计算子模 块, 设置为根据预设特征值算法计算特征点的特征值; 第一比较子模块, 设置为比较 特征值与预设特征值的相似度。 优选地, 当压痕图形是非边界连续压痕图形时, 提取模块还包括: 第二提取子模 块, 设置为提取非边界连续压痕图形的对应点集; 第二计算子模块, 设置为计算非边 界连续压痕图形的对应点集相对于预设的点集的平移 /旋转向量,使用平移 /旋转向量进 行平移 /旋转变换;第二比较子模块,设置为比较平移 /旋转变换后的非边界连续压痕图 形的对应点集与预设的点集的相似度。 优选地, 终端为移动终端。 通过本发明, 采用提取输入介质在其触摸屏的图像采集界面按压形成的压痕图形 的对应点集, 并比较压痕图形的对应点集与预设的点集的相似度, 当其相似度度高于 或等于预设相似度门限值时, 解锁终端屏幕的方法, 解决了相关技术中移动终端的锁 屏功能设置简单, 存在极大的安全隐患的问题, 使用户在使用终端时以较为安全的方 式解锁, 让终端拥有较高的安全系数, 提高用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例提供的屏幕解锁的方法的流程图; 图 2是根据本发明优选实施例一的屏幕解锁的方法的流程图; 图 3是根据本发明优选实施例二的特征值计算的流程示意图; 图 4A是根据本发明优选实施例二的图形采集的示意图一; 图 4B是根据本发明优选实施例二的图形采集的示意图二; 图 4C是根据本发明优选实施例二的图形采集的示意图三; 图 5是根据本发明实施例三提供的印章图形的示意图; 图 6是根据本发明实施例提供的屏幕解锁装置的结构框图一; 图 7是根据本发明实施例提供的屏幕解锁装置的结构框图二; 图 8是根据本发明实施例提供的屏幕解锁装置的结构框图三; 以及 图 9是根据本发明优选实施例四提供的屏幕解锁装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本发明实施例提供了一种屏幕解锁的方法, 如图 1所示, 是根据本发明实施例提 供的屏幕解锁的方法的流程图。 该屏幕解锁的方法包括: 步骤 S102, 终端获取输入介质在其触摸屏的图像采集界面按压形成的压痕图形; 步骤 S104, 终端提取上述压痕图形的对应点集, 比较压痕图形的对应点集与预设 的点集的相似度; 步骤 S106, 当其相似度度高于或等于预设相似度门限值时, 解锁终端的屏幕。 通过本实施例, 采用提取输入介质在其触摸屏的图像采集界面按压形成的压痕图 形的对应点集, 并比较压痕图形的对应点集与预设的点集的相似度, 当其相似度度高 于或等于预设相似度门限值时, 解锁终端屏幕的方法, 解决了相关技术中移动终端的 锁屏功能设置简单, 存在极大的安全隐患的问题, 使用户在使用终端时以较为安全的 方式解锁, 让终端拥有较高的安全系数, 提高用户体验。 优选地, 上述压痕图形可以包括: 边界连续压痕图形和 /或非边界连续压痕图形。 边界连续压痕图形可以是人的指纹压痕, 也可以是环形图案组成的边界连续的图形; 非边界连续图形可以是各种图案, 如果应用在固定设备终端, 则图案可以是设备厂商 的加密印章, 如应用在移动终端, 则图案可以是用户喜欢图案的印章, 该图案只有用 户知道, 换句话说, 该图案的印章只有用户持有, 可以提高终端的安全性能。 当压痕图形是边界连续压痕图形时, 步骤 S104还可以包括以下处理: The present invention relates to the field of communications, and in particular to a method and apparatus for unlocking a screen. BACKGROUND OF THE INVENTION With the development of the times, various terminals also play an important role. For example, mobile terminals have become an indispensable part of people's lives, and there are mobile terminals wherever they are. The functions of mobile terminals are also growing stronger. At present, mobile terminals on the market all have a lock screen function, and the application of the lock screen function brings a lot of convenience to the user's life. When the mobile terminal is in an idle or unused state, the user can lock the mobile terminal, which can save power consumption, increase the standby time of the mobile terminal, and prevent the user from negligently moving when the mobile terminal is in an idle or unused state. The terminal performed an erroneous operation that should not be performed. For some users, the mobile terminal has become a tool for storing private information. The use of the lock function of the mobile terminal is not only for saving power consumption and preventing misoperation, but also for the security of the mobile phone. The existing mobile terminal can set a password when the mobile phone locks the screen. When the user wants to unlock, the user must use the corresponding password to unlock the screen of the mobile terminal in the lock screen state. The lock screen function of the existing touch screen mobile terminal can lock and unlock the screen by inputting a password and sliding the unlocking slider, but when the password is stolen by others and/or the mobile terminal falls into the hands of others, the lock screen of the mobile terminal The function setting is simple and there is a great security risk. Aiming at the problem that the lock screen function of the terminal in the related art is simple and has a great potential safety hazard, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a method and apparatus for unlocking a screen, so as to at least solve the problem that the lock screen function of the terminal in the related art is simple, resulting in a great security risk. According to an aspect of the present invention, a method for unlocking a screen is provided, including: acquiring, by a terminal, an indentation pattern formed by pressing an input medium on an image collection interface of a touch screen; and extracting, by the terminal, a corresponding point set of the indentation graphic, comparing the indentation The similarity between the corresponding point set of the graphic and the preset point set; when the similarity degree is higher than or equal to the preset similarity threshold, the screen of the terminal is unlocked. Preferably, the indentation pattern comprises: a boundary continuous indentation pattern and/or a non-boundary continuous indentation pattern. Preferably, when the indentation pattern is a boundary continuous indentation pattern, the terminal extracts a corresponding point set of the indentation pattern, and comparing the similarity between the corresponding point set of the indentation pattern and the preset point set includes: extracting the boundary continuous indentation pattern The corresponding point set extracts the feature points in the corresponding point set; calculates the feature value of the feature point according to the preset feature value algorithm; compares the similarity between the feature value and the preset feature value. Preferably, the method for extracting feature points comprises: framing a continuous indentation pattern with a rectangle having a minimum boundary; halving the rectangle by a set of parallel lines; extracting features at an intersection of parallel lines and boundary of continuous indentation pattern boundaries point. Preferably, the preset eigenvalue algorithm comprises: a curve approximation parameter method and/or a curve fitting parameter method. Preferably, when the indentation pattern is a non-boundary continuous indentation pattern, the terminal extracts a corresponding point set of the indentation pattern, and comparing the similarity between the corresponding point set of the indentation pattern and the preset point set includes: extracting the non-boundary continuous indentation The corresponding point set of the graph; the translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern relative to the preset point set, the translation/rotation transformation using the translation/rotation vector; the non-boundary after the translation/rotation transformation is compared The similarity between the corresponding point set of the continuous indentation pattern and the preset point set. Preferably, the terminal is a mobile terminal. According to another aspect of the present invention, an apparatus for unlocking a screen is provided, including: an acquisition module configured to acquire an indentation pattern formed by pressing an input medium on an image collection interface of a touch screen of the terminal; and a comparison module configured to extract an indentation graphic Corresponding point set, comparing the similarity between the corresponding point set of the indentation pattern and the preset point set; and the unlocking module is set to unlock the screen of the terminal when the similarity degree is higher than or equal to the preset similarity threshold value. Preferably, when the indentation pattern is a boundary continuous indentation pattern, the comparison module comprises: a first extraction sub-module, configured to extract a corresponding point set of the boundary continuous indentation pattern, and extract feature points in the corresponding point set; the first calculation sub- The module is configured to calculate a feature value of the feature point according to the preset feature value algorithm; the first comparison submodule is configured to compare the similarity between the feature value and the preset feature value. Preferably, when the indentation pattern is a non-boundary continuous indentation pattern, the extraction module further comprises: a second extraction sub-module, configured to extract a corresponding point set of the non-boundary continuous indentation pattern; and a second calculation sub-module, set to calculate the non- The corresponding point set of the boundary continuous indentation pattern is compared with the translation/rotation vector of the preset point set, and the translation/rotation transformation is performed using the translation/rotation vector; the second comparison sub-module is set to compare the non-boundary after the translation/rotation transformation The similarity between the corresponding point set of the continuous indentation pattern and the preset point set. Preferably, the terminal is a mobile terminal. According to the present invention, the corresponding point set of the indentation pattern formed by pressing the image input interface of the touch screen is extracted, and the similarity between the corresponding point set of the indentation pattern and the preset point set is compared, when the similarity degree is used. When the preset similarity threshold is higher than or equal to the preset similarity threshold, the method for unlocking the terminal screen solves the problem that the lock screen function of the mobile terminal in the related art is simple to set up, and there is a great potential safety hazard, so that the user is safer when using the terminal. The way to unlock, let the terminal have a higher safety factor and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a method for unlocking a screen according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for unlocking a screen according to a preferred embodiment of the present invention; FIG. 3 is a preferred embodiment of the present invention. FIG. 4A is a schematic diagram 1 of a pattern acquisition according to a preferred embodiment 2 of the present invention; FIG. 4B is a schematic diagram 2 of a pattern acquisition according to a preferred embodiment 2 of the present invention; FIG. 4C is a schematic diagram of a pattern acquisition according to a preferred embodiment of the present invention; FIG. 5 is a schematic diagram of a seal pattern according to Embodiment 3 of the present invention; FIG. 6 is a block diagram of a screen unlocking apparatus according to an embodiment of the present invention; FIG. FIG. 8 is a structural block diagram of a screen unlocking apparatus according to an embodiment of the present invention; and FIG. 9 is a structural block diagram of a screen unlocking apparatus according to a preferred embodiment 4 of the present invention; . BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. An embodiment of the present invention provides a method for unlocking a screen. As shown in FIG. 1 , it is a flowchart of a method for unlocking a screen according to an embodiment of the present invention. The method for unlocking the screen includes: Step S102: The terminal acquires an indentation pattern formed by pressing an input medium on an image collection interface of the touch screen; in step S104, the terminal extracts a corresponding point set of the indentation graphic, and compares the corresponding point set of the indentation graphic. The similarity with the preset point set; Step S106: When the similarity degree is higher than or equal to the preset similarity threshold, the screen of the terminal is unlocked. In this embodiment, the corresponding point set of the indentation pattern formed by pressing the input medium on the image acquisition interface of the touch screen is extracted, and the similarity between the corresponding point set of the indentation pattern and the preset point set is compared, when the similarity is When the degree is higher than or equal to the preset similarity threshold, the method for unlocking the terminal screen solves the problem that the lock screen function of the mobile terminal in the related art is simple to set up, and there is a great potential safety hazard, so that the user compares when using the terminal. The secure way to unlock, so that the terminal has a higher safety factor, improve the user experience. Preferably, the indentation pattern may include: a boundary continuous indentation pattern and/or a non-boundary continuous indentation pattern. The boundary continuous indentation pattern may be a human fingerprint indentation or a boundary continuous pattern composed of a circular pattern; the non-boundary continuous pattern may be various patterns, and if applied to a fixed device terminal, the pattern may be an encryption of the device manufacturer. The seal, if applied to a mobile terminal, may be a seal that the user likes the pattern. The pattern is known only to the user. In other words, the seal of the pattern is only held by the user, which can improve the security performance of the terminal. When the indentation pattern is a boundary continuous indentation pattern, step S104 may further include the following processing:
( 1 ) 提取边界连续压痕图形的对应点集, 在对应点集中提取特征点; (1) extracting corresponding set of points of the continuous indentation pattern of the boundary, and extracting feature points in the corresponding point set;
(2) 根据预设特征值算法计算特征点的特征值; (3 ) 比较特征值与预设特征值的相似度。 上述提取特征点的方法可以包括以下处理: (2) Calculating the feature value of the feature point according to the preset feature value algorithm; (3) comparing the similarity between the feature value and the preset feature value. The above method of extracting feature points may include the following processing:
( 1 ) 以一个边界最小的矩形框住边界连续压痕图形; (1) framing a continuous indentation pattern with a rectangle with the smallest boundary;
(2) 将矩形以一组平行线进行等分; (2) halve the rectangle in a set of parallel lines;
(3 ) 在平行线与边界连续压痕图形边界的相交处提取特征点。 在实施过程中, 特征点的提取方法还可以包括: 将边界最小的矩形框住边界连续 压痕图形; 将矩形分别用一组水平平行线和垂直平行线进行等分; 在水平平行线和垂 直平行线的交点处提取特征点。 优选地, 预设特征值算法可以包括: 曲线逼近参数法和 /或曲线拟合参数法。 当压痕图形是非边界连续压痕图形时, 步骤 S104可以包括以下处理: (3) Extracting feature points at the intersection of the parallel line and the boundary of the continuous indentation pattern of the boundary. In the implementation process, the method for extracting feature points may further include: framing the rectangle with the smallest boundary to the continuous indentation pattern of the boundary; dividing the rectangle by a set of horizontal parallel lines and vertical parallel lines; horizontal parallel lines and vertical Feature points are extracted at intersections of parallel lines. Preferably, the preset feature value algorithm may include: a curve approximation parameter method and/or a curve fitting parameter method. When the indentation pattern is a non-boundary continuous indentation pattern, step S104 may include the following processing:
( 1 ) 提取非边界连续压痕图形的对应点集; (1) extracting a corresponding set of points of the non-boundary continuous indentation pattern;
(2) 计算非边界连续压痕图形的对应点集相对于预设的点集的平移 /旋转向量, 使用平移 /旋转向量进行平移 /旋转变换; (2) Calculate the translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern relative to the preset point set, and use the translation/rotation vector to perform the translation/rotation transformation;
( 3 ) 比较平移 /旋转变换后的非边界连续压痕图形的对应点集与预设的点集的相 似度。 在实施过程中, 压痕图形可以是由外界的印章图案输入的, 在之前可以对终端设 置双重密码, 如果使用过程中印章丢失, 可以用第二密码对屏幕进行解锁, 在解锁后, 可以重新设置一个新的印章图案为新的解锁图形。 使用方便且安全系数较高。 优选地, 终端为移动终端。 移动终端体积一般都比较小巧, 在用户移动终端丢失 时, 安全的解锁屏幕的方法不会使私人信息泄露。 提高了安全性。 优选实施例一 图 2是根据本发明优选实施例一的屏幕解锁的方法的流程图。 如图 2所示, 该方 法包括以下步骤: 步骤 S202, 在移动终端的待机界面上显示一个图形采集界面。 此图像采集界面可 以位于触摸屏的上部、 中部、 下部等, 可以随意设置, 可以在触摸屏上任意一个区域, 该区域只有使用者知道, 提高了安全系数。 步骤 S204, 采集认证体在触摸屏上按下的压痕图形对应的点集。 步骤 S206, 提取点集对应的特征值。 步骤 S208, 判断上述特征值是否和终端预先设定的特征值匹配, 如果匹配, 则进 行解锁。 通过上述实施例, 通过比较采集到图像的特征值与预设图像的特征值, 可以对屏 幕进行解锁。 优选实施例二 图 3是根据本发明优选实施例二的特征值计算的流程示意图。 如图 3所示, 本实 施例采用指压图形进行解锁。终端在得到指压图形对应的象素点集 M后, 为了剔除手 指在屏幕上按压位置带来的影响, 需要计算偏移向量, 通过使用偏移向量对点集进行 平移 /旋转变换, 将点集 M转化为变换坐标系下的新的点集 Μ' ; 在点集 M'中提取若 干特征点; 对提取出的特征点, 分段采用曲线逼近和 /或曲线拟合的方式, 将逼近曲线 和 /或拟合曲线的曲线参数作为指压图形的特征值。 如图 4A-4C所示, 介绍了指压图形特征点提取的过程示意图, 处理过程如下: 指压图形采集。 通过移动终端的触摸屏模块, 获取用户在手指按下采集区中手指 按下的区域。 如图 4Α所示, 是根据本发明优选实施例二的图形采集的示意图一, 采 集区域为一个矩形区域, 在用户手指按下时, 用来将受力区域点坐标进行收集。 收集 后形成坐标集合 Μ。 计算偏移向量。 如图 4Β所示, 是根据本发明优选实施例二的图形采集的示意图 二。 计算 Μ中所有点横坐标的最小值 Xmin和最大值 Xmax, 以及所有点纵坐标的最小 值 Ymm和最大值 Ymax, 则以 (Xmm, Ymm) (Xmm, Ymax) (X max, Ymin ) ( Xmax, Ymax ) 为顶点的矩形构成了最小矩形, (Xmm, Ymm) 则为整体坐标的偏移向量, 即重新建立 以 (Xmin, Ymi„) 为新的原点的采样坐标系。 将 M集合中的点通过偏移向量 (Xmin, Ymin) 转换为相对坐标集 M'。 在本实施例中, 指压图形解锁实施例中特征点提取办法如图 4C所示, 是根据本 发明优选实施例二的图形采集的示意图三。 在最小矩形中, 将四等分平行于 Y轴的矩 形边,在等分点处绘制平行线,平行线与指压图形的边界相交于 A-H 的 8个点作为指 压图形的特征点。 在实施过程中, 指压图形解锁采用曲线逼近方法, 其中用 2次多项式逼近法进行 特征值计算。将 A-C、 C-E、 E-G, G-A作为分段特征点, 分段计算, 最终形成特征值。 以 、 B、 C三个点为例, 计算二次多项式逼近对应的多项式系数作为 A-C的特征分 量 Tl(al,bl,cl), 其中, al,bl,cl分别为二次多项式的系数。 以此方式得到指压图形对 应的值 (Tl, T2, T3, Τ4) = ( al,bl,cl, a2,b2,c2, a3,b3,c3, a4,b4,c4)作为指压区域对应的特 征值。 在本实施例中, 两个特征值的相似度的比较准则可以采用向量的相似度测量法中 的距离测度法, 当测度在一定的阀值范围内时, 认为指压图形特征相同, 否则, 判定 为特征不相同。 特征点提取的方式可以包括: 采用 n等分矩形边界的平行线采样特征点; 特征值 提取可以采用曲线逼近 (例如, 多项式逼近、 B样条逼近等) 或曲线拟合 (例如, 多 项式拟合、 多项式函数拟合、 贝塞尔曲线拟合等), 计算曲线中包含的参数集, 合并成 向量作为指压图形的特征值; 特征值相似度比较准则还可以采用相似度函数法计算。 优选实施例三 如图 5所示, 是根据本发明实施例三提供的印章图形的示意图。 由于印章形状的 不确定性, 所以图形不一定具备指压图形的边界连续性, 不能采用曲线逼近和 /或曲线 拟合计算特征值的办法。 在本实施例中, 终端在得到印章图形对应的象素点集 M后, 直接将 M'点集作为 特征值 (与优选实施例二中的对指压图形的解锁相比, 印章图形解锁实施例省掉了特 征点提取、 特征值计算等流程, 直接将点集作为判断图形是否匹配的依据)。 根据 M' 中的点集与终端存储的点集, 进行相似度计算; 如果相似度在阀值之内, 则成功解锁。 对于两个特征值进行相似度计算的方法如下: 判断模块在进行特征值比对时, 入口条件是获得了当前待机界面传入的特征值 Ml 以及终端中已经存储的特征值 M2,计算所要的结果是两个特征值是否满足相似度 的要求, 计算方法如下: 步骤 1 : 分别提取点集 Ml和 M2中横纵坐标最小和最大的点, 即提取印章图形中 左上、 左下、 右上、 右下四个点。 点集 Ml中记作 Al、 Bl、 Cl、 Dl ; M2中记作 A2、 B2、 C2、 D2; 其中, 该图形的点有可能是重合的, 如图 5所示, 其左下和右下是一个点。 步骤 2: 计算印章图形的平移向量。 利用距离测度法, 分别两两计算向量 A1A2、 B1B2、 C1C2、 D1D2之间的距离值, 并求得所有距离值的均值, 记作 a。 步骤 3 : 当 a在阀值范围时, 则将 (A1A2+B 1B2+C1C2+D1D2 ) /4作为 Ml的平 移向量。 转到步骤 4; 否则, 返回"相似度不符合要求"。 步骤 4: 将 Ml中的点按照平移向量进行平移变换, 最终得到新的点集 ΜΓ。 步骤 5 : 统计属于 Μ2且属于 ΜΓ的点的个数, 记为 m, 表示加分项; 统计属于 ΜΓ且不属于 M2的点的个数, 记为 n, 表示减分项; 统计属于 M2且不属于 M2'的点 的个数, 记为 p, 表示减分项; 步骤 6: 计算得出的 (m-n-p ) I ( m+n+p ) , 即为两个点集对应的相似度。 当该相 似度满足要求, 则返回"相似度符合要求"; 否则返回"相似度不符合要求"。 图 6是根据本发明实施例提供的屏幕解锁装置的结构框图。 如图 6所示, 该屏幕 解锁装置, 应用于终端, 包括: 获取模块 10, 设置为获取输入介质在终端触摸屏的图 像采集界面按压形成的压痕图形; 比较模块 20, 设置为提取压痕图形的对应点集, 比 较压痕图形的对应点集与预设的点集的相似度; 解锁模块 30, 设置为当相似度度高于 或等于预设相似度门限值时, 解锁终端的屏幕。 获取模块 10、 比较模块 20和解锁模 块 30依次连接。 如图 7所示, 当压痕图形是边界连续压痕图形时, 比较模块 20可以包括: 第一提 取子模块 202, 设置为提取边界连续压痕图形的对应点集, 在对应点集中提取特征点; 第一计算子模块 204, 设置为根据预设特征值算法计算特征点的特征值; 第一比较子 模块 206, 设置为比较特征值与预设特征值的相似度。 如图 8所示, 当压痕图形是非边界连续压痕图形时, 提取模块 20还可以包括: 第 二提取子模块 208,设置为提取非边界连续压痕图形的对应点集;第二计算子模块 210, 设置为计算非边界连续压痕图形的对应点集相对于预设的点集的平移 /旋转向量, 使用 平移向量进行平移 /旋转变换; 第二比较子模块 212, 设置为比较平移 /旋转变换后的非 边界连续压痕图形的对应点集与预设的点集的相似度。 优选地, 上述终端可以为移动终端。 优选实施例四 如图 9所示, 是根据本发明优选实施例四提供的屏幕解锁装置的结构框图。 该屏 幕解锁装置包括: 设置模块 902, 设置为在移动终端上设置屏幕锁定; 获取模块 904, 设置为对压痕图形的提取; 特征提取模块 906, 设置为对压痕图形进行特征值提取;; 判断模块 908, 设置为判断特征值是否与终端设定值匹配; 解锁模块 910, 设置为在如 果判断一致的情况下, 则进行解锁。 终端的设置模块进行压痕图形特征提取后存入终端中;在待机状态下,用户通过待 机界面中的获取模块 904对认证体在触摸屏上形成的压痕图形进行象素点提取, 形成 点集;特征提取模块 906对于点集进行特征值计算;判断模块进行特征值比对,如果匹配 成功, 则正常进行解锁。 在本实施例中, 通过对压痕图形信息的提取, 实现了终端的 一种解锁方法, 增强了终端的安全性。 在实际的认证物按压触摸屏后形成的图形边界不像本发明实施例中提供示意图中 的边界具有连续性, 实际中提取存在一定的锯齿状, 但本发明各实施例中提出的各种 算法仍然有效 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 本发明实施例利用压痕图形的固有属性特征, 应用在支持多点触摸的终端上, 进 行锁屏鉴权, 增加了屏幕解锁的安全系数, 解锁方式不易破解, 对用户的个人隐私起 到了很好的保护作用。 提高了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (3) Comparing the similarity between the corresponding point set of the non-boundary continuous indentation pattern after the translation/rotation transformation and the preset point set. In the implementation process, the indentation pattern can be input by the external seal pattern. Before the password can be set to the terminal, if the stamp is lost during use, the screen can be unlocked with the second password. After unlocking, the screen can be re-opened. Set a new stamp pattern for the new unlock pattern. Easy to use and high safety factor. Preferably, the terminal is a mobile terminal. The size of the mobile terminal is generally small. When the user's mobile terminal is lost, the method of safely unlocking the screen does not leak private information. Increased security. Preferred Embodiment 1 FIG. 2 is a flowchart of a method of unlocking a screen according to a preferred embodiment 1 of the present invention. As shown in FIG. 2, the method includes the following steps: Step S202: Display a graphic collection interface on a standby interface of the mobile terminal. The image acquisition interface can be located at the upper part, the middle part, the lower part of the touch screen, etc., and can be set arbitrarily, and can be in any area on the touch screen, and the area is only known by the user, and the safety factor is improved. Step S204: Collect a point set corresponding to the indentation pattern pressed by the authentication body on the touch screen. Step S206, extracting feature values corresponding to the point set. Step S208, determining whether the feature value matches the feature value preset by the terminal, and if it matches, unlocking is performed. With the above embodiment, the screen can be unlocked by comparing the feature value of the acquired image with the feature value of the preset image. Preferred Embodiment 2 FIG. 3 is a schematic flow chart of eigenvalue calculation according to a preferred embodiment 2 of the present invention. As shown in FIG. 3, this embodiment uses a finger pressure graphic to unlock. After obtaining the pixel point set M corresponding to the finger pressing pattern, the terminal needs to calculate the offset vector in order to eliminate the influence of the finger pressing position on the screen, and perform the translation/rotation transformation on the point set by using the offset vector to set the point. The set M is transformed into a new point set 变换' in the transformed coordinate system; several feature points are extracted in the point set M'; for the extracted feature points, the segmentation adopts curve approximation and/or curve fitting, which will approximate The curve parameters of the curve and/or the fitted curve are used as the characteristic values of the acupressure pattern. As shown in Fig. 4A-4C, the schematic diagram of the process of extracting the feature points of the acupressure pattern is introduced. The processing is as follows: Acupressure pattern acquisition. Through the touch screen module of the mobile terminal, an area where the user presses the finger in the collection area by the finger is obtained. As shown in FIG. 4A, FIG. 1 is a schematic diagram of a pattern acquisition according to a preferred embodiment 2 of the present invention. The acquisition area is a rectangular area, and is used to collect the coordinates of the force area points when the user presses a finger. After collection, a set of coordinates is formed. Calculate the offset vector. As shown in FIG. 4A, it is a schematic diagram 2 of the pattern acquisition according to the preferred embodiment 2 of the present invention. Calculate the minimum value X min and the maximum value X max of the abscissa of all points in the Μ, and the minimum value Ymm and the maximum value Ymax of all the ordinates of the point, then (Xmm, Ymm) (Xmm, Ymax) (X max, Ymin ) ( Xmax, Ymax ) The rectangle with the vertices constitutes the smallest rectangle, and (X mm , Y mm ) is the offset vector of the global coordinates, that is, the sampling coordinate system with the new origin (X min , Y mi „) as the new origin is re-established. The point in the M set is converted into the relative coordinate set M' by the offset vector (X min , Y min ). In this embodiment, the feature point extraction method in the fingerprint pressing unlocking embodiment is as shown in FIG. 4C , A schematic diagram 3 of a pattern acquisition according to a preferred embodiment 2 of the present invention. In the smallest rectangle, a quadrangle is parallel to the rectangular side of the Y-axis, and parallel lines are drawn at the equi-partitions, and the parallel lines intersect the boundary of the finger-pressure pattern at The 8 points of AH are used as the feature points of the acupressure pattern. In the implementation process, the acupressure pattern is unlocked by the curve approximation method, in which the eigenvalue calculation is performed by the second-order polynomial approximation method. AC, CE, EG, GA are segmented. Feature point, segmentation calculation, final shape Taking the three points of B, C as an example, calculate the polynomial coefficient corresponding to the quadratic polynomial approximation as the characteristic component Tl(al, bl, cl) of AC, where al, bl, and cl are respectively quadratic polynomials Coefficient of the phasing pattern in this way The values (Tl, T2, T3, Τ4) = (al, bl, cl, a2, b2, c2, a3, b3, c3, a4, b4, c4) are used as the eigenvalues corresponding to the acupressure area. In this embodiment, the comparison criterion of the similarity of the two eigenvalues may adopt the distance measurement method in the similarity measurement method of the vector. When the metric is within a certain threshold range, the metric of the acupressure pattern is considered to be the same. Otherwise, It is determined that the features are different. The method of feature point extraction may include: sampling feature points using parallel lines of n-divided rectangular boundaries; eigenvalue extraction may use curve approximation (eg, polynomial approximation, B-spline approximation, etc.) or curve fitting (eg, polynomial fitting) , polynomial function fitting, Bezier curve fitting, etc.), calculate the parameter set contained in the curve, merged into a vector as the eigenvalue of the acupressure graph; the eigenvalue similarity comparison criterion can also be calculated by the similarity function method. Preferred Embodiment 3 is a schematic view of a stamp pattern provided according to Embodiment 3 of the present invention, as shown in FIG. Due to the uncertainty of the shape of the seal, the figure does not necessarily have the boundary continuity of the finger pressure pattern, and the method of calculating the feature value by curve approximation and/or curve fitting cannot be used. In this embodiment, after obtaining the pixel point set M corresponding to the seal pattern, the terminal directly uses the M′ point set as the feature value (the unlocking of the seal graphic is compared with the unlocking of the finger pressing graphic in the second embodiment). For example, the process of feature point extraction and eigenvalue calculation is omitted, and the point set is directly used as a basis for judging whether the figure matches. The similarity calculation is performed according to the point set in M' and the point set stored in the terminal; if the similarity is within the threshold, the unlocking is successful. The method for calculating the similarity of two eigenvalues is as follows: When the metric value comparison is performed by the judging module, the entry condition is that the eigenvalue M1 introduced in the current standby interface and the eigenvalue M2 already stored in the terminal are obtained, and the calculation is required. The result is whether the two eigenvalues satisfy the similarity requirement. The calculation method is as follows: Step 1: Extract the points with the smallest and largest horizontal and vertical coordinates in the point sets M1 and M2 respectively, that is, extract the upper left, lower left, upper right, and lower right of the seal graphic. Four points. The point set M1 is denoted as Al, Bl, Cl, Dl; M2 is denoted as A2, B2, C2, D2; wherein, the points of the figure may be coincident, as shown in Fig. 5, the lower left and the lower right are one point. Step 2: Calculate the translation vector of the stamp graphic. Using the distance measure method, calculate the distance between the vectors A1A2, B1B2, C1C2, and D1D2, and find the mean of all the distance values, denoted as a. Step 3: When a is in the threshold range, (A1A2+B 1B2+C1C2+D1D2 ) /4 is taken as the translation vector of M1. Go to step 4; otherwise, return "similarity does not meet the requirements". Step 4: Translate the points in M1 according to the translation vector, and finally get a new point set. Step 5: Count the number of points belonging to Μ2 and belonging to ΜΓ, denoted as m, indicating the addition of points; count the number of points belonging to ΜΓ and not belonging to M2, denoted as n, indicating the sub-item; the statistics belong to M2 and The number of points not belonging to M2' is denoted by p, indicating the sub-item; Step 6: The calculated (mnp) I ( m+n+p ) is the similarity corresponding to the two point sets. When the similarity satisfies the requirement, the "similarity meets the requirement" is returned; otherwise, the "similarity does not meet the requirement" is returned. FIG. 6 is a structural block diagram of a screen unlocking apparatus according to an embodiment of the present invention. As shown in FIG. 6 , the screen unlocking device is applied to the terminal, and includes: an acquiring module 10 configured to acquire an indentation pattern formed by pressing an input medium on an image capturing interface of the touch screen of the terminal; and comparing the module 20, configured to extract the indentation graphic Corresponding point set, comparing the similarity between the corresponding point set of the indentation pattern and the preset point set; the unlocking module 30 is configured to unlock the screen of the terminal when the similarity degree is higher than or equal to the preset similarity threshold value . The acquisition module 10, the comparison module 20, and the unlocking module 30 are sequentially connected. As shown in FIG. 7 , when the indentation pattern is a boundary continuous indentation pattern, the comparison module 20 may include: a first extraction sub-module 202 configured to extract a corresponding point set of the boundary continuous indentation pattern, and extract features in the corresponding point set. The first calculation sub-module 204 is configured to calculate the feature value of the feature point according to the preset feature value algorithm; the first comparison sub-module 206 is configured to compare the similarity between the feature value and the preset feature value. As shown in FIG. 8, when the indentation pattern is a non-boundary continuous indentation pattern, the extraction module 20 may further include: a second extraction sub-module 208, configured to extract a corresponding point set of the non-boundary continuous indentation pattern; and a second calculation sub- The module 210 is configured to calculate a translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern relative to the preset point set, and perform a translation/rotation transformation using the translation vector; the second comparison sub-module 212 is set to compare translation/ The similarity between the corresponding point set of the non-boundary continuous indentation pattern after the rotation transformation and the preset point set. Preferably, the terminal may be a mobile terminal. A preferred embodiment 4 is a block diagram of a screen unlocking apparatus according to a preferred embodiment 4 of the present invention, as shown in FIG. The screen unlocking device includes: a setting module 902, configured to set a screen lock on the mobile terminal; an obtaining module 904, configured to extract the indentation pattern; and a feature extraction module 906 configured to perform feature value extraction on the indentation graphic; The determining module 908 is configured to determine whether the feature value matches the terminal setting value; and the unlocking module 910 is configured to perform unlocking if the determination is consistent. The setting module of the terminal performs the indentation pattern feature extraction and stores it in the terminal; in the standby state, the user extracts the pixel point of the indentation pattern formed on the touch screen by the authentication body through the obtaining module 904 in the standby interface to form a point set. The feature extraction module 906 performs feature value calculation on the point set; the determination module performs feature value comparison, and if the matching is successful, the unlocking is performed normally. In this embodiment, by extracting the indentation pattern information, an unlocking method of the terminal is realized, and the security of the terminal is enhanced. The boundary of the figure formed after the actual authenticator presses the touch screen is not continuous as the boundary in the schematic diagram provided in the embodiment of the present invention, and the actual extraction has a certain zigzag shape, but the various algorithms proposed in the embodiments of the present invention are still Effectively from the above description, it can be seen that the present invention achieves the following technical effects: The embodiment of the present invention utilizes the inherent attribute feature of the indentation graphic, and is applied to a terminal supporting multi-touch, and performs lock screen authentication, and increases The security factor of the screen unlocking, the unlocking method is not easy to crack, and it has a good protection for the user's personal privacy. Improve the user experience. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

1. 一种屏幕解锁的方法, 包括: 1. A method of unlocking a screen, comprising:
终端获取输入介质在其触摸屏的图像采集界面按压形成的压痕图形; 所述终端提取所述压痕图形的对应点集, 比较所述压痕图形的对应点集与 预设的点集的相似度;  The terminal acquires an indentation pattern formed by the input medium pressing on the image collection interface of the touch screen; the terminal extracts a corresponding point set of the indentation pattern, and compares the corresponding point set of the indentation pattern with a preset point set. Degree
当所述相似度度高于或等于预设相似度门限值时, 解锁所述终端的屏幕。  When the similarity degree is higher than or equal to the preset similarity threshold, the screen of the terminal is unlocked.
2. 根据权利要求 1所述的方法, 其中, 所述压痕图形包括: 边界连续压痕图形和 / 或非边界连续压痕图形。 2. The method of claim 1, wherein the indentation pattern comprises: a boundary continuous indentation pattern and/or a non-boundary continuous indentation pattern.
3. 根据权利要求 2所述的方法, 其中, 当所述压痕图形是所述边界连续压痕图形 时, 所述终端提取所述压痕图形的对应点集, 比较所述压痕图形的对应点集与 预设的点集的相似度包括: 3. The method according to claim 2, wherein, when the indentation pattern is the boundary continuous indentation pattern, the terminal extracts a corresponding point set of the indentation pattern, and compares the indentation pattern The similarity between the corresponding point set and the preset point set includes:
提取所述边界连续压痕图形的对应点集, 在所述对应点集中提取特征点; 根据预设特征值算法计算所述特征点的特征值;  Extracting a corresponding point set of the boundary continuous indentation pattern, extracting a feature point in the corresponding point set; calculating a feature value of the feature point according to a preset feature value algorithm;
比较所述特征值与预设特征值的相似度。  Comparing the similarity between the feature value and the preset feature value.
4. 根据权利要求 3所述的方法, 其中, 所述提取特征点的方法包括: 4. The method according to claim 3, wherein the method for extracting feature points comprises:
以一个边界最小的矩形框住所述边界连续压痕图形;  Frame the continuous indentation pattern of the boundary with a rectangle having the smallest boundary;
将所述矩形以一组平行线进行等分;  Dividing the rectangle into a set of parallel lines;
在所述平行线与所述边界连续压痕图形边界的相交处提取特征点。  Feature points are extracted at the intersection of the parallel line and the boundary of the boundary continuous indentation pattern.
5. 根据权利要求 4所述的方法, 其中, 所述预设特征值算法包括: 曲线逼近参数 法和 /或曲线拟合参数法。 The method according to claim 4, wherein the preset feature value algorithm comprises: a curve approximation parameter method and/or a curve fitting parameter method.
6. 根据权利要求 2所述的方法, 其中, 当所述压痕图形是所述非边界连续压痕图 形时, 所述终端提取所述压痕图形的对应点集, 比较所述压痕图形的对应点集 与预设的点集的相似度包括: 6. The method according to claim 2, wherein, when the indentation pattern is the non-boundary continuous indentation pattern, the terminal extracts a corresponding point set of the indentation pattern, and compares the indentation pattern The similarity between the corresponding point set and the preset point set includes:
提取所述非边界连续压痕图形的对应点集;  Extracting a corresponding set of points of the non-boundary continuous indentation pattern;
计算所述非边界连续压痕图形的对应点集相对于所述预设的点集的平移 / 旋转向量, 使用所述平移 /旋转向量进行平移 /旋转变换; 比较平移 /旋转变换后的所述非边界连续压痕图形的对应点集与所述预设 的点集的相似度。 Calculating a translation/rotation vector of the corresponding point set of the non-boundary continuous indentation pattern with respect to the preset point set, and performing translation/rotation transformation using the translation/rotation vector; Comparing the similarity between the corresponding point set of the non-boundary continuous indentation pattern after the translation/rotation transformation and the preset point set.
7. 根据权利要求 1至 6任一项所述的方法, 其中, 所述终端为移动终端。 The method according to any one of claims 1 to 6, wherein the terminal is a mobile terminal.
8. 一种屏幕解锁的装置, 应用于终端, 包括: 8. A device for unlocking a screen, applied to a terminal, comprising:
获取模块, 设置为获取输入介质在所述终端触摸屏的图像采集界面按压形 成的压痕图形;  The obtaining module is configured to obtain an indentation pattern formed by pressing the input medium on the image capturing interface of the touch screen of the terminal;
比较模块, 设置为提取所述压痕图形的对应点集, 比较所述压痕图形的对 应点集与预设的点集的相似度;  a comparison module, configured to extract a corresponding point set of the indentation pattern, and compare a similarity between the corresponding point set of the indentation pattern and a preset point set;
解锁模块, 设置为当相似度度高于或等于预设相似度门限值时, 解锁所述 终端的屏幕。  The unlocking module is configured to unlock the screen of the terminal when the similarity degree is higher than or equal to the preset similarity threshold.
9. 根据权利要求 8所述的装置, 其中, 在所述压痕图形是边界连续压痕图形的情 况下, 所述比较模块包括: 9. The apparatus according to claim 8, wherein, in the case where the indentation pattern is a boundary continuous indentation pattern, the comparison module comprises:
第一提取子模块, 设置为提取所述边界连续压痕图形的对应点集, 在所述 对应点集中提取特征点;  a first extraction sub-module, configured to extract a corresponding set of points of the boundary continuous indentation pattern, and extract feature points in the corresponding point set;
第一计算子模块, 设置为根据预设特征值算法计算所述特征点的特征值; 第一比较子模块, 设置为比较所述特征值与预设特征值的相似度。  The first calculation sub-module is configured to calculate a feature value of the feature point according to a preset feature value algorithm; and the first comparison sub-module is configured to compare the similarity between the feature value and the preset feature value.
10. 根据权利要求 8所述的装置, 其中, 在所述压痕图形是非边界连续压痕图形的 情况下, 所述提取模块还包括: 10. The device according to claim 8, wherein, in the case that the indentation pattern is a non-boundary continuous indentation pattern, the extraction module further comprises:
第二提取子模块, 设置为提取所述非边界连续压痕图形的对应点集; 第二计算子模块, 设置为计算所述非边界连续压痕图形的对应点集相对于 所述预设的点集的平移 /旋转向量,使用所述平移 /旋转向量进行平移 /旋转变换; 第二比较子模块,设置为比较平移 /旋转变换后的所述非边界连续压痕图形 的对应点集与所述预设的点集的相似度。  a second extraction sub-module, configured to extract a corresponding point set of the non-boundary continuous indentation pattern; a second calculation sub-module configured to calculate a corresponding point set of the non-boundary continuous indentation pattern relative to the preset a translation/rotation vector of the point set, using the translation/rotation vector for translation/rotation transformation; a second comparison sub-module, configured to compare the corresponding point set of the non-boundary continuous indentation pattern after the translation/rotation transformation The similarity of the preset point set.
11. 根据权利要求 8至 10任一项所述的装置, 其中, 所述终端为移动终端。 The device according to any one of claims 8 to 10, wherein the terminal is a mobile terminal.
PCT/CN2012/076022 2011-11-21 2012-05-24 Screen unlocking method and device WO2013075472A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110370956.7 2011-11-21
CN201110370956.7A CN102508614B (en) 2011-11-21 2011-11-21 The method and device of unlocking screen

Publications (1)

Publication Number Publication Date
WO2013075472A1 true WO2013075472A1 (en) 2013-05-30

Family

ID=46220709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/076022 WO2013075472A1 (en) 2011-11-21 2012-05-24 Screen unlocking method and device

Country Status (2)

Country Link
CN (1) CN102508614B (en)
WO (1) WO2013075472A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235702B (en) * 2013-05-03 2016-08-03 Tcl通讯(宁波)有限公司 A kind of mobile terminal unlocking method based on touch screen and mobile terminal
CN105022576B (en) * 2014-04-28 2018-07-06 中国电信股份有限公司 Unlocking screen method and apparatus
CN104090725B (en) * 2014-07-28 2017-05-10 Tcl通讯(宁波)有限公司 Method and system for unlocking touch screen of mobile terminal
CN105787310B (en) * 2014-12-24 2018-07-20 纬创资通(中山)有限公司 Unlocking screen method
WO2016109936A1 (en) * 2015-01-06 2016-07-14 深圳市柔宇科技有限公司 Fingerprint unlocking system, electronic apparatus, and fingerprint unlocking method
CN105426741A (en) * 2015-12-21 2016-03-23 小米科技有限责任公司 Screen unlocking method, device and terminal
CN108804907B (en) * 2018-06-13 2020-06-30 中新国际电子有限公司 Unlocking method and system for touch screen device, computer readable storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658224A (en) * 2005-03-16 2005-08-24 沈阳工业大学 Combined recognising method for man face and ear characteristics
CN101178768A (en) * 2006-11-08 2008-05-14 索尼株式会社 Image processing apparatus, image processing method and person identification apparatus,
CN101739564A (en) * 2008-11-12 2010-06-16 深圳富泰宏精密工业有限公司 System and method for fingerprint identification
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658224A (en) * 2005-03-16 2005-08-24 沈阳工业大学 Combined recognising method for man face and ear characteristics
CN101178768A (en) * 2006-11-08 2008-05-14 索尼株式会社 Image processing apparatus, image processing method and person identification apparatus,
CN101739564A (en) * 2008-11-12 2010-06-16 深圳富泰宏精密工业有限公司 System and method for fingerprint identification
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control

Also Published As

Publication number Publication date
CN102508614B (en) 2018-07-24
CN102508614A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
WO2013075472A1 (en) Screen unlocking method and device
US9985787B2 (en) Continuous monitoring of fingerprint signature on a mobile touchscreen for identity management
US9400880B2 (en) Method and apparatus for biometric-based security using capacitive profiles
KR101872366B1 (en) Fingerprint enrollment using touch sensor data
TWI324313B (en) Identification mathod
CN106059753B (en) A kind of fingerprint key generation new method for digital signature
KR101419784B1 (en) Method and apparatus for recognizing and verifying fingerprint
CN103152324B (en) The user authen method of Behavior-based control feature
KR20130021275A (en) The method for recognizing motion pattern and the apparatus for the same
WO2017209677A1 (en) Fingerprint sensor with force sensor
CN107992731B (en) Method and device for setting multiple unlocking based on intelligent mobile terminal
CN103716456A (en) Mobile phone unlocking method based on face feature information
CN107015745B (en) Screen operation method and device, terminal equipment and computer readable storage medium
WO2017020387A1 (en) Method and terminal equipment for entering different system through fingerprint identification
US20130232570A1 (en) Portable terminal and gripping-feature learning method
KR20180013872A (en) Method for forming fingerprint expression and fingerprint detection system
Findling et al. Shakeunlock: Securely unlock mobile devices by shaking them together
CN106662971A (en) Operation method applied to terminal device, and terminal device
WO2013178151A1 (en) Screen turnover method and device, and mobile terminal
WO2015070549A1 (en) Skin texture collection and identity recognition method and system
TWI598828B (en) Electronic device and system and method of controlling access to the same
EP2701096A2 (en) Image processing device and image processing method
KR101392113B1 (en) Fingerprint locking system
WO2016155090A1 (en) Unlocking method, apparatus and terminal based on palm print and computer storage medium
CN107229928A (en) The mobile terminal palmmprint acquisition method and system of a kind of auxiliary positioning

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12851099

Country of ref document: EP

Kind code of ref document: A1