WO2015176494A1 - Non-contact gesture command authentication method and user equipment - Google Patents

Non-contact gesture command authentication method and user equipment Download PDF

Info

Publication number
WO2015176494A1
WO2015176494A1 PCT/CN2014/090002 CN2014090002W WO2015176494A1 WO 2015176494 A1 WO2015176494 A1 WO 2015176494A1 CN 2014090002 W CN2014090002 W CN 2014090002W WO 2015176494 A1 WO2015176494 A1 WO 2015176494A1
Authority
WO
WIPO (PCT)
Prior art keywords
command information
gesture command
operation behavior
information
gesture
Prior art date
Application number
PCT/CN2014/090002
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 WO2015176494A1 publication Critical patent/WO2015176494A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method for authenticating a contactless gesture command and a user equipment.
  • non-contact gesture commands can trigger corresponding services and applications, for example, the user uses a finger to draw a circle on the user equipment, the user The camera on the device performs a call service after recognizing the action of the circle.
  • the application of gesture commands will greatly enhance the convenience of using user equipment and improve the efficiency and experience of users.
  • the embodiment of the invention provides a method for authenticating a non-contact gesture command and a user equipment, which can implement the authority verification on the non-contact gesture command, improve the security and enhance the user experience while ensuring the convenience.
  • a first aspect of the embodiments of the present invention provides a method for authenticating a non-contact gesture command, including:
  • the operation behavior corresponding to the gesture command information requires permission verification, Touching the palmprint or fingerprint information of the user extracted by the motion image, and determining whether the identity information corresponding to the palmprint or the fingerprint information has the authority to perform the operation behavior;
  • the operation behavior corresponding to the gesture command information is executed, otherwise the operation behavior corresponding to the gesture command information is refused to be executed.
  • the method further includes:
  • the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior corresponding to the gesture command information is executed.
  • the method before the determining whether the operation behavior corresponding to the gesture command information requires the rights verification, the method further includes:
  • the operation action corresponding to the gesture command information is determined by executing the operation instruction on the operation object.
  • the determining whether the operation behavior corresponding to the gesture command information requires rights verification includes:
  • Determining whether the operation instruction is required to execute the operation instruction on the operation object by querying the preset permission database, and the permission data inventory has information for indicating whether the operation instruction is required to execute the operation instruction for each operation object;
  • the determining, by the determining whether the identity information corresponding to the palmprint or the fingerprint information has the permission to perform the operation behavior includes:
  • the acquiring a non-contact gesture action image input by a user includes:
  • the non-contact gesture motion image input by the user is acquired by the imaging device.
  • a second aspect of the embodiments of the present invention provides a user equipment, including:
  • a command information acquiring module configured to acquire a non-contact gesture action image input by the user, and identify gesture command information according to the non-contact gesture action image
  • An operation behavior determining module configured to determine whether the operation behavior corresponding to the gesture command information requires permission verification
  • the permission judging module is configured to determine, according to the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image, the palmprint or the fingerprint information, if the operation behavior corresponding to the gesture command information requires the authority verification Whether the corresponding identity information has the right to perform the operation behavior;
  • the operation behavior execution module is configured to execute an operation behavior corresponding to the gesture command information if the authority is vested, and otherwise refuse to perform the operation behavior corresponding to the gesture command information.
  • the operation behavior execution module is further configured to perform an operation behavior corresponding to the gesture command information if the operation behavior corresponding to the gesture command information does not require the authority verification .
  • the user equipment further includes:
  • An operation instruction and an object obtaining module configured to find an operation instruction mapped by the gesture command information according to a preset mapping relationship; and acquire an operation object to be executed by the user;
  • the operation behavior determining module is configured to determine an operation behavior corresponding to the gesture command information by executing the operation instruction on the operation object.
  • the operation behavior determining module is configured to determine, by querying a preset permission database, performing the operation on the operation object. Whether the operation instruction requires authority verification, and the authority data inventory has information for indicating whether each operation instruction is required to perform authority verification for each operation object;
  • the permission determination Modules include:
  • a feature vector value obtaining unit configured to acquire a feature vector value of the palmprint or fingerprint information
  • An identity information determining unit configured to determine identity information corresponding to the feature vector value
  • the authority determining unit is configured to determine whether the identity information has the right to perform the operation behavior by querying a preset identity database.
  • the command information acquiring module is configured to acquire a non-user input by the camera device Touch gesture action images.
  • the embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the image is extracted according to the non-contact gesture action image.
  • the palmprint or fingerprint information of the user is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.
  • FIG. 1 is a schematic flowchart of a method for authenticating a non-contact gesture command according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for authenticating a non-contact gesture command according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a permission judging module according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another user equipment according to an embodiment of the present invention.
  • the non-contact gesture command provided by the embodiment of the present invention that is, the gesture input by the user in a non-contact manner
  • the user equipment can obtain a gesture action input by the user in a non-contact manner by using a sensor such as a camera device, such as using a finger to draw a circle in the air, and performing an operation behavior indicated by the gesture action, such as making a call. service.
  • the method for authenticating the contactless gesture command provided by the embodiment of the present invention may be implemented in a user equipment, where the user equipment may include an electronic device such as a smart phone, a personal computer, a tablet computer, a game machine, and a server, and the user equipment may be used to execute at least one service. Or application.
  • the user equipment may include an electronic device such as a smart phone, a personal computer, a tablet computer, a game machine, and a server, and the user equipment may be used to execute at least one service. Or application.
  • FIG. 1 is a schematic flowchart of a method for authenticating a non-contact gesture command according to an embodiment of the present invention.
  • the flow of the authentication method of the gesture command in this embodiment may include:
  • the user equipment can acquire the non-contact gesture action image input by the user through the camera device, and acquire the gesture command information according to the non-contact gesture action image.
  • the camera device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a segment of the image, and the gesture command information is Pre-set identification information that matches the action in the non-contact gesture action image.
  • the user draws a circle with the finger in front of the front camera of the smart phone, and the front camera of the smart phone captures the image of the circular motion, and then obtains the gesture matched by the circular motion in the image. Command information.
  • the user equipment Prior to this, the user equipment first acquires an operation object to be executed by the user, and then finds an operation instruction mapped by the gesture command information according to the preset mapping relationship, thereby confirming that the user instructs the operation behavior to be performed, that is, the above operation
  • the object executes the above operation instructions.
  • the preset mapping relationship refer to Table 1.
  • the operation object acquired by the user equipment is “game A”, and the identified operation instruction is “starting application or service”, and the obtained operation behavior is “starting”. Game A”.
  • Gesture command information Operating object Operational instruction Operational behavior
  • the palm is gripped to open Game A Launch an app or service Start game A
  • the palm is gripped to open Document A Launch an app or service Open file A
  • the palm of the hand is opened to the grip Music A Close an app or service Turn off music A Thumb from stretching to bending Contact A Call Call contact A Thumb from stretching to bending Contact B Call Call contact B Draw a circle with your index finger Call the contact C Call the contact C Use your index and middle fingers to make a circle Call the contact D Call the contact D
  • the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction.
  • an operation object such as the last two lines in Table 1.
  • the operation instruction mapped by the user equipment to identify the "use a forefinger to circle” is "call to contact C", then no need to obtain the operation object, directly determine the operation behavior is "call to contact Person C".
  • the method for determining, by the user equipment, whether the operation behavior corresponding to the gesture command information needs the rights verification may be: querying the preset permission database, determining whether the operation instruction is required to perform the operation instruction on the operation object, when When the judgment result is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the judgment result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
  • the permission data inventory has information for indicating whether each operation instruction needs to perform authority verification for each operation object, as shown in Table 2. For example, please refer to Table 2. If the operation behavior is "Open Mobile Wallet", the query permission database can know that the operation behavior requires permission verification.
  • the user equipment performs the operation behavior corresponding to the gesture command information.
  • the operation behavior is "Open File A”
  • the user device directly opens file A. Thereby ensuring that the user performs a non-contact gesture The portability of the order.
  • the operation of extracting the palmprint or the fingerprint information of the user according to the non-contact gesture motion image by default is performed after the user equipment determines that the operation behavior corresponding to the gesture command information needs to be verified, but is not limited thereto. It can also be set to be executed immediately after the user equipment acquires the non-contact gesture action image input by the user, which belongs to the protection scope of the embodiment of the present invention. It should be noted that the above default mode can save the user equipment overhead and improve its efficiency.
  • each palm print or fingerprint information corresponds to its specific feature vector value.
  • the specific implementation manner of the user equipment determining whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be: the user equipment acquires the feature vector value of the palmprint or the fingerprint information; and determines that the feature vector value corresponds to Identity information; determining whether the identity information has the right to perform the operation behavior by querying a preset identity database, the identity database may be as shown in Table 3, wherein the identity 1 may represent the user with the highest authority.
  • the user performs an operation behavior of “opening the mobile wallet” on the user equipment, and after obtaining the feature vector value of the fingerprint of the user, the user equipment determines that the identity information corresponding to the feature vector value is the user 2, and then queries the identity database to know that the user 2 Do not have permission to perform "Open Mobile Wallet”.
  • different identity information can also have rights for the same operation behavior. For example, in Table 3, "call the contact S.”
  • the above identity information may be identity information that has been pre-stored in the identity database, or may be unknown identity information, such as an unfamiliar visitor. among them, Unknown identity information does not have any permissions to operate with permissions.
  • the user device For example, if the user performs the operation behavior of "opening the mobile wallet” and is authenticated with the authority, the user device performs "open the mobile wallet". Thereby ensuring the security of the user's contactless gesture command.
  • the embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the user's palm is extracted according to the non-contact gesture action image. The pattern or fingerprint information is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.
  • FIG. 2 is a schematic flowchart of another method for authenticating a non-contact gesture command according to an embodiment of the present invention, which may include:
  • the user equipment can acquire the non-contact gesture action image input by the user within the preset time by using the camera.
  • the camera device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a segment of the image.
  • the gesture command information is preset information that matches the action in the non-contact gesture motion image.
  • the user draws a circle with the finger in front of the front camera of the smart phone, and the front camera of the smart phone captures the image of the circular motion, and then obtains the gesture matched by the circular motion in the image.
  • Command information is preset information that matches the action in the non-contact gesture motion image.
  • the preset mapping relationship may be referred to Table 1, and an optional implementation process. If the obtained gesture command information is “the palm is gripped to open”, the operation instruction recognized by the user equipment is “starting”. Application or service.” At the same time, the user equipment will also acquire an operation object to be executed by the user, such as "Game A”.
  • the operation object acquired by the user equipment is "Game A”
  • the recognized operation instruction is "Start Application or Service”
  • the acquired operation behavior is "Start Game A”.
  • the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction.
  • the operation instruction mapped by the user equipment to identify "marking with the index finger” is “calling contact C”
  • the determined operation behavior is "calling contact C”.
  • the permission data inventory has information for indicating whether each operation instruction needs to perform authority verification for each operation object, as shown in Table 2. For example, see Table 2, the action behavior is "Open Mobile Wallet", you need permission verification.
  • step S209 For example, see Table 2. If the operation behavior is "Open File A”, no permission verification is required. Thereby ensuring the convenience of the user's contactless gesture command.
  • each palm print or fingerprint information corresponds to its specific feature vector value.
  • the operation of extracting the palmprint or the fingerprint information of the user according to the non-contact gesture motion image by default is performed after the user equipment determines that the operation behavior corresponding to the gesture command information needs to be verified, but is not limited thereto. It can also be set to be executed immediately after the user equipment acquires the non-contact gesture action image input by the user, which belongs to the protection scope of the embodiment of the present invention. It should be noted that the above default mode can save the user equipment overhead and improve its efficiency.
  • the identity information may be identity information that has been pre-stored in the user equipment, or may be unknown identity information, such as an unfamiliar visitor.
  • the specific implementation manner of the user equipment determining whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be: the user equipment acquires the feature vector value of the palmprint or the fingerprint information; and determines that the feature vector value corresponds to Identity information; determining whether the identity information has the right to perform the operation behavior by querying a preset identity database, the identity database may be as shown in Table 3, wherein the identity 1 may represent the user with the highest authority.
  • the identity information has the authority to perform the operation behavior, and proceeds to step S209, otherwise proceeds to step S210.
  • the user performs an operation behavior of “opening the mobile wallet” on the user equipment, and after obtaining the feature vector value of the fingerprint of the user, the user equipment determines that the identity information corresponding to the feature vector value is the user 2, and then queries the identity database to know that the user 2 If the permission to open the mobile wallet is not performed, the process proceeds to step S210. Thereby ensuring the security of the user performing the contactless gesture command.
  • the user device performs "Open Mobile Wallet".
  • the user device does not perform "Open Mobile Wallet".
  • the non-contact gesture action image input by the user is acquired by the camera device, and the gesture command information is acquired according to the non-contact gesture action image, and the palmprint or fingerprint information of the user is extracted, and the gesture command information can determine the corresponding operation behavior. If the operation behavior requires identity authentication, identity authentication can be performed through palmprint or fingerprint information, which can ensure the convenience of the non-contact gesture command, improve its security, and enhance the user experience.
  • FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present invention.
  • the user equipment in the embodiment of the present invention may include at least a command information obtaining module 310, an operation behavior determining module 320, an authority determining module 330, and an operation behavior executing module 340, where:
  • the command information acquiring module 310 is configured to acquire a non-contact gesture action image input by the user, and recognize the gesture command information according to the non-contact gesture action image.
  • the command information acquiring module 310 can acquire the non-contact gesture action image input by the user through the camera device, and acquire the gesture command information according to the non-contact gesture action image.
  • the photo The image device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a video image, and the gesture command information is preset and The identification information that matches the action in the non-contact gesture action image.
  • the user draws a circle with the finger in front of the front camera of the smart phone, and the command information acquiring module 310 captures the image of the circular motion through the front camera, thereby acquiring the circular motion in the image. Matching gesture command information.
  • the user equipment as shown may further include an operation instruction and an object acquisition module 350 and an operation behavior determination module 360, wherein:
  • the operation instruction and object acquisition module 350 is configured to find an operation instruction mapped by the gesture command information according to a preset mapping relationship, and acquire an operation object to be executed by the user.
  • the preset mapping relationship may refer to Table 1, and an optional implementation process. If the acquired gesture command information is “the palm is gripped to open”, the operation instruction and the object acquisition module 350 recognize the The operation instruction is "Start Application or Service”. At the same time, the operation instruction and object acquisition module 350 will also acquire an operation object to be executed by the user, such as "game A”.
  • the operation behavior determining module 360 is configured to determine an operation behavior corresponding to the gesture command information by executing the operation instruction on the operation object.
  • the operation object obtained by the operation behavior determination module 360 is "game A”
  • the recognized operation instruction is "launch application or service”
  • the acquired operation behavior is "start game A”.
  • the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction.
  • the operation instruction mapped by the operation behavior determination module 360 for "marking with the index finger” is “calling the contact C”
  • the determined operation behavior is “calling the contact C”. ".
  • the operation behavior determining module 320 is configured to determine whether the operation behavior corresponding to the gesture command information requires authority verification.
  • the method for determining whether the operation behavior corresponding to the gesture command information needs the authority verification may be: querying the preset permission database to determine whether the operation instruction is required to perform the operation instruction on the operation object. When the judgment result is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the judgment result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
  • the permission data inventory is useful.
  • the information indicating whether the operation instruction needs to be verified for each operation object for each operation object can be as shown in Table 2. For example, please refer to Table 2. If the operation behavior is "Open Mobile Wallet", the query permission database can know that the operation behavior requires permission verification.
  • the operation behavior execution module 340 executes the operation behavior corresponding to the gesture command information. For example, please refer to Table 2. If the operation behavior is "Open File A", the user device directly opens file A. Thereby ensuring the convenience of the user to execute the contactless gesture command.
  • the privilege judging module 330 is configured to determine the palm print or the fingerprint information by using the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image, if the operation behavior corresponding to the gesture command information requires the privilege verification Whether the corresponding identity information has the right to perform the operation behavior.
  • the authority determining module 330 may further include: a feature vector value obtaining unit 331, an identity information determining unit 332, and a rights determining unit 333, as shown in FIG.
  • the feature vector value obtaining unit 331 is configured to acquire a feature vector value of the palm print or the fingerprint information.
  • each palm print or fingerprint information corresponds to its specific feature vector value.
  • the identity information determining unit 332 is configured to determine identity information corresponding to the feature vector value.
  • the identity information may be identity information that has been pre-stored in the user equipment, or may be unknown identity information, such as an unfamiliar visitor.
  • the authority determining unit 333 is configured to determine whether the identity information has the right to perform the operation behavior by querying a preset identity database.
  • the identity database can be as shown in Table 3, wherein the identity 1 can represent the user with the highest authority.
  • the feature vector value obtaining unit 331 obtains the feature vector value of the fingerprint of the user, and the identity information determining unit 332 determines that the identity information corresponding to the feature vector value is the user 2, Then, the authority judgment unit 333 queries the identity database, and it can be known that the user 2 does not have the right to execute the "open mobile wallet”.
  • the operation behavior execution module 340 is configured to execute an operation behavior corresponding to the gesture command information if the authority is available, and otherwise refuse to perform the operation behavior corresponding to the gesture command information.
  • the operation behavior execution module 340 performs "open mobile phone wallet” or “open mobile phone wallet” respectively according to whether the identity information has authority. Thereby ensuring the security of the user's contactless gesture command.
  • FIG. 5 is a schematic structural diagram of another user equipment in the embodiment of the present invention.
  • the user equipment may include: at least one processor 401, such as a CPU, at least one camera 403, and a memory 404, at least one Communication bus 402.
  • the communication bus 402 is used to implement connection communication between these components.
  • the camera device 403 in the embodiment of the present invention may be one or more lenses of the user equipment, such as a front camera or a rear camera, and the camera includes a CCD (Charge Coupled Device) and a CMOS (Complementary Metal Oxide Semiconductor).
  • an image processor or the like which may be an infrared camera or a visible light camera for acquiring a contactless gesture command input by a user.
  • the memory 404 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 404 can optionally also be at least one storage device located remotely from the aforementioned processor 401.
  • a set of program codes is stored in the memory 404, and the processor 401 is configured to call program code stored in the memory for performing the following operations:
  • the operation behavior corresponding to the gesture command information requires the authority verification, determining whether the identity information corresponding to the palm print or the fingerprint information has the palmprint or the fingerprint information extracted according to the non-contact gesture action image The authority to perform the operational behavior;
  • the operation behavior corresponding to the gesture command information is executed, otherwise the operation behavior corresponding to the gesture command information is refused to be executed.
  • the processor 401 after determining, by the processor 401, whether the operation behavior corresponding to the gesture command information requires permission verification, the processor 401 further performs:
  • the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior corresponding to the gesture command information is executed.
  • the processor 401 before determining, by the processor 401, whether the operation behavior corresponding to the gesture command information requires permission verification, the processor 401 further performs:
  • the operation action corresponding to the gesture command information is determined by executing the operation instruction on the operation object.
  • the specific implementation method for the processor 401 to determine whether the operation behavior corresponding to the gesture command information requires permission verification may be:
  • Determining whether the operation instruction is required to execute the operation instruction on the operation object by querying the preset permission database, and the permission data inventory has information for indicating whether the operation instruction is required to execute the operation instruction for each operation object;
  • the specific implementation method for the processor 401 to determine whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be:
  • the specific implementation method for the processor 401 to obtain the non-contact gesture action image input by the user may be:
  • the non-contact gesture motion image input by the user is acquired by the imaging device.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program execution includes a part of the authentication method of the gesture command described in the embodiment of the present invention in conjunction with FIG. 1 to FIG. All the steps.
  • the embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the image is extracted according to the non-contact gesture action image.
  • the palmprint or fingerprint information of the user is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.

Landscapes

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

Abstract

Disclosed is a non-contact gesture command authentication method. The method comprises: acquiring a non-contact gesture motion image input by a user, and identifying gesture command information according to the non-contact gesture motion image; determining whether operation behaviors corresponding to the gesture command information require permission validation; if the operation behaviors corresponding to the gesture command information require permission validation, determining whether identity information corresponding to palm print or fingerprint information has the permission for executing the operation behaviors with the palm print or fingerprint information of the user extracted according to the non-contact gesture motion image; and if the identity information corresponding to the palm print or fingerprint information has the permission for executing the operation behaviors, executing the operation behaviors corresponding to the gesture command information; otherwise, refusing to execute the operation behaviors corresponding to the gesture command information. Correspondingly, also disclosed is a user equipment. By means of the present invention, permission validation on non-contact gesture commands can be achieved, and the convenience is guaranteed; meanwhile, the safety is improved, and the user experience is improved.

Description

一种非接触手势命令的认证方法以及用户设备Authentication method for non-contact gesture command and user equipment
本申请要求于2014年5月19日提交中国专利局、申请号为CN201410211539.1、发明名称为“一种非接触手势命令的认证方法以及用户设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on May 19, 2014, the Chinese Patent Application No. CN201410211539.1, the invention entitled "A Non-contact Gesture Command Authentication Method and User Equipment", the entire contents of which are hereby incorporated by reference. This is incorporated herein by reference.
技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种非接触手势命令的认证方法以及用户设备。The present invention relates to the field of electronic technologies, and in particular, to a method for authenticating a contactless gesture command and a user equipment.
背景技术Background technique
随着电子技术的不断发展,越来越多的用户设备具备识别非接触手势命令的功能,非接触手势命令可触发相应的服务和应用,例如:用户使用手指对着用户设备划一个圈,用户设备上的摄像装置在识别划圈这一动作后,执行打电话的服务。手势命令的应用将很大程度地增强使用用户设备的便捷性,提高用户办事的效率和体验。With the continuous development of electronic technology, more and more user equipments have the function of recognizing non-contact gesture commands, and the non-contact gesture commands can trigger corresponding services and applications, for example, the user uses a finger to draw a circle on the user equipment, the user The camera on the device performs a call service after recognizing the action of the circle. The application of gesture commands will greatly enhance the convenience of using user equipment and improve the efficiency and experience of users.
但是,用户设备中存在一些服务和应用,需要进行权限验证,例如转账、打开私密文件等,而非接触手势命令无法进行权限验证,或权限验证的方式安全性较低,导致服务和应用的安全不能得到保障,影响用户体验。However, there are some services and applications in the user equipment, which require permission verification, such as transferring funds, opening private files, etc., and non-contact gesture commands cannot perform permission verification, or the method of authority verification is less secure, resulting in security of services and applications. Can not be guaranteed, affecting the user experience.
发明内容Summary of the invention
本发明实施例提供了一种非接触手势命令的认证方法以及用户设备,可以实现对非接触手势命令进行权限验证,在保证其便捷性的同时,提高安全性,增强用户体验。The embodiment of the invention provides a method for authenticating a non-contact gesture command and a user equipment, which can implement the authority verification on the non-contact gesture command, improve the security and enhance the user experience while ensuring the convenience.
本发明实施例第一方面提供了一种非接触手势命令的认证方法,包括:A first aspect of the embodiments of the present invention provides a method for authenticating a non-contact gesture command, including:
获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息;Obtaining a non-contact gesture action image input by the user, and recognizing the gesture command information according to the non-contact gesture action image;
判断所述手势命令信息所对应的操作行为是否需要权限验证;Determining whether the operation behavior corresponding to the gesture command information requires authority verification;
若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接 触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限;If the operation behavior corresponding to the gesture command information requires permission verification, Touching the palmprint or fingerprint information of the user extracted by the motion image, and determining whether the identity information corresponding to the palmprint or the fingerprint information has the authority to perform the operation behavior;
若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。If there is permission, the operation behavior corresponding to the gesture command information is executed, otherwise the operation behavior corresponding to the gesture command information is refused to be executed.
在第一方面的第一种可能实现方式中,所述判断所述手势命令信息所对应的操作行为是否需要权限验证之后,还包括:In a first possible implementation manner of the first aspect, after determining whether the operation behavior corresponding to the gesture command information requires permission verification, the method further includes:
若所述手势命令信息所对应的操作行为不需要权限验证,则执行所述手势命令信息所对应的操作行为。If the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior corresponding to the gesture command information is executed.
结合第一方面的可能实现方式,在第二种可能实现方式中,所述判断所述手势命令信息所对应的操作行为是否需要权限验证之前,还包括:With reference to the possible implementation manner of the first aspect, in the second possible implementation manner, before the determining whether the operation behavior corresponding to the gesture command information requires the rights verification, the method further includes:
根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象;Obtaining, according to a preset mapping relationship, an operation instruction mapped by the gesture command information; and acquiring an operation object to be executed by the user;
以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation action corresponding to the gesture command information is determined by executing the operation instruction on the operation object.
结合第一方面以及第一方面的第二种可能实现方式,在第三种可能实现方式中,所述判断所述手势命令信息所对应的操作行为是否需要权限验证,包括:With reference to the first aspect, and the second possible implementation manner of the first aspect, in the third possible implementation, the determining whether the operation behavior corresponding to the gesture command information requires rights verification includes:
通过查询预设的权限数据库,判断对所述操作对象执行所述操作指令是否需要权限验证,所述权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息;Determining whether the operation instruction is required to execute the operation instruction on the operation object by querying the preset permission database, and the permission data inventory has information for indicating whether the operation instruction is required to execute the operation instruction for each operation object;
当判断结果为是时,则表明所述手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明所述手势命令信息所对应的操作行为不需要权限验证。When the result of the determination is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the determination result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
结合第一方面的可能实现方式,在第四种可能实现方式中,所述判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限,包括:With reference to the possible implementation manner of the first aspect, in a fourth possible implementation manner, the determining, by the determining whether the identity information corresponding to the palmprint or the fingerprint information has the permission to perform the operation behavior, includes:
获取所述掌纹或指纹信息的特征向量值;Obtaining a feature vector value of the palm print or fingerprint information;
确定所述特征向量值对应的身份信息;Determining identity information corresponding to the feature vector value;
通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。By querying the preset identity database, it is determined whether the identity information has the right to perform the operation behavior.
结合第一方面以及第一方面的第一、第二、第三或第四种可能实现方式, 在第五种可能实现方式中,所述获取用户输入的非接触手势动作图像,包括:In combination with the first aspect and the first, second, third or fourth possible implementation of the first aspect, In a fifth possible implementation manner, the acquiring a non-contact gesture action image input by a user includes:
通过摄像装置获取用户输入的非接触手势动作图像。The non-contact gesture motion image input by the user is acquired by the imaging device.
本发明实施例第二方面提供了一种用户设备,包括:A second aspect of the embodiments of the present invention provides a user equipment, including:
命令信息获取模块,用于获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息;a command information acquiring module, configured to acquire a non-contact gesture action image input by the user, and identify gesture command information according to the non-contact gesture action image;
操作行为判断模块,用于判断所述手势命令信息所对应的操作行为是否需要权限验证;An operation behavior determining module, configured to determine whether the operation behavior corresponding to the gesture command information requires permission verification;
权限判断模块,用于若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限;The permission judging module is configured to determine, according to the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image, the palmprint or the fingerprint information, if the operation behavior corresponding to the gesture command information requires the authority verification Whether the corresponding identity information has the right to perform the operation behavior;
操作行为执行模块,用于若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。The operation behavior execution module is configured to execute an operation behavior corresponding to the gesture command information if the authority is vested, and otherwise refuse to perform the operation behavior corresponding to the gesture command information.
在第二方面的第一种可能实现方式中,所述操作行为执行模块还用于若所述手势命令信息所对应的操作行为不需要权限验证,则执行所述手势命令信息所对应的操作行为。In a first possible implementation manner of the second aspect, the operation behavior execution module is further configured to perform an operation behavior corresponding to the gesture command information if the operation behavior corresponding to the gesture command information does not require the authority verification .
结合第二方面的可能实现方式,在第二种可能实现方式中,所述用户设备还包括:With reference to the possible implementation of the second aspect, in a second possible implementation manner, the user equipment further includes:
操作指令及对象获取模块,用于根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象;An operation instruction and an object obtaining module, configured to find an operation instruction mapped by the gesture command information according to a preset mapping relationship; and acquire an operation object to be executed by the user;
操作行为确定模块,用于以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation behavior determining module is configured to determine an operation behavior corresponding to the gesture command information by executing the operation instruction on the operation object.
结合第二方面以及第二方面的第二种可能实现方式,在第三种可能实现方式中,所述操作行为判断模块用于通过查询预设的权限数据库,判断对所述操作对象执行所述操作指令是否需要权限验证,所述权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息;With reference to the second aspect, and the second possible implementation manner of the second aspect, in a third possible implementation, the operation behavior determining module is configured to determine, by querying a preset permission database, performing the operation on the operation object. Whether the operation instruction requires authority verification, and the authority data inventory has information for indicating whether each operation instruction is required to perform authority verification for each operation object;
当判断结果为是时,则表明所述手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明所述手势命令信息所对应的操作行为不需要权限验证。When the result of the determination is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the determination result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
结合第二方面的可能实现方式,在第四种可能实现方式中,所述权限判断 模块包括:In conjunction with the possible implementation of the second aspect, in a fourth possible implementation manner, the permission determination Modules include:
特征向量值获取单元,用于获取所述掌纹或指纹信息的特征向量值;a feature vector value obtaining unit, configured to acquire a feature vector value of the palmprint or fingerprint information;
身份信息确定单元,用于确定所述特征向量值对应的身份信息;An identity information determining unit, configured to determine identity information corresponding to the feature vector value;
权限判断单元,用于通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。The authority determining unit is configured to determine whether the identity information has the right to perform the operation behavior by querying a preset identity database.
结合第二方面以及第二方面的第一、第二、第三或第四种可能实现方式,在第五种可能实现方式中,所述命令信息获取模块用于通过摄像装置获取用户输入的非接触手势动作图像。With reference to the second aspect and the first, second, third or fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the command information acquiring module is configured to acquire a non-user input by the camera device Touch gesture action images.
由上可见,本发明实施例根据用户输入的非接触手势动作图像识别手势命令信息,并根据手势命令信息确定对应的操作行为,若该操作行为需要权限认证,则以根据非接触手势动作图像提取的用户的掌纹或指纹信息来进行权限验证,只有具有权限的操作行为方可被执行,可以实现保证非接触手势命令便捷性的同时,提高其安全性,增强用户体验。It can be seen that the embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the image is extracted according to the non-contact gesture action image. The palmprint or fingerprint information of the user is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.
附图说明DRAWINGS
图1是本发明实施例提供的一种非接触手势命令的认证方法的流程示意图;1 is a schematic flowchart of a method for authenticating a non-contact gesture command according to an embodiment of the present invention;
图2是本发明实施例提供的另一种非接触手势命令的认证方法的流程示意图;2 is a schematic flowchart of another method for authenticating a non-contact gesture command according to an embodiment of the present invention;
图3是本发明实施例提供的一种用户设备的结构示意图;FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure;
图4是本发明实施例提供的一种权限判断模块的结构示意图;4 is a schematic structural diagram of a permission judging module according to an embodiment of the present invention;
图5是本发明实施例提供的另一种用户设备的结构示意图。FIG. 5 is a schematic structural diagram of another user equipment according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的非接触手势命令即用户以非接触方式输入的手势动 作,具体应用中,用户设备可以通过摄像装置等传感器,获取用户以非接触方式输入的手势动作,如用手指在空中划一个圈,并执行该手势动作所指示的操作行为,如拨打电话的服务。The non-contact gesture command provided by the embodiment of the present invention, that is, the gesture input by the user in a non-contact manner In a specific application, the user equipment can obtain a gesture action input by the user in a non-contact manner by using a sensor such as a camera device, such as using a finger to draw a circle in the air, and performing an operation behavior indicated by the gesture action, such as making a call. service.
本发明实施例提供的非接触手势命令的认证方法可实现于用户设备,所述用户设备可以包括智能手机、个人电脑、平板电脑、游戏机以及服务器等电子设备,用户设备可用于执行至少一个服务或应用。The method for authenticating the contactless gesture command provided by the embodiment of the present invention may be implemented in a user equipment, where the user equipment may include an electronic device such as a smart phone, a personal computer, a tablet computer, a game machine, and a server, and the user equipment may be used to execute at least one service. Or application.
图1是本发明实施例中的一种非接触手势命令的认证方法的流程示意图。如图所示本实施例中的手势命令的认证方法的流程可以包括:FIG. 1 is a schematic flowchart of a method for authenticating a non-contact gesture command according to an embodiment of the present invention. The flow of the authentication method of the gesture command in this embodiment may include:
S101,获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息。S101. Acquire a non-contact gesture action image input by a user, and identify gesture command information according to the non-contact gesture action image.
具体的,用户设备可通过摄像装置获取用户输入的非接触手势动作图像,并根据非接触手势动作图像,获取手势命令信息。其中,所述摄像装置可包括用户设备的镜头,例如智能手机的前置摄像头或后置摄像头,所述非接触手势动作图像可以是至少两张连续的照片或者一段影像,所述手势命令信息为预先设置的与非接触手势动作图像中动作相匹配的标识信息。可选的一个具体示例,用户在智能手机的前置摄像头正前方空中用手指划一个圈,智能手机的前置摄像头摄取划圈动作的影像,进而获取该影像中的划圈动作所匹配的手势命令信息。Specifically, the user equipment can acquire the non-contact gesture action image input by the user through the camera device, and acquire the gesture command information according to the non-contact gesture action image. The camera device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a segment of the image, and the gesture command information is Pre-set identification information that matches the action in the non-contact gesture action image. An optional specific example, the user draws a circle with the finger in front of the front camera of the smart phone, and the front camera of the smart phone captures the image of the circular motion, and then obtains the gesture matched by the circular motion in the image. Command information.
S102,判断所述手势命令信息所对应的操作行为是否需要权限验证。S102. Determine whether the operation behavior corresponding to the gesture command information requires permission verification.
在此之前,用户设备先获取到用户所要执行的操作对象,接着根据预设的映射关系,查得手势命令信息所映射的操作指令,从而确知用户指示要执行的操作行为,即对上述操作对象执行上述操作指令。其中,所述预设的映射关系可以参阅表1,例如:用户设备获取到的操作对象为“游戏A”,识别的操作指令为“启动应用或服务”,则获取到的操作行为是“启动游戏A”。Prior to this, the user equipment first acquires an operation object to be executed by the user, and then finds an operation instruction mapped by the gesture command information according to the preset mapping relationship, thereby confirming that the user instructs the operation behavior to be performed, that is, the above operation The object executes the above operation instructions. For the preset mapping relationship, refer to Table 1. For example, the operation object acquired by the user equipment is “game A”, and the identified operation instruction is “starting application or service”, and the obtained operation behavior is “starting”. Game A".
表1Table 1
手势命令信息Gesture command information 操作对象Operating object 操作指令Operational instruction 操作行为Operational behavior
手掌由紧握到张开The palm is gripped to open 游戏AGame A 启动应用或服务Launch an app or service 启动游戏AStart game A
手掌由紧握到张开The palm is gripped to open 文件ADocument A 启动应用或服务Launch an app or service 打开文件AOpen file A
手掌由张开到紧握The palm of the hand is opened to the grip 音乐AMusic A 关闭应用或服务Close an app or service 关闭音乐ATurn off music A
拇指从伸直到弯曲Thumb from stretching to bending 联系人AContact A 打电话Call 打电话给联系人ACall contact A
拇指从伸直到弯曲Thumb from stretching to bending 联系人BContact B 打电话Call 打电话给联系人BCall contact B
用食指划个圈Draw a circle with your index finger   打电话给联系人CCall the contact C 打电话给联系人CCall the contact C
用食指和中指划个圈Use your index and middle fingers to make a circle   打电话给联系人DCall the contact D 打电话给联系人DCall the contact D
特别的,部分获取到的操作指令不需要操作对象,如表1中的后两行,因此也可以直接根据操作指令确知用户指示要执行的操作行为。例如,请参阅表1,用户设备识别的“用食指划个圈”所映射的操作指令为“打电话给联系人C”,则不用再获取操作对象,直接确定操作行为是“打电话给联系人C”。In particular, the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction. For example, please refer to Table 1. The operation instruction mapped by the user equipment to identify the "use a forefinger to circle" is "call to contact C", then no need to obtain the operation object, directly determine the operation behavior is "call to contact Person C".
具体的,用户设备判断所述手势命令信息所对应的操作行为是否需要权限验证的实现方法可以是:通过查询预设的权限数据库,判断对操作对象执行所述操作指令是否需权限份验证,当判断结果为是时,则表明手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明手势命令信息所对应的操作行为不需要权限验证。需要指出的是,权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息,可如表2所示。例如,请参阅表2,若操作行为是“打开手机钱包”,则查询权限数据库可知该操作行为需要权限验证。Specifically, the method for determining, by the user equipment, whether the operation behavior corresponding to the gesture command information needs the rights verification may be: querying the preset permission database, determining whether the operation instruction is required to perform the operation instruction on the operation object, when When the judgment result is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the judgment result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification. It should be noted that the permission data inventory has information for indicating whether each operation instruction needs to perform authority verification for each operation object, as shown in Table 2. For example, please refer to Table 2. If the operation behavior is "Open Mobile Wallet", the query permission database can know that the operation behavior requires permission verification.
表2Table 2
操作对象Operating object 操作指令Operational instruction 操作行为Operational behavior 是否需要权限验证Do you need permission verification?
手机钱包AMobile wallet A 启动应用或服务Launch an app or service 打开手机钱包Open your mobile wallet Yes
文件ADocument A 启动应用或服务Launch an app or service 打开文件AOpen file A no
联系人AContact A 转账Transfer 转账给联系人ATransfer to contact A Yes
  打电话给联系人SCall the contact S 打电话给联系人SCall the contact S Yes
另一方面,若手势命令信息所对应的操作行为不需要权限验证,用户设备则执行手势命令信息所对应的操作行为。例如,请参阅表2,操作行为若是“打开文件A”,则用户设备直接打开文件A。从而保证了用户执行非接触手势命 令的便携性。On the other hand, if the operation behavior corresponding to the gesture command information does not require the authority verification, the user equipment performs the operation behavior corresponding to the gesture command information. For example, please refer to Table 2. If the operation behavior is "Open File A", the user device directly opens file A. Thereby ensuring that the user performs a non-contact gesture The portability of the order.
S103,若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限。S103. If the operation behavior corresponding to the gesture command information requires the authority verification, determine the identity information corresponding to the palmprint or the fingerprint information by using the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image. Whether there is permission to perform the described behavior.
可选的,上述根据非接触手势动作图像提取用户的掌纹或指纹信息的操作,默认为在用户设备确知手势命令信息所对应的操作行为需要权限验证后执行,但并不局限于此,也可以设置在用户设备获取到用户输入的非接触手势动作图像后立即执行,均属于本发明实施例保护范畴。需要指出的是,上述默认方式更能节省用户设备的开销,提升其效率。Optionally, the operation of extracting the palmprint or the fingerprint information of the user according to the non-contact gesture motion image by default is performed after the user equipment determines that the operation behavior corresponding to the gesture command information needs to be verified, but is not limited thereto. It can also be set to be executed immediately after the user equipment acquires the non-contact gesture action image input by the user, which belongs to the protection scope of the embodiment of the present invention. It should be noted that the above default mode can save the user equipment overhead and improve its efficiency.
其中,每一个的掌纹或指纹信息对应有其特定的特征向量值。具体的,用户设备判断掌纹或指纹信息所对应的身份信息是否具有执行操作行为的权限的具体实现方式可以是:用户设备获取掌纹或指纹信息的特征向量值;确定所述特征向量值对应的身份信息;通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限,所述身份数据库可如表3所示,其中,身份1可表示最高权限的用户。例如,用户在用户设备上执行“打开手机钱包”的操作行为,用户设备获取用户的指纹的特征向量值后,确定特征向量值对应的身份信息为用户2,再通过查询身份数据库,可知用户2不具备执行“打开手机钱包”的权限。Wherein, each palm print or fingerprint information corresponds to its specific feature vector value. Specifically, the specific implementation manner of the user equipment determining whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be: the user equipment acquires the feature vector value of the palmprint or the fingerprint information; and determines that the feature vector value corresponds to Identity information; determining whether the identity information has the right to perform the operation behavior by querying a preset identity database, the identity database may be as shown in Table 3, wherein the identity 1 may represent the user with the highest authority. For example, the user performs an operation behavior of “opening the mobile wallet” on the user equipment, and after obtaining the feature vector value of the fingerprint of the user, the user equipment determines that the identity information corresponding to the feature vector value is the user 2, and then queries the identity database to know that the user 2 Do not have permission to perform "Open Mobile Wallet".
表3table 3
Figure PCTCN2014090002-appb-000001
Figure PCTCN2014090002-appb-000001
特别的,由表3可知,针对同一个操作行为,不同的身份信息也可同时具备权限。例如,表3中“打电话给联系人S”。上述身份信息可以是已预先存入身份数据库的身份信息,也可以是未知身份信息,例如,陌生访问者。其中, 未知身份信息不具备任何一个需权限验证的操作行为的权限。In particular, as can be seen from Table 3, different identity information can also have rights for the same operation behavior. For example, in Table 3, "call the contact S." The above identity information may be identity information that has been pre-stored in the identity database, or may be unknown identity information, such as an unfamiliar visitor. among them, Unknown identity information does not have any permissions to operate with permissions.
S104,若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。S104. If the permission is performed, the operation behavior corresponding to the gesture command information is performed, otherwise the operation behavior corresponding to the gesture command information is refused.
例如,用户执行“打开手机钱包”的操作行为且经验证具有权限,用户设备则执行“打开手机钱包”。从而保证了用户的非接触手势命令的安全性。For example, if the user performs the operation behavior of "opening the mobile wallet" and is authenticated with the authority, the user device performs "open the mobile wallet". Thereby ensuring the security of the user's contactless gesture command.
本发明实施例根据用户输入的非接触手势动作图像识别手势命令信息,并根据手势命令信息确定对应的操作行为,若该操作行为需要权限认证,则以根据非接触手势动作图像提取的用户的掌纹或指纹信息来进行权限验证,只有具有权限的操作行为方可被执行,可以实现保证非接触手势命令便捷性的同时,提高其安全性,增强用户体验。The embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the user's palm is extracted according to the non-contact gesture action image. The pattern or fingerprint information is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.
图2是本发明实施例中另一种非接触手势命令的认证方法的流程示意图,可以包括:FIG. 2 is a schematic flowchart of another method for authenticating a non-contact gesture command according to an embodiment of the present invention, which may include:
S201,获取用户输入的非接触手势动作图像。S201. Acquire a non-contact gesture action image input by a user.
具体的,用户设备可通过摄像装置获取用户在预设时间内输入的非接触手势动作图像。其中,所述摄像装置可包括用户设备的镜头,例如智能手机的前置摄像头或后置摄像头,所述非接触手势动作图像可以是至少两张连续的照片或者一段影像。Specifically, the user equipment can acquire the non-contact gesture action image input by the user within the preset time by using the camera. The camera device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a segment of the image.
S202,根据所述非接触手势动作图像识别手势命令信息。S202. Identify gesture command information according to the non-contact gesture action image.
所述手势命令信息为预先设置的与非接触手势动作图像中动作相匹配的标识信息。可选的一个具体示例,用户在智能手机的前置摄像头正前方空中用手指划一个圈,智能手机的前置摄像头摄取划圈动作的影像,进而获取该影像中的划圈动作所匹配的手势命令信息。The gesture command information is preset information that matches the action in the non-contact gesture motion image. An optional specific example, the user draws a circle with the finger in front of the front camera of the smart phone, and the front camera of the smart phone captures the image of the circular motion, and then obtains the gesture matched by the circular motion in the image. Command information.
S203,根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象。S203. Obtain an operation instruction mapped by the gesture command information according to a preset mapping relationship, and acquire an operation object to be executed by the user.
具体的,所述预设的映射关系可以参阅表1,可选的一个实现过程,若获取到的手势命令信息为“手掌由紧握到张开”,则用户设备识别的操作指令为“启动应用或服务”。同时,用户设备还将获取到用户所要执行的操作对象,例如“游戏A”。Specifically, the preset mapping relationship may be referred to Table 1, and an optional implementation process. If the obtained gesture command information is “the palm is gripped to open”, the operation instruction recognized by the user equipment is “starting”. Application or service." At the same time, the user equipment will also acquire an operation object to be executed by the user, such as "Game A".
S204,以对所述操作对象执行所述操作指令来确定所述手势命令信息所对 应的操作行为。S204. Perform the operation instruction on the operation object to determine that the gesture command information is correct. The operational behavior should be.
例如,请参阅表1,用户设备获取到的操作对象为“游戏A”,识别的操作指令为“启动应用或服务”,则获取到的操作行为是“启动游戏A”。For example, referring to Table 1, the operation object acquired by the user equipment is "Game A", and the recognized operation instruction is "Start Application or Service", and the acquired operation behavior is "Start Game A".
特别的,部分获取到的操作指令不需要操作对象,如表1中的后两行,因此也可以直接根据操作指令确知用户指示要执行的操作行为。例如,请参阅表1,用户设备识别的“用食指划个圈”所映射的操作指令为“打电话给联系人C”,则确定的操作行为即为“打电话给联系人C”。In particular, the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction. For example, referring to Table 1, the operation instruction mapped by the user equipment to identify "marking with the index finger" is "calling contact C", and the determined operation behavior is "calling contact C".
S205,判断所述手势命令信息所对应的操作行为是否需要权限验证。S205. Determine whether the operation behavior corresponding to the gesture command information requires permission verification.
具体的,通过查询预设的权限数据库,判断对操作对象执行所述操作指令是否需要权限验证,当判断结果为是时,则表明手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明手势命令信息所对应的操作行为不需要权限验证。需要指出的是,权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息,可如表2所示。例如,请参阅表2,操作行为是“打开手机钱包”,则需要权限验证。Specifically, by querying the preset permission database, determining whether the operation instruction needs permission verification for the operation object, and when the determination result is yes, indicating that the operation behavior corresponding to the gesture command information requires authority verification; when the judgment result is Otherwise, it indicates that the operation behavior corresponding to the gesture command information does not require permission verification. It should be noted that the permission data inventory has information for indicating whether each operation instruction needs to perform authority verification for each operation object, as shown in Table 2. For example, see Table 2, the action behavior is "Open Mobile Wallet", you need permission verification.
另一方面,若手势命令信息所对应的操作行为不需要权限验证,则直接进入步骤S209。例如,请参阅表2,操作行为若是“打开文件A”,则不需要权限验证。从而保证了用户的非接触手势命令的便捷性。On the other hand, if the operation behavior corresponding to the gesture command information does not require the authority verification, the process proceeds directly to step S209. For example, see Table 2. If the operation behavior is "Open File A", no permission verification is required. Thereby ensuring the convenience of the user's contactless gesture command.
S206,获取根据所述非接触手势动作图像提取的用户的掌纹或指纹的特征向量值。S206. Acquire a feature vector value of a palmprint or a fingerprint of the user extracted according to the non-contact gesture action image.
其中,每一个的掌纹或指纹信息对应有其特定的特征向量值。Wherein, each palm print or fingerprint information corresponds to its specific feature vector value.
可选的,上述根据非接触手势动作图像提取用户的掌纹或指纹信息的操作,默认为在用户设备确知手势命令信息所对应的操作行为需要权限验证后执行,但并不局限于此,也可以设置在用户设备获取到用户输入的非接触手势动作图像后立即执行,均属于本发明实施例保护范畴。需要指出的是,上述默认方式更能节省用户设备的开销,提升其效率。Optionally, the operation of extracting the palmprint or the fingerprint information of the user according to the non-contact gesture motion image by default is performed after the user equipment determines that the operation behavior corresponding to the gesture command information needs to be verified, but is not limited thereto. It can also be set to be executed immediately after the user equipment acquires the non-contact gesture action image input by the user, which belongs to the protection scope of the embodiment of the present invention. It should be noted that the above default mode can save the user equipment overhead and improve its efficiency.
S207,确定所述特征向量值对应的身份信息。S207. Determine identity information corresponding to the feature vector value.
所述身份信息可以是已预先存入用户设备的身份信息,也可以是未知身份信息,例如,陌生访问者。The identity information may be identity information that has been pre-stored in the user equipment, or may be unknown identity information, such as an unfamiliar visitor.
S208,判断身份信息是否具有执行所述操作行为的权限。 S208. Determine whether the identity information has the right to perform the operation behavior.
具体的,用户设备判断掌纹或指纹信息所对应的身份信息是否具有执行操作行为的权限的具体实现方式可以是:用户设备获取掌纹或指纹信息的特征向量值;确定所述特征向量值对应的身份信息;通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限,所述身份数据库可如表3所示,其中,身份1可表示最高权限的用户。Specifically, the specific implementation manner of the user equipment determining whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be: the user equipment acquires the feature vector value of the palmprint or the fingerprint information; and determines that the feature vector value corresponds to Identity information; determining whether the identity information has the right to perform the operation behavior by querying a preset identity database, the identity database may be as shown in Table 3, wherein the identity 1 may represent the user with the highest authority.
进一步的,身份信息具有执行操作行为的权限,则进入步骤S209,否则进入步骤S210。例如,用户在用户设备上执行“打开手机钱包”的操作行为,用户设备获取用户的指纹的特征向量值后,确定特征向量值对应的身份信息为用户2,再通过查询身份数据库,可知用户2不具备执行“打开手机钱包”的权限,进入步骤S210。从而保证了用户执行非接触手势命令的安全性。Further, the identity information has the authority to perform the operation behavior, and proceeds to step S209, otherwise proceeds to step S210. For example, the user performs an operation behavior of “opening the mobile wallet” on the user equipment, and after obtaining the feature vector value of the fingerprint of the user, the user equipment determines that the identity information corresponding to the feature vector value is the user 2, and then queries the identity database to know that the user 2 If the permission to open the mobile wallet is not performed, the process proceeds to step S210. Thereby ensuring the security of the user performing the contactless gesture command.
特别的,由表3可知,针对同一个操作行为,不同的身份信息也可同时具备权限。例如,表3中“打电话给联系人S”。其中,未知身份信息不具备任何一个需权限验证的操作行为的权限。In particular, as can be seen from Table 3, different identity information can also have rights for the same operation behavior. For example, in Table 3, "call the contact S." Among them, the unknown identity information does not have any permission to perform the operation of the authority verification.
S209,执行所述手势命令信息所对应的操作行为。S209. Perform an operation behavior corresponding to the gesture command information.
例如,用户设备执行“打开手机钱包”。For example, the user device performs "Open Mobile Wallet".
S210,拒绝执行所述手势命令信息所对应的操作行为。S210. Reject the operation behavior corresponding to the gesture command information.
例如,用户设备不执行“打开手机钱包”。For example, the user device does not perform "Open Mobile Wallet".
本发明实施例通过摄像装置获取用户输入的非接触手势动作图像,再根据非接触手势动作图像获取手势命令信息以及提取用户的掌纹或指纹信息,手势命令信息可确定对应的操作行为,若该操作行为需要身份认证,则通过掌纹或指纹信息来执行身份认证,可以实现保证非接触手势命令的便捷性的同时,提高其安全性,增强用户体验。In the embodiment of the present invention, the non-contact gesture action image input by the user is acquired by the camera device, and the gesture command information is acquired according to the non-contact gesture action image, and the palmprint or fingerprint information of the user is extracted, and the gesture command information can determine the corresponding operation behavior. If the operation behavior requires identity authentication, identity authentication can be performed through palmprint or fingerprint information, which can ensure the convenience of the non-contact gesture command, improve its security, and enhance the user experience.
图3是本发明实施例中一种用户设备的结构示意图。如图所示本发明实施例中的用户设备至少可以包括命令信息获取模块310、操作行为判断模块320、权限判断模块330以及操作行为执行模块340,其中:FIG. 3 is a schematic structural diagram of a user equipment according to an embodiment of the present invention. The user equipment in the embodiment of the present invention may include at least a command information obtaining module 310, an operation behavior determining module 320, an authority determining module 330, and an operation behavior executing module 340, where:
命令信息获取模块310,用于获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息。The command information acquiring module 310 is configured to acquire a non-contact gesture action image input by the user, and recognize the gesture command information according to the non-contact gesture action image.
具体的,命令信息获取模块310可通过摄像装置获取用户输入的非接触手势动作图像,并根据非接触手势动作图像,获取手势命令信息。其中,所述摄 像装置可包括用户设备的镜头,例如智能手机的前置摄像头或后置摄像头,所述非接触手势动作图像可以是至少两张连续的照片或者一段影像,所述手势命令信息为预先设置的与非接触手势动作图像中动作相匹配的标识信息。可选的一个具体示例,用户在智能手机的前置摄像头正前方空中用手指划一个圈,命令信息获取模块310通过前置摄像头摄取划圈动作的影像,进而获取该影像中的划圈动作所匹配的手势命令信息。Specifically, the command information acquiring module 310 can acquire the non-contact gesture action image input by the user through the camera device, and acquire the gesture command information according to the non-contact gesture action image. Among them, the photo The image device may include a lens of the user equipment, such as a front camera or a rear camera of the smart phone, and the non-contact gesture motion image may be at least two consecutive photos or a video image, and the gesture command information is preset and The identification information that matches the action in the non-contact gesture action image. In an optional specific example, the user draws a circle with the finger in front of the front camera of the smart phone, and the command information acquiring module 310 captures the image of the circular motion through the front camera, thereby acquiring the circular motion in the image. Matching gesture command information.
请参阅图3,如图所示的用户设备还可以包括操作指令及对象获取模块350和操作行为确定模块360,其中:Referring to FIG. 3, the user equipment as shown may further include an operation instruction and an object acquisition module 350 and an operation behavior determination module 360, wherein:
操作指令及对象获取模块350,用于根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象。The operation instruction and object acquisition module 350 is configured to find an operation instruction mapped by the gesture command information according to a preset mapping relationship, and acquire an operation object to be executed by the user.
具体的,所述预设的映射关系可以参阅表1,可选的一个实现过程,若获取到的手势命令信息为“手掌由紧握到张开”,则操作指令及对象获取模块350识别的操作指令为“启动应用或服务”。同时,操作指令及对象获取模块350还将获取到用户所要执行的操作对象,例如“游戏A”。Specifically, the preset mapping relationship may refer to Table 1, and an optional implementation process. If the acquired gesture command information is “the palm is gripped to open”, the operation instruction and the object acquisition module 350 recognize the The operation instruction is "Start Application or Service". At the same time, the operation instruction and object acquisition module 350 will also acquire an operation object to be executed by the user, such as "game A".
操作行为确定模块360,用于以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation behavior determining module 360 is configured to determine an operation behavior corresponding to the gesture command information by executing the operation instruction on the operation object.
例如,请参阅表1,操作行为确定模块360获取到的操作对象为“游戏A”,识别的操作指令为“启动应用或服务”,则获取到的操作行为是“启动游戏A”。For example, referring to Table 1, the operation object obtained by the operation behavior determination module 360 is "game A", and the recognized operation instruction is "launch application or service", and the acquired operation behavior is "start game A".
特别的,部分获取到的操作指令不需要操作对象,如表1中的后两行,因此也可以直接根据操作指令确知用户指示要执行的操作行为。例如,请参阅表1,操作行为确定模块360识别的“用食指划个圈”所映射的操作指令为“打电话给联系人C”,则确定的操作行为即为“打电话给联系人C”。In particular, the partially acquired operation instructions do not require an operation object, such as the last two lines in Table 1, and therefore the user can directly determine the operation behavior to be performed according to the operation instruction. For example, referring to Table 1, the operation instruction mapped by the operation behavior determination module 360 for "marking with the index finger" is "calling the contact C", and the determined operation behavior is "calling the contact C". ".
操作行为判断模块320,用于判断所述手势命令信息所对应的操作行为是否需要权限验证。The operation behavior determining module 320 is configured to determine whether the operation behavior corresponding to the gesture command information requires authority verification.
具体的,操作行为判断模块320判断所述手势命令信息所对应的操作行为是否需要权限验证的实现方法可以是:通过查询预设的权限数据库,判断对操作对象执行所述操作指令是否需要权限验证,当判断结果为是时,则表明手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明手势命令信息所对应的操作行为不需要权限验证。需要指出的是,权限数据库存有用 于指示对各个操作对象执行各个操作指令是否需要权限验证的信息,可如表2所示。例如,请参阅表2,若操作行为是“打开手机钱包”,则查询权限数据库可知该操作行为需要权限验证。Specifically, the method for determining whether the operation behavior corresponding to the gesture command information needs the authority verification may be: querying the preset permission database to determine whether the operation instruction is required to perform the operation instruction on the operation object. When the judgment result is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the judgment result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification. It should be noted that the permission data inventory is useful. The information indicating whether the operation instruction needs to be verified for each operation object for each operation object can be as shown in Table 2. For example, please refer to Table 2. If the operation behavior is "Open Mobile Wallet", the query permission database can know that the operation behavior requires permission verification.
另一方面,若手势命令信息所对应的操作行为不需要权限验证,操作行为执行模块340则执行手势命令信息所对应的操作行为。例如,请参阅表2,操作行为若是“打开文件A”,则用户设备直接打开文件A。从而保证了用户执行非接触手势命令的便捷性。On the other hand, if the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior execution module 340 executes the operation behavior corresponding to the gesture command information. For example, please refer to Table 2. If the operation behavior is "Open File A", the user device directly opens file A. Thereby ensuring the convenience of the user to execute the contactless gesture command.
权限判断模块330,用于若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限。具体实现中,所述权限判断模块330可以如图4所示进一步包括:特征向量值获取单元331、身份信息确定单元332、以及权限判断单元333,其中:The privilege judging module 330 is configured to determine the palm print or the fingerprint information by using the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image, if the operation behavior corresponding to the gesture command information requires the privilege verification Whether the corresponding identity information has the right to perform the operation behavior. In a specific implementation, the authority determining module 330 may further include: a feature vector value obtaining unit 331, an identity information determining unit 332, and a rights determining unit 333, as shown in FIG.
特征向量值获取单元331,用于获取所述掌纹或指纹信息的特征向量值。The feature vector value obtaining unit 331 is configured to acquire a feature vector value of the palm print or the fingerprint information.
其中,每一个的掌纹或指纹信息对应有其特定的特征向量值。Wherein, each palm print or fingerprint information corresponds to its specific feature vector value.
身份信息确定单元332,用于确定所述特征向量值对应的身份信息。The identity information determining unit 332 is configured to determine identity information corresponding to the feature vector value.
所述身份信息可以是已预先存入用户设备的身份信息,也可以是未知身份信息,例如,陌生访问者。The identity information may be identity information that has been pre-stored in the user equipment, or may be unknown identity information, such as an unfamiliar visitor.
权限判断单元333,用于通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。The authority determining unit 333 is configured to determine whether the identity information has the right to perform the operation behavior by querying a preset identity database.
所述身份数据库可如表3所示,其中,身份1可表示最高权限的用户。例如,用户在用户设备上执行“打开手机钱包”的操作行为,特征向量值获取单元331获取用户的指纹的特征向量值后,身份信息确定单元332确定特征向量值对应的身份信息为用户2,再通过权限判断单元333查询身份数据库,可知用户2不具备执行“打开手机钱包”的权限。The identity database can be as shown in Table 3, wherein the identity 1 can represent the user with the highest authority. For example, after the user performs the operation behavior of “opening the mobile phone wallet” on the user equipment, the feature vector value obtaining unit 331 obtains the feature vector value of the fingerprint of the user, and the identity information determining unit 332 determines that the identity information corresponding to the feature vector value is the user 2, Then, the authority judgment unit 333 queries the identity database, and it can be known that the user 2 does not have the right to execute the "open mobile wallet".
特别的,由表3可知,针对同一个操作行为,不同的身份信息也可同时具备权限。例如,表3中“打电话给联系人S”。其中,未知身份信息不具备任何一个需权限验证的操作行为的权限。In particular, as can be seen from Table 3, different identity information can also have rights for the same operation behavior. For example, in Table 3, "call the contact S." Among them, the unknown identity information does not have any permission to perform the operation of the authority verification.
操作行为执行模块340,用于若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。 The operation behavior execution module 340 is configured to execute an operation behavior corresponding to the gesture command information if the authority is available, and otherwise refuse to perform the operation behavior corresponding to the gesture command information.
例如,操作行为执行模块340根据身份信息是否有权限分别执行“打开手机钱包”或不执行“打开手机钱包”。从而保证了用户的非接触手势命令的安全性。For example, the operation behavior execution module 340 performs "open mobile phone wallet" or "open mobile phone wallet" respectively according to whether the identity information has authority. Thereby ensuring the security of the user's contactless gesture command.
图5是本发明实施例中的另一种用户设备的结构示意图,如图5所示,该用户设备可以包括:至少一个处理器401,例如CPU,至少一个摄像装置403,存储器404,至少一个通信总线402。其中,通信总线402用于实现这些组件之间的连接通信。其中,本发明实施例中的摄像装置403可以为用户设备的一个或多个镜头,例如前置摄像头或后置摄像头,所述摄像头包括感光传感器CCD(Charge Coupled Device)、CMOS(Complementary Metal Oxide Semiconductor)或图像处理器等,可为红外摄像头或可见光摄像头,用于获取用户输入的非接触手势命令。存储器404可以是高速RAM存储器,也可以是非易失的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器404可选的还可以是至少一个位于远离前述处理器401的存储装置。存储器404中存储一组程序代码,且处理器401用于调用存储器中存储的程序代码,用于执行以下操作:FIG. 5 is a schematic structural diagram of another user equipment in the embodiment of the present invention. As shown in FIG. 5, the user equipment may include: at least one processor 401, such as a CPU, at least one camera 403, and a memory 404, at least one Communication bus 402. Among them, the communication bus 402 is used to implement connection communication between these components. The camera device 403 in the embodiment of the present invention may be one or more lenses of the user equipment, such as a front camera or a rear camera, and the camera includes a CCD (Charge Coupled Device) and a CMOS (Complementary Metal Oxide Semiconductor). Or an image processor or the like, which may be an infrared camera or a visible light camera for acquiring a contactless gesture command input by a user. The memory 404 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 404 can optionally also be at least one storage device located remotely from the aforementioned processor 401. A set of program codes is stored in the memory 404, and the processor 401 is configured to call program code stored in the memory for performing the following operations:
获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息;Obtaining a non-contact gesture action image input by the user, and recognizing the gesture command information according to the non-contact gesture action image;
判断所述手势命令信息所对应的操作行为是否需要权限验证;Determining whether the operation behavior corresponding to the gesture command information requires authority verification;
若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限;If the operation behavior corresponding to the gesture command information requires the authority verification, determining whether the identity information corresponding to the palm print or the fingerprint information has the palmprint or the fingerprint information extracted according to the non-contact gesture action image The authority to perform the operational behavior;
若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。If there is permission, the operation behavior corresponding to the gesture command information is executed, otherwise the operation behavior corresponding to the gesture command information is refused to be executed.
可选的,处理器401在判断所述手势命令信息所对应的操作行为是否需要权限验证之后,还执行:Optionally, after determining, by the processor 401, whether the operation behavior corresponding to the gesture command information requires permission verification, the processor 401 further performs:
若所述手势命令信息所对应的操作行为不需要权限验证,则执行所述手势命令信息所对应的操作行为。If the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior corresponding to the gesture command information is executed.
可选的,处理器401在判断所述手势命令信息所对应的操作行为是否需要权限验证之前,还执行: Optionally, before determining, by the processor 401, whether the operation behavior corresponding to the gesture command information requires permission verification, the processor 401 further performs:
根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象;Obtaining, according to a preset mapping relationship, an operation instruction mapped by the gesture command information; and acquiring an operation object to be executed by the user;
以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation action corresponding to the gesture command information is determined by executing the operation instruction on the operation object.
相应的,处理器401判断所述手势命令信息所对应的操作行为是否需要权限验证的具体实现方法可以是:Correspondingly, the specific implementation method for the processor 401 to determine whether the operation behavior corresponding to the gesture command information requires permission verification may be:
通过查询预设的权限数据库,判断对所述操作对象执行所述操作指令是否需要权限验证,所述权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息;Determining whether the operation instruction is required to execute the operation instruction on the operation object by querying the preset permission database, and the permission data inventory has information for indicating whether the operation instruction is required to execute the operation instruction for each operation object;
当判断结果为是时,则表明所述手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明所述手势命令信息所对应的操作行为不需要权限验证。When the result of the determination is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the determination result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
可选的,处理器401判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限的具体实现方法可以是:Optionally, the specific implementation method for the processor 401 to determine whether the identity information corresponding to the palmprint or the fingerprint information has the right to perform the operation behavior may be:
获取所述掌纹或指纹信息的特征向量值;Obtaining a feature vector value of the palm print or fingerprint information;
确定所述特征向量值对应的身份信息;Determining identity information corresponding to the feature vector value;
通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。By querying the preset identity database, it is determined whether the identity information has the right to perform the operation behavior.
进一步的,处理器401获取用户输入的非接触手势动作图像的具体实现方法可以是:Further, the specific implementation method for the processor 401 to obtain the non-contact gesture action image input by the user may be:
通过摄像装置获取用户输入的非接触手势动作图像。The non-contact gesture motion image input by the user is acquired by the imaging device.
本发明实施例还提出了一种计算机存储介质,所述计算机存储介质存储有程序,所述程序执行时包括本发明实施例结合图1~图2所描述的手势命令的认证方法中的部分或全部的步骤。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program execution includes a part of the authentication method of the gesture command described in the embodiment of the present invention in conjunction with FIG. 1 to FIG. All the steps.
由上可见,本发明实施例根据用户输入的非接触手势动作图像识别手势命令信息,并根据手势命令信息确定对应的操作行为,若该操作行为需要权限认证,则以根据非接触手势动作图像提取的用户的掌纹或指纹信息来进行权限验证,只有具有权限的操作行为方可被执行,可以实现保证非接触手势命令便捷性的同时,提高其安全性,增强用户体验。 It can be seen that the embodiment of the present invention recognizes the gesture command information according to the non-contact gesture action image input by the user, and determines the corresponding operation behavior according to the gesture command information. If the operation behavior requires the authority authentication, the image is extracted according to the non-contact gesture action image. The palmprint or fingerprint information of the user is used for the authority verification, and only the operation action with the permission can be executed, and the convenience of the non-contact gesture command can be ensured, the security is improved, and the user experience is enhanced.

Claims (12)

  1. 一种非接触手势命令的认证方法,其特征在于,所述方法包括:A method for authenticating a non-contact gesture command, the method comprising:
    获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息;Obtaining a non-contact gesture action image input by the user, and recognizing the gesture command information according to the non-contact gesture action image;
    判断所述手势命令信息所对应的操作行为是否需要权限验证;Determining whether the operation behavior corresponding to the gesture command information requires authority verification;
    若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限;If the operation behavior corresponding to the gesture command information requires the authority verification, determining whether the identity information corresponding to the palm print or the fingerprint information has the palmprint or the fingerprint information extracted according to the non-contact gesture action image The authority to perform the operational behavior;
    若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。If there is permission, the operation behavior corresponding to the gesture command information is executed, otherwise the operation behavior corresponding to the gesture command information is refused to be executed.
  2. 如权利要求1所述的方法,其特征在于,所述判断所述手势命令信息所对应的操作行为是否需要权限验证之后,还包括:The method of claim 1, wherein the determining whether the operation behavior corresponding to the gesture command information requires permission verification further comprises:
    若所述手势命令信息所对应的操作行为不需要权限验证,则执行所述手势命令信息所对应的操作行为。If the operation behavior corresponding to the gesture command information does not require the authority verification, the operation behavior corresponding to the gesture command information is executed.
  3. 如权利要求1所述的方法,其特征在于,所述判断所述手势命令信息所对应的操作行为是否需要权限验证之前,还包括:The method of claim 1, wherein the determining whether the operation behavior corresponding to the gesture command information requires permission verification further comprises:
    根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象;Obtaining, according to a preset mapping relationship, an operation instruction mapped by the gesture command information; and acquiring an operation object to be executed by the user;
    以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation action corresponding to the gesture command information is determined by executing the operation instruction on the operation object.
  4. 如权利要求3所述的方法,其特征在于,所述判断所述手势命令信息所对应的操作行为是否需要权限验证,包括:The method of claim 3, wherein the determining whether the operation behavior corresponding to the gesture command information requires permission verification comprises:
    通过查询的权限数据库,判断对所述操作对象执行所述操作指令是否需要权限验证,所述权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息;Determining, by the privilege database of the query, whether the operation instruction needs to perform permission verification on the operation object, and the privilege data inventory has information for indicating whether each operation instruction is required to perform authority verification on each operation object;
    当判断结果为是时,则表明所述手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明所述手势命令信息所对应的操作行为不需要权限验证。 When the result of the determination is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the determination result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
  5. 如权利要求1所述的方法,其特征在于,所述判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限,包括:The method according to claim 1, wherein the determining whether the identity information corresponding to the palm print or the fingerprint information has the authority to perform the operation behavior comprises:
    获取所述掌纹或指纹信息的特征向量值;Obtaining a feature vector value of the palm print or fingerprint information;
    确定所述特征向量值对应的身份信息;Determining identity information corresponding to the feature vector value;
    通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。By querying the preset identity database, it is determined whether the identity information has the right to perform the operation behavior.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述获取用户输入的非接触手势动作图像,包括:The method according to any one of claims 1-5, wherein the obtaining a non-contact gesture action image input by a user comprises:
    通过摄像装置获取所述用户输入的非接触手势动作图像。The non-contact gesture motion image input by the user is acquired by the imaging device.
  7. 一种用户设备,其特征在于,所述用户设备包括:A user equipment, where the user equipment includes:
    命令信息获取模块,用于获取用户输入的非接触手势动作图像,并根据所述非接触手势动作图像识别手势命令信息;a command information acquiring module, configured to acquire a non-contact gesture action image input by the user, and identify gesture command information according to the non-contact gesture action image;
    操作行为判断模块,用于判断所述手势命令信息所对应的操作行为是否需要权限验证;An operation behavior determining module, configured to determine whether the operation behavior corresponding to the gesture command information requires permission verification;
    权限判断模块,用于若所述手势命令信息所对应的操作行为需要权限验证,则以根据所述非接触手势动作图像提取的用户的掌纹或指纹信息,判断所述掌纹或指纹信息所对应的身份信息是否具有执行所述操作行为的权限;The permission judging module is configured to determine, according to the palmprint or fingerprint information of the user extracted according to the non-contact gesture action image, the palmprint or the fingerprint information, if the operation behavior corresponding to the gesture command information requires the authority verification Whether the corresponding identity information has the right to perform the operation behavior;
    操作行为执行模块,用于若有权限,则执行所述手势命令信息所对应的操作行为,否则拒绝执行所述手势命令信息所对应的操作行为。The operation behavior execution module is configured to execute an operation behavior corresponding to the gesture command information if the authority is vested, and otherwise refuse to perform the operation behavior corresponding to the gesture command information.
  8. 如权利要求7所述的用户设备,其特征在于,所述操作行为执行模块还用于若所述手势命令信息所对应的操作行为不需要权限验证,则执行所述手势命令信息所对应的操作行为。The user equipment according to claim 7, wherein the operation behavior execution module is further configured to perform an operation corresponding to the gesture command information if the operation behavior corresponding to the gesture command information does not require authority verification behavior.
  9. 如权利要求7所述的用户设备,其特征在于,所述用户设备还包括:The user equipment of claim 7, wherein the user equipment further comprises:
    操作指令及对象获取模块,用于根据预设的映射关系,查得所述手势命令信息所映射的操作指令;并获取用户所要执行的操作对象;An operation instruction and an object obtaining module, configured to find an operation instruction mapped by the gesture command information according to a preset mapping relationship; and acquire an operation object to be executed by the user;
    操作行为确定模块,用于以对所述操作对象执行所述操作指令来确定所述手势命令信息所对应的操作行为。The operation behavior determining module is configured to determine an operation behavior corresponding to the gesture command information by executing the operation instruction on the operation object.
  10. 如权利要求9所述的用户设备,其特征在于,所述操作行为判断模块用于通过查询预设的权限数据库,判断对所述操作对象执行所述操作指令是否 需要权限验证,所述权限数据库存有用于指示对各个操作对象执行各个操作指令是否需要权限验证的信息;The user equipment according to claim 9, wherein the operation behavior determining module is configured to determine whether the operation instruction is executed on the operation object by querying a preset authority database Privilege verification is required, and the privilege data inventory has information for indicating whether each operation instruction is required to perform authority verification for each operation object;
    当判断结果为是时,则表明所述手势命令信息所对应的操作行为需要权限验证;当判断结果为否时,则表明所述手势命令信息所对应的操作行为不需要权限验证。When the result of the determination is yes, it indicates that the operation behavior corresponding to the gesture command information requires authority verification; when the determination result is no, it indicates that the operation behavior corresponding to the gesture command information does not require authority verification.
  11. 如权利要求7所述的用户设备,其特征在于,所述权限判断模块包括:The user equipment according to claim 7, wherein the authority determining module comprises:
    特征向量值获取单元,用于获取所述掌纹或指纹信息的特征向量值;a feature vector value obtaining unit, configured to acquire a feature vector value of the palmprint or fingerprint information;
    身份信息确定单元,用于确定所述特征向量值对应的身份信息;An identity information determining unit, configured to determine identity information corresponding to the feature vector value;
    权限判断单元,用于通过查询预设的身份数据库,判断所述身份信息是否具有执行所述操作行为的权限。The authority determining unit is configured to determine whether the identity information has the right to perform the operation behavior by querying a preset identity database.
  12. 如权利要求7-11任一项所述的用户设备,其特征在于,所述命令信息获取模块用于通过摄像装置获取所述用户输入的非接触手势动作图像。 The user equipment according to any one of claims 7 to 11, wherein the command information acquisition module is configured to acquire a non-contact gesture motion image input by the user by using an imaging device.
PCT/CN2014/090002 2014-05-19 2014-10-31 Non-contact gesture command authentication method and user equipment WO2015176494A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410211539.1A CN103995998A (en) 2014-05-19 2014-05-19 Non-contact gesture command authentication method and user device
CN201410211539.1 2014-05-19

Publications (1)

Publication Number Publication Date
WO2015176494A1 true WO2015176494A1 (en) 2015-11-26

Family

ID=51310160

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090002 WO2015176494A1 (en) 2014-05-19 2014-10-31 Non-contact gesture command authentication method and user equipment

Country Status (2)

Country Link
CN (1) CN103995998A (en)
WO (1) WO2015176494A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374791A (en) * 2021-11-25 2022-04-19 慧之安信息技术股份有限公司 Camera adjusting method and system based on gesture recognition

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995998A (en) * 2014-05-19 2014-08-20 华为技术有限公司 Non-contact gesture command authentication method and user device
CN104573459B (en) * 2015-01-12 2018-02-02 北京智谷睿拓技术服务有限公司 Exchange method, interactive device and user equipment
CN105988691B (en) * 2015-01-27 2019-12-13 阿里巴巴集团控股有限公司 Method and device for realizing service based on gesture
RU2679253C1 (en) * 2015-02-16 2019-02-06 Хуавей Текнолоджиз Ко., Лтд. Method, device and terminal for processing fingerprint event
CN106156574A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 A kind of Information Authentication method, Apparatus and system
CN106713247A (en) * 2015-11-17 2017-05-24 中国移动通信集团公司 Message creditability verification method and apparatus thereof
CN107533599B (en) * 2015-12-31 2020-10-16 华为技术有限公司 Gesture recognition method and device and electronic equipment
WO2017124524A1 (en) * 2016-01-24 2017-07-27 何兰 Method for verifying access file by means of remote fingerprint, and fingerprint system
WO2017124521A1 (en) * 2016-01-24 2017-07-27 何兰 Method for verifying access file by means of remote gesture, and gesture system
WO2017124523A1 (en) * 2016-01-24 2017-07-27 何兰 Information pushing method when file is accessed, and fingerprint system
CN106775346A (en) * 2016-11-23 2017-05-31 广州日滨科技发展有限公司 A kind of method and device of finger-image identification
WO2019005936A1 (en) * 2017-06-27 2019-01-03 Intel Corporation Gesture recognition radar systems and methods
CN108595007A (en) * 2018-04-25 2018-09-28 四川斐讯信息技术有限公司 The method and system of wireless relay based on gesture identification, wireless routing device
CN109543381A (en) * 2018-11-22 2019-03-29 Oppo广东移动通信有限公司 Solve lock control method and electronic device
CN109583168B (en) * 2018-11-22 2022-03-15 Oppo广东移动通信有限公司 Unlocking control method and electronic device
CN110472589A (en) * 2019-08-19 2019-11-19 中国银行股份有限公司 A kind of method, apparatus and system of behavior authentication
CN113050434A (en) * 2019-12-26 2021-06-29 佛山市云米电器科技有限公司 Household appliance control method, household appliance and computer readable storage medium
CN111273777A (en) * 2020-02-11 2020-06-12 Oppo广东移动通信有限公司 Virtual content control method and device, electronic equipment and storage medium
US11946996B2 (en) 2020-06-30 2024-04-02 Apple, Inc. Ultra-accurate object tracking using radar in multi-object environment
JPWO2023032275A1 (en) * 2021-08-31 2023-03-09

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136508A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Gesture identification method and electronic equipment
CN103324274A (en) * 2012-03-22 2013-09-25 联想(北京)有限公司 Method and device for man-machine interaction
CN103576847A (en) * 2012-08-09 2014-02-12 腾讯科技(深圳)有限公司 Method and device for obtaining account information
CN103699223A (en) * 2013-12-11 2014-04-02 北京智谷睿拓技术服务有限公司 Control method and equipment based on gestures
CN103745147A (en) * 2013-12-30 2014-04-23 华为技术有限公司 System mode starting method and application program starting method and device
CN103995998A (en) * 2014-05-19 2014-08-20 华为技术有限公司 Non-contact gesture command authentication method and user device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034429A (en) * 2011-10-10 2013-04-10 北京千橡网景科技发展有限公司 Identity authentication method and device for touch screen
CN103744506A (en) * 2013-12-26 2014-04-23 乐视致新电子科技(天津)有限公司 Electronic device and gesture unlocking method
CN103761466A (en) * 2014-02-14 2014-04-30 上海云享科技有限公司 Method and device for identity authentication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136508A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Gesture identification method and electronic equipment
CN103324274A (en) * 2012-03-22 2013-09-25 联想(北京)有限公司 Method and device for man-machine interaction
CN103576847A (en) * 2012-08-09 2014-02-12 腾讯科技(深圳)有限公司 Method and device for obtaining account information
CN103699223A (en) * 2013-12-11 2014-04-02 北京智谷睿拓技术服务有限公司 Control method and equipment based on gestures
CN103745147A (en) * 2013-12-30 2014-04-23 华为技术有限公司 System mode starting method and application program starting method and device
CN103995998A (en) * 2014-05-19 2014-08-20 华为技术有限公司 Non-contact gesture command authentication method and user device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374791A (en) * 2021-11-25 2022-04-19 慧之安信息技术股份有限公司 Camera adjusting method and system based on gesture recognition

Also Published As

Publication number Publication date
CN103995998A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
WO2015176494A1 (en) Non-contact gesture command authentication method and user equipment
US10437970B2 (en) User authentication and data encryption
EP3100194B1 (en) Dynamic keyboard and touchscreen biometrics
US9594893B2 (en) Multi-touch local device authentication
TWI557649B (en) Electronic device and control method for fingerprint recognition apparatus
CN105975182B (en) A kind of terminal operation method and terminal
EP3296907B1 (en) Method for fingerprint unlocking and terminal
WO2017000342A1 (en) Fingerprint recognition method and terminal
US20140181962A1 (en) Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor
KR102093196B1 (en) Device and method for conrol based on recognizing fingerprint
TW201339917A (en) Method and system for controlling touch-sensitive electronic device
WO2019100766A1 (en) Image processing method and apparatus, electronic device and storage medium
EP3055806B1 (en) Informed implicit enrollment and identification
US20140115725A1 (en) File using restriction method, user device and computer-readable storage
US20150363591A1 (en) Method of activate upon authentication of electronic device
US9207850B2 (en) Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor
WO2017211298A1 (en) Method and apparatus for data processing between terminals, device and storage medium
US11552944B2 (en) Server, method for controlling server, and terminal device
CN103955641A (en) Fingerprint instruction system and method applied to mobile terminal
WO2017113407A1 (en) Gesture recognition method and apparatus, and electronic device
JP2019527868A (en) Biological feature identification apparatus and method, and biological feature template registration method
TW201800978A (en) Electronic device with fingerprint identification function and fingerprint identification method
US20150062005A1 (en) Method and system for providing user interaction when capturing content in an electronic device
CN105678199B (en) Input device and information input method
US20170085784A1 (en) Method for image capturing and an electronic device using the method

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

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

Country of ref document: EP

Kind code of ref document: A1