A gesture password acquisition method, device and storage medium
Patent Information
- Application Number
- CN202310989602.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2043-08-07
AI Technical Summary
In the metaverse of virtual reality, authentication methods that rely on entering character passwords via keyboard result in a poor user experience.
The camera module identifies the user's gesture password status, generates a set of gesture passwords, and verifies the user's identity using preset identity information recognition rules. Users do not need to set passwords through a physical keyboard; they only need to extend their fingers in a preset direction and draw a movement trajectory to complete the password setting.
It enhances the user experience when entering passwords and improves the accuracy and security of identity verification.
Smart Images

Figure CN117034249B_ABST
Abstract
Description
[Technical Field]
[0001] This invention relates to the field of electronic technology, and in particular to a method, device and storage medium for obtaining gesture passwords. [Background Technology]
[0002] In the metaverse of virtual reality, people access the metaverse service system through virtual reality glasses. Cameras capture the movements of various body parts, and people typically interact with the system through their bodies rather than using a keyboard. Traditional software authentication involves users entering a password on a keyboard; in the metaverse, this keyboard-based password entry would result in a poor user experience. [Summary of the Invention]
[0003] In view of this, the present invention provides an identity information recognition system, method and related equipment based on gesture password to enhance the user experience.
[0004] The specific technical solution of the first embodiment of the present invention is as follows: a gesture password acquisition method, the method comprising: recognizing user status information using an image captured by a camera module, the status information including a password-inputting state and an input password state; the password-inputting state is that the user's first height is greater than or equal to a second height, and no finger extended by the user towards a preset direction is recognized; the first height is the height corresponding to the highest point of the user's hand, and the second height is the height corresponding to the lowest point of the user's head; the input password state is that the user's first height is greater than or equal to the second height, and a finger extended by the user towards a preset direction is recognized; when the user's status information is the input password state, obtaining coordinate points corresponding to the movement position of the user's finger in a preset coordinate system to obtain a first coordinate set; sorting the coordinates in the first coordinate set to obtain a first gesture password set; the first gesture password set is a coordinate sequence after sorting the coordinates in the first coordinate set according to the acquisition time; the first gesture password set is used to verify the user's identity information.
[0005] Preferably, the method further includes: presetting a second gesture password set; the second gesture password set being used to represent the user's identity information; obtaining a first similarity between the first gesture password set and the second gesture password set; and obtaining the user's identity information recognition result based on the first similarity and a preset identity information recognition rule. ; The identity information recognition result includes successful identity verification and unsuccessful identity verification.
[0006] Preferably, obtaining the first similarity between the first gesture password set and the second gesture password set includes: sequentially connecting the coordinates in the first gesture password set to obtain a first line segment set; the first line segment set is the set of lines connecting two adjacent coordinates in the first gesture password set; sequentially connecting the coordinates in the second gesture password set to obtain a second line segment set; the second line segment set is the set of lines connecting two adjacent coordinates in the second gesture password set; comparing the line segment at a first preset position in the first line segment set with the line segment at a second preset position in the second line segment set; if the angle between the line segment at the first preset position and the line segment at the second preset position is within a preset angle range, then the comparison result between the line segment at the first preset position and the line segment at the second preset position is a preset score; the first preset position is equal to the second preset position; adding the comparison results of all line segments in the first line segment set and all line segments in the second line segment set to obtain the sum of similarities between the first gesture password set and the second gesture password set; and averaging the sum of similarities based on the number of all line segments in the first line segment set to obtain the first similarity.
[0007] Preferably, obtaining the first similarity between the first gesture password set and the second gesture password set includes: sequentially connecting the coordinates in the first gesture password set to obtain a first gesture trajectory map; the first gesture trajectory map is used to represent the trajectory corresponding to the first gesture password set; sequentially connecting the coordinates in the second gesture password set to obtain a second gesture trajectory map; the second gesture trajectory map is used to represent the trajectory corresponding to the second gesture password set; and comparing the first gesture trajectory map and the second gesture trajectory map to obtain the first similarity.
[0008] Preferably, the preset identity information recognition rule includes: when the first similarity is less than a preset threshold, the user's identity information recognition result is that the identity verification failed; when the first similarity is greater than or equal to the preset threshold, the user's identity information recognition result is that the identity verification passed.
[0009] Preferably, the method further includes: setting a cursor in the preset coordinate system; the cursor moving to the coordinate point corresponding to the position of the user's finger.
[0010] Preferably, the number of horizontal coordinates in the preset coordinate system is the same as the number of vertical coordinates, and the distance between adjacent coordinates is the same.
[0011] Preferably, the method further includes: setting a preset number of identification attempts; when the user's identity information identification result is that the identity verification fails, obtaining the number of times the user's identity information is identified within a preset time, and determining the size of the number of identification attempts compared to the preset number of identification attempts; if the number of identification attempts is not greater than the preset number of identification attempts, then returning to the step of obtaining a first set of coordinates of multiple positions corresponding to the first movement trajectory based on the first movement trajectory of the highest point of the user's hand and a preset coordinate system, and performing another identity information identification; if the number of identification attempts is greater than the preset number of identification attempts, ending the identity information identification, and the user's identity information identification result is that the identity verification fails.
[0012] The specific technical solution of the second embodiment of the present invention is as follows: a gesture password acquisition device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method as described in any one of the first embodiments of this application.
[0013] The specific technical solution of the third embodiment of the present invention is as follows: a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the steps of the method as described in any one of the first embodiments of the present application.
[0014] Implementing the embodiments of the present invention will have the following beneficial effects:
[0015] This invention utilizes images captured by a camera module to recognize user status information, including a pending password input state and an input password state. The pending password input state is characterized by a first height of the user being greater than or equal to a second height, and no finger extended by the user towards a preset direction is detected. The first height is the height corresponding to the highest point of the user's hand, and the second height is the height corresponding to the lowest point of the user's head. The input password state is characterized by a first height of the user being greater than or equal to the second height, and a finger extended by the user towards the preset direction is detected. When the user's status information is in the input password state, coordinate points corresponding to the movement position of the user's finger are obtained in a preset coordinate system to obtain a first coordinate set. The coordinates in the first coordinate set are sorted to obtain a first gesture password set. The first gesture password set is a sequence of coordinates in the first coordinate set ordered according to the acquisition time. The first gesture password set is used to verify the user's identity information.
[0016] The camera module captures the movement of the user's finger and generates a set of coordinates corresponding to the movement position. The coordinates in the first set of coordinates are sorted according to the acquisition time to generate a first set of gesture passwords corresponding to the movement position of the finger. This allows the user to set a password without using a physical keyboard. They only need to extend their finger in a preset direction and draw a movement trajectory to complete the password setting, thereby enhancing the user's experience when entering a password. [Attached Image Description]
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart of a method for obtaining a gesture password;
[0019] Figure 2 A diagram illustrating the movement of the user's finger;
[0020] Figure 3 Flowchart for identity verification;
[0021] Figure 4 Flowchart for obtaining the first similarity score through line segments;
[0022] Figure 5 This is a schematic diagram of the first set of line segments;
[0023] Figure 6 Flowchart for obtaining the first similarity from the gesture trajectory graph;
[0024] Figure 7 This is a flowchart illustrating the steps involved in identifying identity information based on the number of recognition attempts.
Detailed Implementation Methods
[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0026] Please see Figure 1 This is a flowchart of a gesture password acquisition method according to the first embodiment of this application, which can enhance the user's experience when entering a password. The method includes:
[0027] Step 101: Use the image captured by the camera module to identify the user's status information, which includes a password-inputting state and a password-inputting state; the password-inputting state is when the user's first height is greater than or equal to a second height, and no finger extended by the user towards a preset direction is detected; the first height is the height corresponding to the highest point of the user's hand, and the second height is the height corresponding to the lowest point of the user's head; the password-inputting state is when the user's first height is greater than or equal to the second height, and a finger extended by the user towards a preset direction is detected;
[0028] In a specific embodiment, the status information also includes an exit status, where the user's first height is less than the second height, and the user in the exit status has not raised the highest point of their hand to their head. When the user raises the highest point of their hand to their head but no finger extended towards a preset direction is detected, the camera module recognizes that the user is in a state of waiting to input a password, where the preset direction can be pointing towards the camera module; when the user raises the highest point of their hand to their head and a finger extended towards the camera module is detected, the camera module recognizes that the user is in a state of inputting a password.
[0029] Step 102: When the user's status information is the password input status, obtain the coordinate points corresponding to the movement position of the user's finger in the preset coordinate system to obtain the first coordinate set;
[0030] For details, please refer to Figure 2 Please refer to the following for the movement of the user's finger when entering the password: Figure 2 In a preset coordinate system, obtain the coordinate points corresponding to the movement position of the user's finger to obtain the first coordinate set, which specifically consists of 30 coordinate points corresponding to the movement position of the finger.
[0031] Specifically, when the user's status information is "password input pending", the coordinates of the user's finger movement position will not be acquired. Therefore, the coordinates in the first coordinate set are all the coordinates corresponding to the user's movement position when the user's status information is "password input". For discontinuous movement positions, the user can retract the finger facing the camera module and move the hand until it reaches the target position, and then extend the finger facing the camera module to continue recording the coordinates in the first coordinate set. This allows the line segments in the first coordinate set to be either continuous line segments or graphics, or discontinuous line segments or graphics.
[0032] Step 103: Sort the coordinates in the first coordinate set to obtain a first gesture password set; the first gesture password set is a sequence of coordinates in the first coordinate set sorted according to the acquisition time; the first gesture password set is used to verify the user's identity information;
[0033] Specifically, the coordinate sequence after sorting the coordinates in the first coordinate set is (3,9)(2,8)(2,7)(3,7)(4,7)(5,7)(6,7)(7,7)(8,7)(9,7)(3,9)(3,8)(3,7)(3,6)(3,5)(3,4)(3,3)(3,2)(2,3)(2,4)(3,4)(4,5)(5,8)(6,5)(7,2)(8,3)(7,5)(6,3)(6,9)(7,8). The above coordinate sequence constitutes the first gesture password set, which is a set of coordinate points sorted according to the user's finger movement position, and can reflect the user's finger movement trajectory.
[0034] The camera module captures the movement of the user's finger and generates a set of coordinates corresponding to the movement position. The coordinates in the first set of coordinates are sorted according to the acquisition time to generate a first set of gesture passwords corresponding to the movement position of the finger. This allows the user to set a password without using a physical keyboard. They only need to extend their finger in a preset direction and draw a movement trajectory to complete the password setting, thereby enhancing the user's experience when entering a password.
[0035] In a specific embodiment, please refer to Figure 3 The method further includes:
[0036] Step 201: Preset a second gesture password set; the second gesture password set is used to represent the user's identity information;
[0037] Step 202: Obtain the first similarity between the first gesture password set and the second gesture password set;
[0038] Step 203: Obtain the user's identity information recognition result based on the first similarity and the preset identity information recognition rules; the identity information recognition result includes identity verification passed and identity verification failed.
[0039] Specifically, before verifying user identity information, the user needs to preset a second set of gesture passwords. The steps for presetting the second set of gesture passwords can be the same as those for obtaining the first set of gesture passwords. The second set of gesture passwords can be set in a database, and the user's second set of gesture passwords can be obtained by retrieving data from the database. By obtaining the first similarity between the first and second sets of gesture passwords, and the preset identity information recognition rules, the user's identity information recognition result is obtained. Since the coordinate points in the first set of gesture passwords can be a coordinate sequence composed of multiple discontinuous line segments or graphics, using the first set of gesture passwords for identity verification can improve the accuracy of identity verification.
[0040] In a specific embodiment, please refer to Figure 4 The step of obtaining the first similarity between the first set of gesture passwords and the second set of gesture passwords includes:
[0041] Step 401: Connect the coordinates in the first gesture password set sequentially to obtain the first line segment set; the first line segment set is the set of lines connecting two adjacent coordinates in the first gesture password set;
[0042] Step 402: Connect the coordinates in the second gesture password set sequentially to obtain the second line segment set; the second line segment set is the set of lines connecting two adjacent coordinates in the second gesture password set;
[0043] Step 403: Compare the line segments at the first preset position in the first line segment set with the line segments at the second preset position in the second line segment set;
[0044] Step 404: Obtain the angle between the line segment at the first preset position and the line segment at the second preset position; the first preset position is equal to the second preset position;
[0045] Step 405: If the angle between the line segment at the first preset position and the line segment at the second preset position is within a preset angle range, then the comparison result between the line segment at the first preset position and the line segment at the second preset position is a preset score.
[0046] Step 406: Add the comparison results of all line segments in the first line segment set and all line segments in the second line segment set to obtain the sum of the similarity between the first gesture password set and the second gesture password set;
[0047] Step 407: Average the sum of similarities based on the total number of all line segments in the first line segment set to obtain the first similarity.
[0048] Specifically, by connecting the coordinates in the first set of gesture passwords sequentially, a first set of line segments is obtained. (See [link to first set of line segments] for details.) Figure 5The first line segment set is obtained by connecting the coordinates in the first coordinate set end to end. Similarly, the second line segment set is obtained by connecting the coordinates in the second gesture password set. The angle between the line segment at the first preset position and the line segment at the second preset position is obtained. The line segment at the first preset position in the first line segment set is compared with the line segment at the second preset position in the second line segment set, such as comparing the first line segment in the first line segment set with the first line segment in the second line segment set, to obtain the angle between the first line segment in the first line segment set and the first line segment in the second line segment set. If the angle is within a preset angle range, the comparison result between the line segment at the first preset position and the line segment at the second preset position is a preset angle. The preset angle range can be set according to the actual situation, such as 160° or 170°. This embodiment does not set a preset angle range. The comparison results of all line segments in the first line segment set and all line segments in the second line segment set are added together to obtain the sum of similarity between the first gesture password set and the second gesture password set. For example, if the preset score is 5 points, and the comparison result of 20 line segments is 5 points, then the sum of similarity is 100 points. The sum of similarity is averaged according to the number of all line segments in the first line segment set to obtain the first similarity. For example, if the number of all line segments in the first line segment set is 25, then the first similarity is 100 / 25, which is 4 points. By averaging the sum of similarity, the sum of similarity scores is avoided when there are too many line segments in the first gesture password set, so that the authentication result is "verification passed". The average similarity of each line segment is calculated to improve the accuracy of the authentication result.
[0049] In a specific embodiment, the comparison results of a preset first number of line segments in the first line segment set and a preset second number of line segments in the second line segment set can be added together to obtain a second similarity sum between the first gesture password set and the second gesture password set. The second similarity sum is then averaged, where the preset first number and the preset second number are the same. By comparing only a portion of the line segments in the first line segment set to obtain the second similarity, the amount of computation is reduced.
[0050] In a specific embodiment, the preset identity information recognition rule includes: when the first similarity is less than a preset threshold, the user's identity information recognition result is that the identity verification failed; when the first similarity is greater than or equal to the preset threshold, the user's identity information recognition result is that the identity verification passed.
[0051] Specifically, the preset threshold can be set according to actual conditions, such as 3.5 points. The higher the preset threshold score, the higher the accuracy of identity verification. When the first similarity score is 4 points and the preset threshold is 3.5 points, the user's identity information is identified as successfully verified; when the first similarity score is 3.2 points and the preset threshold is 3.5 points, the user's identity information is identified as unsuccessfully verified. The accuracy of identity verification can be changed simply by adjusting the preset threshold score, making it convenient to adjust the accuracy of identity verification.
[0052] In a specific embodiment, please refer to Figure 6 The step of obtaining the first similarity between the first set of gesture passwords and the second set of gesture passwords includes:
[0053] Step 601: Connect the coordinates in the first gesture password set sequentially to obtain a first gesture trajectory diagram; the first gesture trajectory diagram is used to represent the trajectory corresponding to the first gesture password set;
[0054] Step 602: Connect the coordinates in the second gesture password set sequentially to obtain the second gesture trajectory diagram; the second gesture trajectory diagram is used to represent the trajectory corresponding to the second gesture password set;
[0055] Step 603: Compare the first gesture trajectory map with the second gesture trajectory map to obtain the first similarity.
[0056] Specifically, the first similarity between the first gesture trajectory map and the second gesture trajectory map is obtained using a hash algorithm. Specifically, the hash algorithm is the most common algorithm among similarity algorithms. The specific steps include: (1) compressing the image using the Discrete Cosine Transform (DCT) algorithm, reducing the image size using pHash, obtaining the color channels R, G, and B of the image, and then calculating the average value of RGB before converting the image to grayscale; (2) calculating the DCT transformation of the image using the grayscale image, reducing the DCT after obtaining the coefficient matrix of DCT, and keeping only the 8*8 matrix of DCT to obtain the lowest frequency in the image, and then calculating the mean value of DCT. Finally, the basic fingerprint of the image is calculated using the 8*8 DTC matrix; (3) calculating the image using cosine similarity. (3) Similar vectors in the image are used to obtain the color feature fingerprint of each image; (4) By adding different weights to the three colors RGB, a gray value array is obtained, and then the optimal threshold of a binary image is calculated by the big law method. The corresponding binary image is obtained by processing the image with this threshold. According to the characteristic of binary images being either black or white, a 0-1 matrix is obtained, and then the content feature fingerprint of the image is obtained; (5) The color feature fingerprint of the image is compared by cosine similarity, and the content feature fingerprint of the image is compared by Hamming distance and cosine similarity; (6) The similarity is obtained by comparing the image basic fingerprint, color feature fingerprint and content feature fingerprint in multiple dimensions.
[0057] In a specific embodiment, the method further includes: setting a cursor in the preset coordinate system; the cursor moving to the coordinate point corresponding to the position of the user's finger.
[0058] Specifically, when the user's status is "exited," the cursor will not be displayed; when the user's status is "waiting to enter password" or "entering password," the cursor will move according to the coordinates corresponding to the user's finger position to remind the user of the current coordinates to be obtained, in order to prevent the user from entering the wrong coordinates and causing the authentication to fail.
[0059] In a specific embodiment, the number of horizontal coordinates in the preset coordinate system is the same as the number of vertical coordinates, and the distance between adjacent coordinates is the same. Specifically, the distance between adjacent coordinates is greater than the width of an adult's palm. This is to prevent situations where, if the distance is too small, the user's finger movement could cause the coordinates of two adjacent coordinates to be recognized, resulting in the failure of identity verification.
[0060] In a specific embodiment, please refer to Figure 7 The method further includes:
[0061] Step 701: Preset the number of recognition attempts;
[0062] Step 702: When the user's identity information recognition result is that the identity verification fails, obtain the number of times the user's identity information is recognized within a preset time, and determine the size of the number of times the identity information is recognized and the preset number of recognitions;
[0063] Step 703: If the number of identity information recognitions is not greater than the preset number of recognitions, then return to the step of obtaining the first set of coordinates of multiple positions corresponding to the first movement trajectory based on the first movement trajectory of the highest point of the user's hand and the preset coordinate system, and perform identity information recognition again.
[0064] Step 704: If the number of identity information recognition attempts exceeds the preset number of recognition attempts, the identity information recognition ends, and the user's identity information recognition result is "identity verification failed".
[0065] Specifically, the preset number of identification attempts can be set according to actual conditions. This embodiment does not limit the preset number of identification attempts; for example, the preset number of identification attempts could be 3. When the user's identity information identification result is that the identity verification fails, the number of times the user's identity information has been identified within a preset time period is obtained. The preset time period can be set according to actual conditions, such as 3 minutes. If the user's identity information identification attempts are less than or equal to 3 within 3 minutes, and the current user's identity verification fails, the user is allowed to attempt identity information identification again. If the user's identity information identification attempts are greater than 3 within 3 minutes, the user is refused another attempt at identity information identification, and the user's identity information identification result is that the identity verification fails. By setting a preset number of identification attempts, multiple identity verification attempts by someone other than the user can be avoided, which could lead to successful identity verification and information security risks.
[0066] In specific embodiments, multiple sets of gesture passwords can be set, such as a first set of gesture passwords and a third set of gesture passwords. By setting multiple sets of gesture passwords, the complexity of identity verification can be increased, and the user's information security can be guaranteed.
[0067] In a specific embodiment, the second embodiment of this application provides a gesture password acquisition device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method described in any one of the first embodiments of this application. By using the device summarized in this embodiment, the movement position of a user's finger can be obtained through a camera module, and a coordinate set corresponding to the movement position can be generated. The coordinates in the first coordinate set are sorted according to the acquisition time to generate a first gesture password set corresponding to the movement position of the finger. This allows the user to set a password without using a physical keyboard, simply by extending their finger in a preset direction and drawing a movement trajectory, thereby enhancing the user's experience when entering a password.
[0068] In a specific embodiment, the third embodiment of this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the method as described in any one of the first embodiments of this application.
[0069] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0070] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for obtaining a gesture password, characterized in that, The method includes: The system uses images captured by a camera module to identify the user's status information, including a pending password input status and an input password status. The pending password input status is when the user's first height is greater than or equal to a second height, and no finger extended by the user towards a preset direction is detected. The first height is the height corresponding to the highest point of the user's hand, and the second height is the height corresponding to the lowest point of the user's head. The input password status is when the user's first height is greater than or equal to the second height, and a finger extended by the user towards a preset direction is detected. When the user's status information is the password input status, obtain the coordinate points corresponding to the movement position of the user's finger in the preset coordinate system to obtain the first coordinate set; The coordinates in the first coordinate set are sorted to obtain a first gesture password set; the first gesture password set is a sequence of coordinates in the first coordinate set sorted according to the acquisition time; the first gesture password set is used to verify the user's identity information.
2. The gesture password acquisition method as described in claim 1, characterized in that, The method further includes: A second set of gesture passwords is preset; the second set of gesture passwords is used to represent the user's identity information. Obtain the first similarity between the first set of gesture passwords and the second set of gesture passwords; The user's identity information recognition result is obtained based on the first similarity and the preset identity information recognition rules. ; The identity information recognition result includes successful identity verification and unsuccessful identity verification.
3. The gesture password acquisition method as described in claim 2, characterized in that, Obtaining the first similarity between the first set of gesture passwords and the second set of gesture passwords includes: Connect the coordinates in the first set of gesture passwords sequentially to obtain the first set of line segments; the first set of line segments is the set of lines connecting two adjacent coordinates in the first set of gesture passwords. Connect the coordinates in the second set of gesture codes sequentially to obtain the second set of line segments; the second set of line segments is the set of lines connecting two adjacent coordinates in the second set of gesture codes. Compare the line segments at the first preset position in the first line segment set with the line segments at the second preset position in the second line segment set; If the angle between the line segment at the first preset position and the line segment at the second preset position is within a preset angle range, then the comparison result between the line segment at the first preset position and the line segment at the second preset position is a preset score; the first preset position is equal to the second preset position. The comparison results of all line segments in the first line segment set and all line segments in the second line segment set are added together to obtain the sum of similarity between the first gesture password set and the second gesture password set. The sum of similarity is averaged according to the number of all line segments in the first line segment set to obtain the first similarity.
4. The gesture password acquisition method as described in claim 2, characterized in that, Obtaining the first similarity between the first set of gesture passwords and the second set of gesture passwords includes: By sequentially connecting the coordinates in the first set of gesture passwords, a first gesture trajectory diagram is obtained; the first gesture trajectory diagram is used to represent the trajectory corresponding to the first set of gesture passwords. By sequentially connecting the coordinates in the second set of gesture codes, a second gesture trajectory diagram is obtained; the second gesture trajectory diagram is used to represent the trajectory corresponding to the second set of gesture codes. The first gesture trajectory map and the second gesture trajectory map are compared to obtain the first similarity.
5. The gesture password acquisition method as described in claim 2, characterized in that, The preset identity information recognition rules include: When the first similarity is less than a preset threshold, the user's identity information recognition result is that the identity verification failed. When the first similarity is greater than or equal to the preset threshold, the user's identity information recognition result is that the identity verification is successful.
6. The gesture password acquisition method as described in claim 1, characterized in that, The method further includes: The cursor is set in the preset coordinate system; The cursor moves according to the coordinates corresponding to the position of the user's finger.
7. The gesture password acquisition method as described in claim 1, characterized in that: The preset coordinate system has the same number of horizontal coordinates as vertical coordinates, and the distance between adjacent coordinates is the same.
8. The gesture password acquisition method as described in claim 5, characterized in that, The method further includes: Preset number of recognition attempts; When the user's identity information recognition result is that the identity verification fails, obtain the number of times the user's identity information is recognized within a preset time, and determine the size of the number of times the identity information is recognized compared with the preset number of recognitions; If the number of identity information recognitions is not greater than the preset number of recognitions, then return to the step of obtaining the first set of coordinates of multiple positions corresponding to the first movement trajectory based on the first movement trajectory of the user's highest point of hand and the preset coordinate system, and perform identity information recognition again; If the number of identity information recognition attempts exceeds the preset number of recognition attempts, the identity information recognition ends, and the user's identity information recognition result is "identity verification failed".
9. A gesture password acquisition device, comprising a memory and a processor, characterized in that, The memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it causes the processor to perform the steps of the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Interface control drawing method and system
CN109857504A
Gesture password drawing unlocking method and device, computer equipment and medium
CN115758314A
