WO2016177038A1 - User identity authentication method and device, and storage medium - Google Patents

User identity authentication method and device, and storage medium Download PDF

Info

Publication number
WO2016177038A1
WO2016177038A1 PCT/CN2016/074733 CN2016074733W WO2016177038A1 WO 2016177038 A1 WO2016177038 A1 WO 2016177038A1 CN 2016074733 W CN2016074733 W CN 2016074733W WO 2016177038 A1 WO2016177038 A1 WO 2016177038A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
touch points
location information
relative
position information
Prior art date
Application number
PCT/CN2016/074733
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 WO2016177038A1 publication Critical patent/WO2016177038A1/en

Links

Images

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

Definitions

  • the present invention relates to a biometric authentication technology, and in particular, to a user identity authentication method and apparatus, and a storage medium.
  • the earliest user authentication method is password authentication, but the password input efficiency is not high, and there are cases where the legitimate user forgets the password, and the user experience is not good, which has led to a lot of research on the biometric authentication technology.
  • Fingerprint recognition technology has become the iconic configuration of high-end mobile terminals.
  • the benefits of fingerprint recognition technology are obvious. Compared with the traditional password, it is not lost, difficult to steal, and does not need to be memorized, which greatly facilitates the user's use.
  • the main drawback is that the cost is high.
  • biometric technologies such as voiceprint recognition, iris recognition, facial recognition, etc.
  • voiceprint is very environmentally demanding and easy to be stolen by others; iris recognition and facial recognition require very good image capture. High is also difficult to use.
  • biometric technologies have a large gap in security and ease of use relative to fingerprint recognition, and have not been widely used, but have been promoted as some gimmicks.
  • the embodiments of the present invention are expected to provide a user identity authentication method and apparatus, and a storage medium, which can achieve the effects of being safe, easy to use, and low in cost.
  • An embodiment of the present invention provides a user identity authentication method, where the method includes:
  • the N is an integer greater than 1.
  • the determining, according to the location information of the N touch points, whether the current user is a legitimate user includes:
  • the determining whether the current user is a legitimate user according to the relative location information of the N touch points includes:
  • the current user is authenticated as a legitimate user.
  • the location information is the location coordinate
  • the calculating, according to the location information of the N touch points, the relative location information of the N touch points including:
  • the calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user includes:
  • the method before the obtaining the location information of the N touch points of the current user touching the multi-touch screen, the method further includes:
  • the N-1 relative coordinates of the N finger ends of the legitimate user are pre-stored.
  • the embodiment of the invention further provides a user identity authentication device, the device comprising:
  • the acquiring unit is configured to acquire location information of the N touch points of the current user touching the multi-touch screen;
  • the authentication unit is configured to authenticate, according to the location information of the N touch points acquired by the acquiring unit, whether the current user is a legal user; the N is an integer greater than 1.
  • the authentication unit includes: a calculation subunit and an authentication subunit; wherein
  • the calculating subunit is configured to calculate relative position information of the N touch points according to the position information of the N touch points acquired by the acquiring unit;
  • the authentication subunit is configured to authenticate whether the current user is a legitimate user according to the relative location information of the N touch points calculated by the computing subunit.
  • the authentication subunit is further configured to calculate, between the relative position information of the N touch points calculated by the calculating subunit and the relative position information of the N finger ends of the pre-stored legal user.
  • the error value when the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
  • the location information is location coordinates
  • the calculation subunit is further configured to calculate N-1 pairs of adjacent touch points among the N touch points according to location coordinates of the N touch points. The coordinate difference, obtaining N-1 relative coordinates;
  • the authentication subunit is further configured to calculate a sum of variances between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
  • the device further includes a storage unit, wherein
  • the acquiring unit is configured to collect location information of the N finger ends of the multi-touch screen obtained by the legal user;
  • the calculating sub-unit is further configured to calculate location information of the N finger ends of the legal user acquired by the acquiring unit, and calculate a coordinate difference between N-1 pairs of adjacent finger ends of N fingers of the legal user, and obtain N-1 relative coordinates of the N finger ends of the legitimate user;
  • a storage unit configured to pre-store N-1 relative coordinates of the N finger ends of the legal user obtained by the calculation subunit calculation.
  • the user identity authentication method and device and the storage medium obtain the location information of the N touch points when the current user touches the multi-touch screen with a finger, and according to the location information of the N touch points, the authentication office Whether the current user is a legitimate user; thus, the purpose of using the user's finger feature, that is, the user's N fingers touch the location information on the multi-touch screen as a key for user identity authentication; and the existing fingerprint recognition technology
  • the embodiment of the present invention is implemented based on a technology that a multi-touch screen can simultaneously collect multiple touch points, and has a low technical threshold and low cost.
  • the key applied in the method of the embodiment of the present invention is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.
  • FIG. 1 is a schematic flowchart of a user identity authentication method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of a user identity authentication method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of a user touching a multi-touch screen by a finger according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of a user touching a multi-touch screen by a finger according to Embodiment 2 of the present invention.
  • FIG. 5 is a structural block diagram of a user identity authentication apparatus according to Embodiment 3 of the present invention.
  • the embodiment of the present invention provides a user identity authentication method. As shown in FIG. 1 , the processing procedure of the method in this embodiment includes the following steps:
  • Step 101 Acquire location information of the N touch points of the current user touching the multi-touch screen.
  • the user's finger feature is used as a key to identify the user, and the length of the five fingers of the person is uneven, and the individual differences are obvious. For example, some people have a short middle finger but a long nameless finger. Some people have a middle finger but a small thumb.
  • the terminal can compare and analyze the finger data to verify whether the user is a legitimate user.
  • the multi-touch screen is already a reference configuration, and the multi-touch screen can be used to collect the position of the plurality of finger ends of the user touching the multi-touch screen, thereby facilitating user identity authentication.
  • a legitimate user can be set to use 2, 3, 4, or 5 fingers of the left or right hand under a certain gesture (eg, fingers close together and straighten) while touching the multi-touch screen of the terminal for identity authentication.
  • a certain gesture eg, fingers close together and straighten
  • the user can contact the multi-touch screen of the terminal with a N finger under a certain gesture.
  • the N is preset by the legal user, and the value ranges from 2 to 5.
  • the multi-touch screen of the terminal can be touched by multiple fingers, and the terminal can first detect the number of touch points of the current user touching the multi-touch screen, if detected, When there are N touch points, it indicates that the current user may be legal, and the location information of the N touch points needs to be obtained to further determine whether the user is legitimate. If it is detected that the number of touch points is not N, it indicates that the current touch is illegal, and the user identity authentication fails.
  • the terminal acquires the location information of the N touch points of the current user touching the multi-touch screen, the process proceeds to step 102.
  • Step 102 Authenticate, according to location information of the N touch points, whether the current user is authenticated For legitimate users.
  • the shape of the palm of a person is different. Under a certain gesture (for example, close and straight), the relative position of the end of the finger of the same user is stable. That is, the end position of the left index finger, the middle finger, the ring finger and the little finger of the same user under a certain gesture is constant with respect to the end position of the thumb.
  • the method of this embodiment is based on this principle for user identity authentication.
  • the method of the embodiment can use the multi-touch screen to pre-acquire the relative position information of the N finger ends of the legal user, and store the information as the original key. Then, after obtaining the location information of the N touch points of the multi-touch screen, the relative position information of the N touch points is calculated according to the acquired position information of the N touch points, and N touches are obtained. The relative position information of the point is compared with the original key, and when the error value between the two is less than the preset error value, the user is authenticated as a legitimate user.
  • the above preset error value cannot be too large or too small. If the setting is too large, it is easy for an illegal user to impersonate a legitimate user to pass the authentication; if the setting is too small, it is easy for the legitimate user to fail the authentication due to the gesture error of the finger.
  • the preset error value can also be freely set by the user within a certain range.
  • the method of the embodiment uses the user's finger feature as a key to perform user identity authentication. Compared with the fingerprint recognition technology, the method in this embodiment is implemented based on a technology that a multi-touch screen can simultaneously collect multiple touch points, and the technical threshold is low. low cost. Moreover, the key applied in the method of the embodiment is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.
  • the embodiment of the invention further provides a computer readable storage medium, the storage medium comprising a set of instructions for executing the user identity authentication method shown in FIG.
  • the embodiment of the present invention provides a user identity authentication method. As shown in FIG. 2, the processing procedure of the method in this embodiment includes the following steps:
  • Step 201 It is detected that the number of touch points of the current user touching the multi-touch screen is N.
  • the terminal When a user touches the multi-touch screen of the terminal with a finger to perform identity authentication, the terminal needs to first detect the number of touch points of the current user touching the multi-touch screen, and if the number of touch points of the current user touching the multi-touch screen is N, When the current touch is a valid touch, the terminal needs to perform subsequent steps to further determine whether the current user is a legitimate user.
  • the N is preset by the legal user, and the value ranges from 2, 3, 4, and 5.
  • the N value can be arbitrarily set by a legitimate user.
  • the screen of the mobile phone is: 4-6 inches, and the corresponding screen width is about 50-70mm. This width is lower than the width of the palm of most adults, but larger than the width of the other four fingers except the thumb. Therefore, for a screen size such as a mobile phone, the other four fingers except the thumb can be used for authentication, and the legitimate user can set the number of fingers touching the multi-touch screen to four. Of course, it does not have to be 4 fingers.
  • the relative position information of the 5 finger ends can be used as the unlocked password, which can further improve the security. At this time, the legitimate user can touch more.
  • the number of fingers on the touch screen is set to 5.
  • the central 3 fingers other than the thumb and the little finger can be used for authentication to match the size of the small screen. At this time, the legitimate user can set the number of fingers touching the multi-touch screen to three.
  • step 202 is needed to further authenticate whether the user is a legitimate user.
  • Step 202 Obtain location information of N touch points.
  • the position information described herein is position coordinates, that is, the position information of the N touch points refers to the position coordinates of the N touch points on the multi-touch screen.
  • the terminal obtains the location information of the N touch points.
  • the terminal can detect that the number of touch points touched by the user on the multi-touch screen is four, indicating that the current user may be legal. In this case, the position coordinates of the four touch points need to be acquired, which can be recorded as (x0, y0), (x1, y1), (x2, y2), (x3, y3).
  • Step 203 Calculate relative position information of the N touch points according to the position information of the N touch points.
  • the legal user's finger and the multi-touch screen are not fixed each time the user authenticates the user identity.
  • the legal user's finger may be as shown in the left figure of FIG. 3 during a certain authentication.
  • the finger of the legitimate user may be located at the lower position of the multi-touch screen as shown in the right figure of FIG. 3 in the next authentication; therefore, N touch points cannot be used in the above
  • the position coordinates on the touch screen are used as a basis for authentication.
  • the terminal can use the relative coordinates of the N touch points as a reference for authentication.
  • the relative coordinates are used as the relative position information of the N touch points.
  • the reference coordinate points may not be specified, but the coordinate difference of the adjacent touch points may be used as the relative coordinates. Calculating a coordinate difference between N-1 pairs of adjacent touch points among the N touch points, and obtaining N-1 relative coordinates as relative position information of the N touch points.
  • the position coordinates of the four touch points formed by touching the multi-touch screen at the end of the four fingers are from left to right, and are respectively recorded as (x0, y0) (x1, y1) (x2, y2) (x3, y3).
  • the above three relative coordinates are used as relative position information of the N touch points.
  • Step 204 Calculate an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user.
  • step 204 is specifically: calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the first palm of the pre-stored legal user;
  • the first palm can be the left palm of a legitimate user or the right palm.
  • the terminal Before performing the user identity authentication process, the terminal needs to pre-store the relative location information of the N finger ends of the legal user, and the terminal may collect the location information of the N finger ends of the multi-touch screen that the legitimate user touches;
  • the method calculates the coordinate difference between N-1 pairs of adjacent finger ends of N fingers of the legal user according to the position information of the N finger ends of the legal user, and obtains N-1 N end ends of the legal user. Relative coordinates; pre-store N-1 relative coordinates of N finger ends of the legitimate user.
  • the terminal After obtaining the relative position information of the N touch points of the current user, the terminal performs error calculation on the relative position information of the N touch points of the pre-stored legitimate users. Can choose mathematics Some commonly used error processing methods, such as the most common root mean square error, variance, and so on.
  • the relative position information is the following three relative coordinates (xar1, yar1); (xar2, yar2); (xar3, yar3).
  • Step 205 When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
  • the preset error threshold may be predetermined by a statistical method. This value cannot be too large (otherwise it will easily lead to illegal users passing the authentication), and it should not be too small (otherwise it will easily lead to legitimate users not being authenticated). Of course, in the implementation, it can also be set by the user autonomously within a certain range.
  • the current user can be authenticated as a legitimate user.
  • the terminal needs to pre-store the relative position information of the N finger ends of the legal user and the preset error threshold.
  • the terminal may periodically compare the relative position information of the N finger ends of the legal user, and take a mathematical average value corresponding to each coordinate value in the relative position information, and store the relative position information of the N finger ends of the legal user in the terminal. Then, the relative position information of the N finger ends of the legal user formed by the mathematical mean value in the relative position information of the N finger ends of the legal user is calculated multiple times, and the obtained maximum value is used as the preset error threshold. Stored in the terminal.
  • the coordinates of the touch points when the multi-touch screen detected by the multi-touch screen of the terminal touches the multi-touch screen are as follows:
  • the user uses his right hand and touches the multi-touch screen with four fingers in the same posture.
  • the coordinates of the four touch points detected by the multi-touch screen of the terminal are as follows:
  • the error is 7, which is less than the preset error threshold of 20, indicating that it is a legitimate user and is normally unlocked.
  • the error is 94, far beyond the preset error threshold of 20, and is determined to be an illegal user and cannot be unlocked.
  • the user identity authentication is performed by the relative position information of the finger end of the user's hand.
  • the relative position information of the end of the finger of the user's two hands can also be used as the unlocked password, which can further improve the security.
  • the legitimate user needs to set the authentication mode to more than 2 left-hand finger touch multi-touch screens, and more than 2 right-hand fingers touch the multi-touch screen, and the legal user can set the N value to a maximum of 10.
  • the relative position information of the end of the left hand finger of the legitimate user is stored as an original key, and the relative position information of the end of the right hand finger is used as another original key.
  • steps 201-202 are performed.
  • step 203 it is necessary to distinguish the right and left hands of the current user, and according to the position information of the touch point when the multi-touch screen is touched by the end of the left hand finger. Calculating the relative position information of the left-hand touch point, and calculating the relative position information of the right-hand touch point according to the position information of the touch point when the end of the right hand finger touches the multi-touch screen.
  • step 204 it is also necessary to separately calculate an error value between the relative position information of the left-hand touch point and the relative position information of the pre-stored legal user's left-hand finger end, and the relative position information of the right-hand touch point and the pre-stored legal user.
  • the error value between the relative positional information at the end of the right hand finger When both error values are less than the corresponding preset error threshold, the current user is authenticated as a legitimate user.
  • the embodiment of the present invention further provides a user identity authentication device.
  • the device includes: an obtaining unit 501, an authentication unit 502, where
  • the acquiring unit 501 is configured to acquire location information of the N touch points of the current user touching the multi-touch screen;
  • the authentication unit 502 is configured to authenticate, according to the location information of the N touch points acquired by the acquiring unit 501, whether the current user is a legal user; and the N is an integer greater than 1.
  • the authentication unit 502 includes: a calculation subunit 5021 and an authentication subunit 5022;
  • the calculating sub-unit 5021 is configured to calculate relative position information of the N touch points according to the position information of the N touch points acquired by the acquiring unit 501;
  • the authentication subunit 5022 is configured to calculate the N according to the calculating subunit 5021.
  • the authentication sub-unit 5022 is further configured to calculate an error value between the relative position information of the N touch points calculated by the calculating sub-unit 5021 and the relative position information of the N touch points of the pre-stored legal user. When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
  • the calculation unit is further configured to calculate, according to the position coordinates of the N touch points, a coordinate difference between the N-1 pairs of the adjacent touch points. Obtain N-1 relative coordinates;
  • the authentication sub-unit 5022 is further configured to calculate a sum of variances between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
  • the device further includes a storage unit 503, wherein
  • the acquiring unit 501 is configured to collect location information of the N finger ends of the multi-touch screen obtained by the legitimate user;
  • the calculating sub-unit 5021 is further configured to calculate the position information of the N finger ends of the legal user acquired by the acquiring unit 501, and calculate the coordinate difference between the N-1 pairs of the N fingers of the legal user and the adjacent finger ends. Obtaining N-1 relative coordinates of the N finger ends of the legitimate user;
  • the storage unit 503 is configured to pre-store N-1 relative coordinates of the N finger ends of the legal user obtained by the calculation subunit 5021.
  • the obtaining unit 501, the authentication unit 502, and the storage unit 503 may be configured by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate located on the terminal.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGAs field programmable gate
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disks) in one or more of the computer-usable program code embodied therein. A form of computer program product embodied on a memory and optical storage, etc.).
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention obtains the location information of the N touch points when the current user touches the multi-touch screen with a finger, and authenticates whether the current user is a legitimate user according to the location information of the N touch points;
  • the user's finger feature is that the user's N fingers touch the location information on the multi-touch screen as a key for user identity authentication;
  • the embodiment of the invention is implemented based on the technology that the multi-touch screen can simultaneously collect multiple touch points, and the technical threshold is low and the cost is low.
  • the key applied in the method of the embodiment of the present invention is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.

Landscapes

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

Abstract

Disclosed in an embodiment of the present invention is a user identity authentication method. The method comprises: acquiring position information of N touch points on a multi-point touch screen touched by a current user; and authenticating, according to the position information of the N touch points, whether the current user is a valid user, wherein N is an integer greater than 1. Also disclosed in embodiments of the present invention are a user identity authentication device and storage medium.

Description

一种用户身份认证方法及装置、存储介质User identity authentication method and device, storage medium 技术领域Technical field
本发明涉及生物认证技术,尤其涉及一种用户身份认证方法及装置、存储介质。The present invention relates to a biometric authentication technology, and in particular, to a user identity authentication method and apparatus, and a storage medium.
背景技术Background technique
在移动终端上,最早的用户身份认证方法就是密码认证,但密码的输入效率不高,而且存在合法用户遗忘密码的情况,用户体验并不好,从而使得生物认证技术得到了大量的研究。On the mobile terminal, the earliest user authentication method is password authentication, but the password input efficiency is not high, and there are cases where the legitimate user forgets the password, and the user experience is not good, which has led to a lot of research on the biometric authentication technology.
用于移动终端的最主要的生物识别技术就是指纹识别技术,指纹识别技术目前已经成为高端移动终端的标志性配置。指纹识别技术的好处显而易见,相对于传统密码,它不会丢失、难以窃取、无需记忆,极大地方便了用户使用,其主要的缺陷就是成本较高。The most important biometric technology for mobile terminals is fingerprint recognition technology. Fingerprint recognition technology has become the iconic configuration of high-end mobile terminals. The benefits of fingerprint recognition technology are obvious. Compared with the traditional password, it is not lost, difficult to steal, and does not need to be memorized, which greatly facilitates the user's use. The main drawback is that the cost is high.
也有一些低成本的生物识别技术,例如声纹识别、虹膜识别、面部识别等,但声纹对环境要求很高,而且容易被他人通过录音窃取;虹膜识别和面部识别对图像采集的姿势要求很高同样难以使用。这些技术在安全性和易用性上,都相对于指纹识别有很大的差距,并未得到广泛的使用,只是作为一些噱头进行了宣传。There are also some low-cost biometric technologies, such as voiceprint recognition, iris recognition, facial recognition, etc., but the voiceprint is very environmentally demanding and easy to be stolen by others; iris recognition and facial recognition require very good image capture. High is also difficult to use. These technologies have a large gap in security and ease of use relative to fingerprint recognition, and have not been widely used, but have been promoted as some gimmicks.
由于技术门槛高,成本居高不下,指纹识别并未在移动终端上进行大规模的推广使用。为了提高安全性,目前移动终端上比较常见的用户身份认证方法还是密码认证,这使得用户不得不记忆一些数字或者图案密码来进行身份认证,不但用起来不方便,万一遗忘密码,往往会很麻烦。 Due to the high technical threshold and high cost, fingerprint recognition has not been widely used on mobile terminals. In order to improve security, the more common user identity authentication method on mobile terminals is still password authentication, which makes the user have to remember some digital or pattern passwords for identity authentication, which is not only inconvenient to use, but often forgetting the password. trouble.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种用户身份认证方法及装置、存储介质,可以达到安全易用且成本低的效果。In view of this, the embodiments of the present invention are expected to provide a user identity authentication method and apparatus, and a storage medium, which can achieve the effects of being safe, easy to use, and low in cost.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种用户身份认证方法,所述方法包括:An embodiment of the present invention provides a user identity authentication method, where the method includes:
获取当前用户触摸多点触摸屏的N个触摸点的位置信息;Obtaining location information of the N touch points of the current user touching the multi-touch screen;
根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;所述N为大于1的整数。And determining, according to the location information of the N touch points, whether the current user is a legal user; the N is an integer greater than 1.
上述方案中,所述根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;包括:In the foregoing solution, the determining, according to the location information of the N touch points, whether the current user is a legitimate user, includes:
根据所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息;Calculating relative position information of the N touch points according to position information of the N touch points;
根据所述N个触摸点的相对位置信息,认证当前用户是否为合法用户。And determining whether the current user is a legitimate user according to the relative location information of the N touch points.
上述方案中,所述根据所述N个触摸点的相对位置信息,认证当前用户是否为合法用户,包括:In the above solution, the determining whether the current user is a legitimate user according to the relative location information of the N touch points includes:
计算所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值;Calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user;
在所述误差值小于预设误差阈值时,认证当前用户为合法用户。When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
上述方案中,所述位置信息为位置坐标,则,所述根据所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息,包括:In the above solution, the location information is the location coordinate, and the calculating, according to the location information of the N touch points, the relative location information of the N touch points, including:
根据所述N个触摸点的位置坐标,计算所述N个触摸点中N-1对相邻触摸点的坐标差,获得N-1个相对坐标;Calculating a coordinate difference between N-1 pairs of adjacent touch points among the N touch points according to position coordinates of the N touch points, and obtaining N-1 relative coordinates;
所述计算所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值,包括:The calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user includes:
对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的 N-1个相对坐标之间的方差和。Corresponding to calculate the N-1 relative coordinates and the N finger ends of the pre-stored legitimate users The sum of the variances between N-1 relative coordinates.
上述方案中,所述在获取当前用户触摸多点触摸屏的N个触摸点的位置信息之前,所述方法还包括:In the above solution, before the obtaining the location information of the N touch points of the current user touching the multi-touch screen, the method further includes:
采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;Collecting location information of N finger ends of a multi-touch screen obtained by a legitimate user;
根据所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;Calculating, according to the location information of the N finger ends of the legal user, a coordinate difference between N-1 pairs of adjacent finger ends of the N fingers of the legal user, and obtaining N-1 relative coordinates of N finger ends of the legal user;
预存储所述合法用户的N个手指末端的N-1个相对坐标。The N-1 relative coordinates of the N finger ends of the legitimate user are pre-stored.
本发明实施例还提供了一种用户身份认证装置,所述装置包括:The embodiment of the invention further provides a user identity authentication device, the device comprising:
获取单元,配置为获取当前用户触摸多点触摸屏的N个触摸点的位置信息;The acquiring unit is configured to acquire location information of the N touch points of the current user touching the multi-touch screen;
认证单元,配置为根据所述获取单元获取的所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;所述N为大于1的整数。The authentication unit is configured to authenticate, according to the location information of the N touch points acquired by the acquiring unit, whether the current user is a legal user; the N is an integer greater than 1.
上述方案中,所述认证单元包括:计算子单元和认证子单元;其中,In the above solution, the authentication unit includes: a calculation subunit and an authentication subunit; wherein
所述计算子单元,配置为根据所述获取单元获取的所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息;The calculating subunit is configured to calculate relative position information of the N touch points according to the position information of the N touch points acquired by the acquiring unit;
所述认证子单元,配置为根据所述计算子单元计算的所述N个触摸点的相对位置信息,认证当前用户是否为合法用户。The authentication subunit is configured to authenticate whether the current user is a legitimate user according to the relative location information of the N touch points calculated by the computing subunit.
上述方案中,所述认证子单元,还配置为计算所述计算子单元计算获得的所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值;在所述误差值小于预设误差阈值时,认证当前用户为合法用户。In the above solution, the authentication subunit is further configured to calculate, between the relative position information of the N touch points calculated by the calculating subunit and the relative position information of the N finger ends of the pre-stored legal user. The error value; when the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
上述方案中,所述位置信息为位置坐标,则,所述计算子单元,还配置为根据所述N个触摸点的位置坐标,计算所述N个触摸点中N-1对相邻触摸点的坐标差,获得N-1个相对坐标; In the above solution, the location information is location coordinates, and the calculation subunit is further configured to calculate N-1 pairs of adjacent touch points among the N touch points according to location coordinates of the N touch points. The coordinate difference, obtaining N-1 relative coordinates;
所述认证子单元,还配置为对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的N-1个相对坐标之间的方差和。The authentication subunit is further configured to calculate a sum of variances between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
上述方案中,所述装置还包括存储单元,其中,In the above solution, the device further includes a storage unit, wherein
所述获取单元,配置为采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;The acquiring unit is configured to collect location information of the N finger ends of the multi-touch screen obtained by the legal user;
所述计算子单元,还配置为将所述获取单元获取的所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;The calculating sub-unit is further configured to calculate location information of the N finger ends of the legal user acquired by the acquiring unit, and calculate a coordinate difference between N-1 pairs of adjacent finger ends of N fingers of the legal user, and obtain N-1 relative coordinates of the N finger ends of the legitimate user;
存储单元,配置为预存储所述计算子单元计算获得的所述合法用户的N个手指末端的N-1个相对坐标。And a storage unit configured to pre-store N-1 relative coordinates of the N finger ends of the legal user obtained by the calculation subunit calculation.
本发明实施例所述的用户身份认证方法及装置、存储介质,通过获取当前用户用手指触摸多点触摸屏时的N个触摸点的位置信息,根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;这样,实现了利用用户的手指特征即用户的N根手指触摸到多点触摸屏上的位置信息作为密钥来进行用户身份认证的目的;与现有的指纹识别技术相比,本发明实施例是基于多点触摸屏可以同时采集多个触摸点的技术来实现,技术门槛低、成本低。且本发明实施例方法中应用的密钥不容易被他人窃取,也不需要用户来记忆,安全易用。The user identity authentication method and device and the storage medium according to the embodiment of the present invention obtain the location information of the N touch points when the current user touches the multi-touch screen with a finger, and according to the location information of the N touch points, the authentication office Whether the current user is a legitimate user; thus, the purpose of using the user's finger feature, that is, the user's N fingers touch the location information on the multi-touch screen as a key for user identity authentication; and the existing fingerprint recognition technology In contrast, the embodiment of the present invention is implemented based on a technology that a multi-touch screen can simultaneously collect multiple touch points, and has a low technical threshold and low cost. Moreover, the key applied in the method of the embodiment of the present invention is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.
附图说明DRAWINGS
图1为本发明实施例1提供的一种用户身份认证方法流程示意图;1 is a schematic flowchart of a user identity authentication method according to Embodiment 1 of the present invention;
图2为本发明实施例2提供的一种用户身份认证方法流程示意图;2 is a schematic flowchart of a user identity authentication method according to Embodiment 2 of the present invention;
图3为本发明实施例2提供的用户通过手指触摸多点触摸屏的示意图;3 is a schematic diagram of a user touching a multi-touch screen by a finger according to Embodiment 2 of the present invention;
图4为本发明实施例2提供的用户通过手指触摸多点触摸屏的示意图;4 is a schematic diagram of a user touching a multi-touch screen by a finger according to Embodiment 2 of the present invention;
图5为本发明实施例3提供的一种用户身份认证装置的结构框图。 FIG. 5 is a structural block diagram of a user identity authentication apparatus according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
本发明实施例提供了一种用户身份认证方法,如图1所示,本实施例方法的处理流程包括以下步骤:The embodiment of the present invention provides a user identity authentication method. As shown in FIG. 1 , the processing procedure of the method in this embodiment includes the following steps:
步骤101、获取当前用户触摸多点触摸屏的N个触摸点的位置信息。Step 101: Acquire location information of the N touch points of the current user touching the multi-touch screen.
本实施例方法是将用户的手指特征作为密钥来进行用户身份识别的,人的5根手指长度参差不齐,而且个体差异明显。例如:有的人中指很短但无名指长,有的人中指长但小拇指特别短。终端可以通过对这些手指数据进行对比分析认证用户是否为合法用户。而且目前的智能终端上,多点触摸屏已经是基准配置,利用多点触摸屏可以采集到用户触摸多点触摸屏的多个手指末端的位置,进而能够方便地进行用户身份认证。In the method of the embodiment, the user's finger feature is used as a key to identify the user, and the length of the five fingers of the person is uneven, and the individual differences are obvious. For example, some people have a short middle finger but a long nameless finger. Some people have a middle finger but a small thumb. The terminal can compare and analyze the finger data to verify whether the user is a legitimate user. Moreover, on the current smart terminal, the multi-touch screen is already a reference configuration, and the multi-touch screen can be used to collect the position of the plurality of finger ends of the user touching the multi-touch screen, thereby facilitating user identity authentication.
合法用户可以设置为用左手或右手的2根、3根、4根或5根手指在某一特定手势(例如手指并拢并伸直)下,同时触摸终端的多点触摸屏来进行身份认证。当合法用户需要做身份认证时就可以在某一特定的手势下,用N个手指接触终端的多点触摸屏,所述N为合法用户预设的,取值范围可以为2-5。A legitimate user can be set to use 2, 3, 4, or 5 fingers of the left or right hand under a certain gesture (eg, fingers close together and straighten) while touching the multi-touch screen of the terminal for identity authentication. When a legitimate user needs to perform identity authentication, the user can contact the multi-touch screen of the terminal with a N finger under a certain gesture. The N is preset by the legal user, and the value ranges from 2 to 5.
当有用户需要做身份认证时(例如用于屏幕解锁或电子支付),可以用多根手指触摸终端的多点触摸屏,终端可以先检测当前用户触摸多点触摸屏的触摸点个数,若检测到有N个触摸点时,则表明当前用户可能是合法的,需要获取这N个触摸点的位置信息来进一步确定用户是否是合法的。若检测到触摸点个数不是N时,则表明当前触摸是不合法的,用户身份认证失败。当终端获取到当前用户触摸多点触摸屏的N个触摸点的位置信息后就进行步骤102。When a user needs to perform identity authentication (for example, for screen unlocking or electronic payment), the multi-touch screen of the terminal can be touched by multiple fingers, and the terminal can first detect the number of touch points of the current user touching the multi-touch screen, if detected, When there are N touch points, it indicates that the current user may be legal, and the location information of the N touch points needs to be obtained to further determine whether the user is legitimate. If it is detected that the number of touch points is not N, it indicates that the current touch is illegal, and the user identity authentication fails. When the terminal acquires the location information of the N touch points of the current user touching the multi-touch screen, the process proceeds to step 102.
步骤102、根据所述N个触摸点的位置信息,认证所述当前用户是否 为合法用户。Step 102: Authenticate, according to location information of the N touch points, whether the current user is authenticated For legitimate users.
人的手掌形态各异,在某一特定的手势下(例如并拢并伸直),同一个用户同一手的手指末端的相对位置是保持稳定的。即同一个用户在某一特定手势下,其左手食指、中指、无名指和小拇指的末端位置相对于大拇指的末端位置是一定的。本实施例方法就是基于这个原理来进行用户身份认证的。The shape of the palm of a person is different. Under a certain gesture (for example, close and straight), the relative position of the end of the finger of the same user is stable. That is, the end position of the left index finger, the middle finger, the ring finger and the little finger of the same user under a certain gesture is constant with respect to the end position of the thumb. The method of this embodiment is based on this principle for user identity authentication.
本实施例方法可以利用多点触摸屏,预先采集获得合法用户N个手指末端的相对位置信息,作为原始秘钥储存下来。然后在获取到当前用户触摸所述多点触摸屏的N个触摸点的位置信息后,根据获取的所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息,并将N个触摸点的相对位置信息与原始秘钥进行比较,两者之间的误差值小于预设误差值时,则认证该用户为合法用户。The method of the embodiment can use the multi-touch screen to pre-acquire the relative position information of the N finger ends of the legal user, and store the information as the original key. Then, after obtaining the location information of the N touch points of the multi-touch screen, the relative position information of the N touch points is calculated according to the acquired position information of the N touch points, and N touches are obtained. The relative position information of the point is compared with the original key, and when the error value between the two is less than the preset error value, the user is authenticated as a legitimate user.
上述预设误差值,不能太大也不能太小。如果设置的太大,则容易让非法用户冒充合法用户通过认证;如果设置的太小,则容易导致合法用户因手指的姿态误差而无法通过认证。为了方便使用,该预设误差值还可以由用户在一定范围内自由设置。The above preset error value cannot be too large or too small. If the setting is too large, it is easy for an illegal user to impersonate a legitimate user to pass the authentication; if the setting is too small, it is easy for the legitimate user to fail the authentication due to the gesture error of the finger. For convenience of use, the preset error value can also be freely set by the user within a certain range.
本实施例方法利用用户的手指特征来作为密钥进行用户身份认证,相对于指纹识别技术,本实施例方法是基于多点触摸屏可以同时采集多个触摸点的技术来实现的,技术门槛低,成本低。且本实施例方法中应用的密钥不容易被他人窃取,也不需要用户来记忆,安全易用。The method of the embodiment uses the user's finger feature as a key to perform user identity authentication. Compared with the fingerprint recognition technology, the method in this embodiment is implemented based on a technology that a multi-touch screen can simultaneously collect multiple touch points, and the technical threshold is low. low cost. Moreover, the key applied in the method of the embodiment is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.
本发明实施例还提出一种计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行图1所示的用户身份认证方法。The embodiment of the invention further provides a computer readable storage medium, the storage medium comprising a set of instructions for executing the user identity authentication method shown in FIG.
实施例2、Example 2
本发明实施例提供了一种用户身份认证方法,如图2所示,本实施例方法的处理流程包括以下步骤: The embodiment of the present invention provides a user identity authentication method. As shown in FIG. 2, the processing procedure of the method in this embodiment includes the following steps:
步骤201、检测到当前用户触摸多点触摸屏的触摸点个数为N。Step 201: It is detected that the number of touch points of the current user touching the multi-touch screen is N.
当有用户用手指触摸终端的多点触摸屏来进行身份认证时,终端需要先检测当前用户触摸多点触摸屏的触摸点个数,若检测到当前用户触摸多点触摸屏的触摸点个数为N个时,表明当前触摸为有效触摸,终端需要进行后续步骤进一步判断当前用户是否为合法用户。所述N为合法用户预设的,取值范围可以是2、3、4、5。所述N值可以由合法用户任意设置。When a user touches the multi-touch screen of the terminal with a finger to perform identity authentication, the terminal needs to first detect the number of touch points of the current user touching the multi-touch screen, and if the number of touch points of the current user touching the multi-touch screen is N, When the current touch is a valid touch, the terminal needs to perform subsequent steps to further determine whether the current user is a legitimate user. The N is preset by the legal user, and the value ranges from 2, 3, 4, and 5. The N value can be arbitrarily set by a legitimate user.
通常手机的屏幕在:4-6寸,对应的屏幕宽度大约是50~70mm。这个宽度低于大多数成年人的手掌宽度,但大于除去大拇指外其余四指并拢的宽度。因此,对于手机这样的屏幕尺寸,可以使用除大拇指外其余四指做认证,此时合法用户可以将触摸多点触摸屏的手指个数设置为4个。当然,也不一定必须是4个手指,在平板电脑等大屏幕设备上,可以使用5个手指末端的相对位置信息作为解锁的密码,能进一步的提高安全性,此时合法用户可以将触摸多点触摸屏的手指个数设置为5个。而在小屏幕设备上,可以使用除去大拇指和小拇指之外的中央3个手指做认证,以匹配小屏幕的尺寸,此时合法用户可以将触摸多点触摸屏的手指个数设置为3个。Usually the screen of the mobile phone is: 4-6 inches, and the corresponding screen width is about 50-70mm. This width is lower than the width of the palm of most adults, but larger than the width of the other four fingers except the thumb. Therefore, for a screen size such as a mobile phone, the other four fingers except the thumb can be used for authentication, and the legitimate user can set the number of fingers touching the multi-touch screen to four. Of course, it does not have to be 4 fingers. On a large-screen device such as a tablet computer, the relative position information of the 5 finger ends can be used as the unlocked password, which can further improve the security. At this time, the legitimate user can touch more. The number of fingers on the touch screen is set to 5. On a small screen device, the central 3 fingers other than the thumb and the little finger can be used for authentication to match the size of the small screen. At this time, the legitimate user can set the number of fingers touching the multi-touch screen to three.
假设合法用户预设的N值为4,检测到当前用户触摸多点触摸屏的触摸点个数为5个,则表明当前用户是不合法的,用户身份认证失败,用户身份认证流程结束。若检测到当前用户触摸多点触摸屏的触摸点个数是4个时,则表明当前用户可能是合法的,需要进行步骤202来进一步认证用户是否为合法用户。Assume that the N value of the legal user is 4, and the number of touch points of the current user touching the multi-touch screen is 5, indicating that the current user is illegal, the user identity authentication fails, and the user identity authentication process ends. If it is detected that the number of touch points of the current user touching the multi-touch screen is four, it indicates that the current user may be legal, and step 202 is needed to further authenticate whether the user is a legitimate user.
步骤202、获取N个触摸点的位置信息。Step 202: Obtain location information of N touch points.
这里所述的位置信息为位置坐标,即N个触摸点的位置信息是指这N个触摸点在所述多点触摸屏上的位置坐标。N根手指触摸多点触摸屏,所述终端就获得N个触摸点的位置信息。The position information described herein is position coordinates, that is, the position information of the N touch points refers to the position coordinates of the N touch points on the multi-touch screen. When the N fingers touch the multi-touch screen, the terminal obtains the location information of the N touch points.
若所述N为4,当前用户用4个手指触碰终端的多点触摸屏来进行用 户认证,在步骤201中终端可以检测到用户触摸多点触摸屏的触摸点个数是4个,表明当前用户可能是合法的,这时就需要获取这4个触摸点的位置坐标,可以记为(x0,y0)、(x1,y1)、(x2,y2)、(x3,y3)。If the N is 4, the current user touches the multi-touch screen of the terminal with 4 fingers for use. User authentication, in step 201, the terminal can detect that the number of touch points touched by the user on the multi-touch screen is four, indicating that the current user may be legal. In this case, the position coordinates of the four touch points need to be acquired, which can be recorded as (x0, y0), (x1, y1), (x2, y2), (x3, y3).
步骤203、根据所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息。Step 203: Calculate relative position information of the N touch points according to the position information of the N touch points.
如图3所示,由于合法用户每次进行用户身份认证时,合法用户的手指跟多点触摸屏的相对位置并不固定,如某次认证时合法用户的手指可能如图3中左图所示,在多点触摸屏靠上的位置,而下一次认证时合法用户的手指可能如图3中右图所示,在多点触摸屏靠下的位置;故并不能用N个触摸点在所述多点触摸屏上的位置坐标作为认证的基准。在本实施例方法中终端可以使用所述N个触摸点的相对坐标作为认证的基准。As shown in FIG. 3, the legal user's finger and the multi-touch screen are not fixed each time the user authenticates the user identity. For example, the legal user's finger may be as shown in the left figure of FIG. 3 during a certain authentication. In the position of the multi-touch screen, the finger of the legitimate user may be located at the lower position of the multi-touch screen as shown in the right figure of FIG. 3 in the next authentication; therefore, N touch points cannot be used in the above The position coordinates on the touch screen are used as a basis for authentication. In the method of the embodiment, the terminal can use the relative coordinates of the N touch points as a reference for authentication.
可选的,终端可以选择最左侧的触摸点所在的坐标点作为参考坐标点,计算其他N-1=3个触摸点的位置坐标相对于参考坐标点的坐标差,获得N-1=3个相对坐标,将这3个相对坐标作为N个触摸点的相对位置信息。Optionally, the terminal may select a coordinate point where the leftmost touch point is located as a reference coordinate point, and calculate a coordinate difference between the position coordinates of the other N-1=3 touch points relative to the reference coordinate point, and obtain N-1=3. The relative coordinates are used as the relative position information of the N touch points.
当然,为了避免个别手指的姿态变化对其他手指的相对坐标造成普遍影响,可以不指定参考坐标点,而是用相邻触摸点的坐标差,作为相对坐标。计算所述N个触摸点中N-1对相邻触摸点的坐标差,获得N-1个相对坐标作为所述N个触摸点的相对位置信息。Of course, in order to avoid the influence of the change of the posture of the individual fingers on the relative coordinates of the other fingers, the reference coordinate points may not be specified, but the coordinate difference of the adjacent touch points may be used as the relative coordinates. Calculating a coordinate difference between N-1 pairs of adjacent touch points among the N touch points, and obtaining N-1 relative coordinates as relative position information of the N touch points.
如附图4,合法用户在进行身份认证时,可以按照合法用户自己设定的特定姿势:四指伸直并拢,手指末端指向屏幕上端(当然合法用户还可以设置收之末端指向屏幕左侧或右侧,在此并不做限定),以手掌跟屏幕表面接***行的角度,用指腹接触屏幕。此时,终端的多点触摸屏会获取到四个指端的坐标位置,图4中用四个“+”号表示具体的接触点。4个手指末端触摸多点触摸屏形成的4个触摸点的位置坐标从左到右,分别记为(x0,y0)(x1,y1)(x2,y2)(x3,y3)。用N-1=3对相邻触摸点的坐标差作为3 个相对坐标,则第1相对坐标(xr1=x1-x0,yr1=y1-y0);第2相对坐标(xr2=x2-x1,yr2=y2-y1);第3相对坐标(xr3=x3-x2,yr3=y3-y2)。As shown in Figure 4, when a legitimate user authenticates, he or she can follow a specific posture set by the legitimate user: the four fingers are straight and close together, and the end of the finger points to the upper end of the screen (of course, the legitimate user can also set the end of the end to point to the left side of the screen or Right side, not limited here), with the palm of the hand at a nearly parallel angle to the screen surface, touch the screen with the fingertips. At this time, the multi-touch screen of the terminal acquires the coordinate positions of the four finger ends, and four "+" numbers in FIG. 4 indicate the specific contact points. The position coordinates of the four touch points formed by touching the multi-touch screen at the end of the four fingers are from left to right, and are respectively recorded as (x0, y0) (x1, y1) (x2, y2) (x3, y3). Use N-1=3 to coordinate the difference between adjacent touch points as 3 Relative coordinates, then the first relative coordinate (xr1=x1-x0, yr1=y1-y0); the second relative coordinate (xr2=x2-x1, yr2=y2-y1); the third relative coordinate (xr3=x3- X2, yr3=y3-y2).
上述的3个相对坐标就作为所述N个触摸点的相对位置信息。The above three relative coordinates are used as relative position information of the N touch points.
步骤204、计算所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值。Step 204: Calculate an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user.
在一实施方式中,步骤204具体为:计算所述N个触摸点的相对位置信息与预存储的合法用户的第一手掌的N个手指末端的相对位置信息之间的误差值;这里,所述第一手掌可以是合法用户的左手掌,也可以是右手掌。In an embodiment, step 204 is specifically: calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the first palm of the pre-stored legal user; The first palm can be the left palm of a legitimate user or the right palm.
在进行用户身份认证流程之前,终端中需要预存储有合法用户的N个手指末端的相对位置信息,终端可以采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;按照步骤203中所述的方法根据所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;预存储所述合法用户的N个手指末端的N-1个相对坐标。Before performing the user identity authentication process, the terminal needs to pre-store the relative location information of the N finger ends of the legal user, and the terminal may collect the location information of the N finger ends of the multi-touch screen that the legitimate user touches; The method calculates the coordinate difference between N-1 pairs of adjacent finger ends of N fingers of the legal user according to the position information of the N finger ends of the legal user, and obtains N-1 N end ends of the legal user. Relative coordinates; pre-store N-1 relative coordinates of N finger ends of the legitimate user.
在这里需要说明的是,由于在身份认证的过程中需要当前用户的所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息进行比较,故当前用户的所述N个触摸点的相对位置信息的计算过程与预存储的合法用户的N个手指末端的相对位置信息的计算过程必须是一致的。It should be noted here that since the relative location information of the N touch points of the current user needs to be compared with the relative location information of the N finger ends of the pre-stored legitimate users in the process of identity authentication, the current user's The calculation process of the relative position information of the N touch points must be consistent with the calculation process of the relative position information of the N finger ends of the pre-stored legal user.
只要是同一个用户的同一个手在相同的手势下,即使合法用户手指接触到多点触摸屏的位置不同,但经过同一计算规则计算后的相对位置坐标,差异很小。As long as the same hand of the same user is in the same gesture, even if the position of the legitimate user's finger touching the multi-touch screen is different, the relative position coordinates calculated by the same calculation rule have little difference.
终端获得到当前用户的N个触摸点的相对位置信息后,就会与预存储的合法用户的N个触摸点的相对位置信息进行误差计算。可以选择数学上 常用的一些误差处理方法,如最常见的均方根误差、方差等。After obtaining the relative position information of the N touch points of the current user, the terminal performs error calculation on the relative position information of the N touch points of the pre-stored legitimate users. Can choose mathematics Some commonly used error processing methods, such as the most common root mean square error, variance, and so on.
假设终端中预存储的合法用户的N个手指末端的相对位置信息为以下3个相对坐标(xr1,yr1);(xr2,yr2);(xr3,yr3),当前用户的N=4个触摸点的相对位置信息为以下3个相对坐标(xar1,yar1);(xar2,yar2);(xar3,yar3)。则对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的N-1个相对坐标之间的方差和:Assume that the relative position information of the N finger ends of the legal users pre-stored in the terminal is the following three relative coordinates (xr1, yr1); (xr2, yr2); (xr3, yr3), and the current user's N=4 touch points. The relative position information is the following three relative coordinates (xar1, yar1); (xar2, yar2); (xar3, yar3). Corresponding to calculating the variance between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users:
ERROR(a)=(xr1-xar1)2+(yr1+yar1)2 ERROR(a)=(xr1-xar1) 2 +(yr1+yar1) 2
          +(xr2-xar2)2+(yr2-yar2)2 +(xr2-xar2) 2 +(yr2-yar2) 2
          +(xr3-xar3)2+(yr3-yar3)2 +(xr3-xar3) 2 +(yr3-yar3) 2
步骤205、在所述误差值小于预设误差阈值时,认证当前用户为合法用户。Step 205: When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
所述预设误差阈值可以通过统计的方法预先确定。这个值不能太大(否则容易导致非法用户通过认证),也不能太小(否则容易导致合法用户不能通过认证)。当然,在实施中,也可以在一定的范围内,由用户自主设置。The preset error threshold may be predetermined by a statistical method. This value cannot be too large (otherwise it will easily lead to illegal users passing the authentication), and it should not be too small (otherwise it will easily lead to legitimate users not being authenticated). Of course, in the implementation, it can also be set by the user autonomously within a certain range.
在所述误差值小于预设误差阈值时,就可以认证当前用户为合法用户。When the error value is less than the preset error threshold, the current user can be authenticated as a legitimate user.
在本实施例方法中,终端需要预存储有合法用户的N个手指末端的相对位置信息以及预设误差阈值。在这里,终端可以多次统计合法用户的N个手指末端的相对位置信息,对应相对位置信息中的每个坐标值取数学平均值,作为合法用户的N个手指末端的相对位置信息存储在终端中,然后,将多次统计合法用户的N个手指末端的相对位置信息中与数学平均值构成的合法用户的N个手指末端的相对位置信息进行误差计算,获得的最大值作为预设误差阈值存储在终端中。In the method of this embodiment, the terminal needs to pre-store the relative position information of the N finger ends of the legal user and the preset error threshold. Here, the terminal may periodically compare the relative position information of the N finger ends of the legal user, and take a mathematical average value corresponding to each coordinate value in the relative position information, and store the relative position information of the N finger ends of the legal user in the terminal. Then, the relative position information of the N finger ends of the legal user formed by the mathematical mean value in the relative position information of the N finger ends of the legal user is calculated multiple times, and the obtained maximum value is used as the preset error threshold. Stored in the terminal.
以下为本实施例方法的应用实例:The following is an application example of the method of the embodiment:
假设终端的合法用户为用户甲用自己右手的4个手指(除大拇指外),伸直并朝向屏幕顶端,触摸多点触摸屏。终端的多点触摸屏检测到的4个手指末端触摸多点触摸屏时的触摸点的坐标如下: Assume that the legitimate user of the terminal uses the four fingers of his right hand (except the thumb), straightens and faces the top of the screen, and touches the multi-touch screen. The coordinates of the touch points when the multi-touch screen detected by the multi-touch screen of the terminal touches the multi-touch screen are as follows:
A0=(10,87)、A1=(31,69)、A2=(46,74)、A3=(60,99)A0=(10,87), A1=(31,69), A2=(46,74), A3=(60,99)
经过换算后,得到的3个相对坐标如下:After conversion, the three relative coordinates obtained are as follows:
AR1=(21,-18)、AR2=(15,5)、AR3=(14,25)AR1=(21,-18), AR2=(15,5), AR3=(14,25)
上述的AR1,AR2,AR3的3对坐标值,作为原始密钥被储存在终端中。用户甲自己设定预设误差阈值为20。The above three pairs of coordinate values of AR1, AR2, and AR3 are stored as original keys in the terminal. User A sets the preset error threshold to 20 by itself.
在用户解锁过程中,用户甲用自己的右手,同样的姿态下,用4根手指触摸多点触摸屏,终端的多点触摸屏检测到的4个触摸点的坐标如下:During the user unlocking process, the user uses his right hand and touches the multi-touch screen with four fingers in the same posture. The coordinates of the four touch points detected by the multi-touch screen of the terminal are as follows:
B0=(15,65)、B1=(37,47)、B2=(52,53)、B3=(67,76)B0=(15,65), B1=(37,47), B2=(52,53), B3=(67,76)
经过换算后,得到的3个相对坐标如下:After conversion, the three relative coordinates obtained are as follows:
BR1=(22,-18)、BR2=(15,6)、BR3=(15,23)BR1=(22,-18), BR2=(15,6),BR3=(15,23)
计算上述的AR和BR这三对坐标误差的平方之和为:Calculate the sum of the squares of the three pairs of coordinate errors of AR and BR described above as:
ERROR(B)=(22-21)2+(-18+18)2+(15-15)2+(6-5)2+(15-14)2+(23-25)2=7ERROR(B)=(22-21) 2 +(-18+18) 2 +(15-15) 2 +(6-5) 2 +(15-14) 2 +(23-25) 2 =7
误差为7,小于预设误差阈值20,说明是合法用户,正常解锁。The error is 7, which is less than the preset error threshold of 20, indicating that it is a legitimate user and is normally unlocked.
如遇到某非法用户乙,尝试用自己的右手4指触摸进行解锁,采集到的四个位置坐标为:If you encounter an illegal user B, try to unlock with your right hand 4 finger touch. The coordinates of the four positions collected are:
C0=(20,67)、C1=(38,52)、C2=(52,64)、C3=(71,90)C0=(20,67), C1=(38,52), C2=(52,64), C3=(71,90)
经过换算后,得到的3个相对坐标如下:After conversion, the three relative coordinates obtained are as follows:
CR1=(18,-15)、CR2=(14,12)、CR3=(19,26)CR1=(18,-15), CR2=(14,12), CR3=(19,26)
ERROR(C)=(18-21)2+(-15+18)2+(14-15)2+(12-5)2+(19-14)2+(26-25)2=94ERROR(C)=(18-21) 2 +(-15+18) 2 +(14-15) 2 +(12-5) 2 +(19-14) 2 +(26-25) 2 =94
误差为94,远超出了预设的误差阈值20,被判定为非法用户,不能解锁。The error is 94, far beyond the preset error threshold of 20, and is determined to be an illegal user and cannot be unlocked.
本实施例方法是通过用户一只手的手指末端的相对位置信息来进行用户身份认证的。当然,如果终端的多点触摸屏足够大,也可以使用用户两双手的手指末端的相对位置信息作为解锁的密码,这样能进一步的提高安 全性,此时合法用户需要将认证方式设置为2个以上的左手手指触摸多点触摸屏,以及2个以上的右手手指触摸多点触摸屏,合法用户可以将N值设置到最大为10。存储合法用户左手手指末端的相对位置信息作为一个原始密钥,右手手指末端的相对位置信息作为另一个原始密钥。当有用户用手指触摸终端的多点触摸屏来进行身份认证时,进行步骤201-202,在进行步骤203时需要区分当前用户的左右手,根据左手手指末端触摸多点触摸屏时的触摸点的位置信息计算获得左手触摸点的相对位置信息,根据右手手指末端触摸多点触摸屏时的触摸点的位置信息计算获得右手触摸点的相对位置信息。在进行步骤204时也需要分别计算左手触摸点的相对位置信息与预存储的合法用户的左手手指末端的相对位置信息之间的误差值,以及右手触摸点的相对位置信息与预存储的合法用户的右手手指末端的相对位置信息之间的误差值。在这两个误差值都小于对应的预设误差阈值时,认证当前用户为合法用户。In this embodiment, the user identity authentication is performed by the relative position information of the finger end of the user's hand. Of course, if the multi-touch screen of the terminal is large enough, the relative position information of the end of the finger of the user's two hands can also be used as the unlocked password, which can further improve the security. Fullness, at this time, the legitimate user needs to set the authentication mode to more than 2 left-hand finger touch multi-touch screens, and more than 2 right-hand fingers touch the multi-touch screen, and the legal user can set the N value to a maximum of 10. The relative position information of the end of the left hand finger of the legitimate user is stored as an original key, and the relative position information of the end of the right hand finger is used as another original key. When a user touches the multi-touch screen of the terminal with a finger to perform identity authentication, steps 201-202 are performed. When step 203 is performed, it is necessary to distinguish the right and left hands of the current user, and according to the position information of the touch point when the multi-touch screen is touched by the end of the left hand finger. Calculating the relative position information of the left-hand touch point, and calculating the relative position information of the right-hand touch point according to the position information of the touch point when the end of the right hand finger touches the multi-touch screen. When performing step 204, it is also necessary to separately calculate an error value between the relative position information of the left-hand touch point and the relative position information of the pre-stored legal user's left-hand finger end, and the relative position information of the right-hand touch point and the pre-stored legal user. The error value between the relative positional information at the end of the right hand finger. When both error values are less than the corresponding preset error threshold, the current user is authenticated as a legitimate user.
实施例3Example 3
本发明实施例还提供了一种用户身份认证装置,如图5所示,所述装置包括:获取单元501、认证单元502,其中,The embodiment of the present invention further provides a user identity authentication device. As shown in FIG. 5, the device includes: an obtaining unit 501, an authentication unit 502, where
获取单元501,配置为获取当前用户触摸多点触摸屏的N个触摸点的位置信息;The acquiring unit 501 is configured to acquire location information of the N touch points of the current user touching the multi-touch screen;
认证单元502,配置为根据所述获取单元501获取的所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;所述N为大于1的整数。The authentication unit 502 is configured to authenticate, according to the location information of the N touch points acquired by the acquiring unit 501, whether the current user is a legal user; and the N is an integer greater than 1.
如图5所示,所述认证单元502包括:计算子单元5021和认证子单元5022;其中,As shown in FIG. 5, the authentication unit 502 includes: a calculation subunit 5021 and an authentication subunit 5022;
所述计算子单元5021,配置为根据所述获取单元501获取的所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息;The calculating sub-unit 5021 is configured to calculate relative position information of the N touch points according to the position information of the N touch points acquired by the acquiring unit 501;
所述认证子单元5022,配置为根据所述计算子单元5021计算的所述N 个触摸点的相对位置信息,认证当前用户是否为合法用户。The authentication subunit 5022 is configured to calculate the N according to the calculating subunit 5021. The relative position information of the touch points, and whether the current user is a legitimate user.
所述认证子单元5022,还配置为计算所述计算子单元5021计算获得的所述N个触摸点的相对位置信息与预存储的合法用户的N个触摸点的相对位置信息之间的误差值;在所述误差值小于预设误差阈值时,认证当前用户为合法用户。The authentication sub-unit 5022 is further configured to calculate an error value between the relative position information of the N touch points calculated by the calculating sub-unit 5021 and the relative position information of the N touch points of the pre-stored legal user. When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
所述位置信息为位置坐标,则,所述计算子单元5021,还配置为根据所述N个触摸点的位置坐标,计算所述N个手指中N-1对相邻触摸点的坐标差,获得N-1个相对坐标;The calculation unit is further configured to calculate, according to the position coordinates of the N touch points, a coordinate difference between the N-1 pairs of the adjacent touch points. Obtain N-1 relative coordinates;
所述认证子单元5022,还配置为对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的N-1个相对坐标之间的方差和。The authentication sub-unit 5022 is further configured to calculate a sum of variances between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
如图5所示,所述装置还包括存储单元503,其中,As shown in FIG. 5, the device further includes a storage unit 503, wherein
所述获取单元501,配置为采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;The acquiring unit 501 is configured to collect location information of the N finger ends of the multi-touch screen obtained by the legitimate user;
所述计算子单元5021,还配置为将所述获取单元501获取的所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;The calculating sub-unit 5021 is further configured to calculate the position information of the N finger ends of the legal user acquired by the acquiring unit 501, and calculate the coordinate difference between the N-1 pairs of the N fingers of the legal user and the adjacent finger ends. Obtaining N-1 relative coordinates of the N finger ends of the legitimate user;
存储单元503,配置为预存储所述计算子单元5021计算获得的所述合法用户的N个手指末端的N-1个相对坐标。The storage unit 503 is configured to pre-store N-1 relative coordinates of the N finger ends of the legal user obtained by the calculation subunit 5021.
在实际应用中,所述获取单元501、认证单元502、存储单元503可以由位于终端上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等器件实现。In practical applications, the obtaining unit 501, the authentication unit 502, and the storage unit 503 may be configured by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate located on the terminal. Device implementations such as arrays (FPGAs).
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘 存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disks) in one or more of the computer-usable program code embodied therein. A form of computer program product embodied on a memory and optical storage, etc.).
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例通过获取当前用户用手指触摸多点触摸屏时的N个触摸点的位置信息,根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;这样,实现了利用用户的手指特征即用户的N根手指触摸到多点触摸屏上的位置信息作为密钥来进行用户身份认证的目的;与现有的 指纹识别技术相比,本发明实施例是基于多点触摸屏可以同时采集多个触摸点的技术来实现,技术门槛低、成本低。且本发明实施例方法中应用的密钥不容易被他人窃取,也不需要用户来记忆,安全易用。 The embodiment of the present invention obtains the location information of the N touch points when the current user touches the multi-touch screen with a finger, and authenticates whether the current user is a legitimate user according to the location information of the N touch points; The user's finger feature is that the user's N fingers touch the location information on the multi-touch screen as a key for user identity authentication; Compared with the fingerprint recognition technology, the embodiment of the invention is implemented based on the technology that the multi-touch screen can simultaneously collect multiple touch points, and the technical threshold is low and the cost is low. Moreover, the key applied in the method of the embodiment of the present invention is not easily stolen by others, and does not need to be memorized by the user, and is safe and easy to use.

Claims (11)

  1. 一种用户身份认证方法,所述方法包括:A user identity authentication method, the method comprising:
    获取当前用户触摸多点触摸屏的N个触摸点的位置信息;Obtaining location information of the N touch points of the current user touching the multi-touch screen;
    根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;所述N为大于1的整数。And determining, according to the location information of the N touch points, whether the current user is a legal user; the N is an integer greater than 1.
  2. 根据权利要求1所述的方法,其中,所述根据所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;包括:The method according to claim 1, wherein the authenticating the current user as a legitimate user according to the location information of the N touch points comprises:
    根据所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息;Calculating relative position information of the N touch points according to position information of the N touch points;
    根据所述N个触摸点的相对位置信息,认证当前用户是否为合法用户。And determining whether the current user is a legitimate user according to the relative location information of the N touch points.
  3. 根据权利要求2所述的方法,其中,所述根据所述N个触摸点的相对位置信息,认证当前用户是否为合法用户,包括:The method of claim 2, wherein the authenticating the current user as a legitimate user according to the relative location information of the N touch points comprises:
    计算所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值;Calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user;
    在所述误差值小于预设误差阈值时,认证当前用户为合法用户。When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
  4. 根据权利要求3所述的方法,其中,所述位置信息为位置坐标,则,所述根据所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息,包括:The method of claim 3, wherein the location information is location coordinates, and the calculating the relative location information of the N touch points according to the location information of the N touch points comprises:
    根据所述N个触摸点的位置坐标,计算所述N个触摸点中N-1对相邻触摸点的坐标差,获得N-1个相对坐标;Calculating a coordinate difference between N-1 pairs of adjacent touch points among the N touch points according to position coordinates of the N touch points, and obtaining N-1 relative coordinates;
    所述计算所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值,包括:The calculating an error value between the relative position information of the N touch points and the relative position information of the N finger ends of the pre-stored legal user includes:
    对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的N-1个相对坐标之间的方差和。 Corresponding to calculating the variance of the variance between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
  5. 根据权利要求4所述的方法,其中,所述在获取当前用户触摸多点触摸屏的N个触摸点的位置信息之前,所述方法还包括:The method according to claim 4, wherein the method further comprises: before acquiring the location information of the N touch points of the current user touching the multi-touch screen, the method further comprising:
    采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;Collecting location information of N finger ends of a multi-touch screen obtained by a legitimate user;
    根据所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;Calculating, according to the location information of the N finger ends of the legal user, a coordinate difference between N-1 pairs of adjacent finger ends of the N fingers of the legal user, and obtaining N-1 relative coordinates of N finger ends of the legal user;
    预存储所述合法用户的N个手指末端的N-1个相对坐标。The N-1 relative coordinates of the N finger ends of the legitimate user are pre-stored.
  6. 一种用户身份认证装置,所述装置包括:A user identity authentication device, the device comprising:
    获取单元,配置为获取当前用户触摸多点触摸屏的N个触摸点的位置信息;The acquiring unit is configured to acquire location information of the N touch points of the current user touching the multi-touch screen;
    认证单元,配置为根据所述获取单元获取的所述N个触摸点的位置信息,认证所述当前用户是否为合法用户;所述N为大于1的整数。The authentication unit is configured to authenticate, according to the location information of the N touch points acquired by the acquiring unit, whether the current user is a legal user; the N is an integer greater than 1.
  7. 根据权利要求6所述的装置,其中,所述认证单元包括:计算子单元和认证子单元;其中,The apparatus according to claim 6, wherein said authentication unit comprises: a calculation subunit and an authentication subunit; wherein
    所述计算子单元,配置为根据所述获取单元获取的所述N个触摸点的位置信息计算获得N个触摸点的相对位置信息;The calculating subunit is configured to calculate relative position information of the N touch points according to the position information of the N touch points acquired by the acquiring unit;
    所述认证子单元,配置为根据所述计算子单元计算的所述N个触摸点的相对位置信息,认证当前用户是否为合法用户。The authentication subunit is configured to authenticate whether the current user is a legitimate user according to the relative location information of the N touch points calculated by the computing subunit.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述认证子单元,还配置为计算所述计算子单元计算获得的所述N个触摸点的相对位置信息与预存储的合法用户的N个手指末端的相对位置信息之间的误差值;在所述误差值小于预设误差阈值时,认证当前用户为合法用户。The authentication subunit is further configured to calculate an error value between the relative position information of the N touch points calculated by the calculation subunit and the relative position information of the N finger ends of the pre-stored legal user; When the error value is less than the preset error threshold, the current user is authenticated as a legitimate user.
  9. 根据权利要求8所述的装置,其中,所述位置信息为位置坐标,则,所述计算子单元,还配置为根据所述N个触摸点的位置坐标,计算所述N 个触摸点中N-1对相邻触摸点的坐标差,获得N-1个相对坐标;The apparatus according to claim 8, wherein the position information is position coordinates, and the calculating subunit is further configured to calculate the N according to position coordinates of the N touch points. The coordinate difference between the N-1 pairs of adjacent touch points in the touch points, and obtain N-1 relative coordinates;
    所述认证子单元,还配置为对应计算所述N-1个相对坐标与预存储的合法用户的N个手指末端的N-1个相对坐标之间的方差和。The authentication subunit is further configured to calculate a sum of variances between the N-1 relative coordinates and the N-1 relative coordinates of the N finger ends of the pre-stored legitimate users.
  10. 根据权利要求9所述的装置,其中,所述装置还包括存储单元,其中,The apparatus according to claim 9, wherein said apparatus further comprises a storage unit, wherein
    所述获取单元,配置为采集获得合法用户触摸多点触摸屏的N个手指末端的位置信息;The acquiring unit is configured to collect location information of the N finger ends of the multi-touch screen obtained by the legal user;
    所述计算子单元,还配置为将所述获取单元获取的所述合法用户的N个手指末端的位置信息,计算合法用户的N个手指中N-1对相邻手指末端的坐标差,获得合法用户的N个手指末端的N-1个相对坐标;The calculating sub-unit is further configured to calculate location information of the N finger ends of the legal user acquired by the acquiring unit, and calculate a coordinate difference between N-1 pairs of adjacent finger ends of N fingers of the legal user, and obtain N-1 relative coordinates of the N finger ends of the legitimate user;
    存储单元,配置为预存储所述计算子单元计算获得的所述合法用户的N个手指末端的N-1个相对坐标。And a storage unit configured to pre-store N-1 relative coordinates of the N finger ends of the legal user obtained by the calculation subunit calculation.
  11. 一种计算机可读存储介质,该存储介质包括一组指令,所述指令用于执行权利要求1至5任一项所述的用户身份认证方法。 A computer readable storage medium comprising a set of instructions for performing the user identity authentication method of any one of claims 1 to 5.
PCT/CN2016/074733 2015-07-10 2016-02-26 User identity authentication method and device, and storage medium WO2016177038A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510404514.8A CN106326697A (en) 2015-07-10 2015-07-10 User identity authentication method and terminal
CN201510404514.8 2015-07-10

Publications (1)

Publication Number Publication Date
WO2016177038A1 true WO2016177038A1 (en) 2016-11-10

Family

ID=57217531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074733 WO2016177038A1 (en) 2015-07-10 2016-02-26 User identity authentication method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN106326697A (en)
WO (1) WO2016177038A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246836A (en) * 2013-04-03 2013-08-14 李健 Finger slide identification unlocking method for touch screen
CN103324897A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Safety certification method and user terminal based on multi-point touch
CN103544428A (en) * 2013-10-16 2014-01-29 东南大学 Intelligent terminal user authentication method based on multi-touch position sequence
WO2015053563A1 (en) * 2013-10-08 2015-04-16 12Cm Method for authenticating capacitive touch

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020946B (en) * 2013-02-28 2018-06-12 富泰华工业(深圳)有限公司 Unlocking system and method
CN103235702B (en) * 2013-05-03 2016-08-03 Tcl通讯(宁波)有限公司 A kind of mobile terminal unlocking method based on touch screen and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324897A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Safety certification method and user terminal based on multi-point touch
CN103246836A (en) * 2013-04-03 2013-08-14 李健 Finger slide identification unlocking method for touch screen
WO2015053563A1 (en) * 2013-10-08 2015-04-16 12Cm Method for authenticating capacitive touch
CN103544428A (en) * 2013-10-16 2014-01-29 东南大学 Intelligent terminal user authentication method based on multi-touch position sequence

Also Published As

Publication number Publication date
CN106326697A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
EP3100152B1 (en) User-authentication gestures
JP6565230B2 (en) User authentication method, system, and program
US9985787B2 (en) Continuous monitoring of fingerprint signature on a mobile touchscreen for identity management
US11194594B2 (en) Methods and systems for detecting a user and intelligently altering user device settings
GB2552152B (en) Obscuring data
TW201234277A (en) User identification with biokinematic input
EP3559847B1 (en) Electronic device for biometric authentication of a user
WO2017012186A1 (en) Method and system for fingerprint unlocking
US20150161369A1 (en) Grip signature authentication of user of device
Koong et al. A user authentication scheme using physiological and behavioral biometrics for multitouch devices
CN108052269A (en) Unlocking screen optimization method, terminal device and computer-readable medium
JP2015118663A (en) Personal authentication device, personal authentication method and personal authentication program
WO2016177038A1 (en) User identity authentication method and device, and storage medium
JP2015184717A (en) authentication device and program
US20180349592A1 (en) Beat assisted temporal pressure password
US9594968B1 (en) Biometric profile creation
CN106709316B (en) Unlocking method in mobile terminal and mobile terminal
Miyamoto et al. Authentication by Touch Operation on Smartphone with Support Vector Machine
US9405891B1 (en) User authentication
TW201331784A (en) Identity verifying system and method thereof
KR20180067083A (en) Authentication information inputing method using multitouch and authenticating method by using itself

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

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

Country of ref document: EP

Kind code of ref document: A1