Palm verification service provisioning method and device, computer equipment and storage medium
By receiving the palm verification service activation request uploaded by the target terminal, extracting and matching the palm print features, generating a palm brush authorization confirmation prompt, and asynchronously authorizing binding the target account, solving the problem of cumbersome operation in traditional methods, improving the activation efficiency and enhancing security.
Patent Information
- Application Number
- CN202410006656.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
In traditional methods, the target object needs to use the palm verification terminal and the target terminal at the same time, which is complicated and leads to low efficiency.
By receiving the palm verification service activation request uploaded by the target terminal, the first palm pattern feature is extracted, and the stored unbound palm pattern feature is matched, a palm brush authorization confirmation prompt is generated, and feedback is given to the target terminal, and the target account is asynchronously authorized to bind the target account and match the palm pattern feature.
It realizes that the palm verification service can be activated without using two terminals at the same time without the target object, which improves activation efficiency, is suitable for people without mobile terminals, and improves security through multiple verifications.
Smart Images

Figure CN120260082A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and particularly to a method, device, computer equipment, storage medium and computer program product for opening a palm verification service. Background Art
[0002] With the development of computer technology, palm verification services have emerged. Palm verification services can be applied to various scenarios, such as payment scenarios, work attendance checking scenarios, etc. By opening a palm verification service, identity verification can be conveniently performed using palm verification.
[0003] In traditional methods, the way to open a palm verification service is that the target object swipes their palm on a palm verification terminal to input palmprint features. The palmprint verification terminal displays a graphic code for binding. The target object scans the graphic code through a target terminal logged in with the target account and completes the binding of the target account and the palmprint features according to the instructions to open the palm verification service for the target account.
[0004] However, in traditional methods, during the process of opening a palm verification service, it is necessary for the target object to cooperate and use both the palm verification terminal and the target terminal simultaneously to complete the opening. The opening process is cumbersome, and there is a problem of low efficiency in opening the palm verification service. Summary of the Invention
[0005] Based on this, in view of the above technical problems, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for opening a palm verification service that can improve the efficiency of opening the palm verification service.
[0006] In a first aspect, the present application provides a method for opening a palm verification service. The method includes:
[0007] Receiving a palm verification service opening request uploaded through a target terminal, where the palm verification service opening request carries first palm image data and a target account;
[0008] Extracting first palmprint features from the first palm image data, and matching the first palmprint features with at least one unbound palmprint feature stored; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information;
[0009] When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtaining the target palmprint registration information associated with the matching palmprint feature;
[0010] Generating a palm swiping authorization confirmation prompt based on the target palmprint registration information, and feeding back the palm swiping authorization confirmation prompt to the target terminal;
[0011] Receive the palm - swiping authorization confirmation information fed back by the target terminal, verify the palm - swiping authorization confirmation information, and when the palm - swiping authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm - based verification service of the target account.
[0012] In a second aspect, the present application also provides a device for activating a palm - based verification service. The device includes:
[0013] A request receiving module, configured to receive a request for activating a palm - based verification service uploaded through a target terminal, where the request for activating a palm - based verification service carries first palm image data and a target account;
[0014] A feature matching module, configured to extract a first palmprint feature from the first palm image data and match the first palmprint feature with at least one unbound palmprint feature stored; the unbound palmprint feature is registered through a palm - based verification terminal and is associated with palmprint registration information;
[0015] An information obtaining module, configured to, when there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature;
[0016] A confirmation prompt generating module, configured to generate a palm - swiping authorization confirmation prompt based on the target palmprint registration information and feed back the palm - swiping authorization confirmation prompt to the target terminal;
[0017] A binding module, configured to receive the palm - swiping authorization confirmation information fed back by the target terminal, verify the palm - swiping authorization confirmation information, and when the palm - swiping authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm - based verification service of the target account.
[0018] In one embodiment, the feature matching module is further configured to, for each unbound palmprint feature stored, determine the feature similarity between the first palmprint feature and the unbound palmprint feature. When there is a first similar palmprint feature whose feature similarity to the first palmprint feature is greater than a similarity threshold and the number of the first similar palmprint features is single, use the first similar palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0019] In one embodiment, the feature matching module is further configured to, when the number of the first similar palmprint features is multiple, compare the respective feature similarities of the multiple first similar palmprint features to obtain a similarity comparison result. When the similarity comparison result meets the condition for the existence of a first matching palmprint feature, use the first similar palmprint feature with the highest feature similarity to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0020] In one embodiment, the feature matching module is further configured to determine, for each unbound palmprint feature stored, the feature distance between the first palmprint feature and the unbound palmprint feature. When there is a second similar palmprint feature whose feature distance from the first palmprint feature is less than the distance threshold and the number of the second similar palmprint features is single, the second similar palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0021] In one embodiment, when the number of the second similar palmprint features is multiple, the feature matching module is further configured to compare the respective feature distances of the multiple second similar palmprint features to obtain a distance comparison result. When the distance comparison result meets the condition for the existence of the second matching palmprint feature, the second similar palmprint feature with the closest feature distance from the first palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0022] In one embodiment, the palm-sweeping authorization confirmation prompt is used to indicate the confirmation of the target palmprint registration information. The binding module is further configured to receive the palm-sweeping authorization confirmation information fed back by the target terminal. When the palm-sweeping authorization confirmation information includes a confirmation keyword, it is determined that the palm-sweeping authorization confirmation information passes the verification.
[0023] In one embodiment, the palm-sweeping authorization confirmation prompt is used to indicate the feedback of palmprint authorization verification information. The binding module is further configured to receive the palm-sweeping authorization confirmation information fed back by the target terminal, extract the palmprint authorization verification information from the palm-sweeping authorization confirmation information. When the palmprint authorization verification information is consistent with the target palmprint registration information, it is determined that the palm-sweeping authorization confirmation information passes the verification.
[0024] In one embodiment, when the palm-sweeping authorization confirmation information passes the verification, the binding module is further configured to push a password verification prompt corresponding to the target account to the target terminal, receive the password verification information fed back by the target terminal. When the verification password in the password verification information is consistent with the account resource transfer password of the target account, the target account and the matching palmprint feature are bound to activate the palm verification service of the target account.
[0025] In one embodiment, the palm verification service activation device further includes a palmprint registration module. The palmprint registration module is configured to receive the palm registration information uploaded through the palm verification terminal. The palm registration information carries second palm image data and palmprint registration information. The second palmprint feature is extracted from the second palm image data, stored as an unbound palmprint feature, and associated with the palmprint registration information in the palm registration information.
[0026] In one embodiment, the palmprint registration module is further configured to match the second palmprint feature with at least one stored and bound palmprint feature. When there is no palmprint feature in the at least one stored and bound palmprint feature that matches the second palmprint feature, it jumps to the step of storing the second palmprint feature as an unbound palmprint feature.
[0027] In one embodiment, the palmprint registration module is further configured to receive a palm registration request uploaded through the palm verification terminal. The palm registration request carries third palm image data, extract a third palmprint feature from the third palm image data, match the third palmprint feature with at least one stored and bound palmprint feature. When there is no palmprint feature in the at least one stored and bound palmprint feature that matches the third palmprint feature, it pushes a palm registration prompt to the palm verification terminal to indicate uploading the palm registration information through the palm verification terminal for registration.
[0028] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] Receive a palm verification service activation request uploaded through a target terminal. The palm verification service activation request carries first palm image data and a target account;
[0030] Extract a first palmprint feature from the first palm image data, and match the first palmprint feature with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information;
[0031] When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature;
[0032] Based on the target palmprint registration information, generate a palm brushing authorization confirmation prompt, and feedback the palm brushing authorization confirmation prompt to the target terminal;
[0033] Receive the palm brushing authorization confirmation information fed back by the target terminal, verify the palm brushing authorization confirmation information. When the palm brushing authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0035] Receive a request for activating a palm verification service uploaded through a target terminal, where the request for activating the palm verification service carries first palm image data and a target account;
[0036] Extract first palmprint features from the first palm image data, and match the first palmprint features with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information;
[0037] When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature;
[0038] Generate a palm - swiping authorization confirmation prompt based on the target palmprint registration information, and feedback the palm - swiping authorization confirmation prompt to the target terminal;
[0039] Receive the palm - swiping authorization confirmation information feedback by the target terminal, verify the palm - swiping authorization confirmation information, and when the palm - swiping authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
[0040] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Receive a request for activating a palm verification service uploaded through a target terminal, where the request for activating the palm verification service carries first palm image data and a target account;
[0042] Extract first palmprint features from the first palm image data, and match the first palmprint features with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information;
[0043] When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature;
[0044] Generate a palm - swiping authorization confirmation prompt based on the target palmprint registration information, and feedback the palm - swiping authorization confirmation prompt to the target terminal;
[0045] Receive the palm - swiping authorization confirmation information feedback by the target terminal, verify the palm - swiping authorization confirmation information, and when the palm - swiping authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
[0046] The above-mentioned method, device, computer equipment, storage medium, and computer program product for enabling the palm verification service can extract the first palmprint feature from the first palm image data carried in the palm verification service enabling request by receiving the request uploaded through the target terminal, and can extract the palmprint feature of the palm for which the palm verification service needs to be enabled from the target terminal. By matching the first palmprint feature with at least one unbound palmprint feature stored, the unbound palmprint feature registered through the palm verification terminal can be matched with the palmprint feature uploaded through the target terminal. Furthermore, in the case of the existence of a matching palmprint feature, the target palmprint registration information associated with the matching palmprint feature can be obtained and based on it, a palm-sweeping authorization confirmation prompt can be generated and fed back to the target terminal to instruct the target terminal to complete the palm-sweeping authorization confirmation. Thus, when the palm-sweeping authorization confirmation information fed back by the target terminal passes the verification, the target account and the matching palmprint feature can be bound to enable the palm verification service for the target account. Throughout the process, the palm verification service can be enabled through asynchronous authorization without the need for the target object to cooperate and use the palm verification terminal and the target terminal simultaneously to complete the enabling. The enabling process is convenient and can improve the efficiency of enabling the palm verification service. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is an application environment diagram of the method for enabling the palm verification service in an embodiment;
[0048] Figure 2 It is a flowchart of the method for enabling the palm verification service in an embodiment;
[0049] Figure 3 It is a schematic diagram showing the entrance for enabling the palm verification service in an embodiment;
[0050] Figure 4 It is a schematic diagram of the acquisition interface of the target terminal in an embodiment;
[0051] Figure 5 It is a schematic diagram showing the palm-sweeping authorization confirmation prompt in an embodiment;
[0052] Figure 6 It is a schematic diagram showing the palmprint authorization verification prompt in an embodiment;
[0053] Figure 7 It is a schematic diagram showing the password verification prompt in an embodiment;
[0054] Figure 8 It is a schematic diagram showing the binding success prompt in an embodiment;
[0055] Figure 9Schematic diagram of a palm verification terminal in an embodiment;
[0056] Figure 10 Flow schematic diagram of a palm verification service activation method in another embodiment;
[0057] Figure 11 Flow schematic diagram of a palm verification service activation method in yet another embodiment;
[0058] Figure 12 Flow schematic diagram of a palm verification service activation method in still another embodiment;
[0059] Figure 13 Schematic diagram of the interface change of a target terminal in an embodiment;
[0060] Figure 14 Structural block diagram of a palm verification service activation device in an embodiment;
[0061] Figure 15 Internal structure diagram of a computer device in an embodiment. Specific implementation manners
[0062] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] The palm verification service activation method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the target terminal 102 communicates with the server 104 through the network, and the palm verification terminal 106 communicates with the server 104. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other servers. The server 104 receives a palm verification service activation request uploaded through the target terminal 102. The palm verification service activation request carries the first palm image data and the target account. Extract the first palmprint feature from the first palm image data, and match the first palmprint feature with at least one unbound palmprint feature stored. The unbound palmprint feature is registered through the palm verification terminal 106 and is associated with the palmprint registration information. When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature. Based on the target palmprint registration information, generate a palm brushing authorization confirmation prompt, and feedback the palm brushing authorization confirmation prompt to the target terminal 102. Receive the palm brushing authorization confirmation information fed back by the target terminal 102, and verify the palm brushing authorization confirmation information. When the palm brushing authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
[0064] Among them, the target terminal 102 can be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, Internet of Things devices, portable wearable devices, and aircraft, etc. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers. The palm verification terminal 106 can be, but is not limited to, a device with image data acquisition function, such as an image acquisition device such as a camera, a video camera, a scanner, or a lidar, or various desktop computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices integrated with an image acquisition device. Among them, the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The embodiments of the present invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, intelligent transportation, assisted driving, etc.
[0065] In one embodiment, as Figure 2 shown, a method for activating a palm verification service is provided. This method can be executed independently by the terminal or the server, or jointly executed by the terminal and the server. In the embodiments of the present application, taking this method applied to the server as an example for illustration, the following steps are included:
[0066] Step 202: Receive a request for activating the palm verification service uploaded by the target terminal. The request for activating the palm verification service carries the first palm image data and the target account.
[0067] Herein, the target terminal refers to the terminal used by the target object, and the target object is the object requesting to activate the palm verification service. This object can refer to the user requesting to activate the palm verification service. The target object can be determined based on specific application scenarios. For example, in a payment scenario, the target object can be the purchaser. Another example is that in a work attendance punching scenario, the target object can be the user who needs to punch in for work. The palm verification service refers to a service that requires identity verification using palm verification. Specifically, it can be a service that requires identity verification using the palmprint features obtained through palmprint recognition. For example, the palm verification service can specifically be the palm-sweeping payment service. Another example is that the palm verification service can specifically be the palm-sweeping punching service.
[0068] Herein, the first palm image data refers to the image data containing a hand image collected and uploaded by the target terminal, including the hand image of the target object using the target terminal. The hand refers to the limb part including the palm and five fingers (thumb, index finger, middle finger, ring finger, and little finger). The target account refers to the account used by the target object using the target terminal when logging in to the target platform on the target terminal. The target platform refers to the platform providing the palm verification service. For example, the target platform can specifically be an instant messaging application. Another example is that the target platform can be an organizational communication application, such as an enterprise communication application, etc.
[0069] Specifically, when the target object using the target terminal needs to activate the palm verification service, a request for activating the palm verification service will be uploaded to the server through the target terminal, and the server will receive the request for activating the palm verification service. The request for activating the palm verification service carries the first palm image data and the target account. In a specific application, when logging in to the target account of the target platform using the target terminal, the target object will use the target terminal to collect the first palm image data and upload the request for activating the palm verification service to the server.
[0070] In a specific application, as Figure 3 shown, when logging in to the target account of the target platform using the target terminal, if the target object has not activated the palm verification service, a palm verification service activation entry will be displayed on the target terminal, and the target object can enter the palm verification service activation process through this palm verification service activation entry. After entering the palm verification service activation process, the target object will use the target terminal to collect a palm image stream, and then through an image optimization algorithm, complete steps such as palm detection, gesture liveness verification, and image quality detection, screen out the first palm image data with qualified quality, and upload the request for activating the palm verification service to the server. Herein, the palm image stream can specifically be a palm color image stream.
[0071] Among them, palm detection refers to detecting whether there is a palm in the image stream. When there is a palm, feature points or contours are displayed at the corresponding positions. Gesture liveness detection refers to further verifying whether it is a live palm by guiding the target object to make certain gestures. Among them, the gestures can be waving the palm up and down, swaying left and right, making a scissors gesture, etc. In this embodiment, the gesture liveness detection mainly includes the following steps:
[0072] First, it is hand key point detection, that is, detecting hand key points such as fingertips and knuckles from the preprocessed image data. Specifically, the detection of hand key points can be achieved by inputting the preprocessed image data into a pre-trained deep learning model for hand key point detection. For example, the deep learning model can specifically be models such as OpenPose (pose detection model) and PoseNet (pose estimation model).
[0073] Secondly, it is pose description, that is, calculating the description quantity of the hand pose according to the detected key points. Here, the description quantity can specifically be the distance, angle, etc. between key points. Taking the distance between key points as the description quantity as an example, its calculation formula can be: , where p1(x1, y1) and p2(x2, y2) are the coordinates of two key points respectively, and the angle between key points can be calculated through the cosine function.
[0074] Finally, it is gesture change judgment, that is, analyzing the description quantity of the hand pose in consecutive frame images to judge whether the gesture has changed. Specifically, it can be analyzed through motion vector analysis, optical flow method, etc. Taking motion vector analysis as an example, its calculation formula can be: , where are the coordinates of two key points in the t-th frame image respectively, refers to the key point in the distance in the t-th frame image, are the coordinates of two key points in the (t - 1)-th frame image respectively, refers to the key point in the distance in the (t - 1)-th frame image. As long as the calculated is less than the error threshold, it can be considered that the gesture has changed.
[0075] In a specific application, when the target object uses the target terminal to collect the palm image stream, the collection interface of the target terminal can be as Figure 4 shown, including a collection prompt (that is, Figure 4 "Please align with the palm" in Figure 4 ) and the collection progress (the collection progress is 20% in
[0076] Step 204: Extract the first palmprint feature from the first palm image data, and match the first palmprint feature with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information.
[0077] Among them, the palmprint refers to the respective texture information on the palm surface from the fingertips to the wrist, including main lines, wrinkles, textures, ridge endings, and bifurcation points, etc. The form of the palmprint is controlled by genetic genes. Even if the epidermis peels off due to some reason, the newly generated palmprint lines still maintain the original structure. Everyone's palmprint is different. Even for identical twins, their palmprints are only relatively similar and not exactly the same. Therefore, a person's identity can be determined using the palmprint.
[0078] Among them, the first palmprint feature refers to the palmprint feature used to characterize the first palm image data. The palmprint feature is used to represent the characteristics of the palm lines of the target object. The palmprint feature may include the characteristics of the lines of at least one of the palm parts such as the palm heart and the back of the hand of the target object. The palmprint feature can be represented in the form of a vector, a matrix, or other forms. For example, the palmprint feature may include features in multiple dimensions such as point features, texture features, line features, and geometric features. Among them, the point feature refers to the skin surface features on the palm, such as the singular points and patterns formed locally by the palmprint papillary lines. The texture feature refers to the features of the relatively shallow and fine textures on the palm surface. The line feature refers to the features of the relatively deep lines on the palm surface. The geometric features may include features such as depth, width, length, and geometric shape.
[0079] Among them, the unbound palmprint feature refers to the palmprint feature that is not bound to the account of the target platform. The unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information. The palmprint registration information refers to the information uploaded during palmprint registration, which is used to identify and distinguish palmprint registration. For example, the palmprint registration information may specifically be the palmprint registration time. Another example is that the palmprint registration information may specifically be the palmprint registration location. Still another example is that the palmprint registration information may specifically be palm information, such as whether it is the left hand or the right hand, etc.
[0080] Specifically, the server can extract the first palmprint feature from the first palm image data through a feature extraction algorithm or a feature extraction model, etc., and then match the first palmprint feature with at least one stored unbound palmprint feature through a feature matching algorithm to determine whether there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature. Among them, the feature extraction model can be pre-trained according to the actual application scenario.
[0081] In a specific application, the feature extraction algorithm can be configured according to the actual application scenario. For example, the feature extraction algorithm can specifically be a filtering algorithm for feature extraction, such as the Gabor filtering algorithm, the LBP (Local Binary Pattern) filtering algorithm, the HOG (Histogram of Oriented Gradients) filtering algorithm, etc. Taking the Gabor filtering algorithm as an example, its formula is as follows:
[0082] g(x,y;λ,θ,ψ,σ,γ)=exp((−x′ 2 +γ2* y′ 2 ) / (2*σ 2 )))*cos(2π*x′ / λ+ψ);
[0083] Among them, (x,y) represents the pixel coordinate position in the first palm image data, x′=x*cos(θ)+y*sin(θ), y′=-x*sin(θ)+y*cos(θ), λ represents the wavelength of the filter, θ represents the tilt angle of the Gabor kernel function image, ψ represents the phase offset, and the range is -180°~180° (when ψ = 0, the white stripe is the center, ψ = 180), σ represents the standard deviation of the Gaussian function, γ represents the spatial aspect ratio (aspect ratio), which determines the ellipticity of the Gabor kernel function image. The smaller γ is, the higher the kernel function image will be. σ represents the bandwidth, which is the variance of the Gaussian filter, and usually takes 2π.
[0084] In a specific application, the feature matching algorithm can be configured according to the actual application scenario. For example, the feature matching algorithm can specifically be a matching algorithm based on feature similarity. The feature similarity can specifically be the cosine similarity. Another example is that the feature matching algorithm can specifically be a matching algorithm based on feature distance. The feature distance can specifically be the Euclidean distance, the Hamming distance, etc.
[0085] Step 206, when there is a matching palmprint feature in at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature.
[0086] Among them, the target palmprint registration information refers to the information uploaded when registering the matching palmprint feature through the palm verification terminal, which is used to identify the matching palmprint feature. For example, the target palmprint registration information can specifically be the palmprint registration time, the palmprint registration location, etc. corresponding to the matching palmprint feature.
[0087] Specifically, when there is a matching palmprint feature in at least one unbound palmprint feature that matches the first palmprint feature, it indicates that the target object has pre-registered the palmprint feature offline through the palm verification terminal and selected to authorize the activation of the palm verification service through the target terminal later, that is, to activate the palm verification service through asynchronous authorization later. The server will obtain the target palmprint registration information associated with the matching palmprint feature so as to perform authorization based on the target palmprint registration information to activate the palm verification service for the target account. When there is no matching palmprint feature in at least one unbound palmprint feature that matches the first palmprint feature, the server will push a palm verification failure prompt to the target terminal to instruct to register the palmprint feature again through the palm verification terminal to activate the palm verification service for the target account.
[0088] Step 208: Generate a palm-swipe authorization confirmation prompt based on the target palmprint registration information and feedback the palm-swipe authorization confirmation prompt to the target terminal.
[0089] Among them, the palm-swipe authorization confirmation prompt refers to a prompt used to confirm the palm-swipe authorization, that is, a prompt to confirm the activation of the palm verification service.
[0090] Specifically, the server will generate a palm-swipe authorization confirmation prompt based on the target palmprint registration information and feedback the palm-swipe authorization confirmation prompt to the target terminal to prompt the target object using the target terminal to confirm the palm-swipe authorization to confirm the activation of the palm verification service. In a specific application, the palm-swipe authorization confirmation prompt can be used to confirm the target palmprint registration information, that is, to let the target object check whether the target palmprint registration information is correct. The palm-swipe authorization confirmation prompt can also be used to verify the target object, that is, to let the target object supplement the target palmprint registration information to verify its identity. It should be noted that the generated palm-swipe authorization confirmation prompts are different for different purposes.
[0091] Step 210: Receive the palm-swipe authorization confirmation information feedback by the target terminal, verify the palm-swipe authorization confirmation information. When the palm-swipe authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service for the target account.
[0092] Among them, the palm-swipe authorization confirmation information refers to the information feedback by the target object through the target terminal to confirm the palm-swipe authorization. This palm-swipe authorization confirmation information can be used to determine whether the target object authorizes the activation of the palm verification service and whether the palm verification service can be activated for the target account of the target object.
[0093] Specifically, after receiving the palm-sweeping authorization confirmation prompt, the target object can feedback the palm-sweeping authorization confirmation information through the target terminal. After the server receives the palm-sweeping authorization confirmation information feedback by the target terminal, it will verify the palm-sweeping authorization confirmation information to determine whether the target object authorizes the opening of the palm verification service. When the palm-sweeping authorization confirmation information passes the verification, it means that the target object authorizes the opening of the palm verification service and the palm verification service can be opened for the target account of the target object. The server will bind the target account and the matching palmprint feature to open the palm verification service of the target account. When the palm-sweeping authorization confirmation information fails to pass the verification, it means that the target object does not authorize the opening of the palm verification service or the palm verification service cannot be opened for the target account of the target object. The server will push a palm verification failure prompt to the target terminal to instruct the palmprint feature to be registered again through the palm verification terminal to open the palm verification service of the target account.
[0094] The above palm verification service opening method can extract the first palmprint feature from the first palm image data carried in the palm verification service opening request by receiving the palm verification service opening request uploaded through the target terminal, and can extract the palmprint feature to be opened for the palm verification service from the target terminal. By matching the first palmprint feature with at least one unbound palmprint feature stored, the unbound palmprint feature registered through the palm verification terminal can be matched with the palmprint feature uploaded through the target terminal. Furthermore, in the case of existing matching palmprint features, the target palmprint registration information associated with the matching palmprint feature can be obtained and based on it to generate a palm-sweeping authorization confirmation prompt, and feedback the palm-sweeping authorization confirmation prompt to the target terminal to instruct the target terminal to complete the palm-sweeping authorization confirmation. Thus, when receiving the palm-sweeping authorization confirmation information feedback by the target terminal and the palm-sweeping authorization confirmation information passes the verification, the target account and the matching palmprint feature can be bound to open the palm verification service of the target account. The whole process can open the palm verification service through the asynchronous authorization method, without the need for the target object to cooperate and use the palm verification terminal and the target terminal simultaneously to complete the opening. The opening process is convenient and can improve the efficiency of opening the palm verification service.
[0095] In one embodiment, matching the first palmprint feature with at least one unbound palmprint feature stored includes:
[0096] For each unbound palmprint feature stored, determine the feature similarity between the first palmprint feature and the unbound palmprint feature;
[0097] When there is a first similar palmprint feature whose feature similarity with the first palmprint feature is greater than the similarity threshold and the number of the first similar palmprint features is single, use the first similar palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0098] Among them, the feature similarity is used to describe the similarity degree between the first palmprint feature and the unbound palmprint feature. The higher the feature similarity, the more similar the first palmprint feature and the unbound palmprint feature are. It can be understood that in the case where the target object has already registered the palmprint feature offline through the palm verification terminal in advance, the registered palmprint feature will be stored in the server as the unbound palmprint feature. Therefore, by matching the first palmprint feature with at least one stored unbound palmprint feature, it is possible to determine whether the target object has registered the palmprint feature offline through the palm verification terminal in advance.
[0099] Specifically, for each stored unbound palmprint feature, the server will calculate the feature similarity between the first palmprint feature and the unbound palmprint feature, and then compare the feature similarity with the similarity threshold. When there is a first similar palmprint feature whose feature similarity with the first palmprint feature is greater than the similarity threshold, and the number of the first similar palmprint features is single, the first similar palmprint feature will be directly used as the matching palmprint feature that matches the first palmprint feature. Among them, the similarity threshold can be configured according to the actual application scenario. For example, the similarity threshold can be specifically 90% or 95%.
[0100] It should be noted that when the number of the first similar palmprint features is single, it means that there is a unique palmprint feature that matches the first palmprint feature among at least one unbound palmprint feature. Therefore, the server can directly use the first similar palmprint feature as the matching palmprint feature that matches the first palmprint feature. When the number of the first similar palmprint features is multiple, the server needs to further compare the respective feature similarities of the multiple first similar palmprint features to determine whether there is a matching palmprint feature that matches the first palmprint feature among the multiple first similar palmprint features.
[0101] In a specific application, the server can calculate the feature similarity between the first palmprint feature and the unbound palmprint feature through a pre-configured similarity algorithm, or can calculate the feature similarity between the first palmprint feature and the unbound palmprint feature through a pre-trained similarity calculation model. Among them, the pre-configured similarity algorithm can be configured according to the actual application scenario. For example, the pre-configured similarity algorithm can be the cosine similarity algorithm. It can be understood that both the first palmprint feature and the unbound palmprint feature can be feature vectors, and then the feature similarity between the first palmprint feature and the unbound palmprint feature can be evaluated by calculating the cosine value of the included angle between the two vectors. Among them, the pre-trained similarity calculation model can also be trained according to the actual application scenario. By inputting the first palmprint feature and the unbound palmprint feature into the pre-trained similarity calculation model, the similarity calculation model can output the feature similarity.
[0102] In this embodiment, by determining the feature similarity between the first palmprint feature and the unbound palmprint features, the determination of the first similar palmprint features can be achieved using the feature similarity. Furthermore, when the number of the first similar palmprint features is single, the determination of the matching palmprint features can be directly realized.
[0103] In one embodiment, the method for opening the palm verification service further includes:
[0104] When the number of the first similar palmprint features is multiple, compare the feature similarities corresponding to the multiple first similar palmprint features respectively to obtain a similarity comparison result;
[0105] When the similarity comparison result meets the condition for the existence of the first matching palmprint features, use the first similar palmprint feature with the highest feature similarity to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0106] Among them, the condition for the existence of the first matching palmprint features refers to the condition for the existence of the matching palmprint features determined based on the feature similarity, which can be configured according to the actual application scenario. For example, the condition for the existence of the first matching palmprint features can specifically be that the difference between the maximum feature similarity and the second maximum feature similarity among the feature similarities corresponding to the multiple first similar palmprint features is greater than a preset first difference threshold. Among them, the preset first difference threshold can be configured according to the actual application scenario. Another example is that the condition for the existence of the first matching palmprint features can specifically be that the ratio of the maximum feature similarity to the second maximum feature similarity among the feature similarities corresponding to the multiple first similar palmprint features is greater than a preset first ratio threshold. Among them, the preset first ratio threshold can be configured according to the actual application scenario.
[0107] Specifically, when the number of the first similar palmprint features is multiple, it means that the method of screening the feature similarity based on the similarity threshold cannot directly determine whether there is a matching palmprint feature that matches the first palmprint feature among at least one unbound palmprint feature. There may be situations such as an unreasonable setting of the similarity threshold, resulting in the number of the first similar palmprint features screened being multiple. Therefore, it is necessary to further compare the feature similarities corresponding to the multiple first similar palmprint features respectively to obtain a similarity comparison result, and then determine whether the similarity comparison result meets the condition for the existence of the first matching palmprint features. When the similarity comparison result meets the condition for the existence of the first matching palmprint features, use the first similar palmprint feature with the highest feature similarity to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0108] In a specific application, when comparing the feature similarity degrees corresponding to multiple first similar palmprint features, the server will first sort the multiple feature similarity degrees to determine the maximum feature similarity degree and the second maximum feature similarity degree among them, and then calculate at least one of the difference and ratio between the maximum feature similarity degree and the second maximum feature similarity degree, and use at least one of the difference and ratio between the maximum feature similarity degree and the second maximum feature similarity degree as the similarity comparison result.
[0109] In a specific application, the condition for the existence of the first matching palmprint feature can be that the difference between the maximum feature similarity degree and the second maximum feature similarity degree is greater than a preset first difference threshold. Then, as long as the difference between the maximum feature similarity degree and the second maximum feature similarity degree in the similarity comparison result is greater than the preset first difference threshold, it can be considered that the similarity comparison result meets the condition for the existence of the first matching palmprint feature. The condition for the existence of the first matching palmprint feature can be that the ratio of the maximum feature similarity degree to the second maximum feature similarity degree is greater than a preset first ratio threshold. Then, as long as the ratio of the maximum feature similarity degree to the second maximum feature similarity degree in the similarity comparison result is greater than the preset first ratio threshold, it can be considered that the similarity comparison result meets the condition for the existence of the first matching palmprint feature.
[0110] In a specific application, the condition for the existence of the first matching palmprint feature can be that the difference between the maximum feature similarity degree and the second maximum feature similarity degree is greater than a preset first difference threshold or the ratio of the maximum feature similarity degree to the second maximum feature similarity degree is greater than a preset first ratio threshold. Then, as long as the difference between the maximum feature similarity degree and the second maximum feature similarity degree in the similarity comparison result is greater than the preset first difference threshold or the ratio of the maximum feature similarity degree to the second maximum feature similarity degree is greater than the preset first ratio threshold, it can be considered that the similarity comparison result meets the condition for the existence of the first matching palmprint feature.
[0111] In a specific application, assume that the similarity threshold is 80%, and the number of the first similar palmprint features is two. Among them, the feature similarity degree between the first first similar palmprint feature and the first palmprint feature is 98%, and the feature similarity degree between the second first similar palmprint feature and the first palmprint feature is 85%. By comparing the two feature similarity degrees, the server can obtain that the similarity comparison result is that the difference between the two feature similarity degrees is 13%, and the ratio of the two feature similarity degrees is 1.15. If the condition for the existence of the first matching palmprint feature is that the difference between the maximum feature similarity degree and the second maximum feature similarity degree is greater than a preset first difference threshold (10%) or the ratio of the maximum feature similarity degree to the second maximum feature similarity degree is greater than a preset first ratio threshold (1.1), the server will use the first first similar palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0112] It can be understood that by comparing the maximum feature similarity and the second maximum feature similarity, when the difference between the two is greater than the first difference threshold or the ratio meets the first ratio threshold, it is considered that the similarity comparison result meets the condition for the existence of the first matching palmprint feature. This can ensure that there are differences among multiple first similar palmprint features before determining the existence of the matching palmprint feature, and the first similar palmprint feature with the highest feature similarity to the first palmprint feature is used as the matching palmprint feature, which can avoid the situation where the matching palmprint feature cannot be determined due to unreasonable setting of the similarity threshold.
[0113] In this embodiment, when the number of first similar palmprint features is multiple, by comparing the feature similarities corresponding to each of the multiple first similar palmprint features, a similarity comparison result can be obtained. Then, by determining whether the similarity comparison result meets the condition for the existence of the first matching palmprint feature, it is possible to determine whether there is a matching palmprint feature. Thus, when there is a matching palmprint feature, the first similar palmprint feature with the highest feature similarity is used as the matching palmprint feature that matches the first palmprint feature.
[0114] In one embodiment, matching the first palmprint feature with at least one unbound palmprint feature stored includes:
[0115] For each unbound palmprint feature stored, determine the feature distance between the first palmprint feature and the unbound palmprint feature;
[0116] When there is a second similar palmprint feature whose feature distance from the first palmprint feature is less than the distance threshold and the number of second similar palmprint features is single, the second similar palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0117] Among them, the feature distance is used to describe the similarity degree between the first palmprint feature and the unbound palmprint feature. The closer the feature distance is, the more similar the first palmprint feature and the unbound palmprint feature are. It can be understood that when the target object has pre-registered palmprint features offline through a palm verification terminal, the registered palmprint features will be stored in the server as unbound palmprint features. Therefore, by matching the first palmprint feature with at least one unbound palmprint feature stored, it is possible to determine whether the target object has pre-registered palmprint features offline through a palm verification terminal.
[0118] Specifically, for each unbound palmprint feature stored, the server calculates the feature distance between the first palmprint feature and the unbound palmprint feature, and then compares the feature distance with the distance threshold. When there is a second similar palmprint feature whose feature distance from the first palmprint feature is less than the distance threshold, and the number of the second similar palmprint features is single, the second similar palmprint feature is directly used as the matching palmprint feature that matches the first palmprint feature. Among them, the distance threshold can be configured according to the actual application scenario.
[0119] It should be noted that when the number of the second similar palmprint features is single, it means that there is a unique palmprint feature in at least one unbound palmprint feature that matches the first palmprint feature. Therefore, the server can directly use the second similar palmprint feature as the matching palmprint feature that matches the first palmprint feature. When the number of the second similar palmprint features is multiple, the server needs to further compare the respective feature distances corresponding to the multiple second similar palmprint features to determine whether there is a matching palmprint feature that matches the first palmprint feature among the multiple second similar palmprint features.
[0120] In a specific application, the server can calculate the feature distance between the first palmprint feature and the unbound palmprint feature through a pre-configured distance algorithm. Among them, the pre-configured distance algorithm can be configured according to the actual application scenario. For example, the pre-configured distance algorithm can be the Euclidean distance algorithm, the Hamming distance algorithm, etc. Among them, the Euclidean distance is a commonly used distance definition, which refers to the actual distance between two points in the m-dimensional space, or the natural length of the vector (that is, the distance from this point to the origin). The Euclidean distance in two-dimensional and three-dimensional spaces is the actual distance between two points. The Hamming distance represents the number of different characters at the corresponding positions of two (same-length) strings. We use d(x,y) to represent the Hamming distance between two words x and y. Perform an exclusive OR operation on the two strings and count the number of results that are 1. Then this number is the Hamming distance.
[0121] In a specific application, if both the first palmprint feature and the unbound palmprint feature are feature vectors, the Euclidean distance algorithm can be used to calculate the distance between the two vectors, and the distance between the two vectors is used as the feature distance. In addition, the Hamming distance algorithm can also be used to calculate the number of different elements at the corresponding element positions of the two vectors, that is, the Hamming distance, and the Hamming distance between the two vectors is used as the feature distance.
[0122] In this embodiment, by determining the feature distance between the first palmprint feature and the unbound palmprint feature, the determination of the second similar palmprint feature can be realized by using the feature distance, and then when the number of the second similar palmprint features is single, the determination of the matching palmprint feature can be directly realized.
[0123] In one embodiment, the method for opening the palm verification service further includes:
[0124] When the number of second similar palmprint features is multiple, compare the feature distances corresponding to each of the multiple second similar palmprint features to obtain a distance comparison result;
[0125] When the distance comparison result meets the existence condition of the second matching palmprint feature, use the second similar palmprint feature with the closest feature distance to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0126] Among them, the existence condition of the second matching palmprint feature refers to the condition for the existence of the matching palmprint feature determined based on the feature distance, which can be configured according to the actual application scenario. For example, the existence condition of the second matching palmprint feature can specifically be that among the feature distances of the multiple second similar palmprint features and the first palmprint feature, the difference between the minimum feature distance and the second minimum feature distance is greater than a preset second difference threshold. Among them, the preset second difference threshold can be configured according to the actual application scenario. Another example is that the existence condition of the second matching palmprint feature can specifically be that among the feature distances of the multiple second similar palmprint features and the first palmprint feature, the ratio of the minimum feature distance to the second minimum feature distance is greater than a preset second ratio threshold. Among them, the preset second ratio threshold can be configured according to the actual application scenario.
[0127] Specifically, when the number of second similar palmprint features is multiple, it means that the method of screening the feature distances based on the distance threshold cannot directly determine whether there is a matching palmprint feature that matches the first palmprint feature among at least one unbound palmprint feature. There may be situations such as an unreasonable setting of the distance threshold, resulting in multiple second similar palmprint features being selected. Therefore, it is necessary to further compare the feature distances corresponding to each of the multiple second similar palmprint features to obtain a distance comparison result, and then determine whether the distance comparison result meets the existence condition of the second matching palmprint feature. When the distance comparison result meets the existence condition of the second matching palmprint feature, use the second similar palmprint feature with the closest feature distance to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
[0128] In a specific application, when comparing the feature distances corresponding to each of the multiple second similar palmprint features, the server will first sort the multiple feature distances to determine the minimum feature distance and the second minimum feature distance among them, and then calculate at least one of the difference and ratio of the minimum feature distance and the second minimum feature distance, and use at least one of the difference and ratio of the minimum feature distance and the second minimum feature distance as the distance comparison result.
[0129] In a specific application, the condition for the existence of the second matching palmprint feature can be that the difference between the minimum feature distance and the second minimum feature distance is greater than a preset second difference threshold. Then, as long as the difference between the minimum feature distance and the second minimum feature distance in the distance comparison result is greater than the preset second difference threshold, it can be considered that the distance comparison result meets the condition for the existence of the second matching palmprint feature. The condition for the existence of the second matching palmprint feature can be that the ratio of the minimum feature distance to the second minimum feature distance is greater than a preset second ratio threshold. Then, as long as the ratio of the minimum feature distance to the second minimum feature distance in the distance comparison result is greater than the preset second ratio threshold, it can be considered that the distance comparison result meets the condition for the existence of the second matching palmprint feature.
[0130] In a specific application, the condition for the existence of the second matching palmprint feature can be that the difference between the minimum feature distance and the second minimum feature distance is greater than a preset second difference threshold or the ratio of the minimum feature distance to the second minimum feature distance is greater than a preset second ratio threshold. Then, as long as the difference between the minimum feature distance and the second minimum feature distance in the distance comparison result is greater than the preset second difference threshold or the ratio of the minimum feature distance to the second minimum feature distance is greater than the preset second ratio threshold, it can be considered that the distance comparison result meets the condition for the existence of the second matching palmprint feature.
[0131] It can be understood that by comparing the minimum feature distance and the second minimum feature distance, when the difference between the two is greater than the second difference threshold or the ratio meets the second ratio threshold, it is considered that the distance comparison result meets the condition for the existence of the second matching palmprint feature. This can ensure that there are differences among multiple second similar palmprint features before determining the existence of the matching palmprint feature, and the second similar palmprint feature with the closest feature distance to the first palmprint feature is used as the matching palmprint feature, which can avoid the situation where the matching palmprint feature cannot be determined due to unreasonable setting of the distance threshold.
[0132] In this embodiment, when the number of second similar palmprint features is multiple, by comparing the feature distances corresponding to each of the multiple second similar palmprint features, a distance comparison result can be obtained. Then, by determining whether the distance comparison result meets the condition for the existence of the second matching palmprint feature, the determination of whether there is a matching palmprint feature can be realized. Thus, when there is a matching palmprint feature, the second similar palmprint feature with the closest feature distance is used as the matching palmprint feature that matches the first palmprint feature.
[0133] In one embodiment, the palm-swipe authorization confirmation prompt is used to indicate the confirmation of the target palmprint registration information. Receiving the palm-swipe authorization confirmation information fed back by the target terminal and verifying the palm-swipe authorization confirmation information includes:
[0134] Receiving the palm-swipe authorization confirmation information fed back by the target terminal, when the confirmation keyword is included in the palm-swipe authorization confirmation information, it is determined that the palm-swipe authorization confirmation information passes the verification.
[0135] Specifically, the palm-sweeping authorization confirmation prompt is used to indicate the confirmation of the target palmprint registration information. Then, the target object only needs to confirm whether the target palmprint registration information is correct through the target terminal. The palm-sweeping authorization confirmation prompt feedback by the server will include the target palmprint registration information. After receiving the palm-sweeping authorization confirmation prompt, the target terminal will display the palm-sweeping authorization confirmation prompt including the target palmprint registration information for the target object to confirm. After the target object confirms that the target palmprint registration information is correct, the target object can feedback the palm-sweeping authorization confirmation information including the confirmation keyword through the target terminal. The server receives the palm-sweeping authorization confirmation information feedback by the target terminal and identifies whether the confirmation keyword is included in the palm-sweeping authorization confirmation information. When the confirmation keyword is included in the palm-sweeping authorization confirmation information, it is determined that the palm-sweeping authorization confirmation information passes the verification.
[0136] In a specific application, the target palmprint registration information includes the palmprint registration time and the palmprint registration location. Then, the palm-sweeping authorization confirmation prompt displayed by the target terminal can be as Figure 5 shown, including the target palmprint registration information. Further, as Figure 5 shown, in addition to displaying the target palmprint registration information, other prompt information (i.e., Figure 5 "Confirm the bound palm" in Figure 5 ), the authorization confirmation control (i.e., Figure 5 "Authorize" in
[0137] ), and the authorization cancellation control (i.e.,
[0138] "Cancel" in
[0139] will also be displayed on the target terminal. If the target object confirms that the target palmprint registration information is correct, the target object can initiate a trigger event for the authorization confirmation control. In response to the trigger event for the authorization confirmation control, the target terminal will feedback the palm-sweeping authorization confirmation information including the confirmation keyword. Among them, the confirmation keyword can be configured according to the actual application scenario. For example, the confirmation keyword can specifically be "confirm authorization".
[0140] Receive the palm - swiping authorization confirmation information fed back by the target terminal, and extract the palmprint authorization verification information from the palm - swiping authorization confirmation information;
[0141] When the palmprint authorization verification information is consistent with the target palmprint registration information, it is determined that the palm - swiping authorization confirmation information passes the verification.
[0142] Among them, the palmprint authorization verification information refers to the information used to verify palmprint authorization. For example, the palmprint authorization verification information can specifically refer to the information used to check the target palmprint registration information to verify the identity of the target object.
[0143] Specifically, the palm - swiping authorization confirmation prompt is used to indicate the feedback of palmprint authorization verification information. Then, the target object needs to feed back the palmprint authorization verification information through the target terminal so that the server can determine whether to enable the palm verification service for the target account of the target object. It can be understood that since the target object has pre - registered and matched the palmprint features offline through the palm verification terminal and selected to authorize the opening of the palm verification service through the target terminal later, the target object is aware of the target palmprint registration information. By allowing the target object to feed back the palmprint authorization verification information through the target terminal and comparing whether the palmprint authorization verification information is consistent with the target palmprint registration information, the identity of the target object can be verified, and the security of opening the palm verification service can be improved.
[0144] Specifically, the palm - swiping authorization confirmation prompt fed back by the server will include a palmprint authorization verification prompt. After the target terminal receives the palm - swiping authorization confirmation prompt, it will display the palmprint authorization verification prompt for the target object to perform palmprint authorization verification. The target object can feed back the palmprint authorization verification information through the target terminal. After the server receives the palm - swiping authorization confirmation information fed back by the target terminal, it will extract the palmprint authorization verification information from the palm - swiping authorization confirmation information and compare whether the palmprint authorization verification information is consistent with the target palmprint registration information. When the palmprint authorization verification information is consistent with the target palmprint registration information, it is determined that the palm - swiping authorization confirmation information passes the verification.
[0145] In a specific application, the target palmprint registration information includes the palmprint registration time and the palmprint registration location. Then, the palmprint authorization verification prompt displayed by the target terminal can be as Figure 6 shown, prompting the target object to input the palmprint registration time and the palmprint registration location for palmprint authorization verification. Further, as Figure 6 shown, in addition to displaying the palmprint authorization verification prompt, a verification information submission control will also be displayed on the target terminal (i.e., Figure 6("Submit" in
[0146] ). After the target object inputs the palmprint registration time and the palmprint registration location, a trigger event for the verification information submission control can be initiated. In response to the trigger event for the verification information submission control, the target terminal will feedback a palmprint authorization confirmation message including the palmprint authorization verification information. Among them, the palmprint authorization verification information includes the palmprint registration time and the palmprint registration location input by the target object. Figure 6 In addition, as Figure 6 shown, an authorization cancellation control (i.e., "Cancel" in
[0147] will also be displayed on the target terminal. If the target object cannot input the palmprint registration time and the palmprint registration location, a trigger event for the authorization cancellation control can be initiated. In response to the trigger event for the authorization cancellation control, the target terminal will feedback a palmprint authorization confirmation message including the authorization cancellation information. After the server receives the palmprint authorization confirmation message, since the authorization cancellation information is recognized from the palmprint authorization confirmation message, it will determine that the palmprint authorization confirmation message fails the verification, feedback a confirmation authorization cancellation prompt to the target terminal, and stop enabling the palm verification service.
[0148] In one embodiment, when the palmprint authorization confirmation message passes the verification and binds the target account and the matching palmprint feature to enable the palm verification service of the target account, it includes:
[0149] When the palmprint authorization confirmation message passes the verification, push a password verification prompt corresponding to the target account to the target terminal;
[0150] Receive the password verification information feedback by the target terminal. When the verification password in the password verification information is consistent with the account resource transfer password of the target account, bind the target account and the matching palmprint feature to enable the palm verification service of the target account.
[0151] Among them, the password verification prompt is used to prompt the input of the account resource transfer password corresponding to the target account to verify the identity of the target object.
[0152] Specifically, when the palm-sweeping authorization confirmation information passes the verification, in order to further improve the security of the palm verification service for the target account, the server also needs to verify the identity of the target object again. At this time, the server will push a password verification prompt corresponding to the target account to the target terminal to instruct the target object to input the account resource transfer password corresponding to the target account for identity verification. After receiving the password verification prompt, the target terminal will display the password verification prompt, and the target object can input the password for identity verification on the target terminal. In response to the input event of the target object, the target terminal will use the password input by the target object for identity verification as the verification password, generate and feedback the password verification information to the server. After receiving the password verification information feedback by the target terminal, the server will compare whether the verification password in the password verification information is consistent with the account resource transfer password of the target account. When the verification password in the password verification information is consistent with the account resource transfer password of the target account, it indicates that the identity verification of the target object is passed, and the server will bind the target account and the matching palmprint feature to activate the palm verification service for the target account.
[0153] In a specific application, the password verification prompt displayed by the target terminal can be as Figure 7 shown, instructing the target object to input the account resource transfer password corresponding to the target account for identity verification. As Figure 7 shown, the account resource transfer password can be a combination of multiple digits, and the virtual keyboard displayed is a numeric keyboard. In addition, the account resource transfer password can also be a combination of multiple characters and digits. It can be understood that the number of combined elements in the account resource transfer password is fixed. Taking the account resource transfer password as a combination of multiple digits as an example, when the number of digits input by the target object reaches the fixed number of combined elements corresponding to the account resource transfer password, the target terminal will use the digits input by the target object in the input order as the verification password, generate and feedback the password verification information to the server. Among them, the fixed number of combined elements can be configured according to the actual application scenario. For example, the fixed number of combined elements can be 4, and after the target object inputs 4 digits, the target terminal will directly use the 4 digits input by the target object as the verification password. In a specific application, after binding the target account and the matching palmprint feature, the server will push a binding success prompt to the target terminal to inform the target terminal that the binding is successful, that is, the palm verification service has been activated for the target account. In a specific application, the binding success prompt displayed by the target terminal can be as Figure 8 shown.
[0154] In this embodiment, when the palm-sweeping authorization confirmation information passes the verification, a password verification prompt corresponding to the target account is pushed to the target terminal, which can indicate to feedback the password verification information to verify the identity of the target object. Based on receiving the password verification information fed back by the target terminal, the verification password in the password verification information can be used to verify the identity of the target object. Furthermore, when it is consistent with the account resource transfer password of the target account, the target account and the matching palmprint feature can be bound to activate the palm verification service of the target account, which can improve the security of activating the palm verification service of the target account.
[0155] In one embodiment, the method for activating the palm verification service further includes:
[0156] Receiving palm registration information uploaded through a palm verification terminal, where the palm registration information carries second palm image data and palmprint registration information;
[0157] Extracting a second palmprint feature from the second palm image data, storing the second palmprint feature as an unbound palmprint feature, and associating it with the palmprint registration information in the palm registration information.
[0158] Among them, the palm registration information refers to the information for palmprint registration uploaded through the palm verification terminal, which carries second palm image data and palmprint registration information. The second palm image data refers to the image data containing the hand image collected and uploaded by the palm verification terminal. It can be understood that when the target object performs palmprint registration through the palm verification terminal, the target object will collect and upload its own second palm image data through the palm verification terminal.
[0159] Specifically, when activating the palm verification service, it is necessary to pre-register the palmprint offline through the palm verification terminal. Taking the palmprint registration of any registration object as an example, the registration object will go to the palm verification terminal to collect the second palm image data. After the palm verification terminal collects the second palm image data, it will generate palm registration information based on the second palm image data, the collection time, and the collection location, and upload the palm registration information to the server. The palm registration information carries second palm image data and palmprint registration information. After receiving the palm registration information, the server will extract the second palmprint feature from the second palm image data, store the second palmprint feature as an unbound palmprint feature, and associate it with the palmprint registration information in the palm registration information to complete the palmprint registration. Among them, any registration object can be the target object or other objects. After completing the palmprint registration, the server will send a registration completion prompt to the palm verification terminal.
[0160] In a specific application, the process of the palm verification terminal collecting the second palm image data is similar to the process of the target terminal collecting the first palm image data. The palm verification terminal will first perform image acquisition to collect a palm image stream, and then through an optimization algorithm, complete steps such as image preprocessing, image quality detection, liveness detection, infrared and color image registration, and quality detection, and screen out the second palm image data with qualified quality, and upload the palm registration information to the server. Among them, the palm image stream can specifically include a palm color image stream and an infrared image stream.
[0161] Among them, image preprocessing and image quality detection refer to performing steps such as alignment, filtering, and grayscale conversion on the collected original images to improve the image quality and select high-quality image data (clear and rich in features) to enter the next step. Liveness detection refers to capturing the infrared image data of the palm based on infrared imaging, and then analyzing the texture features and blood vessel distribution in the infrared image data to determine whether it is a live body. At the same time, methods such as depth, thermal imaging, and pulse detection can be combined to further detect and determine whether it is a live palm. Infrared and color image registration refers to aligning the images through methods such as coordinate mapping and cropping. Quality detection refers to further detecting the selected high-quality image data to ensure that the image data meets the multi-dimensional thresholds and screen out the second palm image data. Among them, the multi-dimensions can be image quality, blurriness, richness of feature information, exposure, etc.
[0162] In a specific application, the palm verification terminal can be as Figure 9 shown, including a color camera and an infrared camera. Among them, the color camera can be used to collect the second palm image data, and the infrared camera can be used to collect the infrared image data. Further, the palm verification terminal should be equipped with an infrared lamp, a lamp ring (for supplementary lighting and interaction), an infrared camera, a color camera, and a touch screen is optional. The infrared lamp is used to supplement infrared light and enhance the acquisition ability of the infrared camera. The lamp ring is used to guide the current acquisition area of the registered object and enhance the acquisition ability of the color camera through supplementary lighting. The touch screen is used for interactive guidance. The registered object can select "Authorize later to complete activation" through the touch screen, that is, authorize and activate the palm verification service on the target terminal later. It should be noted that in the case of no touch screen, the palm verification terminal can be set to the asynchronous registration mode through configuration and distribution, and the lamp ring effect is used to prompt whether the input is successful (the lamp ring effect is prompted through different colors, etc. The selectable colors are green, red, yellow, etc.). Further, the palm verification terminal should also have the ability to run the image optimization algorithm, graphics rendering ability, database storage ability, and performance to meet the recognition logic operation, and have the ability to connect to the network, and can also set up a background recognition service.
[0163] In this embodiment, after receiving the palm registration information uploaded by the palm verification terminal, by extracting the second palmprint feature from the second palm image data, storing the second palmprint feature as an unbound palmprint feature, and associating it with the palmprint registration information in the palm registration information, palmprint registration can be achieved.
[0164] In one embodiment, the method for opening the palm verification service further includes:
[0165] Match the second palmprint feature with at least one stored bound palmprint feature. When there is no palmprint feature in the at least one bound palmprint feature that matches the second palmprint feature, jump to the step of storing the second palmprint feature as an unbound palmprint feature.
[0166] Among them, the bound palmprint feature refers to the palmprint feature that has been bound to the account of the target platform.
[0167] Specifically, after extracting the second palmprint feature, the server will match the second palmprint feature with at least one stored bound palmprint feature to determine whether the second palmprint feature is an unregistered new palmprint feature. When there is no palmprint feature in the at least one bound palmprint feature that matches the second palmprint feature, it means that the second palmprint feature is a new palmprint feature, and the server will store the second palmprint feature as an unbound palmprint feature.
[0168] In a specific application, the server can match the second palmprint feature with at least one stored bound palmprint feature through a feature matching algorithm. Among them, the feature matching algorithm can be configured according to the actual application scenario. For example, the feature matching algorithm can specifically be a matching algorithm based on feature similarity. The feature similarity can specifically be cosine similarity. Or, the feature matching algorithm can specifically be a matching algorithm based on feature distance. The feature distance can specifically be Euclidean distance, Hamming distance, etc.
[0169] In this embodiment, by matching the second palmprint feature with at least one stored bound palmprint feature, it is possible to determine whether the second palmprint feature is a new palmprint feature through feature matching, and then palmprint registration can be performed only when the second palmprint feature is a new palmprint feature. By verifying during the registration process, the situation of repeated palmprint registration or incorrect binding of palmprint features can be avoided.
[0170] In one embodiment, the method for opening the palm verification service further includes:
[0171] Receive a palm registration request uploaded through the palm verification terminal, where the palm registration request carries third palm image data;
[0172] Extract the third palmprint feature from the third palm image data, and match the third palmprint feature with at least one stored and bound palmprint feature;
[0173] When there is no palmprint feature in at least one stored and bound palmprint feature that matches the third palmprint feature, push a palm registration prompt to the palm verification terminal to indicate that the palm registration information is uploaded through the palm verification terminal for registration.
[0174] Specifically, a registration object that needs to perform palmprint registration will upload a palm registration request through the palm verification terminal. The palm registration request carries the third palm image data. After receiving the palm registration request uploaded by the palm verification terminal, the server will extract the third palmprint feature from the third palm image data and match the third palmprint feature with at least one stored and bound palmprint feature to determine whether the third palmprint feature is an unregistered new palmprint feature. When there is no palmprint feature in at least one stored and bound palmprint feature that matches the third palmprint feature, it indicates that the third palmprint feature is a new palmprint feature. The server will push a palm registration prompt to the palm verification terminal to indicate that the registration object uploads the palm registration information through the palm verification terminal for registration.
[0175] In a specific application, the server can match the third palmprint feature with at least one stored and bound palmprint feature through a feature matching algorithm. Among them, the feature matching algorithm can be configured according to the actual application scenario. For example, the feature matching algorithm can specifically be a matching algorithm based on feature similarity. The feature similarity can specifically be cosine similarity. Another example is that the feature matching algorithm can specifically be a matching algorithm based on feature distance. The feature distance can specifically be Euclidean distance, Hamming distance, etc.
[0176] In this embodiment, by matching the third palmprint feature with at least one stored and bound palmprint feature, it is possible to determine whether the third palmprint feature is a new palmprint feature through feature matching. Furthermore, when the third palmprint feature is a new palmprint feature, a palm registration prompt can be pushed to the palm verification terminal to indicate palmprint registration. By the method of verifying first and then registering, it is possible to avoid situations such as duplicate palmprint registration or incorrect binding of palmprint features.
[0177] In one embodiment, the inventors believe that in the traditional method, when opening the palm verification service, after collecting the palm image data, the target object still needs to use the target terminal to scan the graphic code, and complete the binding of the target account and the palmprint feature according to the instructions before the palm verification service of the target account can be opened. If the target object does not have the target terminal or the target account at that time, it is impossible to open the palm verification service, which will cause the loss of objects using the target platform. Moreover, the opening process is cumbersome and requires authorization to complete the opening, resulting in low efficiency in opening the palm verification service. In addition, the traditional method also has the following two problems. One is blocking registration, where the palm verification terminal cannot be used continuously when entering the palmprint. The other is a high probability of incorrect binding because the graphic code displayed on the palm verification terminal is easily scanned and authorized for binding by others.
[0178] Based on this, the present application proposes a method for opening a palm verification service. In the case where the target object does not have a target terminal and cannot be authorized in real time, the palmprint feature can be first entered on the palm verification terminal, and the platform identity is selected for later authorization. Then, when the authorization condition of the target terminal permits, log in to the target account of the target platform through the target terminal, collect and upload the first palm image data through the target terminal, so that the server can extract the first palmprint feature from the first palm image data and match the first palmprint feature with at least one unbound palmprint feature stored, to achieve asynchronous authorization of palmprint feature matching and open the palm verification service of the target account. It can be understood that the present application can be applied to scenarios such as group collection scenarios and scenarios without mobile terminals, and can be used to open the palm verification service of the accounts of target platforms for people without mobile terminals, such as the elderly and students.
[0179] In one embodiment, the technical concept of the palm verification service opening method of the present application can be as Figure 10 shown. The target object first swipes the palm on the palm verification terminal, so that the palm verification terminal collects the second palm image data (such as Figure 10As shown, the palm verification terminal can collect color image data and infrared image data. Select "Authorize Later", and then the palm verification terminal uploads the palm registration information to the server, so that the server extracts the second palmprint feature from the second palm image data (it should be noted that the extracted feature can be only the feature of the color image data), stores the second palmprint feature as the unbound palmprint feature, and associates it with the palmprint registration information in the palm registration information. On this basis, the target object then enables the palm verification service online, swipes the palm on the target terminal, so that the target terminal collects the first palm image data, and uploads the palm verification service enabling request to the server, so that the server extracts the first palmprint feature from the first palm image data, and matches the first palmprint feature with at least one stored unbound palmprint feature, that is, performs verification and comparison. When there is a matching palmprint feature in at least one unbound palmprint feature that matches the first palmprint feature, obtain the target palmprint registration information associated with the matching palmprint feature, generate a palm swipe authorization confirmation prompt based on the target palmprint registration information, and feedback the palm swipe authorization confirmation prompt to the target terminal for the target object to confirm again in order to complete the authorization and enablement. The target object can feedback the palm swipe authorization confirmation information through the target terminal. The server receives the palm swipe authorization confirmation information feedback by the target terminal and verifies the palm swipe authorization confirmation information. When the palm swipe authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to enable the palm verification service of the target account.
[0180] In one embodiment, as Figure 11 shown, it can be understood that after the palm verification terminal collects the second palm image data, it can also first extract the second palmprint feature from the second palm image data and then upload the palm registration information to the server. At this time, the palm registration information carries the second palmprint feature. After the server receives the palm registration information, it can directly store the second palmprint feature as the unbound palmprint feature without further image feature extraction. In addition, after the target terminal collects the first palm image data, it can also first extract the first palmprint feature from the first palm image data and then upload the palm verification service enabling request to the server. At this time, the palm verification service enabling request carries the first palmprint feature. After the server receives the palm verification service enabling request, it can directly match the first palmprint feature with at least one stored unbound palmprint feature without further image feature extraction.
[0181] In one embodiment, as Figure 12As shown, taking the example that after the palm verification terminal collects the second palm image data, it first extracts the second palmprint feature from the second palm image data, and after the target terminal collects the first palm image data, it first extracts the first palmprint feature from the first palm image data or directly uploads the first palm image data, the method for enabling the palm verification service of the present application can consist of two parts: offline palm verification terminal entry and target terminal asynchronous authorization. The following is based on Figure 12 to illustrate the method for enabling the palm verification service of the present application.
[0182] First of all, the offline palm verification terminal entry includes four steps:
[0183] Step 1, Image acquisition: The target object swipes the palm at the offline palm verification terminal, and the palm verification terminal collects the palm color and infrared image streams.
[0184] Step 2, Optimization algorithm: Input the image stream into the optimization algorithm stream, complete algorithm steps such as palm detection, image quality judgment, liveness verification, and registration, and screen out the qualified color and infrared images.
[0185] Step 3, Feature extraction and upload: Extract the palm color and infrared features and register them to the server.
[0186] Among them, the palm verification terminal will extract the features of the palm vein from the preprocessed image, and combine the registered on-site information (that is, the palmprint registration information, including the palmprint registration time, palmprint registration location, etc.) and register them to the server together.
[0187] Among them, common feature extraction methods include Gabor filtering algorithm, LBP (Local Binary Pattern) filtering algorithm, HOG (Histogram of Oriented Gradients) filtering algorithm, etc.
[0188] Step 4, Offline entry completed: The server retrieves and confirms that it is a new palm, returns the entry completed result to the palm verification terminal, and the palm verification terminal interacts to guide the target object to perform asynchronous authorization.
[0189] Specifically, the server can use a feature matching algorithm to match the palmprint features uploaded by the palm verification terminal with at least one bound palmprint feature stored, so as to determine whether the palmprint features uploaded through the palm verification terminal have been registered. If not, the offline pre-entry is completed, and the palmprint features uploaded by the palm verification terminal are stored as unbound palmprint features. Among them, the feature matching algorithm can be configured according to the actual application scenario. For example, the feature matching algorithm can specifically be a matching algorithm based on feature similarity. The feature similarity can specifically be cosine similarity. Also, for example, the feature matching algorithm can specifically be a matching algorithm based on feature distance. The feature distance can specifically be Euclidean distance, Hamming distance, etc.
[0190] Secondly, the target terminal asynchronous authorization includes six steps:
[0191] Step 5, Log in to the platform account: The target object registers and logs in to the account of the target platform (i.e., the target account) to enter the authorization process.
[0192] Step 6, Re-collect the palm: The target object collects a palm color image stream through the target terminal.
[0193] The target terminal obtains the image stream through the camera and inputs it into the preferred algorithm.
[0194] Step 7, Preferred algorithm: Input the image stream into the local preferred algorithm stream of the target terminal to complete steps such as palm detection, gesture liveness verification, and image quality detection, and screen out the color images that meet the quality standards.
[0195] Step 8, Feature extraction and upload: Extract the palm color features (i.e., the first palmprint feature) and submit them to the server, or directly upload the color image (i.e., the first palm image data), and the server completes the feature extraction.
[0196] Step 9, Server retrieval: The server retrieves at least one unbound palmprint feature stored in the database according to the palm color features or color images uploaded by the target terminal. If it matches the color features collected by the palm verification terminal (i.e., the matching palmprint feature), it returns the target palmprint registration information to the target terminal, which can specifically be the palmprint registration time and the palmprint registration location.
[0197] Step 10, Target object authorization: Display the target palmprint registration information, that is, the palmprint registration time and the palmprint registration location collected by the target object offline. The target object confirms that it is the person who entered it and inputs the account resource transfer password (specifically, it can be the payment password) to confirm the identity authorization and complete the opening of the palm verification service.
[0198] In one embodiment, during the process of opening the palm verification service, the interface change of the target terminal can be as Figure 13As shown, first, the target terminal will display a guide for collecting palm images to guide the target object to enter the first palm image data. Secondly, after receiving the palm-swipe authorization confirmation prompt, a palmprint authorization verification prompt will be displayed for the target object to confirm whether the target palmprint registration information is correct. Among them, the target palmprint registration information includes the palmprint registration time and the palmprint registration location. Secondly, when the palm-swipe authorization confirmation information passes the verification, the target terminal will display a password verification prompt to prompt the target object to enter the account resource transfer password corresponding to the target account for identity verification. Finally, after receiving the binding success prompt pushed by the server, the target terminal will display a binding success prompt to inform the target object that the palm verification service has been enabled for the target account.
[0199] It should be noted that, first, the target terminal in this application includes, but is not limited to, mobile phones, tablets, smart watches, etc., and any computer device supported by the target platform can achieve online binding. Secondly, in this application, online recognition and local recognition are allowed. The palmprint verification device is not limited to the illustrated example, as long as it can collect clear palm image data and can guide the registration object to slide the palm. Finally, the preferred algorithm flow, feature extraction, and feature matching algorithm in the embodiments of this application are not limited to the exemplified methods, and many other processing methods are also applicable.
[0200] It can be understood that the method for enabling the palm verification service in this application has the following advantages: First, it is efficient. When registering the palmprint, just swipe the palm and you can leave without waiting, which is suitable for scenarios of collective registration and enabling. Second, it is convenient. It does not require the target object to cooperate with the target terminal for real-time authorization to enable, which is suitable for people such as the elderly and students who do not carry the target terminal with them. Third, it is safe. By collecting palm image data multiple times through the palm verification terminal and the target terminal and passing multiple verifications before enabling the palm verification service for the target account, the security of enabling the palm verification service can be improved. And when the target object enters the palmprint features offline, it is necessary to enter the palmprint features online again using the target terminal for matching and enabling, which can effectively reduce the probability of incorrect binding.
[0201] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0202] Based on the same inventive concept, an embodiment of the present application further provides a palm verification service activation device for implementing the palm verification service activation method involved above. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the palm verification service activation device provided below can refer to the limitations on the palm verification service activation method in the foregoing text, and will not be elaborated here.
[0203] In one embodiment, as Figure 14 shown, a palm verification service activation device is provided, including: a request receiving module 1402, a feature matching module 1404, an information acquisition module 1406, a confirmation prompt generation module 1408, and a binding module 1410, where:
[0204] The request receiving module 1402 is configured to receive a palm verification service activation request uploaded through a target terminal, where the palm verification service activation request carries first palm image data and a target account;
[0205] The feature matching module 1404 is configured to extract first palmprint features from the first palm image data, and match the first palmprint features with at least one unbound palmprint feature stored; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information;
[0206] The information acquisition module 1406 is configured to, when there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, acquire the target palmprint registration information associated with the matching palmprint feature;
[0207] The confirmation prompt generation module 1408 is configured to generate a palm brushing authorization confirmation prompt based on the target palmprint registration information, and feedback the palm brushing authorization confirmation prompt to the target terminal;
[0208] The binding module 1410 is configured to receive the palm brushing authorization confirmation information fed back by the target terminal, verify the palm brushing authorization confirmation information, and when the palm brushing authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
[0209] The above-mentioned palm verification service activation device can extract the first palmprint feature from the first palm image data carried in the palm verification service activation request by receiving the palm verification service activation request uploaded through the target terminal, enabling the extraction of the palmprint feature of the palm for which the palm verification service needs to be activated from the target terminal. By matching the first palmprint feature with at least one unbound palmprint feature stored, the unbound palmprint feature registered through the palm verification terminal can be matched with the palmprint feature uploaded through the target terminal. Furthermore, in the case of the existence of a matching palmprint feature, the target palmprint registration information associated with the matching palmprint feature can be obtained and used to generate a palm-sweeping authorization confirmation prompt, which is fed back to the target terminal to instruct the target terminal to complete the palm-sweeping authorization confirmation. Thus, when the palm-sweeping authorization confirmation information fed back by the target terminal passes the verification, the target account and the matching palmprint feature can be bound to activate the palm verification service of the target account. Throughout the process, the palm verification service can be activated through asynchronous authorization without the need for the target object to cooperate and use the palm verification terminal and the target terminal simultaneously to complete the activation. The activation process is convenient and can improve the efficiency of activating the palm verification service.
[0210] In one embodiment, the feature matching module is further configured to determine the feature similarity between the first palmprint feature and each unbound palmprint feature stored. When there is a first similar palmprint feature whose feature similarity to the first palmprint feature is greater than the similarity threshold and the number of the first similar palmprint features is single, the first similar palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0211] In one embodiment, the feature matching module is further configured to, when the number of the first similar palmprint features is multiple, compare the respective feature similarities of the multiple first similar palmprint features to obtain a similarity comparison result. When the similarity comparison result meets the condition for the existence of the first matching palmprint feature, the first similar palmprint feature with the highest feature similarity to the first palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0212] In one embodiment, the feature matching module is further configured to determine the feature distance between the first palmprint feature and each unbound palmprint feature stored. When there is a second similar palmprint feature whose feature distance to the first palmprint feature is less than the distance threshold and the number of the second similar palmprint features is single, the second similar palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0213] In one embodiment, the feature matching module is further configured to, when the number of second similar palmprint features is multiple, compare the feature distances corresponding to the multiple second similar palmprint features to obtain a distance comparison result. When the distance comparison result meets the condition for the existence of the second matching palmprint feature, the second similar palmprint feature with the closest feature distance to the first palmprint feature is used as the matching palmprint feature that matches the first palmprint feature.
[0214] In one embodiment, the palm-sweeping authorization confirmation prompt is used to indicate the confirmation of the target palmprint registration information. The binding module is further configured to receive the palm-sweeping authorization confirmation information fed back by the target terminal. When the palm-sweeping authorization confirmation information includes a confirmation keyword, it is determined that the palm-sweeping authorization confirmation information passes the verification.
[0215] In one embodiment, the palm-sweeping authorization confirmation prompt is used to indicate the feedback of palmprint authorization verification information. The binding module is further configured to receive the palm-sweeping authorization confirmation information fed back by the target terminal, extract the palmprint authorization verification information from the palm-sweeping authorization confirmation information. When the palmprint authorization verification information is consistent with the target palmprint registration information, it is determined that the palm-sweeping authorization confirmation information passes the verification.
[0216] In one embodiment, the binding module is further configured to, when the palm-sweeping authorization confirmation information passes the verification, push a password verification prompt corresponding to the target account to the target terminal, receive the password verification information fed back by the target terminal. When the verification password in the password verification information is consistent with the account resource transfer password of the target account, the target account and the matching palmprint feature are bound to activate the palm verification service of the target account.
[0217] In one embodiment, the palm verification service activation device further includes a palmprint registration module. The palmprint registration module is configured to receive the palm registration information uploaded through the palm verification terminal. The palm registration information carries the second palm image data and the palmprint registration information, extract the second palmprint feature from the second palm image data, store the second palmprint feature as an unbound palmprint feature, and associate it with the palmprint registration information in the palm registration information.
[0218] In one embodiment, the palmprint registration module is further configured to match the second palmprint feature with at least one stored bound palmprint feature. When there is no palmprint feature in the at least one bound palmprint feature that matches the second palmprint feature, the second palmprint feature is stored as an unbound palmprint feature.
[0219] In one embodiment, the palmprint registration module is further configured to receive a palmprint registration request uploaded through a palm verification terminal. The palmprint registration request carries third palm image data. The third palmprint feature is extracted from the third palm image data, and the third palmprint feature is matched with at least one stored and bound palmprint feature. When there is no palmprint feature in the at least one stored and bound palmprint feature that matches the third palmprint feature, a palmprint registration prompt is pushed to the palm verification terminal to instruct the palm verification terminal to upload palmprint registration information for registration.
[0220] Each module in the above palm verification service activation device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0221] In one embodiment, a computer device is provided. The computer device can be a server or a terminal. Taking the computer device as a server as an example, its internal structure diagram can be as Figure 15 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as at least one unauthorized palmprint feature. The input / output interface of the computer device is used for the processor to exchange information with external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a palm verification service activation method.
[0222] Those skilled in the art can understand that Figure 15 the structure shown in
[0223] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0224] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
[0225] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
[0226] It should be noted that the user information (including but not limited to the target account, palm image data, etc.) and data (including but not limited to the data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of the relevant data need to comply with the relevant regulations.
[0227] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0228] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0229] The above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A method for opening a palm verification service, characterized in that The method includes: Receiving a palm verification service activation request uploaded by a target terminal, where the palm verification service activation request carries first palm image data and a target account; Extracting first palmprint features from the first palm image data, and matching the first palmprint features with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm verification terminal and is associated with palmprint registration information; When there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature, obtaining the target palmprint registration information associated with the matching palmprint feature; Generating a palm brushing authorization confirmation prompt based on the target palmprint registration information, and feeding back the palm brushing authorization confirmation prompt to the target terminal; Receiving the palm brushing authorization confirmation information fed back by the target terminal, verifying the palm brushing authorization confirmation information, and when the palm brushing authorization confirmation information passes the verification, binding the target account and the matching palmprint feature to activate the palm verification service of the target account.
2. The method according to claim 1, wherein The matching of the first palmprint feature with at least one stored unbound palmprint feature includes: For each stored unbound palmprint feature, determining the feature similarity between the first palmprint feature and the unbound palmprint feature; When there is a first similar palmprint feature whose feature similarity to the first palmprint feature is greater than the similarity threshold and the number of the first similar palmprint features is single, taking the first similar palmprint feature as the matching palmprint feature that matches the first palmprint feature.
3. The method according to claim 2, wherein The method further includes: When the number of the first similar palmprint features is multiple, comparing the respective corresponding feature similarities of the multiple first similar palmprint features to obtain a similarity comparison result; When the similarity comparison result meets the condition for the existence of a first matching palmprint feature, taking the first similar palmprint feature with the highest feature similarity to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
4. The method according to claim 1, wherein The matching of the first palmprint feature with at least one stored unbound palmprint feature includes: For each stored unbound palmprint feature, determining the feature distance between the first palmprint feature and the unbound palmprint feature; When there is a second similar palmprint feature whose feature distance to the first palmprint feature is less than the distance threshold and the number of the second similar palmprint features is single, taking the second similar palmprint feature as the matching palmprint feature that matches the first palmprint feature.
5. The method according to claim 4, characterized in that, The method further includes: When the number of the second similar palmprint features is multiple, comparing the respective corresponding feature distances of the multiple second similar palmprint features to obtain a distance comparison result; When the distance comparison result meets the condition for the existence of a second matching palmprint feature, taking the second similar palmprint feature with the closest feature distance to the first palmprint feature as the matching palmprint feature that matches the first palmprint feature.
6. The method according to any one of claims 1 to 5, characterized in that, The palm brushing authorization confirmation prompt is used to indicate the confirmation of the target palmprint registration information; the receiving the palm brushing authorization confirmation information fed back by the target terminal and verifying the palm brushing authorization confirmation information includes: Receive the palm - swiping authorization confirmation information fed back by the target terminal. When the confirmation keyword is included in the palm - swiping authorization confirmation information, determine that the palm - swiping authorization confirmation information passes the verification.
7. The method according to any one of claims 1 to 5, characterized in that, The palm - swiping authorization confirmation prompt is used to indicate the feedback of palmprint authorization verification information; the receiving the palm - swiping authorization confirmation information fed back by the target terminal and verifying the palm - swiping authorization confirmation information includes: Receive the palm - swiping authorization confirmation information fed back by the target terminal, and extract the palmprint authorization verification information from the palm - swiping authorization confirmation information; When the palmprint authorization verification information is consistent with the target palmprint registration information, determine that the palm - swiping authorization confirmation information passes the verification.
8. The method according to any one of claims 1 to 7, characterized in that When the palm - swiping authorization confirmation information passes the verification, binding the target account and the matching palmprint feature to activate the palm - based verification service of the target account includes: When the palm - swiping authorization confirmation information passes the verification, push a password verification prompt corresponding to the target account to the target terminal; Receive the password verification information fed back by the target terminal. When the verification password in the password verification information is consistent with the account resource transfer password of the target account, bind the target account and the matching palmprint feature to activate the palm - based verification service of the target account.
9. The method according to any one of claims 1 to 7, characterized in that The method further includes: Receive the palm - based registration information uploaded through the palm - based verification terminal. The palm - based registration information carries second palm image data and palmprint registration information; Extract the second palmprint feature from the second palm image data, store the second palmprint feature as an unbound palmprint feature, and associate it with the palmprint registration information in the palm - based registration information.
10. The method according to claim 9, characterized in that The method further includes: Match the second palmprint feature with at least one stored bound palmprint feature. When there is no palmprint feature in the at least one bound palmprint feature that matches the second palmprint feature, jump to the step of storing the second palmprint feature as an unbound palmprint feature.
11. The method according to claim 9, wherein The method further includes: Receive a palm - based registration request uploaded through the palm - based verification terminal. The palm - based registration request carries third palm image data; Extract the third palmprint feature from the third palm image data, and match the third palmprint feature with at least one stored bound palmprint feature; When there is no palmprint feature in the at least one bound palmprint feature that matches the third palmprint feature, push a palm - based registration prompt to the palm - based verification terminal to indicate registering by uploading the palm - based registration information through the palm - based verification terminal.
12. An apparatus for enabling a palm verification service, characterized in that, The device includes: A request receiving module, configured to receive a palm - based verification service activation request uploaded through a target terminal. The palm - based verification service activation request carries first palm image data and a target account; A feature matching module, configured to extract a first palmprint feature from the first palm image data, and match the first palmprint feature with at least one stored unbound palmprint feature; the unbound palmprint feature is registered through a palm - based verification terminal and is associated with palmprint registration information; An information acquisition module, configured to obtain target palmprint registration information associated with the matching palmprint feature when there is a matching palmprint feature in the at least one unbound palmprint feature that matches the first palmprint feature; A confirmation prompt generation module, configured to generate a palm-sweeping authorization confirmation prompt based on the target palmprint registration information and feedback the palm-sweeping authorization confirmation prompt to the target terminal; A binding module, configured to receive the palm-sweeping authorization confirmation information fed back by the target terminal, verify the palm-sweeping authorization confirmation information, and when the palm-sweeping authorization confirmation information passes the verification, bind the target account and the matching palmprint feature to activate the palm verification service of the target account.
13. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.