Identity authentication method, device, equipment and medium

By segmenting and clustering the fingerprint data of users to be accessed, and using pre-trained classifiers for identity authentication, it solves the problems of key distribution and management complexity and the impact of quantum computing in traditional identity authentication, and improves network security. sex.

CN118540702APending Publication Date: 2024-08-23CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410654241.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Key distribution and management are complicated in traditional identity authentication methods, and quantum computing reduces key security, leading to the problem of reduced identity authentication security.

Method used

By obtaining the fingerprint data of the user to be accessed, it is divided into sub-fingerprint data, and the clusters and feature vectors of the sub-fingerprint data are determined according to the clustering algorithm, and the pre-trained classifier is used for identity authentication to avoid key distribution and management.

Benefits of technology

It reduces the waste of computing resources and communication resources, improves the overall security of the network, and reduces the complexity of key management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540702A
    Figure CN118540702A
Patent Text Reader

Abstract

The embodiment of the invention provides an identity authentication method and device, equipment and a medium, and the method comprises the steps: obtaining the fingerprint data of a to-be-accessed user, and segmenting the fingerprint data into a preset number of sub-fingerprint data; for each piece of sub-fingerprint data, a group to which the sub-fingerprint data belongs is determined, and the group comprises at least two clusters; determining a target cluster corresponding to the sub-fingerprint data according to target sub-data corresponding to the cluster center of each cluster contained in the group and the sub-fingerprint data; determining a feature vector corresponding to the stored target cluster as an initial feature vector of the sub-fingerprint data; and according to the initial feature vector of each piece of sub-fingerprint data and the classifier, determining whether the user to be accessed is an authentication result of a legal user. In the embodiment of the invention, the server determines whether the to-be-accessed user is a legal user or not through the fingerprint data of the to-be-accessed user, distribution and management of keys are not needed, waste of computing resources and communication resources is reduced, and the overall security of a network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and in particular to an identity authentication method, device, equipment and medium. Background Art

[0002] The issue of secure access is an important topic that cannot be ignored. It aims to ensure that only legitimate users can access protected network resources while preventing access by illegal users. Secure access mainly includes three key aspects: identity authentication, access control policy and security audit.

[0003] Among them, identity authentication is regarded as the first line of defense for secure access. In the past mobile networks, traditional identity authentication was mainly based on cryptographic methods. For example, 2G uses authentication response, 3G uses extensible authentication and key negotiation protocol, 4G uses packet system authentication and key negotiation protocol, and 5G introduces a two-way authentication mechanism. However, with the development of technology, the density of device access is getting higher and higher, and the key distribution and management in traditional identity authentication methods are becoming more and more complicated. At the same time, the development of quantum computing has led to lower and lower security of keys, which in turn leads to lower security of identity authentication. Summary of the invention

[0004] The present application provides an identity authentication method, apparatus, device and medium to solve the problem that key distribution and management in traditional identity authentication methods in the prior art are becoming increasingly complex, and the development of quantum computing leads to lower and lower security of keys, which in turn leads to reduced security of identity authentication.

[0005] In a first aspect, an embodiment of the present application provides an identity authentication method, the method comprising:

[0006] Obtaining fingerprint data of the user to be connected, and dividing the fingerprint data into a preset number of sub-fingerprint data;

[0007] For each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group includes at least two clusters; determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data;

[0008] An authentication result of whether the user to be connected is a legitimate user is determined according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

[0009] In a second aspect, an embodiment of the present application further provides an identity authentication device, the device comprising:

[0010] The processing module is used to obtain fingerprint data of a user to be connected, and divide the fingerprint data into a preset number of sub-fingerprint data; for each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group contains at least two clusters; according to the target sub-data corresponding to the cluster center of each cluster contained in the group and the sub-fingerprint data, determine the target cluster to which the sub-fingerprint data belongs; and determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data;

[0011] The classification module is used to determine the authentication result of whether the user to be connected is a legal user according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

[0012] In a third aspect, an embodiment of the present application further provides an electronic device, which includes at least a processor and a memory, and the processor is used to implement the steps of the identity authentication method as described above when executing a computer program stored in the memory.

[0013] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the steps of the identity authentication method as described above when the computer program is executed by a processor.

[0014] In an embodiment of the present application, the fingerprint data of the user to be connected is obtained, and the fingerprint data is divided into a preset number of sub-fingerprint data; for each sub-fingerprint data, the group to which the sub-fingerprint data belongs is determined, wherein the group contains at least two clusters; according to the target sub-data corresponding to the cluster center of each cluster contained in the group, and the sub-fingerprint data, the target cluster corresponding to the sub-fingerprint data is determined; the feature vector corresponding to the saved target cluster is determined as the initial feature vector of the sub-fingerprint data; according to the initial feature vector of each sub-fingerprint data and the pre-trained classifier, the authentication result of whether the user to be connected is a legitimate user is determined. In an embodiment of the present application, the server determines whether the user to be connected is a legitimate user through the fingerprint data of the user to be connected, without the need to distribute and manage keys, reducing the waste of computing resources and communication resources, and improving the overall security of the network. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 A schematic diagram of an identity authentication process provided in an embodiment of the present application;

[0017] Figure 2a A first clustering schematic diagram provided in an embodiment of the present application;

[0018] Figure 2b A second clustering schematic diagram provided in an embodiment of the present application;

[0019] Figure 2c A third clustering schematic diagram provided in an embodiment of the present application;

[0020] Figure 2d A fourth clustering schematic diagram provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of creating a vocabulary provided in an embodiment of the present application;

[0022] Figure 4 A schematic diagram of the structure of a classifier provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram based on constructing a feature matrix provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of the Transformer model provided in the embodiment of the present application;

[0025] Figure 7 An architecture diagram of identity authentication based on a Transformer network provided in an embodiment of the present application;

[0026] Figure 8 A schematic diagram of the structure of an identity authentication device provided in an embodiment of the present application;

[0027] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0029] The issue of secure access in 5G and 6G networks is an important topic that cannot be ignored. It aims to ensure that only legitimate users can access protected network resources while preventing access by illegal users. Secure access mainly includes three key aspects: identity authentication, access control policy and security audit. These three work together to ensure the secure execution of network access authentication and access control.

[0030] The first is identity authentication technology, which is regarded as the first line of defense for secure access. In the past mobile networks, traditional identity authentication was mainly based on cryptographic methods. For example, 2G uses authentication response, 3G uses extensible authentication and key negotiation protocol, 4G uses packet system authentication and key negotiation protocol, and 5G introduces a two-way authentication mechanism. However, with the large-scale access of 6G networks to high connection density and massive energy-constrained devices, traditional encryption and authentication protocols face difficulties in key distribution and management when handling such a large number of connections, and the complexity on terminal devices is high. On the other hand, the progress of quantum computing has challenged the security of keys. It is difficult for traditional single identity authentication methods to effectively manage user identity information and access policies. Therefore, it is necessary to carry out research on new authentication technologies.

[0031] Physical layer fingerprint-based identity authentication has attracted much attention in recent years due to its high security, low complexity and strong versatility. At the same time, the IMT-2030 (6G) Promotion Group has incorporated physical layer authentication as a new wireless technology direction into the 6G technology framework. This technology can provide a lighter authentication process and reduce the computing and communication overhead required by traditional encryption and authentication protocols. In physical layer authentication, machine learning can well analyze the physical layer attribute rules and improve the accuracy of physical layer authentication. Traditional machine learning algorithms based on recurrent neural networks and convolutional neural networks have some shortcomings in processing authentication accuracy and parallel computing.

[0032] Based on this, in order to reduce the waste of computing resources and communication resources and improve the overall security of the network, the embodiments of the present application provide an identity authentication method, device, equipment and medium.

[0033] In an embodiment of the present application, fingerprint data of a user to be connected is obtained, and the fingerprint data is divided into a preset number of sub-fingerprint data; for each sub-fingerprint data, the group to which the sub-fingerprint data belongs is determined, wherein the group contains at least two clusters; based on the target sub-data corresponding to the cluster center of each cluster contained in the group, and the sub-fingerprint data, the target cluster corresponding to the sub-fingerprint data is determined; the feature vector corresponding to the saved target cluster is determined as the initial feature vector of the sub-fingerprint data; based on the initial feature vector of each sub-fingerprint data and a pre-trained classifier, an authentication result of whether the user to be connected is a legitimate user is determined.

[0034] Embodiment 1:

[0035] Figure 1 A schematic diagram of an identity authentication process provided in an embodiment of the present application, the process includes:

[0036] S101: Acquire fingerprint data of a user to be connected, and divide the fingerprint data into a preset number of sub-fingerprint data.

[0037] An identity authentication method provided in an embodiment of the present application is applied to a server.

[0038] In the embodiment of the present application, different users have different fingerprints. When performing identity authentication, the server can perform identity authentication on the user to be connected based on the fingerprint data corresponding to the user to be connected.

[0039] Specifically, the server will receive fingerprint data sent by different users. The data sent by each user has some special target data that is different from other users. This phenomenon is caused by the data sent by different users passing through different channels. The server determines the target data as the user's fingerprint data. The server can determine which user the sender is based on the fingerprint data.

[0040] Based on this, in the embodiment of the present application, when there is a need for identity authentication, the server can obtain the fingerprint data carried in the data sent by the user to be authenticated, and perform identity authentication based on the fingerprint data. In addition, in order to reduce the dimension of the fingerprint data and improve the success rate of identity authentication based on the fingerprint data, the server can process the fingerprint data in segments to obtain multiple sub-fingerprint data.

[0041] Specifically, in the embodiment of the present application, the server may store the sequence length contained in each segment of sub-fingerprint data, and the server may segment the acquired fingerprint data according to the sequence length contained in each segment of sub-fingerprint data to obtain a preset number of sub-fingerprint data. In addition, the server may also store the number of sub-fingerprint data obtained by segmentation, and the server may segment the acquired fingerprint data according to the number to obtain a preset number of sub-fingerprint data.

[0042] In the embodiment of the present application, when the fingerprint data is segmented, the lengths of the sequences corresponding to every two sub-fingerprint data may be the same or different, and no limitation is made here.

[0043] S102: for each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group includes at least two clusters; determine the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data.

[0044] Compared with signals such as text and images, wireless signals usually have a lower signal-to-noise ratio, so a processing method different from natural language processing and image processing is required. Noise reduction is required for each sub-fingerprint data first. In the embodiment of the present application, clustering is used to perform noise reduction on each sub-fingerprint data, determine the target cluster corresponding to each sub-fingerprint data, and use the feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data.

[0045] In the embodiment of the present application, for each sub-fingerprint data corresponding to the segmentation sequence, the server includes a group corresponding to the sub-fingerprint data of the segmentation sequence, and the group includes L k clusters, the server can cluster the sub-fingerprint data of the corresponding segmentation order according to the clusters contained in the group. k is an integer greater than 1.

[0046] For example, the sub-fingerprint data with a segmentation order of 1 corresponds to group 1, which includes cluster c 1,1 ,…,c 1,Lk , the sub-fingerprint data with segmentation order 2 corresponds to group 2, which includes cluster c 2,1 ,…,c 2,Lk , and so on.

[0047] Based on this, for each sub-fingerprint data, the server determines the segmentation order corresponding to the sub-fingerprint data, and determines the group corresponding to the segmentation order. The server uses a clustering algorithm to determine the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster contained in the group and the sub-fingerprint data. The server determines the feature vector corresponding to the saved target cluster as the initial feature vector of the sub-fingerprint data.

[0048] In the embodiment of the present application, the sequence length of the target sub-data corresponding to the cluster center of each cluster is consistent with the sequence length of the corresponding sub-fingerprint data.

[0049] S103: Determine the authentication result of whether the user to be connected is a legitimate user according to the initial feature vector of each sub-fingerprint data and the pre-trained classifier.

[0050] In the embodiment of the present application, a pre-trained classifier is also stored in the server, and the server can determine the authentication result of whether the user to be connected is a legitimate user based on the initial feature vector of each sub-fingerprint data and the pre-trained classifier.

[0051] Specifically, in an embodiment of the present application, the server determines the feature vector of the fingerprint data based on the initial feature vector of each sub-fingerprint data, and inputs the feature vector into a pre-trained classifier to obtain the authentication result of whether the user to be connected is a legitimate user output by the classifier.

[0052] In the embodiment of the present application, the server determines whether the user to be connected is a legitimate user through the fingerprint data of the user to be connected, without the need to distribute and manage keys, thereby reducing the waste of computing resources and communication resources and improving the overall security of the network.

[0053] Embodiment 2:

[0054] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiment, in the embodiment of the present application, the target cluster to which the sub-fingerprint data belongs is determined according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data, including:

[0055] A preset clustering algorithm is adopted to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data.

[0056] In the embodiment of the present application, the server stores the target sub-data corresponding to the cluster center of each cluster, and the target sub-data can be obtained by adding and averaging the sample sub-fingerprint data belonging to the cluster, and the sequence length of the target sub-data is consistent with the sequence length of the sub-fingerprint data. When the server clusters the sub-fingerprint data and determines the target cluster corresponding to the sub-fingerprint data, the server can make the determination based on a preset clustering algorithm.

[0057] Specifically, the server uses a preset clustering algorithm to cluster the target sub-data and sub-fingerprint data corresponding to the cluster center of each cluster, and determines the target cluster to which the sub-fingerprint data belongs. In the embodiment of the present application, the clustering algorithm can be a k-means clustering algorithm or a spectral clustering algorithm.

[0058] In addition, in the embodiment of the present application, the server may calculate the similarity between the sub-fingerprint data and the target sub-data corresponding to the cluster center of each cluster, and determine the target cluster to which the sub-fingerprint data belongs according to the similarity.

[0059] Specifically, the server uses a preset similarity algorithm to determine the similarity between the sub-fingerprint data and the target sub-data corresponding to each cluster, and determines the cluster corresponding to the target sub-data with the highest similarity as the target cluster to which the sub-fingerprint data belongs.

[0060] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, the preset clustering algorithm is used to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data, including:

[0061] Determine the Euclidean distance between the sub-fingerprint data and each target sub-data;

[0062] The cluster where the target sub-data corresponding to the minimum Euclidean distance is located is determined as the target cluster to which the sub-fingerprint data belongs.

[0063] In the embodiment of the present application, when the server clusters the sub-fingerprint data and the target sub-data corresponding to each cluster, the server may use Euclidean distance to determine the target cluster to which the sub-fingerprint data belongs according to the Euclidean distance between the sub-fingerprint data and the target sub-data corresponding to each cluster.

[0064] Specifically, in the embodiment of the present application, the fingerprint is a sequence of many bytes, and putting these bytes into a vector is the fingerprint. Based on this, in the embodiment of the present application, the server can use the Euclidean distance to determine the Euclidean distance between the vector corresponding to the sub-fingerprint data and the vector corresponding to the target sub-data of the cluster center of each cluster, and determine the cluster where the target sub-data corresponding to the minimum Euclidean distance is located as the target cluster to which the sub-fingerprint data belongs.

[0065] Among them, if the length of the sub-fingerprint data is n, then it and L k The centers are all in the same n-dimensional space. For example:

[0066] Figure 2a The first clustering diagram provided in the embodiment of the present application is as follows: Figure 2a As shown, if n = 1, that is, 1-dimensional space, that is, a straight line. Then the k-th sub-fingerprint data (the k-th segment of a data) and L k All centers are located on this straight line.

[0067] Figure 2b The second clustering diagram provided in the embodiment of the present application is as follows: Figure 2b As shown, if n = 2, that is, 2-dimensional space, that is, a plane. Then the k-th sub-fingerprint data (the k-th segment of a data) and L k All centers are located in this plane.

[0068] Figure 2c The third clustering diagram provided in the embodiment of the present application is as follows: Figure 2c As shown, if n = 3, that is, a 3D space, i.e., a three-dimensional space. Then the k-th sub-fingerprint data (the k-th segment of a data) and L k All centers are located in this three-dimensional space.

[0069] Figure 2d The fourth clustering diagram provided in the embodiment of the present application is as follows: Figure 2c As shown, if n>3, that is, n-dimensional space, i.e., a high-dimensional space. Then the k-th sub-fingerprint data (the k-th segment of a data) and Lk All the centres are located in this Cauvery.

[0070] What clustering does is to combine the k-th sub-fingerprint data with the L in the same space. k The distances between the centers are compared and the nearest cluster center is selected. In the above figures, the sub-fingerprint data is closest to cluster center 4, so the sub-fingerprint data belongs to the cluster corresponding to cluster center 4, that is, the 4th cluster.

[0071] Embodiment 3:

[0072] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, the process of determining the target sub-data corresponding to each cluster contained in each group includes:

[0073] Obtaining pre-configured sub-fingerprint data of each sample and initial sub-data corresponding to each cluster contained in each group;

[0074] For each sample sub-fingerprint data, determine the sample group to which the sample sub-fingerprint data belongs; determine the sample cluster to which the sample sub-fingerprint data corresponds according to the initial sub-data corresponding to the cluster center of each cluster contained in the sample group and the sample sub-fingerprint data; update the initial sub-data corresponding to the cluster center of the sample cluster according to the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster;

[0075] The updated initial sub-data corresponding to the cluster center of each cluster is determined as the target sub-data corresponding to the cluster center of each cluster.

[0076] In the embodiment of the present application, the server determines the target sub-data corresponding to each cluster according to each sample sub-fingerprint data and the initial sub-data corresponding to each cluster included in each group.

[0077] Specifically, in the embodiment of the present application, the server stores pre-configured sub-fingerprint data of each sample and initial sub-data corresponding to each cluster included in each group, wherein the initial sub-data is randomly generated.

[0078] For each sample sub-fingerprint data, the server determines the group to which the sample sub-fingerprint data belongs; the server determines the sample cluster corresponding to the sample sub-fingerprint data based on the initial sub-data corresponding to the cluster center of each cluster contained in the group and the sample sub-fingerprint data; the server updates the initial sub-data based on the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster. In the embodiment of the present application, the process of the server determining the sample cluster corresponding to the sample sub-fingerprint data is consistent with the process of determining the target cluster corresponding to the sub-fingerprint data in the above embodiments, and will not be repeated here.

[0079] The server determines the updated initial sub-data corresponding to the cluster center of each cluster as the target sub-data corresponding to the cluster center of each cluster.

[0080] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, the process of determining the feature vector corresponding to the target cluster includes:

[0081] Get a pre-configured random number;

[0082] The target sub-data corresponding to the cluster center of the target cluster and the random number are spliced ​​according to a preset splicing order, and the spliced ​​target sub-data are determined as the feature vector corresponding to the target cluster.

[0083] In the embodiment of the present application, after the server determines the target sub-data corresponding to the cluster center of each cluster, the server may determine the feature vector corresponding to each cluster according to the target sub-data corresponding to the cluster center of each cluster.

[0084] Take the process of determining the feature vector corresponding to the target cluster as an example: the server obtains a pre-configured random number; the server splices the target sub-data corresponding to the cluster center of the target cluster with the random number according to a preset splicing order, and determines the spliced ​​target sub-data as the feature vector corresponding to the target cluster.

[0085] The random number is randomly generated and includes at least one byte.

[0086] In addition, in the embodiment of the present application, the feature vector corresponding to each cluster can be stored in the vocabulary.

[0087] Figure 3 A schematic diagram of creating a vocabulary table provided in an embodiment of the present application, such as the Figure 3 As shown, first, the fingerprint data B of the i-th user i (t) = [b i,1 (t),…,b i,M (t)] T Divide into K segments, where the kth segment data (sub-fingerprint data) (k = 1, ..., K) is recorded as B i,k (t), whose length is m k , obviously there is

[0088] In order to avoid fingerprint data B i (t) has a high dimension, which leads to clustering failure. i,k (t), k=1,…,K are clustered respectively. The clustering process is as follows: for the kth sub-fingerprint data, first set Lk The cluster centers are denoted as Then the k-th sub-fingerprint data B of the i-th user (i=1,…,L) is i,k (t) Compare the distances respectively. If B i,k (t) and the lth center c k,l The closest distance, then we assume that B i,k (t) belongs to the lth cluster, and the sum of all the sub-fingerprint data belonging to the lth cluster is averaged as the center of the updated lth cluster. The way to construct the vocabulary is to concatenate a random number of each cluster center of each segment of data as a row in the vocabulary, and the length of each row is kept as H.

[0089] Embodiment 4:

[0090] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, the updating of the initial sub-data according to the sample sub-fingerprint data and the initial sub-data of the sample cluster includes:

[0091] Using the first subsequence corresponding to the sample sub-fingerprint data as the first vector, and using the second subsequence corresponding to the initial sub-data of the sample cluster as the second vector;

[0092] Determine a mean vector of the first vector and the second vector; and determine the mean vector as updated initial sub-data.

[0093] In the embodiment of the present application, the sample fingerprint data is divided into a plurality of sample sub-fingerprint data. For each sample sub-fingerprint data, the server includes a first subsequence corresponding to the sample sub-fingerprint data.

[0094] The server uses the first subsequence corresponding to the sample sub-radio data as the first vector and the second subsequence corresponding to the initial sub-data as the second vector, determines a vector mean of the first vector and the second vector, and determines the vector mean as the updated initial sub-data.

[0095] Embodiment 5:

[0096] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, the authentication result of determining whether the user to be accessed is a legitimate user according to the initial feature vector of each sub-fingerprint data and the pre-trained classifier includes:

[0097] According to the initial feature vector of each sub-fingerprint data, a feature matrix is ​​constructed, wherein any initial feature vector corresponds to a row of the feature matrix;

[0098] The feature matrix is ​​input into the classifier, and an authentication result of whether the user to be connected is a legal user output by the classifier is obtained.

[0099] In the related art, the loss functions used by the Transformer model based on natural language processing are the Next Sentence Prediction (NSP) loss and the Masked Language Model (MLM) loss, but these two loss functions cannot be used in the field of user identity authentication.

[0100] Based on this, in the embodiment of the present application, a new module, the classifier, is added after the Transformer. The classifier includes a fully connected layer and a normalized exponential layer (softmax layer). Among them, the fully connected layer is used to perform weighted processing on the input, and the softmax layer is used to determine whether the user is a legitimate user based on the output of the fully connected layer.

[0101] Figure 4 A schematic diagram of the structure of the classifier provided in the embodiment of the present application, such as the Figure 4 As shown in Figure 1, the classifier includes a fully connected layer and a normalized exponential layer (softmax layer), where the weight W is stored in the fully connected layer. c .

[0102] Suppose the output of the fully connected layer is:

[0103] x(t)=(x 1 (t),x 2 (t),...,x K (t)) T

[0104] Then the output of softmax can be expressed as:

[0105]

[0106] In the classification part, the data processed by the Transformer model is transformed into a two-dimensional vector with each element in the range of [0, 1] through the fully connected layer and the softmax layer. Then, the legality of the user is determined based on the classification result corresponding to the dimension of the element with the maximum value output by the softmax layer.

[0107] Specifically, in an embodiment of the present application, the server constructs a feature matrix based on the initial feature vector of each sub-fingerprint data, wherein any initial feature vector corresponds to a row of the feature matrix; the server inputs the feature matrix into the classifier and obtains the authentication result of whether the user to be connected is a legitimate user output by the classifier.

[0108] Among them, in the embodiment of the present application, the output of the softmax layer is a two-dimensional vector, and the two dimensions of the vector correspond to the two authentication results of the legal user and the illegal user respectively. In the application process, if the value of the element of the dimension representing the legal user is greater than the value of the element of the dimension representing the illegal user, the identity authentication result is determined to be a legal user; if the value of the element of the dimension representing the legal user is less than the value of the element of the dimension representing the illegal user, the identity authentication result is determined to be an illegal user.

[0109] For example, the output of the softmax layer is a vector of length 2. If the output of softmax is [0.2, 0.8], and the first and second dimensions of the output correspond to legal users and illegal users, respectively, then this output means that the probability that the user to be identified is a legal user and an illegal user is 0.2 and 0.8, respectively, and the user to be identified is determined to be an illegal user.

[0110] exist Figure 3 On the basis of Figure 5 A schematic diagram based on constructing a feature matrix is ​​provided in the embodiment of the present application, such as the Figure 5 As shown, the fingerprint data B of user i i (t) is also divided into K segments, and the kth segment sub-fingerprint data B i,k (t), (k=1,…,K) are the cluster centers corresponding to the sub-fingerprint data of the segment respectively. Compare the distances. If B i,k (t) and cluster center c k,l The distance is the closest, then the word in the vocabulary and c k,l Replace B in the corresponding line i,k (t). This method can be used to change the dimension of the user’s fingerprint data from R M Extension to R K×H As shown in the figure below, the fingerprint data of the i-th user is divided into K segments, where the 1st, 2nd, ..., Kth segments of sub-fingerprint data B i,1 (t),B i,2 (t),…,B i,K (t) Compare the distances with all cluster centers of the sub-fingerprint data. If B i,1 (t),B i,2 (t),…,B i,K (t) respectively with cluster 2 and cluster L of the data segment 2 ...Cluster 1 is the closest, while Cluster 2 in the first segment and Cluster L in the second segment are the closest. 2 ... Cluster 1 of the Kth segment corresponds to the selected vectors in the vocabulary, then B i,1 (t),B i,2 (t),…,B i,K(t) are replaced by the selected vectors respectively, thus forming a feature matrix of size K×H, where K is the number of segments of the user's fingerprint data, and H is the dimension of the feature vector corresponding to each cluster.

[0111] In an embodiment of the present application, during the training phase, the output of the classifier and the label of the sample sub-fingerprint used for training will be used as the input of the loss function to calculate the difference between the output of the classifier and the label. For example, legal users and illegal users are recorded as 1 and 2 respectively, and the output of the classifier is a vector of two elements. The first and second elements represent the probabilities of legal users and illegal users respectively. If the output of the classifier is [0.2, 0.8], it is judged as an illegal user, that is, 2, and the fingerprint data corresponding to this output is actually legal, that is, the label of this fingerprint data is 1, then the label of this fingerprint - 1, and the calculation result of the classifier, that is, 2, are used as the input of the loss function to calculate the loss function. If subtraction and squaring are used as the loss function, the output of the loss function is calculated as follows:

[0112] (label value - value estimated by the neural network) 2 =(1-2) 2 =1

[0113] This loss function is used to update the parameters of the classifier. The ultimate goal is to make the output of the classifier's loss function as small as possible (i.e. as close to 0 as possible).

[0114] Embodiment 6:

[0115] In order to reduce the waste of computing resources and communication resources and improve the overall security of the network, based on the above embodiments, in the embodiment of the present application, after constructing the feature matrix and before inputting the feature matrix into the classifier, the method further includes:

[0116] Input the feature matrix into the Transformer model;

[0117] Obtain a matrix output by the Transformer model, and use the matrix to update the feature matrix.

[0118] In an embodiment of the present application, the electronic device may update the feature matrix according to the Transformer model.

[0119] Specifically, the server inputs the feature matrix into the Transformer model; obtains the matrix output by the Transformer model, and uses the matrix to update the feature matrix.

[0120] Figure 6A schematic diagram of the structure of the Transformer model provided in the embodiment of the present application, such as the Figure 6 As shown in Figure 1, a Transformer model can be divided into two parts, namely the self-attention part and the feed-forward neural network part. In the self-attention part, the fingerprint data B of user i is calculated and mined through matrix multiplication. i (t), and then in the feedforward neural network part, a two-layer feedforward neural network is used to perform nonlinear mapping on the correlation mined by the self-attention part.

[0121] Figure 7 The architecture diagram of the identity authentication based on the Transformer network provided in the embodiment of the present application is as follows: Figure 7 As shown, the collected fingerprint information data is preprocessed and the preprocessed data is input into the identity authentication architecture. The identity authentication architecture is divided into three parts, namely, the word embedding part, the Transformer block processing part and the classification part.

[0122] Embodiment 7:

[0123] On the basis of the above embodiments, the present application also provides an identity authentication device. Figure 8 A schematic diagram of the structure of an identity authentication device provided in an embodiment of the present application;

[0124] The processing module 801 is used to obtain the fingerprint data of the user to be connected, and divide the fingerprint data into a preset number of sub-fingerprint data; for each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group contains at least two clusters; according to the target sub-data corresponding to the cluster center of each cluster contained in the group and the sub-fingerprint data, determine the target cluster to which the sub-fingerprint data belongs; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data;

[0125] The classification module 802 is used to determine the authentication result of whether the user to be connected is a legal user according to the initial feature vector of each sub-fingerprint data and the pre-trained classifier.

[0126] In a possible implementation, the processing module 801 is specifically configured to use a preset clustering algorithm to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data.

[0127] In a possible implementation, the processing module 801 is specifically configured to determine the Euclidean distance between the sub-fingerprint data and each target sub-data; and determine the cluster where the target sub-data corresponding to the minimum Euclidean distance is located as the target cluster to which the sub-fingerprint data belongs.

[0128] In a possible implementation, the processing module 801 is further used to obtain pre-configured initial sub-data corresponding to each sample sub-fingerprint data and each cluster contained in each group; for each sample sub-fingerprint data, determine the sample group to which the sample sub-fingerprint data belongs; determine the sample cluster corresponding to the sample sub-fingerprint data according to the initial sub-data corresponding to the cluster center of each cluster contained in the sample group and the sample sub-fingerprint data; update the initial sub-data corresponding to the cluster center of the sample cluster according to the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster; and determine the updated initial sub-data corresponding to the cluster center of each cluster as the target sub-data corresponding to the cluster center of each cluster.

[0129] In a possible implementation, the processing module 801 is specifically configured to use a first subsequence corresponding to the sample sub-fingerprint data as a first vector, and a second subsequence corresponding to the initial sub-data of the sample cluster as a second vector, determine a mean vector of the first vector and the second vector; and determine the mean vector as the updated initial sub-data.

[0130] In a possible implementation, the classification module 802 is specifically used to construct a feature matrix based on the initial feature vector of each sub-fingerprint data, wherein any initial feature vector corresponds to a row of the feature matrix; the feature matrix is ​​input into the classifier, and based on the output of the classifier, it is determined whether the user to be connected is a legitimate user.

[0131] In a possible implementation, the classification module 802 is further configured to input the feature matrix into a Transformer model; obtain a matrix output by the Transformer model, and update the feature matrix using the vector moment.

[0132] Embodiment 8:

[0133] Based on the above embodiments, Fig. 9 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Based on the above embodiments, an embodiment of the present application provides an electronic device, such as Fig. 9 As shown, it includes: a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904;

[0134] The memory 903 stores a computer program. When the program is executed by the processor 901, the processor 901 performs the following steps:

[0135] Obtaining fingerprint data of the user to be connected, and dividing the fingerprint data into a preset number of sub-fingerprint data;

[0136] For each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group includes at least two clusters; determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data;

[0137] An authentication result of whether the user to be connected is a legitimate user is determined according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

[0138] In a possible implementation manner, determining the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes:

[0139] A preset clustering algorithm is adopted to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data.

[0140] In a possible implementation, the using of a preset clustering algorithm to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes:

[0141] Determine the Euclidean distance between the sub-fingerprint data and each target sub-data;

[0142] The cluster where the target sub-data corresponding to the minimum Euclidean distance is located is determined as the target cluster to which the sub-fingerprint data belongs.

[0143] In a possible implementation manner, the process of determining the target sub-data corresponding to the cluster center of each cluster included in each group includes:

[0144] Obtaining pre-configured sub-fingerprint data of each sample and initial sub-data corresponding to each cluster contained in each group;

[0145] For each sample sub-fingerprint data, determine the sample group to which the sample sub-fingerprint data belongs; determine the sample cluster to which the sample sub-fingerprint data corresponds according to the initial sub-data corresponding to the cluster center of each cluster contained in the sample group and the sample sub-fingerprint data; update the initial sub-data corresponding to the cluster center of the sample cluster according to the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster;

[0146] The updated initial sub-data corresponding to the cluster center of each cluster are determined as the target sub-data corresponding to the cluster center of each cluster.

[0147] In a possible implementation manner, updating the initial sub-data according to the sample sub-fingerprint data and the initial sub-data of the sample cluster includes:

[0148] Using the first subsequence corresponding to the sample sub-fingerprint data as the first vector, and using the second subsequence corresponding to the initial sub-data of the sample cluster as the second vector;

[0149] Determine a mean vector of the first vector and the second vector; and determine the mean vector as updated initial sub-data.

[0150] In a possible implementation manner, the authentication result of determining whether the user to be connected is a legitimate user according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier includes:

[0151] According to the initial feature vector of each sub-fingerprint data, a feature matrix is ​​constructed, wherein any initial feature vector corresponds to a row of the feature matrix;

[0152] The characteristic matrix is ​​input into the classifier, and according to the output of the classifier, it is determined whether the user to be connected is a legal user.

[0153] In a possible implementation, after constructing the feature matrix and before inputting the feature matrix into the classifier, the method further includes:

[0154] Input the feature matrix into the Transformer model;

[0155] The matrix output by the Transformer model is obtained, and the feature matrix is ​​updated using the vector moment.

[0156] Since the principle of solving the problem by the above electronic device is similar to that of the identity authentication method, the implementation of the above electronic device can refer to the embodiment of the method, and the repeated parts will not be repeated.

[0157] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0158] The communication interface 902 is used for communication between the electronic device and other devices.

[0159] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0160] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0161] Embodiment 9:

[0162] On the basis of the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program executable by a processor, and when the program runs on the processor, the processor implements the following steps when executing:

[0163] Obtaining fingerprint data of the user to be connected, and dividing the fingerprint data into a preset number of sub-fingerprint data;

[0164] For each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group includes at least two clusters; determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data;

[0165] An authentication result of whether the user to be connected is a legitimate user is determined according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

[0166] In a possible implementation manner, determining the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes:

[0167] A preset clustering algorithm is adopted to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data.

[0168] In a possible implementation, the using of a preset clustering algorithm to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes:

[0169] Determine the Euclidean distance between the sub-fingerprint data and each target sub-data;

[0170] The cluster where the target sub-data corresponding to the minimum Euclidean distance is located is determined as the target cluster to which the sub-fingerprint data belongs.

[0171] In a possible implementation manner, the process of determining the target sub-data corresponding to the cluster center of each cluster included in each group includes:

[0172] Obtaining pre-configured sub-fingerprint data of each sample and initial sub-data corresponding to each cluster contained in each group;

[0173] For each sample sub-fingerprint data, determine the sample group to which the sample sub-fingerprint data belongs; determine the sample cluster to which the sample sub-fingerprint data corresponds according to the initial sub-data corresponding to the cluster center of each cluster contained in the sample group and the sample sub-fingerprint data; update the initial sub-data corresponding to the cluster center of the sample cluster according to the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster;

[0174] The updated initial sub-data corresponding to the cluster center of each cluster is determined as the target sub-data corresponding to the cluster center of each cluster.

[0175] In a possible implementation manner, updating the initial sub-data according to the sample sub-fingerprint data and the initial sub-data of the sample cluster includes:

[0176] Using the first subsequence corresponding to the sample sub-fingerprint data as the first vector, and using the second subsequence corresponding to the initial sub-data of the sample cluster as the second vector;

[0177] Determine a mean vector of the first vector and the second vector; and determine the mean vector as updated initial sub-data.

[0178] In a possible implementation manner, the authentication result of determining whether the user to be connected is a legitimate user according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier includes:

[0179] According to the initial feature vector of each sub-fingerprint data, a feature matrix is ​​constructed, wherein any initial feature vector corresponds to a row of the feature matrix;

[0180] The characteristic matrix is ​​input into the classifier, and according to the output of the classifier, it is determined whether the user to be connected is a legal user.

[0181] In a possible implementation, after constructing the feature matrix and before inputting the feature matrix into the classifier, the method further includes:

[0182] Input the feature matrix into the Transformer model;

[0183] Obtain a matrix output by the Transformer model, and use the matrix to update the feature matrix.

[0184] Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to that of the identity authentication method, the implementation of the above-mentioned computer-readable storage medium can refer to the embodiment of the method, and the repeated parts will not be repeated.

[0185] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0186] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0187] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0188] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0189] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An identity authentication method, characterized in that: The method comprises: Obtaining fingerprint data of the user to be connected, and dividing the fingerprint data into a preset number of sub-fingerprint data; For each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group includes at least two clusters; determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data; determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data; An authentication result of whether the user to be connected is a legitimate user is determined according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

2. The method according to claim 1, characterized in that Determining the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes: A preset clustering algorithm is adopted to determine the target cluster to which the sub-fingerprint data belongs according to the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data.

3. The method according to claim 2, characterized in that The method of using a preset clustering algorithm to determine the target cluster to which the sub-fingerprint data belongs based on the target sub-data corresponding to the cluster center of each cluster included in the group and the sub-fingerprint data includes: Determine the Euclidean distance between the sub-fingerprint data and each target sub-data; The cluster where the target sub-data corresponding to the minimum Euclidean distance is located is determined as the target cluster to which the sub-fingerprint data belongs.

4. The method according to claim 1, characterized in that: The process of determining the target sub-data corresponding to the cluster center of each cluster contained in each group includes: Obtaining pre-configured sub-fingerprint data of each sample and initial sub-data corresponding to each cluster contained in each group; For each sample sub-fingerprint data, determine the sample group to which the sample sub-fingerprint data belongs; determine the sample cluster to which the sample sub-fingerprint data corresponds according to the initial sub-data corresponding to the cluster center of each cluster contained in the sample group and the sample sub-fingerprint data; update the initial sub-data corresponding to the cluster center of the sample cluster according to the sample sub-fingerprint data and the initial sub-data corresponding to the cluster center of the sample cluster; The updated initial sub-data corresponding to the cluster center of each cluster are determined as the target sub-data corresponding to the cluster center of each cluster.

5. The method according to claim 4, characterized in that The updating of the initial sub-data according to the sample sub-fingerprint data and the initial sub-data of the sample cluster includes: Using the first subsequence corresponding to the sample sub-fingerprint data as the first vector, and using the second subsequence corresponding to the initial sub-data of the sample cluster as the second vector; Determine a mean vector of the first vector and the second vector; and determine the mean vector as updated initial sub-data.

6. The method according to claim 1, characterized in that The authentication result of determining whether the user to be connected is a legitimate user according to the initial feature vector of each sub-fingerprint data and the pre-trained classifier includes: According to the initial feature vector of each sub-fingerprint data, a feature matrix is ​​constructed, wherein any initial feature vector corresponds to a row of the feature matrix; The characteristic matrix is ​​input into the classifier, and according to the output of the classifier, it is determined whether the user to be connected is a legal user.

7. The method according to claim 6, characterized in that After constructing the feature matrix and before inputting the feature matrix into the classifier, the method further includes: Input the feature matrix into the Transformer model; Obtain a matrix output by the Transformer model, and use the matrix to update the feature matrix.

8. An identity authentication device, characterized in that: The device comprises: The processing module is used to obtain fingerprint data of a user to be connected, and divide the fingerprint data into a preset number of sub-fingerprint data; for each sub-fingerprint data, determine the group to which the sub-fingerprint data belongs, wherein the group contains at least two clusters; according to the target sub-data corresponding to the cluster center of each cluster contained in the group and the sub-fingerprint data, determine the target cluster to which the sub-fingerprint data belongs; and determine the saved feature vector corresponding to the target cluster as the initial feature vector of the sub-fingerprint data; The classification module is used to determine the authentication result of whether the user to be connected is a legal user according to the initial feature vector of each sub-fingerprint data and a pre-trained classifier.

9. An electronic device, characterized in that: The electronic device comprises at least a processor and a memory, and the processor is used to implement the steps of the identity authentication method as claimed in any one of claims 1 to 7 when executing a computer program stored in the memory.

10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the steps of the identity authentication method as described in any one of claims 1 to 7.