Method for identity authentication of three-dimensional handwriting trajectory in VR scene
By collecting and processing users' 3D handwritten trajectories in VR scenes, and using the longest common subsequence and deep learning methods for identity verification, the problem of shoulder spying attacks in VR is solved, and more efficient user data protection is achieved.
Patent Information
- Application Number
- CN202311591953.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-27
AI Technical Summary
In VR scenarios, user data security is threatened by shoulder spying attacks, and traditional string passwords cannot effectively protect user data security.
A three-dimensional handwritten trajectory identity authentication method is designed. By collecting the handwritten trajectory of users writing specific characters, the method of solving the longest common subsequence and deep learning methods are used for identity authentication, including data normalization, rotation normalization and similarity calculation.
It effectively resists shoulder spying attacks, enhances user data security, and improves the accuracy and protection capabilities of identity authentication.
Smart Images

Figure CN117574342B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of VR identity authentication and relates to an identity authentication method for three-dimensional handwritten trajectories in VR scenes. Background Technology
[0002] In recent years, Virtual Reality (VR) has developed rapidly, demonstrating broad application prospects in fields such as industrial production, cultural tourism, sports and health, and education and training. With the diversification of application scenarios, the need for user data security protection in VR applications has become increasingly urgent. Because users need to wear head-mounted displays (HUDs) when using VR devices, they cannot observe their surroundings, making traditional string password-based user data security protection methods in VR scenarios frequently vulnerable to shoulder spying attacks. A shoulder spying attack is an attack method that obtains sensitive information through direct observation. When a user wears a VR headset and controllers and enters a password using a keypad composed of numbers and characters, because they cannot observe their surroundings, a shoulder spying attacker can steal the user's password information by observing the user's hand movements, thereby threatening the user's data security.
[0003] Handwriting is a reflection of personal behavior, containing various morphological and handwriting dynamic features. 3D handwriting in VR scenes is more complex than 2D handwriting and has a strong advantage in resisting various forgery and theft behaviors, including shoulder spying attacks. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide an identity authentication method for three-dimensional handwritten trajectories in VR scenes, which uses the handwritten trajectories generated by the user writing specific characters to design a password, thereby effectively resisting shoulder spying attacks and protecting user data security.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] A method for identity verification using 3D handwritten trajectories in VR scenes includes the following steps:
[0007] S1: Have several users wear VR headsets and controllers, look straight ahead, write in the air, and collect raw data of handwriting trajectory.
[0008] S2: Normalize the original data;
[0009] S3: Use the longest common subsequence solution method to find the dissimilarity values between the 26 English letters written by different users, and normalize the dissimilarity values to obtain the letter dissimilarity weight values.
[0010] S4: Iterate through the list of commonly used English words in sequence, sum the dissimilarity weight values of each component letter of each word according to the dissimilarity weight values of the 26 English letters, initially calculate the dissimilarity of each word, and then divide this dissimilarity value by the word length to calculate the final word dissimilarity weight value W.
[0011] S5: A password book is formed using several words with the highest dissimilarity. The user holds a handle and selects any number of words in the password book to write multiple times. The resulting 3D handwritten trajectory is the user's identity password. The user's identity can be verified by using statistical learning or deep learning methods to verify the similarity of the trajectory.
[0012] Furthermore, step S1 specifically includes: having several users wear VR headsets and controllers, look straight ahead, and write 26 English letters in the air; collecting the time corresponding to the trajectory points generated by the users during the writing process and their X, Y, and Z coordinate values in the world coordinate system according to the device's working frequency; marking all trajectory points of a single letter in the three-dimensional coordinate system and reconstructing the handwritten trajectory of the letter.
[0013] Furthermore, the normalization process in step S2 specifically includes:
[0014] For the raw data collected in step S1, size, position, and rotation normalization processes are performed sequentially. Size normalization aims to unify the size of all handwritten letter trajectories. Position normalization aims to adjust the position of all handwritten letter trajectories so that their center of gravity coincides with the origin of the world coordinate system. Rotation normalization uses the principle of Principal Component Analysis (PCA) to rotate and align all handwritten letter trajectories, aiming to eliminate the influence of rotational offset caused by user body movement on the trajectory position.
[0015] Furthermore, the formula for size normalization is as follows:
[0016]
[0017]
[0018]
[0019] Where x(t), y(t), and z(t) represent the X-axis, Y-axis, and Z-axis coordinates of the original handwriting, x max x min Represents the maximum and minimum values of the original handwriting on the X-axis, y max y min This represents the maximum and minimum values of the original handwriting on the Y-axis, z. max z minThe values represent the maximum and minimum values of the original handwriting on the Z-axis. W, H, and D are constants that define the width, height, and depth of the normalized handwriting. x′(t), y′(t), and z′(t) represent the X-axis, Y-axis, and Z-axis coordinates of the transformed handwriting.
[0020] Furthermore, the position normalization formula is as follows:
[0021]
[0022]
[0023]
[0024] First, calculate the centroids of the handwriting curve on the X, Y, and Z axes respectively. Then, subtract the centroids from the X, Y, and Z coordinates of the original trajectory to complete the centroid alignment.
[0025] Furthermore, the rotational normalization process using the principal component analysis (PCA) principle specifically includes the following steps:
[0026] S21: Let P = {p} be the set of points formed by a certain three-dimensional handwritten trajectory. i |i=1,2,...,n},p i Given three-dimensional data points containing x, y, and z coordinates, the center point of the trajectory is:
[0027]
[0028] S22: Calculate the covariance matrix:
[0029]
[0030] In the formula C p It is a 3×3 matrix;
[0031] S23: Find C using linear algebra methods. p The eigenvalues λ1, λ2, λ3 and the eigenvectors e1, e2, e3 are given. The eigenvalues and eigenvectors are related as follows:
[0032] C p e i =λ i e i ,i∈{0,1,2}:
[0033] Among them, e1, e2, and e3 are all orthogonal to each other, forming a trajectory centered at point p. m A three-dimensional coordinate system with the origin at point e1, e2, and e3, and the directions corresponding to these coordinate axes.
[0034] S24: Determine the coordinate axes: Let the direction vectors corresponding to the x, y, and z coordinate axes of the 3D world coordinate system in the VR scene be v1, v2, and v3, respectively, where v1 = [1, 0, 0]. T v2 = [0, 1, 0] T v3 = [0,0,1] T Find the cosine of the angle between the eigenvectors e1, e2, e3 and the vectors v1, v2, v3 respectively, and find the eigenvector with the largest absolute value of the cosine of the angle between the eigenvectors e1, e2, e3 and the vectors v1, v2, v3 respectively.
[0035] S25: Correcting directional ambiguity: The eigenvectors obtained using the covariance matrix have directional ambiguity, that is, for the direction vector v i and the eigenvector e with the largest absolute value of the cosine of the angle between it and its vector. j When the angle β between the two is obtuse, the eigenvector e j Reverse:
[0036] e j ′=-1×e j
[0037] Based on the correspondence between e1, e2, e3 and v1, v2, v3 established by the absolute value of the vector cosine, the directions of the eigenvectors e′1, e′2, e′3 after direction correction are determined as the corresponding x, y, z coordinate axes. To distinguish them from the corresponding coordinate axes in the world coordinate system, the coordinate axes determined here are named x0, y0, z0 respectively.
[0038] S26: Rotation Transformation: The angles between e′1, e′2, e′3 and the corresponding direction vectors are the angles between the coordinate axes x0, y0, z0 determined in step S25 and the x, y, z coordinate axes in the world coordinate system. Rotate x0, y0, z0 around the corresponding angles to make them coincide with the x, y, z coordinate axes in the world coordinate system, thus completing the rotation normalization.
[0039] Furthermore, the method for solving the longest relative common subsequence described in step S3 includes the following steps:
[0040] S31: For any two trajectories A[1…m] and B[1…n] in space, let lcss[i][j] represent the longest common substring of A and B, dis(A[i],B[j]) represent the distance between A[i] and B[j], and ε represent the similarity threshold, then:
[0041]
[0042] S32: Divide lcss[m][n] by the length of the shorter of the two trajectories to obtain the trajectory similarity s:
[0043]
[0044] S33: Starting from i=0, j=0, and continuing until i=m, j=n, repeat steps S31-S32 to find all the longest common substrings in A and B, and obtain the dissimilarity based on the total similarity S obtained from all the longest common substrings.
[0045]
[0046] The total similarity S is the sum of the similarities s of all trajectories.
[0047] Furthermore, the letter dissimilarity weight value mentioned in step S3 is:
[0048]
[0049] In the formula, w represents the dissimilarity value corresponding to any English letter. max w min represents the maximum and minimum dissimilarity values generated by the 26 English letters, respectively, and w′ represents the normalized dissimilarity weight value.
[0050] Furthermore, the final word dissimilarity weight value W mentioned in step S4 is calculated as follows:
[0051]
[0052] In the formula w i is the dissimilarity weight value for each constituent letter in the word, and n is the word length, i.e., the number of letters that make up the word.
[0053] The beneficial effects of this invention are as follows: This invention proposes an identity authentication method for three-dimensional handwritten trajectories in VR scenes, which uses the handwritten trajectory generated by the user writing specific characters to design a password, thereby effectively resisting shoulder spying attacks and protecting user data security.
[0054] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained through the following description. Attached Figure Description
[0055] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein:
[0056] Figure 1Flowchart of an identity verification method for 3D handwritten trajectories in VR scenarios;
[0057] Figure 2 This is a schematic diagram of the trajectory. Detailed Implementation
[0058] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0059] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual pictures. They should not be construed as limiting the invention. To better illustrate the embodiments of the invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0060] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "front," and "rear" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present invention. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0061] Please see Figure 1 This invention provides a method for identity verification using three-dimensional handwritten trajectories in VR scenes, comprising the following steps:
[0062] Step 1: Raw Data Acquisition: Have several users wear VR headsets and controllers, look straight ahead, and write the 26 letters of the English alphabet in the air. Collect the time corresponding to the trajectory points generated during the writing process and their X, Y, and Z coordinates in the world coordinate system, according to the device's operating frequency. Plot all the trajectory points of a single letter in a three-dimensional coordinate system to reconstruct the handwritten trajectory of that letter.
[0063] Step 2, Normalization Processing: For the raw data collected in Step 1, normalization is performed sequentially on size (Equations 1, 2, 3), position (Equations 4, 5, 6), and rotation. Size normalization aims to unify the size of all handwritten letter trajectories; centroid normalization aims to adjust the position of all handwritten letter trajectories so that their centroids coincide with the origin of the world coordinate system; rotation normalization utilizes Principal Component Analysis (PCA) to rotate and align all handwritten letter trajectories, aiming to eliminate the influence of rotational offsets caused by user body movement on the trajectory position.
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070] In equations 1, 2, and 3, x(t), y(t), and z(t) represent the X-axis, Y-axis, and Z-axis coordinates of the original handwriting, respectively. max x min Represents the maximum and minimum values of the original handwriting on the X-axis, y max y min This represents the maximum and minimum values of the original handwriting on the Y-axis, z. max z min The values represent the maximum and minimum values of the original handwriting on the Z-axis. W, H, and D are constants that define the width, height, and depth of the normalized handwriting. x′(t), y′(t), and z′(t) represent the X-axis, Y-axis, and Z-axis coordinates of the transformed handwriting.
[0071] In Equations 4, 5, and 6, the centroids of the handwriting curves on the X, Y, and Z axes are first calculated respectively. Then, the centroids are subtracted from the X, Y, and Z coordinates of the original trajectory to complete the centroid alignment.
[0072] Step 3: For the normalized data from step 2, use the improved relative longest common subsequence (RCS) method to calculate the dissimilarity values between the 26 English letters written by different users. Normalize the dissimilarity values of the 26 English letters using Equation 7. The normalized values are the letter dissimilarity weights.
[0073]
[0074] In Equation 7, w represents the dissimilarity value corresponding to any English letter. max w min represents the maximum and minimum dissimilarity values generated by the 26 English letters, respectively, and w′ represents the normalized dissimilarity weight value.
[0075] Step 4: As shown in Equation 8, iterate through the commonly used English vocabulary list. Based on the dissimilarity weight values of the 26 English letters calculated in Step 3, sum the dissimilarity weight values of each constituent letter for each word to initially calculate the dissimilarity of each word. To eliminate the influence of word length (number of constituent letters) on the dissimilarity weight value and avoid the situation where the longer the word, the larger the dissimilarity value, the initially calculated word dissimilarity value is divided by the word length (number of letters) to obtain the final word dissimilarity weight value W.
[0076]
[0077] In Equation 8, w i is the dissimilarity weight value for each constituent letter in the word, and n is the word length (number of constituent letters).
[0078] Step 5: Compile a password book using the most dissimilar words. The user can hold the handle and select any number of words in the password book to write multiple times. The resulting 3D handwritten trajectory is the user's identity password. By using common statistical learning or deep learning methods to verify the similarity of the trajectory, user identity can be authenticated.
[0079] Specifically, due to the higher complexity of 3D scenes compared to 2D scenes (planes), when users wear VR headsets and controllers and write in the air, the angle of their handwriting will shift due to body movement. This cannot be avoided when different users write the same character or when the same user writes the same character multiple times. To reduce the impact of angle shift on trajectory similarity and improve the accuracy of handwriting trajectory-based identity verification methods, this invention proposes a PCA-based rotation normalization method.
[0080] Principal Component Analysis (PCA) is a commonly used data analysis method, often used for dimensionality reduction of high-dimensional data. Using the principles of PCA, the covariance matrix, eigenvalues, and eigenvectors of the original data matrix can be obtained. Each eigenvector is pairwise orthogonal, and each direction corresponding to an eigenvector contains information about the original data to varying degrees. By selecting the k vectors containing the most information and projecting the original data into the low-dimensional space formed by these k vectors, dimensionality reduction is achieved. Drawing on the principles of PCA, rotational normalization of 3D handwritten trajectory data can be implemented. The main steps are as follows:
[0081] Step 1: Let P = {p}, where P is the set of points formed by a certain three-dimensional handwritten trajectory. i |i=1,2,...,n},p i Given three-dimensional data points containing x, y, and z coordinates, the center point of the trajectory is:
[0082]
[0083] Step 2: Calculate the covariance matrix:
[0084]
[0085] In the formula C p It is a 3×3 matrix.
[0086] Step 3: Use linear algebra methods to find C. p The eigenvalues λ1, λ2, λ3 and the eigenvectors e1, e2, e3 are given. The eigenvalues and eigenvectors are related as follows:
[0087] C p e i =λ i e i ,i∈{0,1,2} (11)
[0088] Among them, e1, e2, and e3 are all orthogonal to each other, forming a trajectory centered at point p. m A three-dimensional coordinate system with the origin at point e1, e2, and e3, and the directions corresponding to these coordinate axes.
[0089] Step 4: Determine the coordinate axes: Let the direction vectors corresponding to the x, y, and z coordinate axes of the 3D world coordinate system in the VR scene be v1, v2, and v3, respectively, where v1 = [1, 0, 0]. T v2 = [0, 1, 0] T v3 = [0,0,1] TFind the cosine of the angle between the eigenvectors e1, e2, e3 and the vectors v1, v2, v3 respectively, and find the eigenvector with the largest absolute value of the cosine of the angle between the eigenvectors e1, e2, e3 and the vectors v1, v2, v3 respectively.
[0090] Step 5: Correcting directional ambiguity: The eigenvectors obtained using the covariance matrix have directional ambiguity, that is, for the direction vector v... i and the eigenvector e with the largest absolute value of the cosine of the angle between it and its vector. j The angle β between the two may be obtuse (90° < β < 180°) or acute (0° < β < 90°). When β is obtuse, the eigenvector e needs to be... j Reverse:
[0091] e j ′=-1×e j (12)
[0092] Based on the correspondence between e1, e2, e3 and v1, v2, v3 established by the absolute value of the vector cosine, the directions of the eigenvectors e′1, e′2, e′3 after direction correction are determined as the corresponding x, y, z coordinate axes. To distinguish them from the corresponding coordinate axes in the world coordinate system, the coordinate axes determined here are named x0, y0, z0 respectively.
[0093] Step 6, Rotation Transformation: As shown in step 5, the angles between e′1, e′2, e′3 and the corresponding direction vectors are the angles between the coordinate axes x0, y0, z0 determined in step 5 and the x, y, z coordinate axes in the world coordinate system. Rotate x0, y0, z0 around the corresponding angles to make them coincide with the x, y, z coordinate axes in the world coordinate system, thus completing the rotation normalization.
[0094] Common methods for determining the similarity between two trajectories include data point-based, shape-based, segmentation-based, and task-specific methods. The method proposed in this invention addresses the user identification problem by utilizing 3D handwritten trajectory data collected in a VR scene. Since a 3D handwritten trajectory is composed of several 3D data points, this invention employs a data point-based method to determine the similarity of 3D handwritten trajectories.
[0095] Common trajectory similarity discrimination methods based on data points include Edit Distance on Real Sequence (EDR), Longest Common Sub-Sequence (LCSS), and Dynamic Time Warping (DTW). This invention proposes a trajectory dissimilarity solution method based on the principle of the Longest Common Sub-Sequence.
[0096] In the longest common substring method, for trajectories A[1…m] and B[1…n], let lcss[i][j] represent the longest common substring of A and B, dis[i][j] represent the distance between A[i] and B[i], and ε represent the similarity threshold. We can obtain recursive formula 13:
[0097]
[0098] The final lcss[m][n] is the length of the longest substring, but this is not suitable as a direct criterion for similarity. The lcss values between two longer trajectories may be numerically large, but their similarity is not necessarily higher than that between two shorter trajectories. Therefore, lcss is usually divided by the length of the shorter of the two trajectories to obtain the trajectory similarity s.
[0099]
[0100] for Figure 2 The trajectory diagram shows trajectories L1 and L2. Assuming a similarity threshold of 0.3, Equation 13 yields the longest common substring of the two trajectories as {P}. 11 P 12 P 13 P 14} and {P 21 P 22 P 23 P 24}, with a length of 4, according to Equation 14, the similarity between the two trajectories is 0.4, but this method can only calculate the similarity between two trajectories. In the two trajectories L1 and L2, the substring {P 17 P 18 P 19 P 110} and {P 27 P 28 P 29 P 210 The similarity threshold of {} is also ≤0.3. If substring {P} is removed from L1 and L2 respectively... 17 P 18 P 19 P 110} and {P 27 P 28 P 29 P 210 The remaining trajectories L1′ and L2′ still contain “similar substrings”. Therefore, to determine the dissimilarity of L1 and L2, we need to find all substrings in L1 and L2 that meet the similarity threshold, i.e., all “relative longest common substrings”, and then obtain the dissimilarity based on the total similarity S obtained from all relative longest common substrings.
[0101]
[0102] Extending the above example to trajectories A[1…m] and B[1…n], the longest common substring between A and B can be obtained through iterative methods. That is, each time, the longest common substring and similarity of the two current trajectories are calculated, the longest common substring is removed from each of the two current trajectories, and the longest common substring and similarity are calculated again for the remaining trajectories. This process is repeated until the distance between all points in the trajectory exceeds the similarity threshold. The sum of the successively obtained similarity values is then used to calculate the dissimilarity between trajectories A and B using Equation 15. This idea can be summarized into the following pseudocode for the algorithm of calculating trajectory dissimilarity based on the longest common substring:
[0103]
[0104] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it can implement the steps of the method. The storage medium may be, for example, ROM / RAM, magnetic disk, optical disk, etc.
[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A method for identity verification using 3D handwritten trajectories in VR scenes, characterized in that: Includes the following steps: S1: Have several users wear VR headsets and controllers, look straight ahead, and write the 26 letters of the English alphabet in the air, collecting raw data of their handwriting trajectories; S2: Normalize the raw data, including rotational normalization using principal component analysis (PCA) principles. This involves the following steps: S21: Let the set of points formed by a certain three-dimensional handwritten trajectory be... , For inclusion x , y , z The center point of the trajectory is obtained from the three-dimensional data points of the coordinate system. S22: Calculate the covariance matrix: In the formula C p It is a 3×3 matrix; S23: Solve using linear algebra methods C p eigenvalues λ 1. λ 2. λ 3 and eigenvectors e 1. e 2. e 3; The eigenvalues and eigenvectors are related as follows: in, e 1. e 2. e 3. Pairwise orthogonal, forming a trajectory centered at the center point. With the origin as the point, e 1. e 2. e 3. A three-dimensional coordinate system with the coordinate axes corresponding to the directions; S24: Determine the coordinate axes: Establish the 3D world coordinate system in the VR scene. x , y , z The direction vectors corresponding to the coordinate axes are respectively v 1. v 2. v 3, of which , , Find the eigenvectors respectively e 1. e 2. e 3 and v 1. v 2. v Find the cosine of the angle between the vectors of 3 and 4. v 1. v 2. v The eigenvector with the largest absolute value of the cosine of the angle between the three vectors; S25: Correcting directional ambiguity: Eigenvectors obtained using the covariance matrix have directional ambiguity, that is, for direction vectors... v i and the eigenvector with the largest absolute value of the cosine of the angle between it and its vector. e j When the angle between the two β When the angle is obtuse, the feature vector e j Reverse: according to e 1. e 2. e 3 and v 1. v 2. v 3. The correspondence established by the absolute value of the vector cosine will be used to transform the eigenvectors after direction correction. , , The corresponding directions are respectively determined as the corresponding x , y , z To distinguish them from the coordinate axes in the world coordinate system, the coordinate axes defined here are designated as follows: x 0、 y 0、 z 0; S26: Rotation Transformation: , , The angle between the coordinate axis and the corresponding direction vector is the coordinate axis determined in step S25. x 0、 y 0、 z 0 and the world coordinate system x , y , z The angle between the coordinate axes will x 0、 y 0、 z Rotate and transform 0 around the corresponding included angle to align it with the world coordinate system. x , y , z The coordinate axes coincide, completing rotational normalization; S3: Use the longest common subsequence solution method to find the dissimilarity values between the 26 English letters written by different users, and normalize the dissimilarity values to obtain the letter dissimilarity weight values. S4: Iterate through the list of commonly used English words, summing the dissimilarity weights of each letter in each word based on the dissimilarity weights of the 26 letters of the alphabet to initially calculate the dissimilarity of each word. Then, divide this dissimilarity value by the word length to obtain the final word dissimilarity weight value. W ; S5: A password book is formed using several words with the highest dissimilarity. The user holds a handle and selects any number of words in the password book to write multiple times. The resulting 3D handwritten trajectory is the user's identity password. Statistical learning or deep learning methods are used to verify the similarity of the trajectory to complete the user's identity authentication.
2. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 1, characterized in that: Step S1 specifically includes: having several users wear VR headsets and controllers, look straight ahead, and write the 26 letters of the English alphabet in the air; and collecting the time corresponding to the trajectory points generated by the users during the writing process and their coordinates in the world coordinate system according to the device's operating frequency. X , Y , Z Coordinate values; mark all trajectory points of a single letter in three-dimensional coordinates to reconstruct the handwritten trajectory of the letter.
3. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 1, characterized in that: The normalization process in step S2 specifically includes: For the raw data collected in step S1, size, position, and rotation normalization processes are performed sequentially. Size normalization aims to unify the size of all handwritten letter trajectories. Position normalization aims to adjust the position of all handwritten letter trajectories so that their center of gravity coincides with the origin of the world coordinate system. Rotation normalization uses the principle of principal component analysis to rotate and align all handwritten letter trajectories, aiming to eliminate the influence of rotational offset caused by user body movement on the trajectory position.
4. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 3, characterized in that: The formula for size normalization is as follows: in , , Representing the original handwriting X axis, Y shaft and Z Axis coordinates x max , x min Indicates the original handwriting in X Maximum and minimum values on the axis, y max , y min Indicates the original handwriting in Y Maximum and minimum values on the axis, z max , z min This represents the maximum and minimum values of the original handwriting on the Z-axis. W , H , D These are constants, defining the width, height, and depth of the handwriting after normalization. , , This indicates the converted handwriting. X axis, Y shaft and Z Axis coordinates.
5. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 4, characterized in that: The position normalization formula is as follows: First, calculate the handwriting curves at... X axis, Y shaft and Z Center of gravity, then using the original trajectory X axis, Y shaft and Z The centroid alignment is achieved by subtracting the centroid from the axis coordinates.
6. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 1, characterized in that: Step S3 describes the method for finding the longest relative common subsequence, which includes the following steps: S31: For any two trajectories in space A [1… m ], B [1… n ],make lcss [ i ][ j ]express A and B The longest common subsequence, dis ( A [ i ], B [ j ])express A [ i ]and B [ j The distance between them ε To represent the similarity threshold, then: S32: Will lcss [ m ][ n Divide by the length of the shorter of the two trajectories to obtain the trajectory similarity. s : S33: From i =0, j =Starting from 0, until i = m , j = n Repeat steps S31-S32 to find A and B Find all the longest common subsequences and calculate the total similarity based on the sum of the longest common subsequences. S Obtain dissimilarity : The total similarity S For all trajectory similarity s sum.
7. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 1, characterized in that: The letter dissimilarity weight value mentioned in step S3 is: In the formula, w This represents the dissimilarity score corresponding to any given English letter. w max , w min These represent the maximum and minimum dissimilarity values generated by the 26 letters of the English alphabet, respectively. This represents the normalized dissimilarity weight value.
8. The method for identity verification of three-dimensional handwritten trajectories in VR scenes according to claim 1, characterized in that: The final word dissimilarity weight value mentioned in step S4 W The calculation is as follows: In the formula w i This represents the dissimilarity weight value for each constituent letter in the word. n The word length is the number of letters that make up a word.
Citation Information
Patent Citations
Intelligent glasses AI voice interaction method
CN120783756A
