User identity authentication method, device, user terminal and server

By combining signature sensor data and handwriting screenshot data, the user's behavioral characteristics and biometric characteristics are generated, and pre-trained models are used for identification and verification. This solves the problems of equipment limitations and insufficient applicability in the existing technology, and achieves high efficiency and wide applicability. Handwritten signature authentication.

CN112084470BActive Publication Date: 2024-10-15SHENZHEN NESUN TECH LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010672232.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-14
Publication Date
2024-10-15
Estimated Expiration
2040-07-14

AI Technical Summary

Technical Problem

Existing handwritten signature identity authentication methods require special equipment, cannot be applied to any text, numbers or symbols, and have limited application scenarios.

Method used

By combining signature sensor data and handwriting screenshot data, the user's behavioral characteristics and biometric characteristics are generated, and the pre-trained model is used for identification and verification to achieve identity authentication. Specific steps include obtaining signature sensor data and handwriting screenshot data, converting them into grayscale images, adjusting the size, extracting features, calculating similarity, and passing identity authentication if it exceeds a threshold.

Benefits of technology

It achieves more accurate handwritten signature identity authentication, is suitable for any text, numbers or symbols, and improves the speed of identity authentication and the breadth of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112084470B_ABST
    Figure CN112084470B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a user identity authentication method, device, user terminal and server. The method includes: obtaining signature sensor data collected by the sensor of the user terminal during the current user signing process, and handwriting screenshot data formed by the user during the signing process; identifying the user identity based on the signature sensor data and the handwriting screenshot data respectively; if the verification results based on the signature sensor data and the handwriting screenshot data are both legal, the identity authentication is passed. The present invention combines the behavioral characteristics of the handwriting process and the biometric characteristics of the handwriting to more accurately perform handwritten signature identity authentication and can increase the speed of identity authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a user identity authentication method, device, user terminal and server. Background Art

[0002] At present, there are many methods for user identity authentication. For example, a set of parameters is selected from the acquired handwritten signature to represent the signature, and the authenticity of the signature to be verified is determined by comparing the parameters of the training signature and the signature to be verified. These parameters include the horizontal and vertical coordinates, displacement, velocity and acceleration of the signature, as well as the average value, variance, maximum value and minimum value of these parameters.

[0003] However, the prior art has the following defects:

[0004] First, signature authentication is required based on a dedicated handwriting device (dedicated handwriting tablet and stylus);

[0005] Second, it cannot be applied to any text, number or symbol;

[0006] Third, the application scenarios are limited. Summary of the invention

[0007] In view of this, embodiments of the present invention provide a user identity authentication method, device, user terminal and server, which at least partially solve the problems existing in the prior art.

[0008] In a first aspect, an embodiment of the present invention provides a user identity authentication method, comprising:

[0009] Acquire signature sensor data collected by a sensor of a user terminal during the current user signing process, and handwriting screenshot data formed by the user during the signing process; the signature sensor data is used to generate the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to generate the biometric characteristics of the user's writing;

[0010] Based on the signature sensor data and the handwriting screenshot data, the user identity is identified respectively;

[0011] If the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal, the identity authentication is successful.

[0012] Furthermore, according to a specific implementation of an embodiment of the present invention, identifying the user identity based on the user handwriting screenshot data includes:

[0013] Convert the handwriting screenshot data currently input by the user into grayscale image data;

[0014] Adjusting the size of the grayscale image data;

[0015] Based on the pre-trained handwriting biometric identity authentication model, feature extraction is performed on the resized grayscale image to obtain the handwriting biometric features;

[0016] The handwriting biometric feature is similarly calculated with the handwriting biometric feature corresponding to each historical handwriting screenshot data to determine the number exceeding a given similarity threshold, and if the number exceeds a preset number threshold, the user's handwriting biometric feature is verified; wherein

[0017] The historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering;

[0018] The handwriting biometric feature corresponding to each historical handwriting screenshot data is: the image feature obtained after the grayscale image of the historical handwriting screenshot data after resizing is input into the handwriting biometric identity authentication model.

[0019] Furthermore, according to a specific implementation of an embodiment of the present invention, the handwriting biometric identity authentication model adopts a face recognition algorithm or an image classification algorithm.

[0020] Further, according to a specific implementation of an embodiment of the present invention, identifying the user identity based on the signature sensor data includes the following steps:

[0021] According to the signature sensor data currently input by the user, the corresponding current dynamic indicator data and current static indicator data are obtained;

[0022] Query multiple pieces of pre-stored historical signature sensor data through the user's unique identifier, and obtain corresponding historical dynamic indicator data and historical static indicator data;

[0023] Derive the current dynamic indicator data from multiple historical dynamic indicator data, and perform normalization and data resampling operations;

[0024] Based on the data obtained after resampling, a first dynamic indicator distance vector and a second dynamic indicator distance vector are calculated; wherein the first dynamic indicator distance vector is obtained by: calculating the distance between the same indicators in a plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained by: calculating the distance between the current dynamic indicator data and the same indicators in the plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the second dynamic indicator distance vector;

[0025] The current static indicator data is derived from multiple historical static indicator data, and normalized; the same indicators in the static indicator data after data normalization are subtracted, and then the absolute values ​​are taken to obtain multiple static indicator distance vectors as the first static indicator distance vector; the current static indicator data after normalization is subtracted from the same indicators in multiple historical static indicator data, and then the absolute values ​​are taken to obtain multiple static indicator distance vectors as the second static indicator distance vector;

[0026] The first dynamic indicator distance vector and the first static indicator distance vector are horizontally spliced ​​to obtain a plurality of first new distance vectors, and a sensor behavior feature identity authentication model is trained based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm;

[0027] Multiple second dynamic indicator distance vectors are horizontally spliced ​​with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and the second new distance vectors are used as input of the sensor behavior feature identity authentication model, and the user identity is identified according to the output result.

[0028] Furthermore, according to a specific implementation method of an embodiment of the present invention, in the operation of deriving the current dynamic indicator data from multiple historical dynamic indicator data, normalizing and resampling the data, the normalization includes: rotation normalization, size normalization and position normalization.

[0029] Furthermore, according to a specific implementation manner of an embodiment of the present invention, the data resampling is equidistant data resampling.

[0030] Further, according to a specific implementation manner of the embodiment of the present invention, the first dynamic indicator distance vector, the second dynamic indicator distance vector, the first static indicator distance vector and the second static indicator distance vector are all calculated and obtained by adopting an improved DTW algorithm.

[0031] In a second aspect, an embodiment of the present invention further provides a user identity authentication device, comprising:

[0032] The current input acquisition module is used to acquire the signature sensor data collected by the sensor of the user terminal during the current user signing process, and the handwriting screenshot data formed by the user during the signing process; the signature sensor data is used to generate the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to generate the biometric characteristics of the user's writing;

[0033] An identification module, used to identify the user's identity based on the signature sensor data and the handwriting screenshot data;

[0034] The authentication module is used to pass the identity authentication if the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal.

[0035] Further, according to a specific implementation of the embodiment of the present invention, the identification module includes a biometric feature acquisition submodule, including:

[0036] A conversion unit, used to convert the handwriting screenshot data currently input by the user into grayscale image data;

[0037] An adjusting unit, used for adjusting the size of the grayscale image data;

[0038] A biometric feature acquisition unit, used to extract features from the resized grayscale image based on a pre-trained handwriting biometric feature identity authentication model to obtain handwriting biometric features;

[0039] The first recognition unit is used to calculate the similarity between the handwriting biometric feature and the handwriting biometric feature corresponding to each historical handwriting screenshot data, and determine the number exceeding a given similarity threshold. If the number exceeds a preset number threshold, the user's handwriting biometric feature is verified; wherein

[0040] The historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering;

[0041] The handwriting biometric feature corresponding to each historical handwriting screenshot data is: the image feature obtained after the grayscale image data of the historical handwriting screenshot data after resizing is input into the handwriting biometric identity authentication model.

[0042] Furthermore, according to a specific implementation of an embodiment of the present invention, the handwriting biometric identity authentication model adopts a face recognition algorithm or an image classification algorithm.

[0043] Further, according to a specific implementation of the embodiment of the present invention, the identification module includes a behavior feature identification submodule, including:

[0044] An indicator acquisition unit, used to acquire corresponding current dynamic indicator data and current static indicator data according to the signature sensor data currently input by the user;

[0045] A historical data acquisition unit, used to query a plurality of pre-stored historical signature sensor data through a user unique identifier, and obtain corresponding historical dynamic indicator data and historical static indicator data;

[0046] A dynamic indicator processing unit is used to derive the current dynamic indicator data from multiple historical dynamic indicator data, and perform normalization and data resampling operations;

[0047] A first distance vector calculation unit is used to calculate a first dynamic indicator distance vector and a second dynamic indicator distance vector based on the data obtained after resampling; wherein the first dynamic indicator distance vector is obtained by: calculating the distance between the same indicators in a plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained by: calculating the distance between the current dynamic indicator data and the same indicators in the plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the second dynamic indicator distance vector;

[0048] The second distance vector calculation unit is used to derive the current static indicator data from the multiple historical static indicator data and perform normalization operations; subtract the same indicators in the static indicator data after data normalization, and then take the absolute value to obtain multiple static indicator distance vectors as the first static indicator distance vector; subtract the same indicators of the current static indicator data after normalization from the multiple historical static indicator data, and then take the absolute value to obtain multiple static indicator distance vectors as the second static indicator distance vector;

[0049] A training unit, configured to horizontally splice the first dynamic indicator distance vector with the first static indicator distance vector to obtain a plurality of first new distance vectors, and train a sensor behavior feature identity authentication model based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm;

[0050] The second identification unit is used to horizontally splice multiple second dynamic indicator distance vectors with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and use the second new distance vectors as the input of the sensor behavior feature identity authentication model to identify the user identity according to the output result.

[0051] Furthermore, according to a specific implementation of the embodiment of the present invention, in the dynamic index processing unit, the normalization includes: rotation normalization, size normalization and position normalization.

[0052] Furthermore, according to a specific implementation manner of an embodiment of the present invention, the data resampling is equidistant data resampling.

[0053] Further, according to a specific implementation manner of the embodiment of the present invention, the first dynamic indicator distance vector, the second dynamic indicator distance vector, the first static indicator distance vector and the second static indicator distance vector are all calculated and obtained by adopting an improved DTW algorithm.

[0054] In a third aspect, the present invention also provides a user terminal embodiment, comprising: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the user authentication method.

[0055] In a third aspect, the present invention also provides an embodiment of a server, comprising: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the user authentication methods described above.

[0056] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute any of the user identity authentication methods described above.

[0057] The present invention combines the behavioral characteristics of the handwriting process with the biometric characteristics of the handwriting to more accurately perform handwritten signature authentication and improve the speed of identity authentication. The technology has a wide range of application scenarios and can be applied to mobile phone mobile payments, smart POS machines, VTMs, ATMs, and all other scenarios that require identity authentication. It is suitable for handwritten signature identity authentication using any text, number or symbol, and is compatible with all versions of Android and IOS operating systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 A flowchart of the steps of the user identity authentication method provided by an embodiment of the present invention;

[0060] Figure 2A flowchart of the steps of identifying a user's identity based on a screenshot of the user's handwriting in a user identity authentication method provided by an embodiment of the present invention;

[0061] Figure 3 A flowchart of the steps of identifying a user identity based on signature sensor data in a user identity authentication method provided by an embodiment of the present invention;

[0062] Figure 4 It is a structural block diagram of a user identity authentication device according to an embodiment of the present invention;

[0063] Figure 5 It is a structural block diagram of a biometric feature acquisition submodule included in the identification module of the user identity authentication device according to an embodiment of the present invention;

[0064] Figure 6 It is a structural block diagram of a behavior feature recognition submodule included in the recognition module of the user identity authentication device according to an embodiment of the present invention;

[0065] Figure 7 This is a schematic diagram of an embodiment of the user identity authentication method of the present invention using "data collection at the front end and identity authentication API running in the background". DETAILED DESCRIPTION

[0066] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0067] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0068] In a first aspect, an embodiment of the present invention provides a user identity authentication method, referring to Figure 1 , including the following steps:

[0069] S110, acquiring signature sensor data collected by a sensor of a user terminal during the current user signing process, and handwriting screenshot data formed by the user during the signing process.

[0070] In a specific embodiment, the user terminal can be a mobile phone terminal, a smart POS machine, a VTM, an ATM, and other hardware devices that require identity authentication for signing. The operating system used by the hardware device is not limited and is compatible with all versions of Android and IOS operating systems.

[0071] The signature sensor data is used to record the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to record the user's writing biometric characteristics. The behavioral characteristics can be the horizontal and vertical coordinates, displacement, speed, number of acceleration strokes, number of inflection points, number of extreme points, corners, time, pressure, etc. of the signature, as well as indicators derived from the average value, variance, maximum value and minimum value of these parameters.

[0072] S120, identifying the user identity based on the signature sensor data and the handwriting screenshot data.

[0073] In a specific embodiment, when performing user authentication based on handwriting screenshot data, a handwriting biometric authentication model can be used. The authentication model can use a face recognition algorithm, including but not limited to DeepFace, SeetaFace, SeetaFace2, RetinaFace, facenet, mobilefacenet, insightface / arcface, CosFace, or an image classification algorithm, including but not limited to googlenet, vgg16, vgg19, inceptionv1, inceptionv2, inceptionv3, inceptionv4, inception-resnetv1, inception-resnetv2, resnet18, resnet34, resnet50, resnet101, resnext50, resnext101, etc.

[0074] In one embodiment, the Facenet algorithm works as follows:

[0075] Using the Inception-V1 network structure, the specific calculation method of input and output of each layer is:

[0076] First layer: convolution layer

[0077] Input data dimension (data): 224×224×3

[0078] Convolution kernel size: 7×7, stride: 2, padding: 3

[0079] Output dimension: 112×112×64, calculation method: (224+2×3-7+1) / 2=112, kernel size = 64

[0080] Second layer: max pool layer

[0081] Input data dimension (data): 112×112×64

[0082] Convolution kernel size: 3×3, stride: 2, padding: 1

[0083] Output dimension: 56×56×64, calculation method: (112+2×1-3+1) / 2=56

[0084] The third layer: convolution layer

[0085] Input data dimension (data): 56x56x64

[0086] Convolution kernel size: 3x3, stride: 1, padding: 1

[0087] Fourth layer: max pool layer

[0088] Input data dimension (data): 56x56x192

[0089] Convolution kernel size: 3x3, stride: 2, padding: 1

[0090] Output dimension: 28×28×192, calculation method: (56+2×1-3+1) / 2=28

[0091] Fifth layer: Inception layer

[0092] Divided into 4 channels, the input of each channel is the output of the fourth layer (28x28x192)

[0093] Channel 1: 1×1 convolution layer, 64 convolution kernels, output size is 28×28×64;

[0094] Channel 2: 1×1 convolution layer, 96 convolution kernels, output size is 28×28×96; enters the 3×3 convolution layer as input, and the output size is 28×28×128;

[0095] Channel 3: 1×1 convolution layer, 32 convolution kernels, output size is 28×28×32; enters the 3×3 convolution layer as input, and the output size is 28×28×32;

[0096] Channel 4: 3×3 pooling layer with an output size of 28×28×192; it enters the 1x1 convolutional layer as input, with an output size of 28×28×32.

[0097] The output of the Inception layer is the sum of the outputs of these four channels: 64+128+32+32=256

[0098] The Loss function is Triplet loss, and the principle is as follows:

[0099] Triplet loss is a model expression of triplet loss. The principle of triplet loss is: take the distance between facial features as the target of each group in the triplet, and design the loss according to the similarity of the target. The specific design is to take 3 face images from the training data each time, and the first image is recorded as The second image is denoted as The third image is denoted as In the combination of three face images, and corresponds to different face images of the same person, and It is a face image of a different person.

[0100] In this representation, the distance The Euclidean distance of the feature points of different face images of the same person is small, while the distance The Euclidean distance of the feature points of different face images representing two different people is larger. Therefore, the triple loss consisting of three face images satisfies the following formula:

[0101]

[0102] That is, the square of the Euclidean distance between different face images of the same person is α less than the square of the distance between different face images of different people. In the formula, the face distance is squared to facilitate the derivation process. According to the principle of triple loss, the triple loss function is designed as:

[0103]

[0104] When the distance between the facial features of a triplet consisting of three face images satisfies the expression:

[0105] No loss occurs, and Li=0.

[0106] When the distance between the facial features of a triplet of three face images does not satisfy the above expression, a value of In addition, it is fixed during training. Used to ensure that there is a maximum distance boundary value in the representation of the Euclidean vector distance of facial features.

[0107] When identifying a user based on signature sensor data and handwriting screenshot data, the authentication and recognition model may use a deep unsupervised algorithm, such as the SVDD algorithm.

[0108] The basic idea of ​​the SVDD algorithm is to find a hypersphere that surrounds the target sample point in the feature space mapped to a high dimension, and minimize the volume enclosed by the hypersphere so that the target sample point is enclosed in the hypersphere as much as possible, while the non-target sample point is excluded from the hypersphere as much as possible, thereby achieving the purpose of dividing the two categories. The goal of this method is to find the center b and radius R of the smallest hypersphere that can contain normal data samples. The SVDD algorithm is as follows:

[0109] Assume there are m sample points, y (1) ,y (2) ,...,y (m) ,

[0110] Assume that these sample points are distributed in a sphere with center b and radius R. Then sample y (i) satisfy

[0111] (y (i) -b) T (y (i) -b)≤R 2 .

[0112] Introducing the slack variable ξ i , allowing some samples not to be in this ball, then

[0113] (y (i) -a) T (y (i) -a)≤R 2 +ξ i ,ξ i ≥0. The goal is to minimize the radius R of the ball and the slack variable ξ i The value of , so the objective function is

[0114]

[0115] st(x (i) -b) T (x (i) -b)≤R 2 +ξ i ,

[0116] ξ i≥0,i=1,2,...,m.

[0117] Among them, C>0 is a penalty parameter, which is set manually.

[0118] Since the various models involved above are well known to those skilled in the art, they will not be described in detail here.

[0119] S130: If the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal, the identity authentication is successful.

[0120] In this embodiment, the legitimacy of the user is double-verified by the data collected by the signature sensor and the handwriting screenshot data. Only when both are legitimate, the user is confirmed to be legitimate.

[0121] In specific implementation, the legitimacy of the handwriting screenshot data can be verified first, and only if it is legal, the signature sensor data can be verified. Of course, the signature sensor model and the handwriting biometric identity authentication model can also be executed at the same time, and only when both are legal, the user is confirmed to be legal. From the perspective of system resource consumption, the former is better, and the present invention does not limit this.

[0122] Combine the following Figure 2 , in one embodiment of the identity authentication method of the present invention, the process of identifying the user identity based on the user handwriting screenshot data is described:

[0123] S210, converting the handwriting screenshot data currently input by the user into grayscale image data;

[0124] S220, adjusting the size of the grayscale image data;

[0125] S230, based on a pre-trained handwriting biometric identity authentication model, extracting features from the resized grayscale image to obtain handwriting biometric features;

[0126] S240, calculating the similarity between the handwriting biometric feature and the handwriting biometric feature corresponding to each historical handwriting screenshot data, and determining the number exceeding a given similarity threshold. If the number exceeds a preset number threshold, the user's handwriting biometric feature is verified.

[0127] Among them, the historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering; the handwriting biometric feature corresponding to each historical handwriting screenshot data is the image feature obtained after the historical handwriting screenshot data is input into the handwriting biometric identity authentication model.

[0128] In one embodiment, during the registration process, 5 pieces of data are entered through the data collection app, including: 5 pieces of mobile phone sensor data, 5 pieces of binary data of 32-bit depth handwriting screenshots, the binary data is encrypted with base64, and then the base64 encrypted data is stored in the hbase database, and at the same time, the 5 pieces of binary data of 32-bit depth handwriting screenshots are converted into 5 pieces of binary data of 8-bit depth grayscale handwriting screenshots, and then the trained handwriting biometric identity authentication model is called to extract image features from them and store them in the hbase database.

[0129] In one embodiment, during the use phase, the binary data of a 32-bit depth handwriting screenshot is collected through a data collection app; then, the user's unique identifier is obtained (for example, the mobile phone number or account number filled in by the user when registering), and the image features of 5 pre-stored historical handwriting screenshots are obtained through the user's unique identifier; then, the binary data of the handwriting screenshot of the new data currently input by the user is converted into binary data of a grayscale image with a depth of 8 bits; and the binary data of the grayscale image with a depth of 8 bits is resized to 224*224, and then the trained handwriting biometric identity authentication model is called to extract features from it, and finally the extracted features are calculated with the grayscale image features of the historical 5 data. Similarities can be obtained, and if 3 of the 5 similarities are greater than the set threshold, then it is determined to be the user himself, otherwise it is determined to be someone else.

[0130] As mentioned above, the handwriting biometric authentication model is a face recognition algorithm or an image classification algorithm.

[0131] Reference Figure 3 , Figure 3 A flowchart of the steps of identifying a user's identity based on signature sensor data in an identity authentication method according to an embodiment of the present invention is provided, including:

[0132] S310, acquiring corresponding current dynamic indicator data and current static indicator data according to the signature sensor data currently input by the user.

[0133] The signature sensor data refers to the data collected by various sensors built into the user terminal when the user signs by hand. For example, if the verification is done by mobile phone, the data may be collected by various sensors built into Android and iOS mobile phones when the user signs by hand.

[0134] Dynamic indicator data means that the data is a sequence, which contains the data of all sampling points, such as sampling point coordinates, sampling point speed, etc.

[0135] Static indicator data means that only one data is generated during the handwriting process, such as the number of strokes, the number of inflection points, etc.

[0136] S320, querying a plurality of pre-stored historical signature sensor data through the user unique identifier, and obtaining corresponding historical dynamic indicator data and historical static indicator data.

[0137] S330, deriving the current dynamic indicator data from a plurality of historical dynamic indicator data to obtain more dynamic indicator data, and performing normalization and data resampling operations.

[0138] S340 calculates the first dynamic indicator distance vector and the second dynamic indicator distance vector based on the data obtained after resampling; wherein, the first dynamic indicator distance vector is obtained in the following manner: the distances between the same indicators in multiple historical dynamic indicator data are calculated pairwise, and the obtained dynamic indicator distance vector is used as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained in the following manner: the distances between the current dynamic indicator data and the same indicators in multiple historical dynamic indicator data are calculated pairwise, and the obtained dynamic indicator distance vector is used as the second dynamic indicator distance vector.

[0139] For example, a new signature sensor data is collected through the data collection app, including dynamic indicator data and static indicator data, and the user's unique identifier is obtained. The five historical signature sensor data pre-stored during registration are obtained through the user's unique identifier. Then, more dynamic indicator data are derived from the new sensor dynamic indicator data and the five historical signature sensor dynamic indicator data; then, rotation normalization, size normalization, position normalization, and data resampling are performed in sequence, and then the same indicators of the dynamic indicators in the five historical signature sensor data are calculated pairwise by the improved DTW algorithm to obtain 10 dynamic indicator distance vectors. Specifically, each of the five historically collected data has multiple dynamic indicators, and the dynamic indicators contained in each are the same. It is necessary to calculate the improved DTW distance for the same dynamic indicators in the five historical data. Then, for every two data, one dynamic indicator DTW distance vector will be generated, and a total of 10 dynamic indicator DTW distance vectors will be generated. In addition, the distances between a new sensor dynamic indicator data and the same indicators of the five historical signature sensor dynamic indicator data are calculated pairwise through the improved DTW to obtain five dynamic indicator distance vectors; specifically, the data generated by the current handwritten signature contains multiple dynamic indicator data, and these dynamic indicators are the same as the dynamic indicators contained in the five historical data. Then, the currently generated data is used to calculate the improved DTW distance with the same dynamic indicators of the five historical data. Similarly, a total of five dynamic indicator DTW distance vectors will be generated.

[0140] Below, rotation normalization, size normalization, position normalization, data resampling and improved DTW algorithm are further explained.

[0141] The principle of rotation normalization is as follows:

[0142] (1) Divide the signature into two parts, left and right, based on the center of gravity of the entire signature, and calculate the centers of gravity of the left and right parts respectively.

[0143] (2) Calculate the angle θ between the line connecting the centers of gravity of the left and right parts and the horizontal direction, and rotate the signature according to the following rotation formula.

[0144]

[0145] Where x′ and y′ represent the coordinates of the signature after rotation, x and y represent the coordinates of the signature before rotation, G x , G y Represents the center of gravity of the entire signature curve.

[0146] (1) If θ≤90°, rotate the signature clockwise by θ degrees; if θ>90°, rotate the signature counterclockwise by (180°-θ) degrees, and set a very small angle σ. If the angle θ after the signature rotation is <σ, or (180-θ)<σ, stop the rotation, otherwise continue the rotation according to step (1).

[0147] This method uses more than one rotation process and sets an angle threshold σ. If the angle after rotation is greater than σ, the rotation will continue until it is less than σ. This makes the direction of the signature closer to the horizontal and the rotation effect is better.

[0148] The principle of size normalization is as follows:

[0149]

[0150]

[0151] Where x′ min , y′ min are the minimum values ​​of the horizontal and vertical coordinates, respectively, x′ max , y′ max are the maximum values ​​of the horizontal and vertical axes respectively.

[0152] The principle of position normalization is as follows:

[0153] Subtract the average value from the horizontal and vertical coordinates of the signature respectively, and then the average value of each signature data will be normalized to the origin.

[0154] x″′=x″-x″ aver

[0155] y″′=y″-y″ aver

[0156] Where x″ aver ,y″ aver are the average values ​​of the horizontal and vertical coordinates of all signature points, respectively.

[0157] The principle of equidistant data resampling is as follows:

[0158] Suppose the coordinates of a stroke of the handwritten signature are {(x″′ 1 ,y″′ 1 ),(x″′ 2 ,y″′ 2 ),(x″′ 3 ,y″′ 3 ),…,(x″′ n ,y″′ n )}, the sampling step is k, and the Euclidean distance between the first point and the second point is If d 12 ≤k, then no sampling is performed between the first and second points; if d 12 >n*k,n∈N + , then sample between the first point and the second point, and add the first sampling point as

[0159]

[0160] Add a second sampling point

[0161]

[0162] By analogy, the nth sampling point is added as

[0163]

[0164] At this time, the coordinates of all points between the first point and the second point become {(x″′ 1 ,y″′ 1 ),(x″′ 121 ,y″′ 121 ),(x″′ 122 ,y 1 ″′ 22 ),…,(x″′ 12n ,y″′ 12n ),(x″′ 2 ,y″′ 2 )}

[0165] Similarly, the coordinates of all points between any two adjacent points can be obtained, and then they can be pieced together as the new coordinates of a stroke.

[0166] The improved DTW algorithm can correct the extreme points of incorrect matching, and then re-segment the signature based on the corrected extreme points, and then perform DTW matching in units of segments to obtain the matching distance.

[0167] Correct the mismatched extreme points and re-segment the signature based on the corrected extreme points. The specific steps are as follows:

[0168] (1) Compare the length (number of data points) L of the i-th segment of signature R and signature T;

[0169] If L R >L T , then calculate the end point T(i) of the signature T segment i e The distance d(T(i) to each point in the signature R segment i e ,R(i));

[0170] If the signature R is segment i, point m R(i) m is an extreme point, then the judgment point R(i) m and point T(i) e Are they both maximum or minimum points? If not, continue to determine the next distance d(T(i) e ,R(i) m+1 ) whether the conditions are met;

[0171] If condition (3) is satisfied, d(T(i) e ,R(i) m ) and the distance d(T(i) between the end points of the two signature segments i e ,R(i) e ) is compared, if d(T(i) e ,R(i) m )<d(T(i) e ,R(i) e ), then point m is the new end point of signature R segment i. From point R(i) m+1 From the beginning to the end point R(i) e Segment R(i+1) and signature segment T(i+1), repeat step (1); if d(T(i) e ,R(i) m )≥d(T(i) e ,R(i) e ), then re-enter

[0172] Perform step (3);

[0173] (2) If L R <L T , then it is similar to steps (2), (3), and (4).

[0174] Suppose there is a signature template segment sequence R = {R(1), R(2), ..., R(p), ..., R(P)}, whose length is P, and each component represents the serial number of the segment. There is also a signature segment sequence T = {T(1), T(2), ..., T(q), ..., T(Q)} to be tested, whose length is Q, and each component represents the serial number of the segment, and P>Q.

[0175] After correcting the mismatched extreme points and re-segmenting the signature with the corrected extreme points, a new signature template segment sequence R is obtained. 1 = {R 1 (1),R 1 (2),...,R 1 (p 1 ),...,R 1 (P 1 )}, whose length is P 1 , the signature segment sequence to be tested remains unchanged.

[0176] Then, the matching between the strokes is performed, and the sum of the Euclidean distances between the starting point and the end point of the two stroke sequences is used as the distance between the two stroke sequences.

[0177] Let d(i,j) be the template segment R 1 The corresponding distance between (i) and the pen segment to be tested T(j) is expressed as:

[0178]

[0179] In the above formula and is the x coordinate of the starting point, and is the y coordinate of the starting point, and is the x coordinate of the end point, and is the y coordinate of the end point.

[0180] Thus, we can get the distance P between the two sequences 1 *Q's matrix D 1 , as shown below:

[0181]

[0182] Then match the segments according to the following formula:

[0183]

[0184] Then use the above recursive formula to reversely recurse to find the matching path with the shortest distance. The calculation formula for the shortest distance is:

[0185]

[0186] Thus we get R 1 = {R 1 (1),R 1 (2),...,R 1 (p 1 ),...,R 1 (P 1 )} and the matching relationship between the segments of T={T(1),T(2),…,T(q),…,T(Q)}.

[0187] Using the matching relationship between the pen segments obtained above, DTW matching is performed on a pen segment basis to obtain the matching distance between the corresponding pen segments:

[0188] DTW matching is mainly to match an optimal time matching path between the signature to be tested and the behavior characteristics of the template signature. The process is as follows:

[0189] Suppose the sequence of segments u of a handwritten template is R u = {R u (1),R u (2),...,R u (w),...,R u (W)}, whose length is W, each component represents the x, y coordinates, and there is a sequence T of handwritten segments v to be tested v ={T v (1),T v (2),...,T v (l),...,T v (L)}, whose length is L, and each component also represents the x and y coordinates. The length of the reference signal sequence can be equal to or different from the length of the signal sequence to be tested. First, calculate the similarity (i.e., distance) d(R u (w),T l (l)), represented as the component R in the sequence of the handwriting template segment u u (w) and the component T in the sequence of the handwritten segment v to be tested l (l) The distance between them.

[0190] In this system, Euclidean distance is used to calculate the similarity between two sequences. The calculation formula is:

[0191]

[0192] In the above formula, x r 、x t Represents the x-coordinate value of the two signal sequences, y r,y t Represents the y coordinate value of the two signal sequences. From this, we can get the matrix D of the distance W*L between the two sequences, as shown below.

[0193]

[0194] The recursive formula is as follows:

[0195]

[0196] In the above formula, g(h,k) represents the matching of two sequences from the starting component to R u The h component and T l The distance obtained by the k component in .

[0197] Each result is the addition of d(h,k) or 2d(h,k) to the previous matching result, and then the minimum value is taken. In the calculation, if all g(h,k) are obtained, the above recursive formula is used to reversely recurse to find the matching path with the shortest distance. The calculation formula for the shortest distance is:

[0198]

[0199] Then, the matching distances between all corresponding strokes are summed to obtain the distance between the handwriting template sequence R and the handwriting sequence T to be tested.

[0200] S350, derive the current static indicator data from multiple historical static indicator data, and perform normalization operations; subtract the same indicators in the static indicator data after data normalization, and then take the absolute value to obtain multiple static indicator distance vectors as the first static indicator distance vector; subtract the same indicators in the current static indicator data after normalization from multiple historical static indicator data, and then take the absolute value to obtain multiple static indicator distance vectors as the second static indicator distance vector.

[0201] In one embodiment, more static indicator data are derived from 1 new sensor static indicator data and 5 historical signature sensor static indicator data, and then the static indicators are normalized. Then, the same indicators of the normalized static indicators are subtracted, and then the absolute values ​​are taken to obtain 10 static indicator distance vectors; the same indicators of the 1 new sensor static indicator data after data normalization are subtracted from the 5 historical signature sensor static indicator data, and then the absolute values ​​are taken to obtain 5 static indicator distance vectors.

[0202] S360, horizontally splicing the first dynamic indicator distance vector and the first static indicator distance vector to obtain a plurality of first new distance vectors, and training a sensor behavior feature identity authentication model based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm.

[0203] In the embodiment given above, the 10 static indicator distance vectors and the 10 dynamic indicator distance vectors obtained above are horizontally spliced ​​to obtain 10 new distance vectors. Through the new 10 distance vectors, a type 1 deep unsupervised model (i.e., a sensor behavior feature identity authentication model) is trained. The model determines whether it is the person himself through the similarity of the behavioral features in the handwriting process.

[0204] S370, horizontally splicing multiple second dynamic indicator distance vectors with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and using the second new distance vectors as input of the sensor behavior feature identity authentication model, and identifying the user identity according to the output results.

[0205] In the embodiment given above, the 5 static indicator distance vectors and the 5 dynamic indicator distance vectors obtained are horizontally spliced ​​to obtain 5 new distance vectors. Through the new 5 distance vectors, the above-trained 1-type deep unsupervised model is called respectively, and 5 results will be output. If the output result of the model is 1, it is the person himself. If the output result of the model is -1, it is someone else. If 3 of the 5 output results are the person himself, then it is determined to be the person himself.

[0206] pass Figure 2 and Figure 3 The instructions clarify how to authenticate based on signature sensor data and handwriting screenshot data. In the specific use process, if the verification results based on signature sensor data and handwriting screenshot data are both legal, the identity authentication is passed.

[0207] In summary, it can be seen that the embodiments of the present invention combine the behavioral characteristics of the handwriting process with the biometric characteristics of the handwriting to more accurately perform handwritten signature identity authentication and increase the speed of identity authentication.

[0208] In a second aspect, the present invention also provides an embodiment of a user identity authentication device, referring to Figure 4 ,include:

[0209] The current input acquisition module 40 is used to acquire the signature sensor data collected by the sensor of the user terminal during the current user signing process, and the handwriting screenshot data formed by the user during the signing process; the signature sensor data is used to generate the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to generate the biometric characteristics of the user's writing;

[0210] An identification module 42, for identifying the user's identity based on the signature sensor data and the handwriting screenshot data;

[0211] The authentication module 44 is used to pass the identity authentication if the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal.

[0212] The embodiment of the present invention combines the behavioral characteristics of the handwriting process with the biometric characteristics of the handwriting to more accurately perform handwritten signature identity authentication and increase the speed of identity authentication.

[0213] Reference Figure 5 , Figure 5 A structural block diagram of a biometric feature acquisition submodule included in the identification module of the user identity authentication device of the present invention is provided, including:

[0214] A conversion unit 50, used to convert the handwriting screenshot data currently input by the user into grayscale image data;

[0215] An adjusting unit 51, used for adjusting the size of the grayscale image data;

[0216] A biometric feature acquisition unit 52 is used to extract features from the resized grayscale image based on a pre-trained handwriting biometric feature identity authentication model to obtain handwriting biometric features;

[0217] The first recognition unit 53 is used to calculate the similarity between the handwriting biometric feature and the handwriting biometric feature corresponding to each historical handwriting screenshot data, and determine the number exceeding a given similarity threshold. If the number exceeds a preset number threshold, the user's handwriting biometric feature is verified; wherein

[0218] The historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering; the handwriting biometric feature corresponding to each historical handwriting screenshot data is the image feature obtained after the grayscale image data of the historical handwriting screenshot data after resizing is input into the handwriting biometric identity authentication model.

[0219] Reference Figure 6 , Figure 6A structural block diagram of a behavior feature recognition submodule included in the recognition module of the user identity authentication device of the present invention is provided, including:

[0220] The indicator acquisition unit 60 is used to acquire the corresponding current dynamic indicator data and current static indicator data according to the signature sensor data currently input by the user;

[0221] The historical data acquisition unit 61 is used to query the pre-stored multiple historical signature sensor data through the user unique identifier, and obtain the corresponding historical dynamic indicator data and historical static indicator data;

[0222] The dynamic index processing unit 62 is used to derive the current dynamic index data and multiple historical dynamic index data, and perform normalization and data resampling operations;

[0223] The first distance vector calculation unit 63 is used to calculate the first dynamic indicator distance vector and the second dynamic indicator distance vector based on the data obtained after resampling; wherein the first dynamic indicator distance vector is obtained by: calculating the distance between the same indicators in multiple historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained by: calculating the distance between the current dynamic indicator data and the same indicators in the multiple historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the second dynamic indicator distance vector;

[0224] The second distance vector calculation unit 64 is used to derive the current static indicator data from the multiple historical static indicator data and perform normalization operations; subtract the same indicators in the static indicator data after data normalization, and then take the absolute value to obtain multiple static indicator distance vectors as the first static indicator distance vector; subtract the same indicators of the current static indicator data after normalization from the multiple historical static indicator data, and then take the absolute value to obtain multiple static indicator distance vectors as the second static indicator distance vector;

[0225] A training unit 65 is used to horizontally splice the first dynamic indicator distance vector with the first static indicator distance vector to obtain a plurality of first new distance vectors, and train a sensor behavior feature identity authentication model based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm;

[0226] The second identification unit 66 is used to horizontally splice multiple second dynamic indicator distance vectors with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and use the second new distance vectors as the input of the sensor behavior feature identity authentication model to identify the user identity based on the output results.

[0227] Since the user identity authentication device is similar in principle to the aforementioned method, the relevant parts can be referred to the aforementioned description and will not be described in detail here.

[0228] The operation mode of the present invention is described below, there are two kinds:

[0229] First, in the specific implementation, data collection runs on the front end (for example, on the user terminal) and the identity authentication API runs in the background.

[0230] Reference Figure 7 , Figure 7 A schematic diagram showing an embodiment of the user identity authentication method of the present invention adopting "data collection at the front end and identity authentication API running at the background".

[0231] (1) Data collection SDK

[0232] The data collection SDK can be easily integrated into various application apps to collect sensor data generated by user operations during the user's handwriting process.

[0233] (2) Nginx load balancing server

[0234] Advantages of Nginx

[0235] Lightweight, small installation file, low CPU memory usage during operation;

[0236] Strong performance, support for multiple cores, high efficiency in processing static files, the poll model used by the kernel can support up to 50K concurrent connections, which can improve the performance of multiple concurrent API calls;

[0237] Supports hot deployment and fast startup, and can upgrade software and configuration without interrupting service;

[0238] Support load balancing, fault tolerance and health check;

[0239] The proxy function is powerful and supports non-caching reverse proxy.

[0240] (3)Keepalived load balancing server high availability

[0241] If a single load balancing dispatch server fails, the backend service API will not be callable. Therefore, a backup dispatch server is provided to reduce the risk of single point failure to the backend service API. Here, the open source software Keepalived is used to provide high availability of the Nginx dispatch server. When the main Nginx goes down, keepalived will switch the dispatch service to the backup dispatch host and continue to provide user access.

[0242] The function of Keepalived is to detect the status of the scheduling server. If a scheduling server crashes or fails to work, Keepalived will detect it and remove the faulty scheduling server from the system. When the scheduling server works normally, Keepalived automatically adds the scheduling server to the scheduling server group. All these tasks are completed automatically without manual intervention. The only thing that needs to be done manually is to repair the faulty scheduling server.

[0243] (4) Distributed database high availability

[0244] The signature sensor behavior feature data and handwriting biometric data are stored using the Hbase database. The Hbase database is a distributed database with a built-in high-availability mechanism. When the master node fails, it can automatically switch to the backup node without affecting the normal use of the database. As a big data component, Hbase can infinitely expand the data storage capacity by expanding the server, and all data have multiple copies. When some node servers in the Hbase cluster fail, it will not affect the integrity of the data. We will also optimize the Hbase component to increase the speed of Hbase's multi-concurrency reading and writing, and further improve the performance of multi-concurrency API calls.

[0245] (5) High availability of document-based NoSQL databases (or distributed cache Redis databases)

[0246] In order to query the recognition results of the background service according to the conditions, as well as the statistical analysis data and statistical charts, and to display them visually in the visual management system, a document-based NoSQL database high-availability solution is adopted to store the recognition results and statistical analysis data of the background service in the MongoDB database. When a MongoDB database server goes down, the database can be switched between the primary and backup servers, and the data of the primary and backup databases can be automatically synchronized.

[0247] Second, in the specific implementation, the user terminal is embedded deployed

[0248] Data collection and identity authentication API services are all run on the front end.

[0249] (1) Data collection SDK

[0250] The data collection SDK can be easily integrated into various application apps to collect sensor data generated by user operations during the user's handwriting process.

[0251] (2) Data encryption

[0252] The collected data is encrypted. When obtaining the data for identity authentication, it is first decrypted in the memory, and then the identity authentication is performed to ensure data security.

[0253] (3) Data storage

[0254] The data is stored in the storage of the smartphone (Android or IOS operating system).

[0255] (4) Computing power requirements

[0256] Since all calculations are performed on smart devices, they need to be run on ARM CPU 2 Core or above, which can ensure the smoothness of the phone when used, ensure the user experience, and complete identity authentication in seconds.

[0257] The above two methods each have their own advantages and disadvantages. The advantage of the first one is that since the front end is only responsible for collecting data, the computing power requirements for the mobile phone are very low, and all smart phones can be used. The disadvantage is that the deployment and maintenance of the identity authentication service API is more troublesome and requires expensive server hardware costs. The advantage of the second one is that the deployment and maintenance of the identity authentication service API is convenient, but the disadvantage is that there are certain requirements for the computing power of the mobile phone, which will occupy a certain amount of storage space, increase the power consumption of the mobile phone, and have relatively high requirements for the data encryption algorithm.

[0258] In the third aspect, the present invention also provides an embodiment of a user terminal, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the aforementioned user authentication method.

[0259] In a fourth aspect, the present invention also provides a server, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the aforementioned user authentication method.

[0260] In a fifth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the aforementioned method embodiment.

[0261] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A user identity authentication method, It is characterized in that include: Acquire signature sensor data collected by a sensor of a user terminal during the current user signing process, and handwriting screenshot data formed by the user during the signing process; wherein the signature sensor data is used to generate the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to generate the user's writing biometric characteristics; Based on the signature sensor data and the handwriting screenshot data, the user identity is identified respectively; If the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal, the identity authentication is passed; Identifying the user identity based on the signature sensor data includes the following steps: According to the signature sensor data currently input by the user, the corresponding current dynamic indicator data and current static indicator data are obtained; Query multiple pieces of pre-stored historical signature sensor data through the user's unique identifier, and obtain corresponding historical dynamic indicator data and historical static indicator data; Derive the current dynamic indicator data from multiple historical dynamic indicator data, and perform normalization and data resampling operations; Based on the data obtained after resampling, a first dynamic indicator distance vector and a second dynamic indicator distance vector are calculated; wherein the first dynamic indicator distance vector is obtained by: calculating the distance between the same indicators in a plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained by: calculating the distance between the current dynamic indicator data and the same indicators in the plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the second dynamic indicator distance vector; The current static indicator data is derived from multiple historical static indicator data, and normalized; the same indicators in the static indicator data after data normalization are subtracted, and then the absolute values ​​are taken to obtain multiple static indicator distance vectors as the first static indicator distance vector; the current static indicator data after normalization is subtracted from the same indicators in multiple historical static indicator data, and then the absolute values ​​are taken to obtain multiple static indicator distance vectors as the second static indicator distance vector; The first dynamic indicator distance vector and the first static indicator distance vector are horizontally spliced ​​to obtain a plurality of first new distance vectors, and a sensor behavior feature identity authentication model is trained based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm; Multiple second dynamic indicator distance vectors are horizontally spliced ​​with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and the second new distance vectors are used as input of the sensor behavior feature identity authentication model, and the user identity is identified according to the output result.

2. The user identity authentication method according to claim 1, It is characterized in that Identifying the user's identity based on the user's handwriting screenshot data includes: Convert the handwriting screenshot data currently input by the user into grayscale image data; Adjusting the size of the grayscale image data; Based on the pre-trained handwriting biometric identity authentication model, feature extraction is performed on the resized grayscale image to obtain the handwriting biometric features; The handwriting biometric feature is similarly calculated with the handwriting biometric feature corresponding to each historical handwriting screenshot data to determine the number exceeding a given similarity threshold, and if the number exceeds a preset number threshold, the user's handwriting biometric feature is verified; wherein The historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering; The handwriting biometric feature corresponding to each of the historical handwriting screenshot data is: the image feature obtained after the grayscale image data of the historical handwriting screenshot data after resizing is input into the handwriting biometric identity authentication model.

3. The user identity authentication method according to claim 2, It is characterized in that The handwriting biometric identity authentication model is a face recognition algorithm or an image classification algorithm.

4. The user identity authentication method according to claim 3, It is characterized in that In the operation of deriving the current dynamic indicator data from the plurality of historical dynamic indicator data, and performing normalization and data resampling, the normalization includes: rotation normalization, size normalization and position normalization.

5. The user identity authentication method according to claim 4, It is characterized in that The data resampling is equidistant data resampling.

6. The user identity authentication method according to claim 5, It is characterized in that The first dynamic indicator distance vector, the second dynamic indicator distance vector, the first static indicator distance vector and the second static indicator distance vector are all calculated and obtained by using an improved DTW algorithm.

7. A user identity authentication device, It is characterized in that include: The current input acquisition module is used to acquire the signature sensor data collected by the sensor of the user terminal during the current user signing process, and the handwriting screenshot data formed by the user during the signing process; the signature sensor data is used to generate the user's behavioral characteristics during the writing process, and the handwriting screenshot data is used to generate the biometric characteristics of the user's writing; An identification module, used to identify the user's identity based on the signature sensor data and the handwriting screenshot data; An authentication module, configured to pass the identity authentication if the verification results based on the signature sensor data and the verification results based on the handwriting screenshot data are both legal; The identification module includes a behavior feature identification submodule, including: An indicator acquisition unit, used to acquire corresponding current dynamic indicator data and current static indicator data according to the signature sensor data currently input by the user; A historical data acquisition unit, used to query a plurality of pre-stored historical signature sensor data through a user unique identifier, and obtain corresponding historical dynamic indicator data and historical static indicator data; A dynamic indicator processing unit is used to derive the current dynamic indicator data from multiple historical dynamic indicator data, and perform normalization and data resampling operations; A first distance vector calculation unit is used to calculate a first dynamic indicator distance vector and a second dynamic indicator distance vector based on the data obtained after resampling; wherein the first dynamic indicator distance vector is obtained by: calculating the distance between the same indicators in a plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the first dynamic indicator distance vector; the second dynamic indicator distance vector is obtained by: calculating the distance between the current dynamic indicator data and the same indicators in the plurality of historical dynamic indicator data, and using the obtained dynamic indicator distance vector as the second dynamic indicator distance vector; The second distance vector calculation unit is used to derive the current static indicator data from the multiple historical static indicator data and perform normalization operations; subtract the same indicators in the static indicator data after data normalization, and then take the absolute value to obtain multiple static indicator distance vectors as the first static indicator distance vector; subtract the same indicators of the current static indicator data after normalization from the multiple historical static indicator data, and then take the absolute value to obtain multiple static indicator distance vectors as the second static indicator distance vector; A training unit, configured to horizontally splice the first dynamic indicator distance vector with the first static indicator distance vector to obtain a plurality of first new distance vectors, and train a sensor behavior feature identity authentication model based on the first new distance vectors, wherein the sensor behavior feature identity authentication model is an SVDD algorithm; The second identification unit is used to horizontally splice multiple second dynamic indicator distance vectors with multiple second static indicator distance vectors to obtain multiple second new distance vectors, and use the second new distance vectors as the input of the sensor behavior feature identity authentication model to identify the user identity according to the output result.

8. The user identity authentication device according to claim 7, It is characterized in that The identification module includes a biometric feature acquisition submodule, including: A conversion unit, used to convert the handwriting screenshot data currently input by the user into grayscale image data; An adjusting unit, used for adjusting the size of the grayscale image data; A biometric feature acquisition unit, used to extract features from the resized grayscale image based on a pre-trained handwriting biometric feature identity authentication model to obtain handwriting biometric features; The first recognition unit is used to calculate the similarity between the handwriting biometric feature and the handwriting biometric feature corresponding to each historical handwriting screenshot data, and determine the number exceeding a given similarity threshold. If the number exceeds a preset number threshold, the user's handwriting biometric feature is verified; wherein The historical handwriting screenshot data is associated with the user's unique identification and is pre-entered by the user when registering; The handwriting biometric feature corresponding to each historical handwriting screenshot data is: the image feature obtained after the grayscale image data of the historical handwriting screenshot data after resizing is input into the handwriting biometric identity authentication model.

9. The user identity authentication device according to claim 8, It is characterized in that The handwriting biometric identity authentication model adopts a face recognition algorithm or an image classification algorithm.

10. The user identity authentication device according to claim 9, It is characterized in that In the dynamic index processing unit, the normalization includes: rotation normalization, size normalization and position normalization.

11. The user identity authentication device according to claim 10, It is characterized in that The data resampling is equidistant data resampling.

12. The user identity authentication device according to claim 11, It is characterized in that The first dynamic indicator distance vector, the second dynamic indicator distance vector, the first static indicator distance vector and the second static indicator distance vector are all calculated and obtained by using an improved DTW algorithm.

13. A user terminal, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the user identity authentication method described in any one of claims 1 to 6.

14. A server, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the user identity authentication method described in any one of claims 1 to 6.

15. A non-transitory computer-readable storage medium, It is characterized in that The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the user identity authentication method described in any one of claims 1-6.