Method, device and equipment for generating palm vein feature template for resisting similarity attack

The palm vein feature template is processed through map segmentation technology to generate a highly secure palm vein feature template that is resistant to similarity attacks. This solves the shortcomings of palm vein template protection methods in the existing technology in terms of similarity attacks and achieves security. balance of sex and performance.

CN118570887AActive Publication Date: 2024-08-30SHENYANG SHORTCUT THINKING BOOK DRINK TECH DEV CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410721871.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-30
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

Existing palm vein template protection methods are deficient in resisting similarity attacks, resulting in security threats to biometric recognition systems, and are difficult to achieve high security while maintaining performance loss.

Method used

Using spectrum segmentation technology, the palm vein feature template is processed through random projection, multi-dimensional spectral hashing, non-linear activation function and binary conversion to generate a palm vein feature template with high security that resists similarity attacks. Specific steps include obtaining original palm vein data, performing random projection and multi-dimensional spectral hashing, and using nonlinear activation functions and binary conversion to generate the final feature template.

Benefits of technology

While maintaining performance loss, it significantly improves the security of the palm vein feature template, resists similarity attacks, achieves a balance between security and performance, and provides revocability and fast matching capabilities for the template.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570887A
    Figure CN118570887A
Patent Text Reader

Abstract

The embodiment of the invention provides a palm vein feature template generation method, device and equipment for resisting similarity attacks. The method comprises the following steps: acquiring original palm vein data, and obtaining an initial palm vein feature vector according to the original palm vein data; performing random projection on the initial palm vein feature vector to obtain a randomized palm vein feature vector; performing multi-dimensional spectral hashing on the randomized palm vein feature vector to generate a first palm vein feature template; performing nonlinear transformation on the first palm vein feature template by using a nonlinear activation function to obtain a second palm vein feature template; and performing binary conversion on the second palm vein feature template to obtain a third palm vein feature template. In this way, under the condition that performance loss is kept, similarity attacks can be resisted, and higher safety is achieved; the map segmentation technology is used, the similarity structure of palm vein data is stored and concentrated, the holding of high safety to performance is reduced, and the balance of safety and performance is achieved compared with an existing palm vein template protection scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the technical field of feature extraction and recognition methods, and more specifically, to a palm vein feature template generation method, device and apparatus for resisting similarity attacks. Background Art

[0002] Palm veins are a kind of biological feature inside the human body, which is highly concealed and has attracted a lot of biometric research in recent years. At the same time, based on the leakage and security risks of palm vein data, a large number of palm vein feature template protection methods have also been studied. The international standard ISO / IEC 30136:2018 "Information technology—Performance testing of biometric template protection schemes" stipulates that the ideal biometric template protection scheme should not cause serious performance loss while ensuring the security rate of the biometric recognition system. Based on this, in order to meet the recognition accuracy requirements of the ideal biometric protection scheme, the existing palm vein template protection related methods often make the similarity of the final template distribution space consistent with the similarity of the original biometric sample space, and reduce the loss of recognition rate by maintaining the similarity in this distribution. However, this similarity maintenance property provides an optimization direction for reconstruction attacks such as similarity attacks. This has led to the emergence of reconstruction attacks that use similarity maintenance to reconstruct input biometric data in recent years, and these reconstructed biometric data can pass the authentication of the biometric recognition system. This similarity attack poses a serious security threat to the existing biometric recognition system. Facing this type of attack, research on palm vein template protection solutions is still insufficient. Summary of the invention

[0003] According to an embodiment of the present invention, a palm vein feature template generation scheme that resists similarity attacks is provided. This scheme can resist similarity attacks while maintaining performance loss, and has higher security; using graph segmentation technology, the similarity structure of palm vein data is preserved and concentrated, reducing the constraints of high security on performance, and achieving a balance between security and performance compared to existing palm vein template protection schemes.

[0004] In a first aspect of the present invention, a method for generating a palm vein feature template that resists similarity attacks is provided. The method comprises:

[0005] Acquire original palm vein data, and obtain an initial palm vein feature vector according to the original palm vein data;

[0006] Performing random projection on the initial palm vein feature vector to obtain a randomized palm vein feature vector;

[0007] Using multi-dimensional spectral hashing on the randomized palm vein feature vector to generate a first palm vein feature template;

[0008] Using a nonlinear activation function to perform a nonlinear transformation on the first palm vein feature template to obtain a second palm vein feature template;

[0009] The second palm vein feature template is binary-converted to obtain a third palm vein feature template.

[0010] Furthermore, obtaining an initial palm vein feature vector according to the original palm vein data includes:

[0011] Mapping the original palm vein data to the trained projection matrix to obtain an initial palm vein feature vector;

[0012] The trained projection matrix is ​​obtained by iterative calculation using the SDSPCA-NPE method.

[0013] Furthermore, the randomly projecting the initial palm vein feature vector comprises:

[0014] Generate a pseudo-random matrix using an agreed key;

[0015] The pseudo-random matrix is ​​converted into a standard orthogonal matrix using Schmidt orthogonalization method;

[0016] The initial palm vein feature vector is input into the standard orthogonal matrix to obtain a randomized palm vein feature vector.

[0017] Furthermore, the step of inputting the initial palm vein feature vector into the standard orthogonal matrix to obtain a randomized palm vein feature vector includes:

[0018] X3=X2×R1,X3∈ n

[0019] Among them, X3 represents the randomized palm vein feature vector; X2 represents the initial palm vein feature vector; R1 represents the standard orthogonalized pseudo-random matrix; represents the real number set; n represents the dimension of the vector.

[0020] Furthermore, the generating a first palm vein feature template by using multi-dimensional spectral hashing on the randomized palm vein feature vector includes:

[0021] First, calculate each column in the randomized palm vein feature vector to calculate the one-dimensional feature function φ ij (x(i));

[0022]

[0023] Where i represents the first column number in the randomized palm vein feature vector; j represents the non-first column number in the randomized palm vein feature vector; a i represents the minimum value in the column data of the randomized palm vein feature vector; b i represents the maximum value in the column data of the randomized palm vein feature vector; x(i) is a one-dimensional arbitrary real feature corresponding to the i-th coordinate of the randomized palm vein feature vector x;

[0024] Secondly, calculate the eigenvalue λ corresponding to each column data ij ;

[0025]

[0026] Among them, e represents a natural constant; δ 2 Indicates the variance of each column of data;

[0027] Finally, a number of largest eigenvalues ​​are selected to correspond to the out-of-column elements, and the column elements are rearranged in order of eigenvalue size to form a set A, thereby generating a first palm vein feature template.

[0028] Furthermore, the step of performing a nonlinear transformation on the first palm vein feature template using a nonlinear activation function to obtain a second palm vein feature template includes:

[0029] y2=q(y1)=q(φ ij (B)

[0030]

[0031] Among them, q(x) represents a nonlinear activation function; tanh represents a hyperbolic tangent function; φ ij (B) represents a one-dimensional feature function; α represents a label information weight parameter, α=0.4; y1 represents the first palm vein feature template; y2 represents the second palm vein feature template; B represents a feature matrix in which the column elements satisfying the index of set A in the randomized palm vein feature vector X3 are rearranged.

[0032] Furthermore, performing binary conversion on the second palm vein feature template to obtain a third palm vein feature template includes:

[0033] y3=sign(y2)=sign(q(φ ij (B)))

[0034] Wherein, y3 represents the third palm vein feature template, and sign represents the binary sign function.

[0035] In a second aspect of the present invention, a device for generating a palm vein feature template for resisting similarity attacks is provided. The device comprises:

[0036] An acquisition module, used for acquiring original palm vein data, and obtaining an initial palm vein feature vector according to the original palm vein data;

[0037] A random projection module, used for randomly projecting the initial palm vein feature vector to obtain a randomized palm vein feature vector;

[0038] A first template generating module, used for generating a first palm vein feature template by using multi-dimensional spectrum hashing on the randomized palm vein feature vector;

[0039] A second template generating module, configured to perform a nonlinear transformation on the first palm vein feature template using a nonlinear activation function to obtain a second palm vein feature template;

[0040] The third template generating module is used to perform binary conversion on the second palm vein feature template to obtain a third palm vein feature template.

[0041] In a third aspect of the present invention, an electronic device is provided. The electronic device has at least one processor; and a memory connected to the at least one processor in communication; 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 perform the method of the first aspect of the present invention.

[0042] In a fourth aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method of the first aspect of the present invention.

[0043] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0045] Figure 1 A flow chart of a method for generating a palm vein feature template for resisting similarity attacks according to an embodiment of the present invention is shown;

[0046] Figure 2 A block diagram of a random projection template according to an embodiment of the present invention is shown;

[0047] Figure 3 A block diagram showing the use of multi-dimensional spectral hashing for randomized palm vein feature vectors according to an embodiment of the present invention is shown;

[0048] Figure 4 A block diagram of a palm vein feature template generating device for resisting similarity attacks according to an embodiment of the present invention is shown;

[0049] Figure 5 A block diagram of an exemplary electronic device capable of implementing embodiments of the present invention is shown;

[0050] Among them, 500 is an electronic device, 501 is a computing unit, 502 is a ROM, 503 is a RAM, 504 is a bus, 505 is an I / O interface, 506 is an input unit, 507 is an output unit, 508 is a storage unit, and 509 is a communication unit. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0053] In the present invention, after generating a palm vein template with acceptable performance degradation by using Multi-Dimension Spectral Hashing (MDSH), the palm vein feature security and accuracy are guaranteed, and the number of palm vein feature templates with large differences is reduced by performing nonlinear periodic transformation on the palm vein feature template. The inter-class distances of the palm vein feature templates are made as similar as possible, and the mutual information requirement can be met within a certain range, so that the feature template generated by the proposed method has the ability to resist similarity attacks.

[0054] Figure 1 A flow chart of a method for generating a palm vein feature template for resisting similarity attacks according to an embodiment of the present invention is shown.

[0055] The method includes:

[0056] S101, obtaining original palm vein data, and obtaining an initial palm vein feature vector according to the original palm vein data.

[0057] In this embodiment, the original palm vein data is mapped to the trained projection matrix to obtain an initial palm vein feature vector, including:

[0058] X2=X1*W

[0059] Wherein, W represents the projection matrix obtained through training; X1 represents the original palm vein data; and X2 represents the initial palm vein feature vector.

[0060] In this embodiment, the training process of the projection matrix model includes: selecting a training set from a palm vein library, and iteratively calculating the trained projection matrix using the SDSPCA-NPE (supervised discriminative sparse principal component analysis algorithm with a pre-served neighborhood structure) method to obtain the trained projection matrix.

[0061] Specifically, the palm vein image library includes the Tongji University image library, the Institute of Automation of the Chinese Academy of Sciences image library, the Hong Kong Polytechnic University image library and a self-built image library. SDSPCA-NPE is a supervised discriminant sparse principal component analysis algorithm that maintains the neighborhood structure, including:

[0062] Step 1: Construct the initial palm vein feature data matrix:

[0063] X=[x1,…,x m ] T ∈ m×d

[0064] Wherein, X represents the initial palm vein feature data matrix; m represents the feature dimension; d represents the number of samples; and represents a real number set.

[0065] Step 2: Use the following formula to iteratively solve Q:

[0066]

[0067] Where Tr represents the trace of the matrix; Q represents the auxiliary matrix of the matrix W; Q T represents the transpose of the auxiliary matrix of matrix W; X T represents the transposed matrix of the initial palm vein feature data matrix X; Y represents the label matrix of the initial palm vein feature data matrix X; Y T represents the transposed matrix of the label matrix Y; D represents the auxiliary matrix to prevent overfitting; M represents the local information matrix; α represents the label information weight parameter; β represents the regularization parameter; δ represents the local information weight.

[0068] The label matrix of dataset X:

[0069] Y=[y1,…,y m ] T ∈ m×c

[0070] Here, c represents the number of classes in the training data.

[0071] The specific structure of Y is as follows:

[0072]

[0073] Among them, c j ∈{1,…,c} represents the class label; s represents the number of matrix rows; t represents the number of matrix columns; if represents the condition.

[0074] D∈ m×m It is a diagonal matrix. When s=t, the diagonal elements are:

[0075]

[0076] Among them, k represents the specific cumulative number; represents (the square of the element in the sth row and tth column of Q); ∈ represents a small positive constant to avoid division by zero.

[0077] The optimal Q is given by Z = -XX T -αYY T +βD+δXX T MXX T The first L eigenvectors of , where Z represents the entire constraint function. Initialize Q, calculate D according to the given formula and get Z. When Z and D are known, the Q value is updated through this iterative process, and the optimal Q is finally reached.

[0078] Step 3: Calculate the trained projection matrix according to the following formula:

[0079] W=X T *Q

[0080] Among them, W represents the projection matrix obtained by training.

[0081] SDSPCA-NPE introduces local structural information so that the final projection matrix W can maintain certain neighborhood relationships of the original palm vein data, solving the limitation of only considering global and class information in supervised learning. This improves the tolerance to non-uniformly distributed outliers and reduces the intra-class distance. It effectively reduces the impact of illumination changes in palm vein images and improves the problem of high inter-class similarity. Therefore, the classification performance of the final palm vein feature vector is improved. This lays a good foundation for the performance of subsequent template protection methods.

[0082] S102: Performing random projection on the initial palm vein feature vector to obtain a randomized palm vein feature vector.

[0083] like Figure 2 The block diagram of the random projection template according to an embodiment of the present invention is shown, and the specific steps of random projection are as follows:

[0084] S201. Generate a pseudo-random matrix using an agreed key.

[0085] Specifically, given a key K, the generation formula is:

[0086] R=K*rand(E,F)

[0087] Among them, R represents the pseudo-random matrix; K represents the secret key; E represents the number of rows of the pseudo-random matrix, which needs to be the same as the number of columns of the training matrix; F represents the number of columns of the pseudo-random matrix.

[0088] S202. Convert the pseudo-random matrix into a standard orthogonal matrix using the Gram-Schmidt orthogonalization method.

[0089] Specifically, the Gram-Schmidt process is a general concept in mathematics, and the specific process is:

[0090] Pseudo-random matrix R = {a1, a2, ..., a n}, where R represents a pseudo-random matrix, a i Represents the elements of a pseudorandom matrix.

[0091] The formula for converting a pseudo-random matrix to a standard orthogonal matrix is ​​as follows:

[0092] β1=a1

[0093]

[0094] …………

[0095]

[0096] Among them, β1 represents the first orthogonalized element; β2 represents the second orthogonalized element; β3 represents the third orthogonalized element; β g represents the gth orthogonalized element; a1 represents the first element of the pseudo-random matrix; a2 represents the second element of the pseudo-random matrix; a3 represents the third element of the pseudo-random matrix; g represents the index of the pseudo-random matrix element; α g represents the gth element of the pseudo-random matrix; γ g Represents the elements of an orthonormalized pseudorandom matrix.

[0097] Through the above transformation, we can get the standard orthogonal matrix R1 = {γ1,γ2,…,γ g}, where R1 represents the standard orthogonalized pseudo-random matrix.

[0098] S203, inputting the initial palm vein feature vector into the standard orthogonal matrix to obtain a randomized palm vein feature vector, including:

[0099] X3=X2×R1,X3∈ n

[0100] Among them, X3 represents the randomized palm vein feature vector; X2 represents the initial palm vein feature vector; R1 represents the standard orthogonalized pseudo-random matrix; represents the real number set; n represents the dimension of the vector.

[0101] Through random projection, once the palm vein feature template is cracked, a new protected template can be quickly generated by executing the proposed method using different random projection keys to avoid further leakage risks.

[0102] S103: Use multi-dimensional spectral hashing on the randomized palm vein feature vector to generate a first palm vein feature template.

[0103] Specifically, multidimensional spectral hashing (MDSH) is a type of locality sensitive hashing (LSH), which was originally proposed for image retrieval applications based on spectral graph partitioning. Multidimensional spectral hashing uses an affinity matrix to indicate the similarity between given data. p and x q The affinity between them is defined as Where σ represents the distance weight parameter, AFF represents affinity, x represents the data point, p represents the range of p-class points in space, and q represents the range of q-class points in space. To learn binary encoding, the typical cost function is based on the data point x p and x q The Hamming distance between binary codes of ||y p -y q || 2 Given, where y p represents a binary vector of length o, y q represents the q-category binary vector. p The elements of y consist only of 1 or -1, so the Hamming distance can be defined as a simple dot product function y p T y q , because ||y p -y q || 2 =2o-y pT y q Data point x p and x q The Hamming distance between them matches the affinity AFF(p,q) defined above.

[0104] like Figure 3 According to the block diagram of using multi-dimensional spectral hashing for randomized palm vein feature vectors according to an embodiment of the present invention, the steps of generating a first palm vein feature template are as follows:

[0105] S301, calculating each column in the randomized palm vein feature vector to calculate the one-dimensional feature function φ ij (x(i)):

[0106]

[0107] Where i represents the first column number in the randomized palm vein feature vector; j represents the second column number in the randomized palm vein feature vector; a i represents the minimum value in the column data of the randomized palm vein feature vector; b i represents the maximum value in the column data of the randomized palm vein feature vector; x(i) represents a one-dimensional arbitrary real feature corresponding to the i-th coordinate of the randomized palm vein feature vector x.

[0108] S302, calculate the eigenvalue λ corresponding to each column of data ij ;

[0109]

[0110] Among them, e represents a natural constant; δ 2 Represents the variance of each column of data.

[0111] S303, selecting a number of largest eigenvalues ​​corresponding to the out-of-column elements, rearranging the column elements in the order of eigenvalue size to form a set A, and generating a first palm vein feature template.

[0112] The spectral graph segmentation technology of multi-dimensional spectral hashing is used to represent the palm vein data as a graph, where the palm vein feature data points are nodes in the graph, and the affinity matrix represents the similarity between the nodes. The goal of spectral graph segmentation is to assign similar palm vein feature vector nodes to the same set, so that the generated hash codes have similar representations. This ensures that the palm vein feature vectors of the same individual can generate similar feature templates, while the feature templates of the palm vein feature vectors of different individuals can maintain good performance.

[0113] S104: Perform a nonlinear transformation on the first palm vein feature template using a nonlinear activation function to obtain a second palm vein feature template.

[0114] In this embodiment, the nonlinear transformation method is as follows:

[0115] y2=q(y1)=q(φ ij (B)

[0116]

[0117] Among them, q(x) represents a nonlinear activation function; tanh represents a hyperbolic tangent function; φ ij (B) represents a one-dimensional feature function; α represents a label information weight parameter, α=0.4; y1 represents the first palm vein feature template; y2 represents the second palm vein feature template; B represents a feature matrix in which the column elements satisfying the index of set A in the randomized palm vein feature vector X3 are rearranged.

[0118] Specifically, after using multi-dimensional spectral hashing, a palm vein template with good performance is obtained from the high-dimensional palm vein feature vector. Although multi-dimensional spectral hashing retains the accuracy of palm vein features, it is vulnerable to similarity attacks due to similarity preservation. Similarity attacks essentially exploit the similarity preservation property of data distribution to recover the original biometric features. Conceptually, similarity attacks attempt to optimize the reconstruction problem, namely arg min||uu"||, where u represents the original biometric feature and u" represents the attacker's estimate of the original biometric feature u. Through the property of similarity preservation, ||uu"||≈||vv"|| can be estimated from their hash values, where v represents the template after hashing and v" represents the estimated hash template. This estimation is accurate enough to reconstruct a similar u". In short, similarity preservation may lead to information leakage, so it is likely that the distance to the original biometric space will be retrieved from the hash space.

[0119] Therefore, after multi-dimensional spectral hashing, the palm vein feature template is transformed nonlinearly to affect the intra-class and inter-class distances of the template, so that the palm vein feature template can meet the mutual information requirements within a certain range, so that the feature template generated by the proposed method has the ability to resist similarity attacks.

[0120] After using the nonlinear activation function, the palm vein data in the multidimensional space is mapped to a new coordinate system. The difference points that were originally far away from the main cluster are transferred to the evenly distributed main cluster by continuous periodic mapping. The large difference points are eliminated by the transfer, so that most of the data points are brought together, resulting in a reduction in the distance between classes, and completing additional protection against similarity attacks. Of course, when the similarity of the distribution of the palm vein data before and after is destroyed, the decrease in accuracy is also inevitable. However, here, according to the distribution characteristics of the palm vein data points, by adjusting the parameters of the function, better performance can be maintained.

[0121] S105: Perform binary conversion on the second palm vein feature template to obtain a third palm vein feature template.

[0122] In this embodiment, after completing the multi-dimensional spectral hashing and the nonlinear activation function, a many-to-one sign function is used to convert the palm vein feature template into a final binary template. The specific method is as follows:

[0123] y3=sign(y2)=sign(q(φ ij (B)))

[0124] Wherein, y3 represents the third palm vein feature template, and sign represents the binary sign function.

[0125] The transformed third palm vein feature template not only meets the performance requirements of the template protection method and resists similarity attacks, but also has strong irreversibility.

[0126] According to an embodiment of the present invention, the initial palm vein feature has strong concealment due to the many-to-one function and the nonlinear activation function. Compared with other palm vein template protection schemes, it can resist similarity attacks while maintaining performance loss, and has higher security. Due to the use of graph segmentation technology, the similarity structure of palm vein data is preserved and concentrated. The accuracy of the palm vein feature is well maintained, reducing the constraints of high security on performance, and achieving a balance between security and performance relative to existing palm vein template protection schemes. Due to user-specific random projection, the template is revocable. At the same time, bitwise operations can be performed for fast matching, and binary hash codes can also be used as search indexes. In addition, nonlinear general hashing is an unsupervised method based on statistical theory and is easy to implement.

[0127] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0128] The above is an introduction to a method embodiment. The following is a further explanation of the scheme of the present invention through a device embodiment having the same inventive concept as the method in the aforementioned embodiment.

[0129] like Figure 4 As shown, the device 400 includes:

[0130] S410, an acquisition module, used to acquire original palm vein data, and obtain an initial palm vein feature vector according to the original palm vein data.

[0131] S420, a random projection module, used to perform random projection on the initial palm vein feature vector to obtain a randomized palm vein feature vector.

[0132] S430: A first template generating module is used to generate a first palm vein feature template by using multi-dimensional spectral hashing on the randomized palm vein feature vector.

[0133] S440: A second template generating module is used to perform a nonlinear transformation on the first palm vein feature template using a nonlinear activation function to obtain a second palm vein feature template.

[0134] S450: A third template generating module is used to perform binary conversion on the second palm vein feature template to obtain a third palm vein feature template.

[0135] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0136] In the technical solution of the present invention, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0137] According to an embodiment of the present invention, the present invention further provides an electronic device and a readable storage medium.

[0138] Figure 5 A schematic block diagram of an electronic device 500 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0139] The electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0140] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0141] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as methods S101 to S105. For example, in some embodiments, methods S101 to S105 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 402 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the methods S101 to S105 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute methods S101 to S105 in any other appropriate manner (eg, by means of firmware).

[0142] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0143] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0144] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0145] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0146] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0147] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0148] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0149] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A palm vein feature template generation method for resisting similarity attacks, characterized in that: include: Acquire original palm vein data, and obtain an initial palm vein feature vector according to the original palm vein data; Performing random projection on the initial palm vein feature vector to obtain a randomized palm vein feature vector; Using multi-dimensional spectral hashing on the randomized palm vein feature vector to generate a first palm vein feature template; Using a nonlinear activation function to perform a nonlinear transformation on the first palm vein feature template to obtain a second palm vein feature template; The second palm vein feature template is binary-converted to obtain a third palm vein feature template.

2. The method according to claim 1, characterized in that The step of obtaining an initial palm vein feature vector according to the original palm vein data comprises: Mapping the original palm vein data to the trained projection matrix to obtain an initial palm vein feature vector; The trained projection matrix is ​​obtained by iterative calculation using the SDSPCA-NPE method.

3. The method according to claim 1, characterized in that The randomly projecting the initial palm vein feature vector comprises: Generate a pseudo-random matrix using an agreed key; The pseudo-random matrix is ​​converted into a standard orthogonal matrix using Schmidt orthogonalization method; The initial palm vein feature vector is input into the standard orthogonal matrix to obtain a randomized palm vein feature vector.

4. The method according to claim 3, characterized in that: The step of inputting the initial palm vein feature vector into the standard orthogonal matrix to obtain a randomized palm vein feature vector comprises: X3=X2×R1,X3∈ n Among them, X3 represents the randomized palm vein feature vector; X2 represents the initial palm vein feature vector; R1 represents the standard orthogonalized pseudo-random matrix; represents the real number set; n represents the dimension of the vector.

5. The method according to claim 1, characterized in that The step of using multi-dimensional spectral hashing on the randomized palm vein feature vector to generate a first palm vein feature template includes: First, calculate each column in the randomized palm vein feature vector to calculate the one-dimensional feature function φ ij (x(i)): Where i represents the first column number in the randomized palm vein feature vector; j represents the second column number in the randomized palm vein feature vector; a i represents the minimum value in the column data of the randomized palm vein feature vector; b i represents the maximum value in the column data of the randomized palm vein feature vector; x(i) represents a one-dimensional arbitrary real feature corresponding to the i-th coordinate of the randomized palm vein feature vector x; Secondly, calculate the eigenvalue λ corresponding to each column data ij ; Among them, e represents a natural constant; δ 2 Indicates the variance of each column of data; Finally, a number of largest eigenvalues ​​are selected to correspond to the out-of-column elements, and the column elements are rearranged in order of eigenvalue size to form a set A, thereby generating a first palm vein feature template.

6. The method according to claim 5, characterized in that The step of performing a nonlinear transformation on the first palm vein feature template by using a nonlinear activation function to obtain a second palm vein feature template includes: y2=q(y1)=q(φ ij (B)) Among them, q(x) represents the nonlinear activation function; tanh is the hyperbolic tangent function; φ ij (B) represents a one-dimensional feature function; α represents a label information weight parameter, α=0.4; y1 represents the first palm vein feature template; y2 represents the second palm vein feature template; B represents a feature matrix in which the column elements satisfying the index of set A in the randomized palm vein feature vector X3 are rearranged.

7. The method according to claim 6, characterized in that The step of performing binary conversion on the second palm vein feature template to obtain a third palm vein feature template includes: y3=sign(y2)=sign(q(φ ij (B))) Wherein, y3 represents the third palm vein feature template, and sign represents the binary sign function.

8. A palm vein feature template generation device for resisting similarity attacks, characterized in that: include: An acquisition module, used for acquiring original palm vein data, and obtaining an initial palm vein feature vector according to the original palm vein data; A random projection module, used for randomly projecting the initial palm vein feature vector to obtain a randomized palm vein feature vector; A first template generating module, configured to generate a first palm vein feature template by using multi-dimensional spectrum hashing on the randomized palm vein feature vector; A second template generating module, configured to perform a nonlinear transformation on the first palm vein feature template using a nonlinear activation function to obtain a second palm vein feature template; The third template generating module is used to perform binary conversion on the second palm vein feature template to obtain a third palm vein feature template.

9. An electronic device comprising at least one processor; and A memory communicatively connected to the at least one processor; characterized in that 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 to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Image perceptual hashing method based on two-sided random projection

    CN103412960A

  • Random structure conformal Hash information retrieval method

    CN104376051A

  • Ultra low complexity image retrieval method based on sequence preserving hashing

    CN106777038A

  • Palm vein recognition method and palm vein recognition device

    CN112016516A

  • Palm vein recognition method and palm vein recognition device

    CN112241710A