Virtual-resource verification method and apparatus, and device, medium and computer program product

By collecting and comparing palm print features, secure and efficient verification of virtual resources can be achieved, solving the problems of low security and efficiency in existing technologies and improving the security and efficiency of virtual resource verification.

WO2025256238A1PCT designated stage Publication Date: 2025-12-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/087550
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-14
Filing Date
2025-04-07
Publication Date
2025-12-18

AI Technical Summary

Technical Problem

Existing virtual resource verification methods have low security, electronic identification verification and verification code verification methods have security risks, and object authentication has low verification efficiency in strong authentication scenarios.

Method used

By collecting the palmprint image of the object, the palmprint features are used to verify virtual resources. The verification terminal and the object terminal are associated with the palmprint features to achieve secure verification and efficient authorization of virtual resources.

Benefits of technology

This improves the security and efficiency of virtual resource verification, ensuring the legitimate authorization of business rights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025087550_18122025_PF_FP_ABST
    Figure CN2025087550_18122025_PF_FP_ABST
Patent Text Reader

Abstract

A virtual-resource verification method, which is executed by means of a verification terminal. The method comprises: in response to detecting an object palm, collecting a palmprint image of the object palm, so as to obtain the current palmprint image (101); and in response to finding, by means of query and from a virtual resource library to be subjected to verification, a virtual resource to be subjected to verification which is associated with the current palmprint feature of the current palmprint image, verifying said virtual resource, wherein in said virtual resource library, said virtual resource is associated with a reference palmprint feature collected from a reference palmprint image of a resource association object, and said virtual resource is used for authorizing, after successfully passing the verification, the acquisition of service rights and interests indicated by said virtual resource (102).
Need to check novelty before this filing date? Find Prior Art

Description

Virtual resource verification method, device, equipment, medium and computer program product

[0001] Related applications

[0002] The present application claims priority to the Chinese patent application No. 202410766751.8, filed on June 14, 2024, and entitled "A virtual resource verification method and related equipment", the contents of which are hereby incorporated by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the field of communication technology, in particular to the field of communication interaction for virtual resources, and specifically to a virtual resource verification method, device, equipment, medium and computer program product. BACKGROUND

[0004] In recent years, with the rapid development of Internet technology, e-commerce consumption has become more and more convenient. In the e-commerce consumption scenario, after obtaining virtual resources (such as consumption coupons, discount coupons, pick-up coupons, coupons or electronic tickets, etc.) online, offline verification is often required. The current virtual resource verification method often verifies through electronic identification verification (such as one-dimensional code or two-dimensional code), verification code verification, and object identity verification mode.

[0005] In the process of researching and practicing the current technology, the present inventors found that the electronic identification verification, verification code verification and other methods have low security, and the object identity verification mode has low verification efficiency in the strong identity verification scenario. SUMMARY

[0006] The present application provides a virtual resource verification method, device, equipment, medium and computer program product.

[0007] A virtual resource verification method is executed by a verification terminal, comprising:

[0008] In response to detecting the palm of the object, palmprint image acquisition is performed on the palm of the object to obtain a current palmprint image; and

[0009] In response to querying from a to-be-verified virtual resource library to a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, the to-be-verified virtual resource is verified. In the to-be-verified virtual resource library, the to-be-verified virtual resource is associated with a reference palmprint feature collected from a reference palmprint image of a resource-associated object. The to-be-verified virtual resource is used to authorize the business rights and interests indicated by the to-be-verified virtual resource after successful verification.

[0010] The present application can also provide another virtual resource verification method, which is executed by an object terminal, comprising:

[0011] In response to detecting that the resource-associated object obtains the virtual resource, a palmprint collection page is displayed.

[0012] The palmprint image of the resource-associated object is collected through the palmprint collection page, and a reference palmprint image of the resource-associated object is obtained.

[0013] The reference palmprint feature of the reference palmprint image is associated with a to-be-verified resource of the virtual resource, and the to-be-verified resource associated with the reference palmprint feature instructs the verification terminal to, when a current palmprint image is collected, verify a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, and after verification succeeds, authorize to obtain a service right and interest indicated by the to-be-verified virtual resource.

[0014] Correspondingly, an embodiment of the present application provides a virtual resource verification device, comprising:

[0015] A first collection unit is configured to, in response to detecting an object palm, collect a palmprint image of the object palm to obtain a current palmprint image.

[0016] A verification unit is configured to, in response to querying, from a to-be-verified virtual resource library, a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, verify the to-be-verified virtual resource, wherein in the to-be-verified virtual resource library, the to-be-verified virtual resource is associated with a reference palmprint feature collected from a reference palmprint image of a resource-associated object, and the to-be-verified virtual resource is used to, after verification succeeds, authorize to obtain a service right and interest indicated by the to-be-verified virtual resource.

[0017] Optionally, another virtual resource verification device can be provided by an embodiment of the present application, comprising:

[0018] A display unit is configured to, in response to detecting that a resource-associated object obtains a virtual resource, display a palmprint collection page.

[0019] A second collection unit is configured to, through the palmprint collection page, collect a palmprint image of the resource-associated object to obtain a reference palmprint image of the resource-associated object.

[0020] An association unit is configured to associate a reference palmprint feature of the reference palmprint image with a to-be-verified resource of the virtual resource, and the to-be-verified resource associated with the reference palmprint feature instructs a verification terminal to, when a current palmprint image is collected, verify a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, and after verification succeeds, authorize to obtain a service right and interest indicated by the to-be-verified virtual resource.

[0021] In addition, the embodiment of the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores an application, and the processor is used to run the application in the memory to execute the virtual resource verification method provided by the embodiment of the present application.

[0022] In addition, the embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the steps in any one of the virtual resource verification methods provided by the embodiment of the present application.

[0023] In addition, the embodiment of the present application further provides a computer program product, comprising a computer program or instructions, and the computer program or instructions are executed by a processor to realize the steps in the virtual resource verification method provided by the embodiment of the present application.

[0024] The details of one or more embodiments of the present application are presented in the following drawings and description. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of the disclosed drawings.

[0026] FIG. 1 is a schematic diagram of a system for virtual resource verification provided by the embodiment of the present application;

[0027] FIG. 2 is a schematic diagram of a scenario for a virtual resource verification method provided by the embodiment of the present application;

[0028] FIG. 3 is a schematic diagram of a flow for a virtual resource verification method provided by the embodiment of the present application;

[0029] FIG. 4 is a schematic diagram of multiple verification methods provided by the embodiment of the present application;

[0030] FIG. 5 is a schematic diagram of a flow for a consumption coupon overall verification provided by the embodiment of the present application;

[0031] FIG. 6 is a schematic diagram of a verification terminal and a verification server jointly completing consumption coupon verification provided by the embodiment of the present application;

[0032] FIG. 7 is a schematic diagram of a structure of a verification terminal provided by the embodiment of the present application;

[0033] FIG. 8 is another schematic diagram of a flow for a virtual resource verification method provided by the embodiment of the present application;

[0034] FIG. 9 is a flow diagram of displaying a palmprint collection page according to an embodiment of the present application;

[0035] FIG. 10 is a diagram of triggering a palmprint collection page by purchasing a concert ticket according to an embodiment of the present application;

[0036] FIG. 11 is a page diagram of a palmprint entry result page according to an embodiment of the present application;

[0037] FIG. 12 is a diagram of associating a consumption coupon with a palmprint according to an embodiment of the present application;

[0038] FIG. 13 is a flow diagram of binding a consumption coupon with a palmprint according to an embodiment of the present application;

[0039] FIG. 14 is a page interaction diagram of a process from purchasing a ticket to entering a consumption palm according to an embodiment of the present application;

[0040] FIG. 15 is another flow diagram of a virtual resource verification method according to an embodiment of the present application;

[0041] FIG. 16 is a structural diagram of a first virtual resource verification apparatus according to an embodiment of the present application;

[0042] FIG. 17 is another structural diagram of a first virtual resource verification apparatus according to an embodiment of the present application;

[0043] FIG. 18 is a structural diagram of a second virtual resource verification apparatus according to an embodiment of the present application;

[0044] FIG. 19 is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0046] Embodiments of the present application provide a virtual resource verification method, device, equipment, medium and computer program product. Among them, the virtual resource verification device can be integrated in the electronic equipment, and the electronic equipment can be a server or a terminal, etc. The computer program product and the computer readable storage medium are used to store related program instructions. Specifically, embodiments of the present application provide a virtual resource verification device suitable for a first electronic device (for distinction, it can be called a first virtual resource verification device), and a virtual resource verification device suitable for a second electronic device (for distinction, it can be called a second virtual resource verification device). Among them, the first electronic device and the second electronic device can be a terminal and the like, including but not limited to a mobile phone, a computer, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, etc., but not limited to this. It should be noted that the first electronic device and the second electronic device can be the same electronic device, or different electronic devices. In the virtual resource verification scene, a verification server can also be included, which can be a network side device such as a server. The server can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms, etc. Basic cloud computing services. The terminal and the server can be connected directly or indirectly through wired or wireless communication, which is not limited in the present application. Embodiments of the present application can be applied to various scenes, including but not limited to cloud technology, cloud security, artificial intelligence, intelligent transportation, and assisted driving.

[0047] Embodiments of the present application take the first electronic device as the verification terminal and the second electronic device as the object terminal as an example to introduce the virtual resource verification method. It should be noted that the so-called verification terminal can be understood as a terminal for verifying virtual resources, and the so-called object terminal can be understood as a terminal that can interact with resource associated objects. The object terminal can be the same terminal as the verification terminal, or a different terminal.

[0048] For example, referring to FIG. 1, embodiments of the present application provide a virtual resource verification system including a verification terminal 10, an object terminal 20 and a verification server 30. The verification terminal 10, the object terminal 20 and the verification server 30 can be connected through a network, such as a wired or wireless network. Among them, the virtual resource verification device can be integrated in the verification terminal 10 and / or the object terminal 20, such as in the form of a client integrated in the verification terminal 10 and / or the sending terminal 20. It should be noted that in the virtual resource verification system, when the object terminal 20 is one, the number of verification terminals 10 can be one, two or more.

[0049] The verification terminal 10 can be used to collect a palmprint image of the palm portion of the object to obtain a current palmprint image in response to detecting the palm portion of the object, and to verify a to-be-verified virtual resource when there is a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image. In a to-be-verified virtual resource library, the to-be-verified virtual resource is associated with a reference palmprint feature of the palm portion of the object, the reference palmprint image is collected from a resource user who obtains the to-be-verified virtual resource, and the to-be-verified virtual resource is used to authorize a service right indicated by the to-be-verified virtual resource after verification succeeds. Therefore, the security and verification efficiency of virtual resource verification are improved, and the specific implementation can be as shown in FIG. 2.

[0050] The object terminal 20 can display a palmprint collection page in response to detecting that the resource-associated object obtains a virtual resource, collect a palmprint image of the resource-associated object through the palmprint collection page to obtain a reference palmprint image of the resource-associated object, and associate a reference palmprint feature of the reference palmprint image with a to-be-verified virtual resource of the virtual resource. In this way, when the verification terminal 10 collects a current palmprint image, the verification terminal 10 verifies a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, and the virtual resource includes the to-be-verified virtual resource. Therefore, the security and verification efficiency of virtual resource verification are improved.

[0051] It should be noted that the verification terminal 10 and the object terminal 20 can be the same terminal or different terminals. When the verification terminal 10 and the object terminal 20 are the same terminal, it can be understood that the terminal can be associated with a virtual resource and can also verify the virtual resource.

[0052] It can be understood that in the specific embodiments of the present application, the reference palmprint image of the resource-associated object, the current palmprint image, or other palm portion data and related data are involved. When the following embodiments of the present application are applied to specific products or technologies, permission or consent is required, and the collection, use, and processing of related data need to comply with relevant laws, regulations, and standards of countries and regions.

[0053] The following will be described in detail. It should be noted that the order of the following embodiments is not limited as the preferred order of the embodiments.

[0054] This embodiment will be described from the perspective of a first virtual resource verification device, which can be integrated in a first electronic device. The first electronic device can be a terminal device such as a verification terminal. The terminal can include a tablet computer, a notebook computer, a personal computer (PC), a wearable device, a virtual reality device, or other smart devices that can perform virtual resource verification.

[0055] A virtual resource verification method comprises:

[0056] In response to detecting the palm of the object, a palmprint image of the palm of the object is collected to obtain a current palmprint image. In response to querying the virtual resource library to be verified to find the virtual resource to be verified associated with the current palmprint feature of the current palmprint image, the virtual resource to be verified is verified. In the virtual resource library to be verified, the virtual resource to be verified is associated with the reference palmprint feature collected from the reference palmprint image of the resource-associated object. The virtual resource to be verified is used to authorize the service right and interest indicated by the virtual resource to be verified after successful verification.

[0057] As shown in FIG. 3, the specific process of the virtual resource verification method is as follows:

[0058] 101. In response to detecting the palm of the object, a palmprint image of the palm of the object is collected to obtain a current palmprint image.

[0059] The palm of the object can be understood as the palm region of the object with biological characteristics, which can include palmprints. Palmprint can be understood as the lines of the palm region. The palmprint image can be an image containing the palmprint. The palmprint image refers to an image containing the palmprint, which can be used to extract palmprint features for identity verification or virtual resource association and other operations.

[0060] The way of collecting the palmprint image of the palm of the object in response to detecting the palm of the object can be various, and can be as follows:

[0061] For example, in response to detecting the palm of the object, a current palmprint image stream of the palm of the object in at least one modality is collected, the palmprint image stream includes at least one frame of current palmprint image frame, the quality of the current palmprint image frame is detected to obtain a quality detection result, and the palmprint of the object is detected based on the current palmprint image frame. When there is at least one frame of current palmprint image frame whose quality detection result is detected to pass and the palmprint of the object is live, a color image of the palmprint of the object is collected to obtain a current palmprint image.

[0062] The palmprint image stream refers to an image sequence composed of at least one frame of palmprint image frame. The corresponding modality includes color image (such as RGB image), depth image, infrared image, etc. The palmprint image frame refers to each frame of image constituting the palmprint image stream, which can be processed for quality detection, live detection, etc. The quality detection result refers to the result obtained after quality detection of the palmprint image frame, which is used to judge whether the palmprint image frame meets a certain quality standard.

[0063] The modality corresponding to the current palmprint image stream is various, such as color image (such as RGB image), depth image, infrared image, etc.

[0064] The quality detection of the current palmprint image frame can be performed in various manners. For example, the current palmprint image frame can be preprocessed to obtain a preprocessed palmprint image frame, the preprocessed palmprint image frame can be detected to obtain a palmprint region detection result, and the preprocessed palmprint image frame can be detected in at least one dimension to obtain an image quality detection result. The palmprint region detection result and the image quality detection result can be used as the quality detection result.

[0065] The current palmprint image frame can be preprocessed in various manners. For example, a color image frame can be selected from the current palmprint image, and at least one of color space conversion, binarization, filtering, or edge detection can be performed on the color image frame to obtain a preprocessed palmprint image frame. It should be noted that preprocessing the current palmprint image frame can help reduce noise and background interference of the palmprint image frame, thereby highlighting the features of the palm.

[0066] After the current palmprint image frame is preprocessed, the preprocessed palmprint image frame can be detected to obtain a palm region detection result. The preprocessed palmprint image frame can be detected in various manners. For example, the preprocessed palmprint image frame can be detected for skin to locate a palm region, the palm region can be detected for contour to obtain a contour detection result, and the palm region can be detected for integrity to obtain an integrity detection result. The contour detection result and the integrity detection result can be used as the palm region detection result.

[0067] The preprocessed palmprint image frame can be detected for skin in various manners. For example, the preprocessed palmprint image frame can be converted to a preset color space, and each pixel in the converted palmprint image frame can be identified for a color value. The color value can be compared with a preset color threshold, and at least one pixel with a color value greater than the preset color threshold can be selected from the preprocessed palmprint image frame to locate the palm region.

[0068] The preset color space is a color space preset for color space conversion. The type of the color space can be various. For example, the color space can include HSV (a color space including hue, saturation, and brightness), YCrCb (a color space including brightness, a difference between a blue component and a green component, a difference between a red component and a green component, etc.), or other color spaces.

[0069] After the skin detection on the pre-processed palmprint image frame to locate the palm region, the palm region can be subjected to contour detection to obtain a contour detection result. The contour detection on the palm region can be performed in various ways. For example, the palm contour in the palm region of the pre-processed palmprint image frame can be detected, and palm contour information of the palm contour in the pre-processed palmprint image frame can be extracted. Based on the palm contour information, the palm contour can be detected in at least one dimension to obtain the contour detection result.

[0070] The palm contour in the palm region of the pre-processed palmprint image frame can be detected in various ways. For example, an edge detection algorithm can be used to detect the palm contour in the palm region of the pre-processed palmprint image frame. The edge detection algorithm can be of various types, such as a Canny algorithm (an edge detection algorithm), a Sobel algorithm (an edge detection algorithm), or other edge detection algorithms.

[0071] The palm contour information includes various attribute information of the palm contour region, such as the shape, area, and perimeter of the palm contour. These information are used for multi-dimensional detection of the palm contour, judgment of the presence of the palm object and its integrity, and are important basis for palmprint image analysis and virtual resource verification processes. Based on the palm contour information, the palm contour can be detected in at least one dimension in various ways. For example, based on the palm contour information, the presence of the palm object in the pre-processed palmprint image frame can be detected, or based on the palm contour information, the integrity of the palm object in the pre-processed palmprint image frame can be detected to obtain the contour detection result.

[0072] The integrity of the palm object in the pre-processed palmprint image frame can be detected in various ways. For example, based on the palm contour information, the continuity of the palm contour can be analyzed to obtain the contour detection result. For example, the area and perimeter of the palm contour can be extracted from the palm contour information, and the ratio of the area to the perimeter of the palm contour can be calculated to obtain the circularity of the palm contour. Based on the circularity, the contour detection result of the palm contour can be determined.

[0073] After the skin detection on the pre-processed palmprint image frame to locate the palm region, integrity detection can be performed on the palm region to obtain an integrity detection result. The integrity detection on the palm region can be performed in various ways. For example, a convex hull and a concave point of the palm region can be identified in the pre-processed palmprint image frame, so as to identify finger key points in the palm region. Based on the finger key points, the number of fingers in the palm region and an integrity value can be calculated. The palm center region can be identified in the palm region based on the convex hull and the concave point. Based on the number of fingers, the integrity value and the palm center region, the integrity detection result of the palm region can be determined.

[0074] After the contour detection and the integrity detection on the palm region, the contour detection result and the integrity detection result can be taken as the palm region detection result.

[0075] After the image preprocessing on the current palmprint frame, at least one dimension of image quality detection can be performed on the pre-processed palmprint image frame to obtain a quality detection result. The at least one dimension of image quality detection on the pre-processed palmprint image frame can be performed in various ways. For example, at least one dimension of image quality parameters can be extracted from the pre-processed palmprint image frame, and the image quality parameters can be compared with image quality parameter thresholds to obtain the image quality detection result.

[0076] The types of the image quality parameters can be various, such as parameters indicating the global quality of the image, parameters indicating the blur degree of the image, parameters indicating the richness of feature information or the exposure, and the like.

[0077] After the at least one dimension of image quality detection on the pre-processed palmprint image frame, the image quality detection result and the palm region detection result can be taken as the quality detection result of the current palmprint image frame.

[0078] In addition to the quality detection on the current palmprint image frame, live body detection can be performed on the object palmprint based on the current palmprint image frame to obtain a live body detection result of the object palmprint. The live body detection on the object palmprint can be performed in various ways. For example, a current palmprint infrared image frame can be screened out from the current palmprint image frame in the infrared modality to obtain a current palmprint infrared image frame. Palm veins can be identified in the current palmprint infrared image frame, and vein image information of the palm veins can be extracted from the current palmprint infrared image frame. Based on the vein image information, the live body detection can be performed on the object palmprint.

[0079] The vein image information can include morphology information of the palm vein and can also include area distribution information of the palm vein, the area distribution information indicating an area distribution richness degree of the palm vein. Based on the vein image information, there can be multiple ways to perform the live body detection on the palmprint of the object, such as comparing the morphology information of the palm vein with preset morphology information to obtain a morphology comparison result, comparing the area distribution information with preset area distribution information to obtain an area distribution comparison result, and determining a live body detection result of the palmprint of the object based on the morphology comparison result and the area distribution comparison result.

[0080] After the quality detection on the current palmprint image frame and the live body detection on the palmprint of the object, when there is at least one current palmprint image frame whose quality detection result is passed, and the palmprint of the object is a live body, a color image of the palmprint of the object is collected to obtain a current palmprint image.

[0081] The color image can be understood as an image with color, and the color image can be a palmprint image in a preset color space.

[0082] It should be noted that the number of the collected current palmprint images can be one or multiple.

[0083] Optionally, in some embodiments, after the palmprint image of the palm of the object is collected in response to the detection, the virtual resource to be verified associated with the current palmprint feature of the current palmprint image can be queried or detected, such as extracting the current palmprint feature from the current palmprint image, searching for a reference palmprint feature matching the current palmprint feature in a preset palmprint feature set, when there is a reference palmprint feature, screening a virtual resource associated with the reference palmprint feature from a virtual resource set corresponding to the preset palmprint feature set to obtain a current virtual resource associated with the current palmprint feature of the current palmprint image, and taking the current virtual resource as the virtual resource to be verified associated with the current palmprint feature of the current palmprint image.

[0084] The reference palmprint feature is a palmprint feature of a reference palmprint image collected by a resource-associated object when obtaining a virtual resource, and can be associated with the virtual resource. The preset palmprint feature set is a set containing at least one reference palmprint feature, and can be stored locally on a verification terminal and used to search for a reference palmprint feature matching the current palmprint feature.

[0085] The virtual resource can indicate a business right under a business, and the business right can also be understood as a business permission. The type of the virtual resource can be various, such as a consumption coupon, a discount coupon, a pick-up coupon, a coupon, or an electronic ticket, and the like. The preset palmprint feature set includes at least one reference palmprint feature, which can be understood as a palmprint feature of a reference palmprint image collected when the resource-associated object acquires the virtual resource. The reference palmprint feature can be associated with the virtual resource. The preset palmprint feature set can be stored locally in the verification terminal. The way of searching for the reference palmprint feature matching the current palmprint feature in the preset palmprint feature set can be various, such as calculating the similarity or feature distance between each reference palmprint feature and the current palmprint feature in the preset palmprint feature set, and when the similarity is greater than a preset similarity threshold, or the feature distance is less than a preset feature distance, it is determined that the reference palmprint feature matches the current palmprint feature, that is, there is a reference palmprint feature matching the current palmprint feature. It should be noted that the current palmprint feature matches the reference palmprint feature can be understood as the current palmprint feature and the reference palmprint feature are palmprint features of the same object palmprint.

[0086] When the reference palmprint feature exists, the virtual resource associated with the reference palmprint feature can be screened out in the virtual resource set corresponding to the preset palmprint feature set, so as to obtain the current virtual resource associated with the current palmprint feature. Then, the current virtual resource is taken as the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image.

[0087] It should be noted that the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image can be substantially regarded as the current virtual resource associated with the current palmprint feature of the current palmprint image.

[0088] Optionally, in some embodiments, when the reference palmprint feature does not exist, the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image can also be searched by the verification server, such as when the reference palmprint feature does not exist, the current palmprint feature or the current palmprint image is sent to the verification server, and when the current resource identifier of the virtual resource associated with the current palmprint feature returned by the verification server is received, the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image is determined based on the current resource identifier. The current resource identifier (Current Resource Identifier) refers to the identifier of the virtual resource associated with the current palmprint feature returned by the verification server, which can be used to determine the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image.

[0089] The verification server can be understood as at least one server for performing virtual resource verification in the background. When there is no reference palmprint feature matching the current palmprint feature in the preset palmprint feature set, it means that the verification terminal does not have a reference palmprint feature matching the current palmprint feature locally. At this time, the current palmprint feature or the current palmprint image needs to be sent to the verification server, so that the verification server searches for a reference palmprint feature matching the current palmprint feature of the current palmprint image in the background palmprint feature set. When the verification server searches for the reference palmprint feature, the preset resource identifier of at least one virtual resource corresponding to the reference palmprint feature can be obtained, and the preset resource identifier is returned to the verification terminal as the current resource identifier of the virtual resource associated with the current palmprint feature. Based on the current resource identifier, the verification terminal can determine the virtual resource to be verified associated with the current palmprint feature of the current palmprint image. There are various ways to determine the current virtual resource associated with the current palmprint image based on the current resource identifier, such as filtering the virtual resource corresponding to the current resource identifier in the preset virtual resource set to obtain the virtual resource to be verified associated with the current palmprint feature of the current palmprint image, or determining the virtual resource download address based on the current virtual resource identifier, and downloading the virtual resource corresponding to the current virtual resource identifier according to the virtual resource download address to obtain the virtual resource to be verified corresponding to the current palmprint feature of the current palmprint image, and the like.

[0090] 102. In response to querying the virtual resource to be verified associated with the current palmprint feature of the current palmprint image from the virtual resource to be verified library, verifying the virtual resource to be verified, in the virtual resource to be verified library, the virtual resource to be verified is associated with the reference palmprint feature collected from the reference palmprint image of the resource association object, and the virtual resource to be verified is used to authorize the business rights and interests indicated by the virtual resource to be verified after successful verification.

[0091] In the virtual resource to be verified library, the virtual resource to be verified is associated with the reference palmprint feature of the object palm, and the reference palmprint image is collected from the resource user obtaining the virtual resource to be verified. The virtual resource to be verified can indicate the business rights and interests under the target business. The type of the virtual resource to be verified can be various, such as consumption coupons, discount coupons, pickup coupons, coupons or electronic tickets, etc.

[0092] In response to querying the virtual resource to be verified associated with the current palmprint feature of the current palmprint image from the virtual resource to be verified library, the virtual resource to be verified can be verified in various ways, which can be as follows:

[0093] For example, when the virtual resource to be verified includes one virtual resource item to be verified, a first quantity of palmprint features associated with the virtual resource item to be verified is obtained, and a verification manner is determined based on the first quantity, and the virtual resource item to be verified is verified according to the verification manner; when the virtual resource to be verified includes a plurality of virtual resource items to be verified, a virtual resource selection page is displayed, and the virtual resource to be verified is verified through the virtual resource selection page.

[0094] The virtual resource selection page is a page displayed when the virtual resource to be verified includes a plurality of virtual resource items to be verified, and the page includes a list of virtual resources to be verified and can be used to select a virtual resource item to be verified for verification.

[0095] When the virtual resource to be verified includes one virtual resource item to be verified, it can be indicated that the current palmprint image is associated with one virtual resource, but one virtual resource can be associated with a plurality of palmprint features (images), and therefore the first quantity of palmprint features associated with the virtual resource item to be verified can be understood as the quantity of palmprint features associated with the virtual resource, and the first quantity can include the quantity of the current palmprint feature and other palmprint features. The first quantity of palmprint features associated with the virtual resource item to be verified can be obtained in various ways, for example, resource association attribute information of the virtual resource item to be verified can be obtained, and the quantity of palmprint features associated with the virtual resource item to be verified is counted in the resource association attribute information to obtain the first quantity.

[0096] After obtaining the first quantity of palmprint features associated with the virtual resource item to be verified, the verification manner can be determined based on the first quantity, and the virtual resource item to be verified is verified according to the verification manner. The virtual resource item to be verified can be verified in various ways, for example, when the first quantity is one, the virtual resource item to be verified is verified as a whole, when the first quantity is a plurality, the number of verifiable times of the virtual resource item to be verified is determined, and the virtual resource item to be verified is verified once based on the number of verifiable times.

[0097] The whole verification can be understood as a whole verification of the virtual resource. After the verification, the resource cannot be used continuously. When the first number is one, it indicates that the virtual resource to be verified is only associated with the current palmprint feature (image). At this time, the verification condition of the virtual resource to be verified can be obtained, and the virtual resource to be verified is directly verified based on the verification condition. After the verification is completed, the virtual resource to be verified cannot be used continuously. Taking the virtual resource to be verified as a consumption coupon as an example, the verification of the virtual resource to be verified can be understood as verifying the business rights or permissions corresponding to the consumption coupon. For example, the business rights of the consumption coupon are 21 yuan for 20 yuan. At this time, 20 yuan can be deducted from the consumption amount when the consumption amount exceeds 21 yuan, thereby realizing the verification of the consumption coupon. For another example, taking the virtual resource to be verified as a gift coupon, the verification of the gift coupon can be understood as transferring the goods corresponding to the gift coupon to the resource association object corresponding to the current palmprint image. For another example, taking the virtual resource to be verified as an electronic ticket for a concert as an example, the verification of the electronic ticket can be understood as generating a paper ticket corresponding to the electronic ticket, or the ticket passage (access control) corresponding to the electronic ticket can also be opened, so that the object with the electronic ticket can enter the concert.

[0098] The single verification can be understood as a single verification of the virtual resource to be verified. After the verification is completed, the virtual resource to be verified can still be used continuously. Taking the virtual resource to be verified as a consumption coupon as an example, it can be understood that the consumption coupon can be consumed multiple times or by multiple people. A single verification of the consumption coupon can be referred to as single verification. It should be noted that the biggest difference between single verification and whole verification is that after single verification, the virtual resource to be verified can still be used continuously, while after whole verification, the virtual resource to be verified cannot be used continuously. The number of verifiable times can be understood as the number of times that the virtual resource to be verified can be verified, or the number of times or the number of people that the virtual resource to be verified can be used. When the first number is multiple, it indicates that the virtual resource to be verified can be used multiple times. Here, the multiple times of use can be understood as multiple times of use by one person, or multiple times of use by multiple people (one person at a time or one person multiple times). There can be multiple ways to determine the number of verifiable times of the virtual resource to be verified, such as taking the first number as the number of verifiable times, or obtaining resource association information of the virtual resource to be verified, identifying verification information corresponding to each associated palmprint feature in the resource association information, counting the initial number of verifiable times corresponding to each associated palmprint feature in the verification information, and determining the number of verifiable times of the virtual resource based on the initial number of verifiable times and the first number. For example, taking the initial number of verifiable times as 2 and the first number as 3 as an example, the number of verifiable times can be 6.

[0099] After determining the number of checkable times of the virtual resource item to be checked, the virtual resource item to be checked can be checked once based on the number of checkable times. The way of checking the virtual resource item to be checked once can be various, such as checking the virtual resource item to be checked, and updating the number of checkable times after the checking is completed.

[0100] The way of checking the virtual resource item to be checked can be similar to the way of checking the virtual resource item to be checked as a whole, which is described above and will not be repeated here.

[0101] When the virtual resource to be checked includes a plurality of virtual resource items to be checked, it means that the current palmprint feature (image) is associated with a plurality of virtual resources. At this time, the virtual resource selection page can be displayed. The virtual resource selection page can include a list of virtual resource items to be checked.

[0102] After displaying the virtual resource selection page, the virtual resource to be checked can be checked through the virtual resource selection page. The way of checking the virtual resource to be checked through the virtual resource selection page can be various, such as determining a selected virtual resource item to be checked in the list of virtual resource items to be checked in response to a selection operation on the list of virtual resource items to be checked, obtaining a second number of palmprint features associated with the selected virtual resource item to be checked, and checking the selected virtual resource item to be checked based on the second number.

[0103] The selected virtual resource item to be checked refers to the virtual resource item to be checked determined by the selection operation on the list of virtual resource items to be checked in the virtual resource selection page.

[0104] Wherein, in response to, to indicate the condition or state on which the operation is dependent, when the dependent condition or state is met, the executed operation or multiple operations can be real-time or have a set delay; without special instructions, there is no limitation on the execution order of multiple operations.

[0105] The way of obtaining the second number of palmprint features associated with the selected virtual resource item to be checked can be similar to the way of obtaining the first number of palmprint features associated with the virtual resource item to be checked, which is described above and will not be repeated here.

[0106] After obtaining the second number of palmprint features associated with the selected virtual resource item to be checked, the selected virtual resource item to be checked can be checked based on the second number. The way of checking the selected virtual resource item to be checked can be similar to the way of checking the virtual resource item to be checked, which is described above and will not be repeated here.

[0107] Optionally, in some embodiments, after verifying the to-be-verified virtual resource, the use state of the to-be-verified virtual resource can also be updated, for example, the use state of the to-be-verified virtual resource in the virtual resource set can be updated to obtain an updated use state of the to-be-verified virtual resource, based on the updated use state, a virtual resource associated with the current palmprint feature is queried in the virtual resource set, and when there is no virtual resource associated with the current palmprint feature, a reference palmprint feature matching the current palmprint feature is deleted from the preset palmprint feature set corresponding to the virtual resource set.

[0108] The updated use state refers to the use state of the to-be-verified virtual resource obtained by updating in the virtual resource set after verifying the to-be-verified virtual resource.

[0109] The way of updating the use state of the to-be-verified virtual resource in the virtual resource set can be various, for example, for the to-be-verified virtual resource of the whole verification, the use state of the to-be-verified virtual resource can be updated to verified, and for the to-be-verified virtual resource of single verification, the number of verifiable times of the to-be-verified virtual resource can be updated, thereby obtaining the updated use state of the to-be-verified virtual resource.

[0110] After updating the use state of the to-be-verified virtual resource in the virtual resource set, a virtual resource associated with the current palmprint feature can be queried in the virtual resource set based on the updated use state. The way of querying the virtual resource associated with the current palmprint feature in the virtual resource set can be various, for example, based on the updated use state, at least one virtual resource that has been verified can be deleted from the virtual resource set to obtain an updated virtual resource set, and the virtual resource associated with the current palmprint feature is queried in the updated virtual resource set.

[0111] After querying the virtual resource associated with the current palmprint feature in the virtual resource set based on the updated use state, when there is no virtual resource associated with the current palmprint feature, a reference palmprint feature matching the current palmprint feature can be deleted from the preset palmprint feature set corresponding to the virtual resource set. Taking the to-be-verified virtual resource as a consumption coupon for example, at this time, it can be understood that the palm of the user has no available associated consumption coupon, and the palm can be deregistered from the palm bank corresponding to the consumption coupon bank.

[0112] In the present scheme, the verification can be performed according to the number of virtual resources to be verified and the number of current palm features (images) associated with the virtual resources to be verified. Taking the consumption coupon as an example, from the perspective of the consumption coupon, it can be divided into single consumption coupon (i.e. the virtual resource to be verified includes one virtual resource item to be verified) and multiple consumption coupons (i.e. the virtual resource to be verified includes multiple virtual resource items to be verified), and from the perspective of the palm (palm feature / image), it can also be divided into single palm (i.e. the number of associated palm features / images is one) and multiple palms (i.e. the number of associated palm features / images is multiple). The multiple verification methods can be as shown in FIG. 4. For single palm corresponding to single consumption coupon, after brushing the palm (collecting the current palmprint image), it can be directly verified. For single palm corresponding to multiple consumption coupons, after brushing the palm (collecting the current palmprint image), the user / business can select a specific consumption coupon for verification. For multiple palms corresponding to single consumption coupon (i.e. one consumption coupon allows multiple people to use), after brushing the palm (collecting the current palmprint image), it can be directly verified (single verification), and then the remaining state of the consumption coupon is updated, i.e. the remaining number of consumption times or people. For multiple palms corresponding to multiple consumption coupons, it can be regarded as multiple multiple palms corresponding to single consumption coupon.

[0113] Taking the consumption coupon as an example, the verification process can refer to FIG. 5. The user brushes the palm through the verification terminal, the terminal collects the color and infrared images of the palm, detects the quality of the images, and performs living body detection based on the infrared image. Then, according to the current palm feature of the palm color image (i.e. the current palmprint image), the consumption coupon associated therewith is retrieved from the consumption coupon library, and the verification is completed according to the consumption coupon usage rules. The consumption coupon verification can be completed independently by the verification terminal, or can be realized by the verification terminal and the verification server in cooperation. In the cooperative verification, the verification terminal collects the current palmprint image and sends it or the current palm feature of the image to the verification server, and the server performs palm brushing recognition and consumption coupon verification. The verification terminal receives the verification result returned by the server, and completes the verification of the consumption coupon according to the verification result. The specific process is shown in FIG. 6. Since the consumption coupon verification needs to collect color and infrared images, the verification terminal is usually equipped with image collection components of these two modalities, and can also include other modal components, such as various cameras, cameras, etc. At the same time, the verification terminal can also be provided with display components, such as various display screens, touch screens, etc. (the display component is an optional configuration, and the verification terminal can decide whether to be equipped according to the needs), and its structure can refer to FIG. 7. In addition, the verification terminal needs to have the performance of running the preferred algorithm (for palmprint image stream optimization and detection), graphics rendering, database storage, and satisfying the running of the identification logic, and also needs to have the network connection ability, and build the background identification service (for background verification of the current palmprint image / feature).

[0114] This solution verifies virtual resources via palmprint verification. The resource-associated object scans its palm (collecting a palmprint image) at the verification terminal to verify the virtual resource it is linked to. Taking consumer vouchers as an example, current methods of verifying vouchers using other biometric information (such as fingerprints, facial recognition, or other biometric data) are insufficient to prevent hoarding or fraudulent transactions at low cost. This often leads to gray-market activities such as creating numerous fake accounts to place orders for vouchers or engage in fraudulent transactions, disrupting the consumer market. This solution, however, uses palmprint verification. Because palmprints are unique and forgery is costly, this effectively prevents voucher hoarding and fraudulent transactions, significantly improving the security of virtual resource verification. Furthermore, in scenarios requiring strong identity verification (such as free offers, hotel check-ins, or other scenarios), the current virtual resource verification process requires identity verification from multiple dimensions and strong cooperation from the resource-associated object, making virtual resource verification inconvenient. This solution, however, by binding a palm print, allows for rapid identity verification by simply swiping the palm at the verification terminal, simultaneously completing the virtual resource verification without requiring strong cooperation from the resource-associated object. During the verification process, the resource-associated object does not need to perform any other operations on the verification terminal (such as clicking verification controls or other actions that trigger verification), thus significantly improving the efficiency of virtual resource verification. Therefore, verifying virtual resources via palm print can improve both the security and efficiency of virtual resource verification.

[0115] As can be seen from the above, in response to detecting the palm of an object, this embodiment of the application acquires a palmprint image of the object's palm to obtain a current palmprint image. Then, in response to querying the virtual resource database to be verified and finding a virtual resource associated with the current palmprint feature of the current palmprint image, the virtual resource to be verified is verified. In the virtual resource database, the virtual resource to be verified is associated with a reference palmprint feature of the object's palm. This reference palmprint image is acquired from the resource user who obtained the virtual resource to be verified. This virtual resource to be verified is used to authorize the business rights indicated by the virtual resource to be verified after successful verification. Since this scheme can associate a reference palmprint image (palmprint feature) with a virtual resource, and since palmprints are unique and have high forgery costs, verifying virtual resources through palmprints improves the security of virtual resource verification. Furthermore, in strong identity verification scenarios, identity can be quickly verified by acquiring a palmprint image to verify virtual resources, thereby achieving convenient verification of virtual resources. Therefore, it can improve the security and efficiency of virtual resource verification.

[0116] Based on the method described in the above embodiments, the following examples will provide further detailed explanations.

[0117] The embodiment will be described from the perspective of a second virtual resource verification device, which can be integrated in a second electronic device, which can be a terminal device such as an object terminal; wherein the terminal can include a tablet computer, a notebook computer, a personal computer (PC), a wearable device, a virtual reality device, or other smart devices that can perform virtual resource verification.

[0118] A virtual resource verification method comprises:

[0119] In response to detecting that the resource-associated object obtains the virtual resource, a palmprint collection page is displayed, a palmprint image of the resource-associated object is collected through the palmprint collection page to obtain a reference palmprint image of the resource-associated object, reference palmprint features of the reference palmprint image are associated with the virtual resource to be verified, and the reference palmprint features associated with the virtual resource to be verified indicate that the verification terminal verifies the virtual resource to be verified associated with the current palmprint features of the current palmprint image when the current palmprint image is collected, wherein the virtual resource includes the virtual resource to be verified.

[0120] As shown in FIG. 8, a virtual resource verification method comprises the following specific process:

[0121] 201. In response to detecting that the resource-associated object obtains the virtual resource, a palmprint collection page is displayed.

[0122] The resource-associated object can be understood as an object that obtains the virtual resource, or can also be understood as an object that has the business rights and interests corresponding to the virtual resource.

[0123] The palmprint collection page is a page for collecting the palmprint of the resource-associated object, which can include a palmprint collection control, collection prompt information, and an agree-to-collect control.

[0124] The way of displaying the palmprint collection page in response to detecting that the resource-associated object obtains the virtual resource can be various, and can be as follows:

[0125] For example, in response to detecting that the resource-associated object obtains the virtual resource, a virtual resource verification configuration page is displayed, the virtual resource verification page includes a palmprint configuration control, and in response to a trigger operation on the palmprint verification control, the palmprint collection page is displayed.

[0126] The virtual resource verification configuration page can be understood as a page for verifying and configuring a virtual resource. The virtual resource verification configuration page can include a palmprint configuration control, and can also include configuration controls corresponding to other verification manners, such as fingerprint verification, face image verification, or verification identification verification (for example, a one-dimensional code, a two-dimensional code, a verification code, or other identification), and the like. The palmprint configuration control is a control in the virtual resource verification configuration page for triggering the display of a palmprint collection page. Taking the virtual resource verification configuration page including the palmprint configuration control as an example, the process of triggering the palmprint verification configuration page to display the palmprint collection page can be as shown in FIG. 9. It should be noted that the palmprint collection page can also include collection prompt information and an agreement collection control, and the like.

[0127] Optionally, in some embodiments, before detecting that the resource-associated object obtains the virtual resource to realize the palmprint collection page, it can also be detected whether the resource-associated object obtains the virtual resource, for example, a virtual resource interaction page can be displayed, the virtual resource interaction page includes an interaction control for the virtual resource, in response to a trigger operation of the interaction control, interaction information of the resource-associated object for the virtual resource is sent to an interaction server, and interaction result information returned by the interaction server is received, when the interaction result information indicates that the resource-associated object obtains the virtual resource, the palmprint collection page is displayed.

[0128] The virtual resource interaction page can be understood as a page in which the resource-associated object obtains the virtual resource. Taking the virtual resource as an example of an XX concert ticket, the virtual resource interaction page can be an XX concert ticket selling (purchasing) page, and the interaction control can be understood as a purchase (payment) control. The resource-associated object triggers the purchase (payment) control to purchase the XX concert ticket. After determining that the resource-associated object successfully purchases the XX concert ticket, the palmprint collection page can be displayed, and the entire process can be as shown in FIG. 10.

[0129] Optionally, in some embodiments, in response to detecting that the resource-associated object obtains the virtual resource, before displaying the palmprint collection page, a palmprint entry request sent by the interaction server or the verification server can also be received, the palmprint entry request carries an object identifier of the resource-associated object and a resource identifier of the virtual resource obtained by the resource-associated object, based on the object identifier and the virtual resource identifier, it is determined that the resource-associated object obtains the virtual resource, thereby triggering the display of the palmprint collection page.

[0130] 202. Collect a palmprint image of the resource-associated object through the palmprint collection page to obtain a reference palmprint image of the resource-associated object.

[0131] The palmprint collection page includes a palmprint collection control. There can be various ways to collect a palmprint image of the resource-associated object through the palmprint collection page, which can be as follows:

[0132] For example, in response to a triggering operation on the palmprint collection control, a palmprint image preview page can be displayed, the palmprint image preview page including a palmprint prompt area, a palmprint image stream of the resource-associated object is collected, and the palmprint image stream is displayed in the palmprint image preview page, the palmprint image stream including at least one palmprint image frame, the palmprint image frame and the resource-associated object are detected to obtain a target detection result, when the target detection result indicates that the palmprint image frame quality detection passes and the resource-associated object is a living body, collection prompt information is displayed in the palmprint image prompt area, and a color palmprint image of the resource-associated object is collected to obtain a reference palmprint image of the resource-associated object.

[0133] The palmprint image preview page can be understood as a page for previewing a palmprint image stream. The palmprint image preview page can include a palmprint prompt area, which is an area in the palmprint image preview page for prompting the presence of a palmprint. When the palmprint image frame quality detection passes and the resource-associated object is a living body, collection prompt information can be displayed in the palmprint prompt area. The collection prompt information is prompt information displayed in the palmprint prompt area when the palmprint image frame quality detection passes and the resource-associated object is a living body, and is used to prompt that the resource-associated object is being collected for a color palmprint image, etc.

[0134] The way of collecting the palmprint image stream of the resource-associated object can be similar to the way of collecting the current palmprint image stream of the object palmprint, which is described in detail above. It should be noted that the palmprint image stream can include one modality or multiple modalities. After the palmprint image stream of the resource-associated object is collected, the palmprint image stream can be displayed in the palmprint image preview page.

[0135] The palmprint image stream includes at least one palmprint image frame. The palmprint image frame and the resource-associated object can be detected in multiple ways, such as quality detection of the palmprint image frame to obtain a target quality detection result, multi-dimensional living body detection of the resource-associated object to obtain an initial living body detection result of each dimension, and fusion of the initial living body detection results to obtain a target living body detection result.

[0136] The initial living body detection result is a living body detection result obtained in each dimension when the resource-associated object is detected in multiple dimensions. The target living body detection result is a final detection result obtained by fusing the initial living body detection results of multiple dimensions, and is used to determine whether the resource-associated object is a living body.

[0137] The way of quality detection of the palmprint image frame can be similar to the way of quality detection of the current palmprint image frame, which is described in detail above, and will not be described again here.

[0138] The multi-dimensional living body detection on the resource-associated object can be performed in various manners. For example, palm texture information can be extracted from the palmprint image frame, and palmprint illumination information under different illuminations can be identified in the palmprint image frame. Time sequence information of the palmprint image frame can be obtained, and the palmprint image frame can be compared based on the time sequence information to obtain palm movement information. The palm of the resource-associated object can be detected in multiple dimensions based on the palm movement information, the palm texture information, and the palm illumination information to obtain an initial living body detection result of each dimension.

[0139] Specifically, according to the palm movement information, the motion trajectory and speed change of the palm within a period of time are analyzed, and compared with a preset living body motion mode to determine an initial living body detection result in the motion dimension. Based on the palm texture information, the complexity and definition of the palm texture are compared with the standard features of the living body palm texture to determine an initial living body detection result in the texture dimension. According to the palm illumination information, the reflection and shadow change law of the palm under different illumination conditions are analyzed, and matched with the illumination change features of the living body palm to determine an initial living body detection result in the illumination dimension.

[0140] The palm texture information can be understood as the texture information of the palm surface in the palmprint image frame. The palm illumination information can be understood as the reflection and shadow features of the palm of the resource-associated object under different illumination conditions.

[0141] The palm movement information can be understood as the information of the motion change of the palm of the resource-associated object. The palmprint image frame can be compared based on the time sequence information to obtain the palm movement information in various manners. For example, the palmprint image frame can be sorted based on the time sequence information, the palm movement features can be extracted from the palmprint image frame, and the palm movement features of adjacent palmprint image frames can be compared based on the sorting result to obtain the palm movement information.

[0142] After the palmprint image frame is compared, the palm of the resource-associated object can be detected in multiple dimensions based on the palm movement information, the palm texture information, and the palm illumination information obtained after the comparison to obtain an initial living body detection result of each dimension. The palm of the resource-associated object can be detected in multiple dimensions in various manners. For example, the initial living body detection result of the resource-associated object in the motion dimension can be determined based on the palm movement information, the initial living body detection result of the resource-associated object in the texture dimension can be determined according to the palm texture information, the initial living body detection result of the resource-associated object in the illumination dimension can be determined based on the palm illumination information, and the like.

[0143] Wherein, the manner of determining the initial live body detection result of the resource-associated object in the motion dimension based on the palm motion information can be various, such as, based on the palm motion information, analyzing the motion change of the palm in the continuous frame images, if the palm remains static or the motion is very regular in a period of time, it is likely to be a non-live body palm (such as a photo or a video), if the motion of the palm has natural continuity and irregularity, it is more likely to be a live body palm, thereby obtaining the initial live body detection result in the motion dimension.

[0144] Wherein, the manner of determining the initial live body detection result of the resource-associated object in the texture dimension according to the palm texture information can be various, such as, based on the palm texture information, analyzing the texture information of the palm surface, the texture of the live body palm is more complex and natural, while the non-live body palm (such as a photo or a video) can have simpler and distorted texture, thereby obtaining the initial live body detection result in the texture dimension.

[0145] Wherein, the manner of determining the initial live body detection result of the resource-associated object in the light dimension based on the palm light information can be various, such as, based on the palm light information, analyzing the reflection and shadow features of the palm under different light conditions, the reflection and shadow change of the live body palm under different light conditions is more natural, while the non-live body palm can not adapt to the light change, thereby obtaining the initial live body detection result in the light dimension.

[0146] After the multi-dimensional live body detection of the palm of the resource-associated object based on the palm motion information, the palm texture information and the palm light information, the initial live body detection result can be fused to obtain the target live body detection result. The manner of fusing the initial live body detection result can be various, such as, obtaining the live body weight corresponding to each dimension, and weighting the initial live body detection result based on the live body weight to obtain the target live body detection result.

[0147] Wherein, it should be noted that the process of multi-dimensional live body detection of the resource-associated object can include at least one of the motion dimension, the texture dimension and the light dimension.

[0148] After fusing the initial live body detection result, the fused target live body detection result and the target quality detection result can be used as the target detection result. The target quality detection result is the result obtained by quality detecting the palmprint image frame, which is used to judge whether the quality of the palmprint image frame meets the standard. The target detection result is the result obtained by comprehensively combining the target quality detection result of the palmprint image frame and the target live body detection result of the resource-associated object, which is used to judge whether the color palmprint image of the resource-associated object can be collected.

[0149] After detecting the palmprint image and the resource-associated object, when the target detection result indicates that the palmprint image frame quality detection passes and the resource-associated object is a live body, display the collection prompt information in the palmprint prompt area, and collect the color palmprint image of the resource-associated object to obtain the reference palmprint image of the resource-associated object.

[0150] The collection prompt information can be understood as prompt information indicating that the quality detection passes and the resource-associated object is a live body. The type of the prompt information can be various. For example, the display state of the palmprint prompt area can be changed. For example, the palmprint prompt area is the palm circle. At this time, the palm circle can be stopped from being drawn, and the outer circle of the palm circle can be changed to a green fluctuation state. The collection prompt information can also prompt that the color palmprint image of the resource-associated object is being collected.

[0151] The color palmprint image of the resource-associated object can be collected in various manners. For example, the color palmprint image of the resource-associated object can be collected by using an image collection component to obtain the reference palmprint image of the resource-associated object. It should be noted that the color palmprint image can be understood as a palmprint image with color, or a palmprint image with a color space.

[0152] Optionally, in some embodiments, after the color palmprint image of the resource-associated object is collected to obtain the reference palmprint image of the resource-associated object, the palmprint entry result page can also be displayed. For example, when it is detected that the collection of the reference palmprint image is completed, the palmprint entry result page is displayed. The palmprint entry result page includes palmprint prompt information. The palmprint prompt information includes the palm type of the reference palmprint image and the verification prompt information of the virtual resource.

[0153] The palmprint entry result page indicates the palmprint entry result of the resource-associated object, that is, the result of the collection of the reference palmprint image. The palmprint entry result page can include the palmprint prompt information. The palmprint prompt information can include the palm type of the reference palmprint image and the verification prompt information of the virtual resource. The palm type is used to indicate the type of the palm corresponding to the reference palmprint image. For example, the palm type can include the left hand palm, the right hand palm, the front palm, the back palm, or other palm types. The verification prompt information of the virtual resource can be understood as prompt information indicating the verification of the virtual resource. For example, the verification prompt information can include the verification location, the verification time, the verification device identifier, or the verification object, and the like. For example, the palm type is the right hand palm, and the verification prompt information includes the verification location. The palmprint entry result page can be as shown in FIG. 11. It should be noted that the palm swiping device can be the verification terminal.

[0154] 203、associate the reference palmprint feature of the reference palmprint image with the to-be-verified resource of the virtual resource, the to-be-verified resource associated with the reference palmprint feature instructs the verification terminal to verify the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image when the current palmprint image is collected.

[0155] The virtual resource can include a to-be-verified virtual resource. The association of the reference palmprint feature of the reference palmprint image with the to-be-verified resource of the virtual resource can be achieved in various ways, which can be as follows:

[0156] For example, the service right information of the virtual resource can be obtained, and the palmprint association quantity can be identified in the service right information. When the palmprint association quantity is one, the reference palmprint feature of the reference palmprint image is associated with the to-be-verified resource of the virtual resource. When the palmprint association quantity is more than one, the step of displaying the palmprint collection page is returned to execute until the reference palmprint image corresponding to the palmprint association quantity is collected. A reference palmprint image set is obtained, and the reference palmprint image set is associated with the virtual resource.

[0157] The service right information can be understood as the information of the service right of the virtual resource, which can include verification conditions, verification quantities or times, verification permissions, and the like. The palmprint association quantity can be understood as the quantity of palmprint images / features that can be associated with the virtual resource. When the palmprint association quantity is one, it can be understood that the virtual resource can only be associated with one palmprint image / feature. At this time, the reference palmprint feature of the reference palmprint image can be directly associated with the to-be-verified resource of the virtual resource. The association can be achieved in various ways, for example, the reference palmprint image can be sent to the verification server, so that the verification server associates the palmprint feature of the reference palmprint image with the virtual resource, and sends the palmprint feature and the virtual resource to the verification terminal, so that the verification terminal verifies the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image when the current palmprint image is collected.

[0158] Optionally, in some embodiments, the way of associating the reference palmprint feature of the reference palmprint image with the to-be-verified resource of the virtual resource can further include extracting the palmprint feature from the reference palmprint image, establishing a mapping relationship between the palmprint feature and the virtual resource, and sending the palmprint feature and the mapping relationship corresponding to the palmprint feature to the verification server, so that the verification server sends the palmprint feature and the corresponding mapping relationship to the verification terminal, so that the verification terminal verifies the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image when the current palmprint image is collected.

[0159] When the palmprint correlation quantity is multiple, it can be indicated that the virtual resource can be correlated with multiple palmprint images / features. At this time, the step of displaying the palmprint collection page can be returned to execute until the reference palmprint image corresponding to the palmprint correlation quantity is collected, and a reference palmprint image set is obtained. The reference palmprint image set is correlated with the virtual resource. The correlation of the reference palmprint image set with the virtual resource can be understood as the correlation or binding of each reference palmprint image in the reference palmprint image set with the resource identifier of the virtual resource. The correlation process can be referred to in the foregoing description, and will not be described here.

[0160] The correlation of the current palmprint image with the virtual resource can be regarded as the correlation or binding of the object identifier (user ID) of the resource correlation object, the current palmprint image (palmprint feature representing palmprint ID), and the resource identifier of the virtual resource. Taking the virtual resource as a consumption coupon as an example, the correlation of the current palmprint image with the virtual resource can be as shown in FIG. 12.

[0161] It should be noted that the palmprint feature (palmprint ID) exists independently in the palmprint library (preset palmprint feature set) corresponding to the virtual resource, can be isolated from the palmprint feature in other scenarios such as palm access, palm identity verification, palm payment, and the like, and thus the search efficiency and accuracy in the verification process are improved.

[0162] In the present scheme, taking the virtual resource as a consumption coupon as an example, the binding process of the consumption coupon and the palmprint can be as shown in FIG. 13. After the user purchases the consumption coupon on the e-commerce platform, the object terminal can start the camera preview to continuously collect images (palmprint image stream). The palmprint image frames in the palmprint image stream are subjected to image optimization (which can include palm detection, quality detection, and living body detection based on color images). When the optimization passes, the picture is fixed, so as to collect the reference palmprint image of the user, extract the palmprint feature of the reference palmprint image, bind the palmprint feature with the consumption coupon, record the palmprint feature of the reference palmprint image in the consumption palm library (preset palmprint feature set), and associate the consumption palm library with the consumption coupon.

[0163] Taking the virtual resource as an XX concert ticket type consumption coupon as an example, the page interaction process of the user from purchasing the ticket to recording the palmprint can be referred to in FIG. 14. After the order submission control is triggered on the XX concert purchase page, the palmprint collection page is displayed. The collection control is triggered on the page, and the palmprint image preview page is entered. When the palmprint image stream displayed on the palmprint image preview page passes the detection, the collection prompt information is displayed on the page, and then the reference palmprint image is collected. After the collection is completed, the palmprint recording result page is displayed, which includes the palm type of the reference palmprint image and the verification prompt information of the XX concert ticket.

[0164] In the scheme, the reference palmprint image (palmprint feature) of the resource association object is bound with the virtual resource. Since the palmprint (palm) is unique and the cost of imitation is high, the scheme can effectively resist the situation of hoarding virtual resources and brushing orders. In addition, in the strong identity verification scene, the identity can be quickly verified by binding the palm, and then the bound virtual resource is verified. In this process, the user only needs to cooperate with the operation easily and simply, and the efficiency is high. In addition, by binding the palm, the virtual resource can be directly verified without other redundant operations, greatly improving the convenience of virtual resource verification.

[0165] As can be seen from the above, in response to detecting that the resource association object obtains the virtual resource, the palmprint collection page is displayed, the palmprint image of the resource association object is collected through the palmprint collection page, the reference palmprint image of the resource association object is obtained, then the reference palmprint feature of the reference palmprint image is associated with the to-be-verified resource of the virtual resource, the to-be-verified resource associated with the reference palmprint feature indicates that the verification terminal verifies the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image when the current palmprint image is collected, and the virtual resource includes the to-be-verified virtual resource. Since the scheme can collect the reference palmprint image of the resource association object through the palmprint collection page when it is detected that the resource association object obtains the virtual resource, and associate the reference palmprint image with the virtual resource, the palmprint is bound with the virtual resource, the palmprint is unique and the cost of imitation is high, so that the verification of the virtual resource through the palmprint can improve the security of the virtual resource verification, in addition, in the strong identity verification scene, the identity can be quickly verified by collecting the palmprint image to verify the virtual resource, thereby realizing the convenient verification of the virtual resource, and therefore, the security and verification efficiency of the virtual resource verification can be improved.

[0166] According to the method described in the above embodiment, the following will be further described in detail by way of example.

[0167] In this embodiment, the first virtual resource verification device is specifically integrated in the terminal, the terminal is a verification terminal, the second virtual resource verification device is specifically integrated in the terminal, the terminal is a user terminal, and the virtual resource is a consumption coupon, which will be described by way of example.

[0168] As shown in FIG. 15, a virtual resource verification method, the specific process is as follows:

[0169] 301、When the object terminal detects that the resource association object obtains the consumption coupon, the palmprint collection page is displayed.

[0170] For example, the object terminal can display a consumption coupon interaction page, the consumption coupon interaction page including an interaction control for the consumption coupon, in response to a triggering operation on the interaction control, sending the interaction information of the resource-associated object for the consumption coupon to the interaction server, and receiving the interaction result information returned by the interaction server, when the interaction result information indicates that the resource-associated object obtains the consumption coupon, displaying a consumption coupon verification configuration page, the consumption coupon verification page including a palmprint configuration control, in response to a triggering operation on the palmprint verification control, displaying a palmprint collection page.

[0171] Optionally, in some embodiments, the object terminal can also receive a palmprint entry request sent by the interaction server or the verification server, the palmprint entry request carrying an object identifier of the resource-associated object and a resource identifier of the consumption coupon obtained by the resource-associated object, determining that the resource-associated object obtains the consumption coupon based on the object identifier and the consumption coupon identifier, thereby triggering the display of the palmprint collection page.

[0172] 302. The object terminal collects a palmprint image of the resource-associated object through the palmprint collection page to obtain a reference palmprint image of the resource-associated object.

[0173] For example, the object terminal can display a palmprint image preview page in response to a triggering operation on the palmprint collection control, the palmprint image preview page including a palmprint prompt area, collecting a palmprint image stream of the resource-associated object, and displaying the palmprint image stream in the palmprint image preview page, the palmprint image stream including at least one palmprint image frame, and the palmprint image frame can be subjected to quality detection to obtain a target quality detection result.

[0174] The object terminal can extract palm texture information from the palmprint image frame, identify palmprint illumination information under different illuminations in the palmprint image frame, obtain time sequence information of the palmprint image frame, and sort the palmprint image frame based on the time sequence information, extract palm movement features from the palmprint image frame, and compare the palm movement features of adjacent palmprint image frames based on the sorting result, thereby obtaining palm movement information.

[0175] The object terminal can determine an initial live body detection result of the resource-associated object in a motion dimension based on the palm movement information, determine an initial live body detection result of the resource-associated object in a texture dimension based on the palm texture information, determine an initial live body detection result of the resource-associated object in an illumination dimension based on the palm illumination information, and so on.

[0176] The object terminal obtains a live body weight corresponding to each dimension, and weights the initial live body detection result based on the live body weight to obtain a target live body detection result. The target live body detection result and the target quality detection result are taken as a target detection result.

[0177] When the target detection result indicates that the palmprint image frame quality detection passes and the resource-associated object is a living body, the object terminal displays collection prompt information in the palmprint prompt area and collects a color palmprint image of the resource-associated object to obtain a reference palmprint image of the resource-associated object.

[0178] Optionally, in some embodiments, when the object terminal detects that the reference palmprint image collection is completed, the object terminal can also display a palmprint entry result page, which includes palmprint prompt information including the palm type of the reference palmprint image and verification prompt information of the consumer coupon.

[0179] 303. The object terminal associates the reference palmprint image with the consumer coupon.

[0180] For example, the object terminal obtains the business benefit information of the consumer coupon, from which the palmprint association quantity is identified. If the palmprint association quantity is 1, the object terminal sends the reference palmprint image to the verification server, which associates the palmprint feature of the reference palmprint image with the consumer coupon and sends the palmprint feature and the consumer coupon to the verification terminal, so that the verification terminal verifies the target consumer coupon associated when a current palmprint image is collected.

[0181] If the palmprint association quantity is multiple, the object terminal returns to execute the step of displaying the palmprint collection page until the corresponding number of reference palmprint images are collected to form a reference palmprint image set, and then sends the set to the verification server. The verification server associates the palmprint features of the reference palmprint images in the set with the consumer coupon and sends the palmprint features and the consumer coupon to the verification terminal for subsequent verification.

[0182] In addition, in some embodiments, the object terminal can extract the palmprint feature from a single or multiple reference palmprint images, establish a mapping relationship therebetween and the consumer coupon, and then send the palmprint feature and the mapping relationship to the verification server. After receiving, the verification server forwards it to the verification terminal, so that the verification terminal verifies the target consumer coupon associated when a current palmprint image is collected. Specifically, the palmprint feature of the reference palmprint image can be encoded to generate a unique palmprint feature identifier, and the palmprint feature identifier is associated with the unique resource identifier of the consumer coupon to establish a mapping relationship therebetween.

[0183] 304. The verification terminal collects a palmprint image of the object palmprint in response to detecting the object palm to obtain a current palmprint image.

[0184] For example, the verification terminal collects a current palmprint image stream of the object palm in at least one modality in response to detecting the object palm, and the palmprint image stream includes at least one frame of current palmprint image frame.

[0185] The verification terminal can screen a color image frame from the current palmprint image, and pre-process the color image frame by at least one of color space conversion, binarization, filtering or edge detection, to obtain a pre-processed palmprint image frame.

[0186] The verification terminal can convert the pre-processed palmprint image frame into a preset color space, identify color values of each pixel in the converted palmprint image frame, compare the color values with a preset color threshold, and screen at least one pixel with a color value greater than the preset color threshold from the pre-processed palmprint image frame, to locate the palm region.

[0187] The verification terminal can detect a palm contour in the palm region of the pre-processed palmprint image frame by using an edge detection algorithm. The palm contour information of the palm contour is extracted from the pre-processed palmprint image.

[0188] The verification terminal can detect whether there is a palm object in the pre-processed palmprint image frame based on the palm contour information, to obtain a contour detection result, or analyze the continuity of the palm contour based on the palm contour information, to obtain the contour detection result.

[0189] The verification terminal can identify a convex hull and a concave point of the palm region in the pre-processed palmprint image frame, to identify finger key points in the palm region, calculate the number of fingers and a completeness value in the palm region based on the finger key points, identify a palm center region in the palm region by the convex hull and the concave point, and determine a completeness detection result of the palm region based on the number of fingers, the completeness value and the palm center region. The contour detection result and the completeness detection result are taken as a palm region detection result. The completeness value is a value for measuring the completeness of the palm region, which is obtained by calculating the relative position relationship and distance between the finger key points, and combining a preset completeness calculation rule.

[0190] The verification terminal can extract at least one image quality parameter from the pre-processed palmprint image frame, and compare the image quality parameter with an image quality parameter threshold, to obtain an image quality detection result. The image quality detection result and the palm region detection result are taken as a quality detection result of the current palmprint image frame.

[0191] The verification terminal can screen out a current palmprint image frame in infrared mode from the current palmprint image frame, obtain a current palmprint infrared image frame, identify a palm vein in the current palmprint infrared image frame, and extract vein image information of the palm vein in the current palmprint infrared image frame. The form information of the palm vein can be compared with preset form information to obtain a form comparison result. The area distribution information can be compared with preset area distribution information to obtain an area distribution comparison result. Based on the form comparison result and the area distribution comparison result, a living body detection result of the object palmprint is determined.

[0192] When the quality detection result of at least one current palmprint image frame is detection pass and the object palmprint is a living body, the verification terminal collects a color image of the object palmprint to obtain a current palmprint image.

[0193] In some embodiments, after the verification terminal collects the palmprint image of the object palm, the verification terminal can extract a current palmprint feature from the current palmprint image, calculate a similarity or a feature distance between each reference palmprint feature and the current palmprint feature in the preset palmprint feature set, determine that the reference palmprint feature matches the current palmprint feature when the similarity is greater than a preset similarity threshold or the feature distance is less than a preset feature distance, that is, there is a reference palmprint feature matching the current palmprint feature. The consumption coupon associated with the reference palmprint feature is screened out from the consumption coupon set corresponding to the preset palmprint feature set to obtain a current consumption coupon associated with the current palmprint feature. The current consumption coupon is taken as a target consumption coupon associated with the current palmprint image.

[0194] Optionally, in some embodiments, when there is no reference palmprint feature, the verification terminal sends the current palmprint feature or the current palmprint image to the verification server, screens out a consumption coupon corresponding to the current resource identifier from the preset consumption coupon set when the current resource identifier of the current palmprint feature associated with the consumption coupon returned by the verification server is received, to obtain a target consumption coupon associated with the current palmprint image, or the consumption coupon download address can also be determined based on the current consumption coupon identifier, and the consumption coupon corresponding to the current consumption coupon identifier is downloaded according to the consumption coupon download address to obtain the target consumption coupon associated with the current palmprint image, and the like.

[0195] 305、The verification terminal verifies the target consumption coupon when the target consumption coupon associated with the current palmprint image exists.

[0196] For example, when the target consumption coupon associated with the current palmprint image exists, the verification terminal can obtain the number of consumption coupons to be verified in the target consumption coupon, obtain the resource association attribute information of the consumption coupon to be verified when the target consumption coupon includes one consumption coupon to be verified, and count the number of palmprint features associated with the consumption coupon to be verified in the resource association attribute information to obtain a first number.

[0197] When the first quantity is one, the verification terminal performs overall verification on the to-be-verified consumption coupon, and after the verification is completed, the to-be-verified consumption coupon cannot be used any more.

[0198] When the first quantity is multiple, the verification terminal can take the first quantity as the number of verifiable times, or can also acquire resource association information of the target consumption coupon, identify, in the resource association information, verification information corresponding to each associated palmprint feature, count, in the verification information, an initial number of verifiable times corresponding to each associated palmprint feature, and determine the number of verifiable times of the to-be-consumed coupon based on the initial number of verifiable times and the first quantity.

[0199] The verification terminal can perform verification on the to-be-verified consumption coupon based on the number of verifiable times, and update the number of verifiable times after the verification is completed.

[0200] When the target consumption coupon includes multiple to-be-verified consumption coupons, the verification terminal displays a consumption coupon selection page, which can include a to-be-consumed coupon list. In response to a selection operation on the to-be-verified consumption coupon list, the verification terminal determines a target to-be-verified consumption coupon, acquires a second quantity of palmprint features associated with the target to-be-verified consumption coupon, and performs verification on the target to-be-verified consumption coupon based on the second quantity.

[0201] Optionally, in some embodiments, the verification terminal can also update the use state of the target consumption coupon in the consumption coupon set to obtain an updated use state of the target consumption coupon, query, based on the updated use state, a consumption coupon associated with a current palmprint feature in the consumption coupon set, and delete, when there is no consumption coupon associated with the current palmprint feature, a reference palmprint feature matching the current palmprint feature in a preset palmprint feature set corresponding to the consumption coupon set.

[0202] As can be seen from the above, the verification terminal according to the embodiments of the present application, in response to detecting an object palm, performs palmprint image acquisition on the object palm to obtain a current palmprint image, and when there is a target consumption coupon associated with the current palmprint image, performs verification on the target consumption coupon, the target consumption coupon and a current palmprint feature of the current palmprint image have an association relationship, the association relationship is established by acquiring a reference palmprint image of a resource association object when the resource association object acquires the target consumption coupon, and the target consumption coupon indicates a business right under a target business; since the reference palmprint image (palmprint feature) and the consumption coupon are associated, and the palmprint has uniqueness and high false cost, the security of the consumption coupon verification can be improved by verifying the virtual resource through the palmprint, in addition, in a strong identity verification scenario, the identity can be quickly verified by collecting the palmprint image to verify the virtual resource, so that the convenient verification of the consumption coupon is realized, and therefore, the security and verification efficiency of the consumption coupon verification can be improved.

[0203] To better implement the above method, the embodiment of the present application further provides a virtual resource verification device (i.e., a first virtual resource verification device), which can be integrated in a terminal, which can be a verification terminal, and the verification terminal can include a tablet computer, a notebook computer, and / or a personal computer, etc.

[0204] For example, as shown in FIG. 16, the first virtual resource verification device can include a first acquisition unit 401 and a verification unit 402, as follows:

[0205] (1) The first acquisition unit 401;

[0206] The first acquisition unit 401 is configured to, in response to detecting a palm of an object, acquire a palmprint image of the palm of the object to obtain a current palmprint image.

[0207] For example, the first acquisition unit 401 can be specifically configured to, in response to detecting a palm of an object, acquire a current palmprint image stream of the palm of the object under at least one modality, the palmprint image stream including at least one current palmprint image frame, perform quality detection on the current palmprint image frame to obtain a quality detection result, and perform living body detection on the palmprint of the object based on the current palmprint image frame, and when there is at least one current palmprint image frame whose quality detection result is a detection pass and the palmprint of the object is a living body, acquire a color image of the palmprint of the object to obtain the current palmprint image.

[0208] (2) The verification unit 402;

[0209] The verification unit 402 is configured to, in response to querying, from a virtual resource library to be verified, a virtual resource to be verified associated with current palmprint features of the current palmprint image, verify the virtual resource to be verified, and in the virtual resource library to be verified, the virtual resource to be verified is associated with reference palmprint features acquired from a reference palmprint image of a resource-associated object, and the virtual resource to be verified is used to authorize a service right and interest indicated by the virtual resource to be verified after verification is successful.

[0210] For example, the verification unit 402 can be specifically configured to, when there is a virtual resource to be verified associated with current palmprint features of a current palmprint image and the virtual resource to be verified includes one virtual resource item to be verified, acquire a first number of palmprint features associated with the virtual resource item to be verified, determine a verification mode based on the first number, and verify the virtual resource item to be verified according to the verification mode; and when there is a virtual resource to be verified associated with current palmprint features of a current palmprint image and the virtual resource to be verified includes multiple virtual resource items to be verified, display a virtual resource selection page and verify the virtual resource to be verified through the virtual resource selection page.

[0211] Optionally, in some embodiments, the first virtual resource verification apparatus can further include a retrieving unit 403, which can be as shown in FIG. 17 and specifically as follows:

[0212] The retrieving unit 403 is configured to retrieve, from the virtual resource set, a target virtual resource associated with the current palmprint image.

[0213] For example, the retrieving unit 403 can be specifically configured to extract a current palmprint feature from the current palmprint image, retrieve the current palmprint feature from the preset palmprint feature set, and when the preset palmprint feature set includes the current palmprint feature, filter out, from the virtual resource set corresponding to the preset palmprint feature set, a current virtual resource associated with the current palmprint feature, and take the current virtual resource as a to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image.

[0214] In specific implementation, the above units can be implemented as independent entities, or can be combined as the same or several entities, and the specific implementation of the above units can be referred to the method embodiments above, which will not be repeated here.

[0215] As can be seen from the above, in the embodiments of the present application, after the first acquisition unit 401 collects a palmprint image of an object palm in response to detecting the object palm, the verification unit 402 verifies a to-be-verified virtual resource in response to querying, from the to-be-verified virtual resource library, the to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image, the to-be-verified virtual resource is associated with a reference palmprint feature of the object palm in the to-be-verified virtual resource library, the reference palmprint image is collected from a resource user obtaining the to-be-verified virtual resource, and the to-be-verified virtual resource is used to authorize a business right and interest indicated by the to-be-verified virtual resource after verification succeeds; since the scheme can associate the reference palmprint image (palmprint feature) with the virtual resource, and since the palmprint has uniqueness and high cost of forgery, the palmprint-verified virtual resource can improve the security of virtual resource verification, in addition, in a strong identity verification scenario, the identity can be quickly verified by collecting the palmprint image to verify the virtual resource, thereby realizing convenient verification of the virtual resource, and thus the security and verification efficiency of the virtual resource verification can be improved.

[0216] In order to better implement the above method, the embodiments of the present application further provide a virtual resource verification apparatus (i.e., a second virtual resource verification apparatus), which can be integrated in a terminal, and the terminal can be an object terminal, which can include a tablet computer, a notebook computer, a personal computer, and / or the like.

[0217] For example, as shown in FIG. 18, the second virtual resource verification apparatus can include a display unit 501, a second acquisition unit 502, and an association unit 503, and specifically as follows:

[0218] (1) the display unit 501;

[0219] The display unit 501 is configured to display a palm print collection page in response to detecting that the resource-associated object obtains the virtual resource.

[0220] For example, the display unit 501 can specifically be configured to display a virtual resource verification configuration page in response to detecting that the resource-associated object obtains the virtual resource, the virtual resource verification page including a palm print configuration control. In response to a trigger operation on the palm print verification control, the palm print collection page is displayed.

[0221] (2) the second collection unit 502;

[0222] The second collection unit 502 is configured to collect a palm print image of the resource-associated object through the palm print collection page to obtain a reference palm print image of the resource-associated object.

[0223] For example, the second collection unit 502 can specifically be configured to display a palm print image preview page in response to a trigger operation on the palm print collection control. The palm print image preview page includes a palm print prompt area. A palm print image stream of the resource-associated object is collected, and the palm print image stream is displayed in the palm print image preview page. The palm print image stream includes at least one palm print image frame. The palm print image frame and the resource-associated object are detected to obtain a target detection result. When the target detection result indicates that the palm print image frame quality detection passes and the resource-associated object is a living body, collection prompt information is displayed in the palm print image prompt area, and a color palm print image of the resource-associated object is collected to obtain a reference palm print image of the resource-associated object.

[0224] (3) the association unit 503;

[0225] The association unit 503 is configured to associate a reference palm print feature of the reference palm print image with a to-be-verified resource of the virtual resource. The to-be-verified resource associated with the reference palm print feature indicates that the verification terminal verifies a to-be-verified virtual resource associated with a current palm print feature of a current palm print image when the current palm print image is collected. The virtual resource includes the to-be-verified virtual resource.

[0226] For example, the association unit 503 can specifically be configured to obtain service benefit information of the virtual resource, and identify a palm print association quantity in the service benefit information. When the palm print association quantity is one, the reference palm print feature of the reference palm print image is associated with the to-be-verified resource of the virtual resource. When the palm print association quantity is multiple, the step of displaying the palm print collection page is returned to execute until the palm print association quantity corresponding reference palm print images are collected. A reference palm print image set is obtained, and the reference palm print image set is associated with the virtual resource.

[0227] In practice, the various units can be implemented as independent entities, or combined as the same or several entities, and the specific implementation of the various units can refer to the foregoing method embodiments, which will not be described here again.

[0228] As can be seen from the above, in the embodiment of the application, the display unit 501 displays the palm print collection page in response to detecting that the resource-associated object obtains the virtual resource, the second collection unit 502 collects the palm print image of the resource-associated object through the palm print collection page to obtain the reference palm print image of the resource-associated object, and then the association unit 503 associates the reference palm print feature of the reference palm print image with the to-be-verified resource of the virtual resource. The to-be-verified resource associated with the reference palm print feature indicates that the verification terminal verifies the to-be-verified virtual resource associated with the current palm print feature of the current palm print image when the current palm print image is collected. The virtual resource includes the to-be-verified virtual resource. Since the scheme can collect the reference palm print image of the resource-associated object through the palm print collection page when it is detected that the resource-associated object obtains the virtual resource, and associate the reference palm print image with the virtual resource, the palm print is bound with the virtual resource. Since the palm print has uniqueness and high cost of falsification, the security of the virtual resource verification can be improved by verifying the virtual resource through the palm print. In addition, in a strong identity verification scenario, the identity can be quickly verified by collecting the palm print image to verify the virtual resource, thereby realizing convenient verification of the virtual resource. Therefore, the security and verification efficiency of the virtual resource verification can be improved.

[0229] The embodiment of the application further provides an electronic device. As shown in FIG. 19, it shows a structural schematic diagram of the electronic device related to the embodiment of the application. Specifically:

[0230] The electronic device can include a processor 601 with one or more processing cores, a memory 602 with one or more computer readable storage media, a power supply 603, and an input unit 604, and the like. Those skilled in the art can understand that the electronic device structure shown in FIG. 19 does not constitute a limitation on the electronic device, and can include more or fewer components than the diagram, or combine certain components, or different component arrangements. Among them:

[0231] The processor 601 is the control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 602 and calling data stored in the memory 602. Optionally, the processor 601 can include one or more processing cores; preferably, the processor 601 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 601.

[0232] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functions and data processing by running the software programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 602 can also include a memory controller to provide access for the processor 601 to the memory 602.

[0233] The electronic device also includes a power supply 603 for supplying power to various components, and preferably the power supply 603 can be logically connected to the processor 601 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 603 can also include one or more than one direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator, etc. Any component.

[0234] The electronic device can also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0235] Although not shown, the electronic device can also include a display unit, etc., which will not be described here. Specifically, in the present embodiment, the processor 601 in the electronic device will load the executable file corresponding to the process of one or more than one application program into the memory 602 according to the following instructions, and run the application program stored in the memory 602 by the processor 601, so as to realize various functions, as follows:

[0236] In response to detecting the palm of the object, palmprint image acquisition is performed on the palm of the object to obtain a current palmprint image, and in response to querying, from a to-be-verified virtual resource library, a to-be-verified virtual resource associated with current palmprint features of the current palmprint image, verification is performed on the to-be-verified virtual resource. In the to-be-verified virtual resource library, the to-be-verified virtual resource is associated with reference palmprint features acquired from reference palmprint image acquisition of a resource-associated object, and the to-be-verified virtual resource is used to authorize obtaining a service right and interest indicated by the to-be-verified virtual resource after successful verification.

[0237] Or

[0238] In response to detecting that the resource-associated object acquires a virtual resource, a palmprint acquisition page is displayed, a palmprint image of the resource-associated object is acquired through the palmprint acquisition page to obtain a reference palmprint image of the resource-associated object, reference palmprint features of the reference palmprint image are associated with to-be-verified resources of the virtual resource, the to-be-verified resources associated with the reference palmprint features instruct a verification terminal to, when a current palmprint image is acquired, verify to-be-verified virtual resources associated with current palmprint features of the current palmprint image, and the virtual resource includes the to-be-verified virtual resource.

[0239] The specific implementation of each operation above can be referred to the foregoing embodiments, which will not be repeated here.

[0240] As can be seen from the above, after the object palm is detected, palmprint image acquisition is performed on the palm of the object to obtain a current palmprint image, and in response to querying, from a to-be-verified virtual resource library, a to-be-verified virtual resource associated with current palmprint features of the current palmprint image, verification is performed on the to-be-verified virtual resource. In the to-be-verified virtual resource library, the to-be-verified virtual resource is associated with reference palmprint features of the object palm, the reference palmprint image is acquired from a resource user obtaining the to-be-verified virtual resource, and the to-be-verified virtual resource is used to authorize obtaining a service right and interest indicated by the to-be-verified virtual resource after successful verification. Since the reference palmprint image (palmprint features) is associated with the virtual resource, and the palmprint has uniqueness and high cost of falsification, the security of virtual resource verification can be improved by verifying the virtual resource through the palmprint, in addition, in a strong identity verification scenario, the identity can be quickly verified by acquiring the palmprint image to verify the virtual resource, thereby realizing convenient verification of the virtual resource, and thus the security and verification efficiency of the virtual resource verification can be improved.

[0241] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or controlled by instructions related to hardware, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0242] To this end, the embodiment of the present application provides a computer readable storage medium, wherein a plurality of instructions are stored, the instructions can be loaded by a processor to execute steps in any virtual resource verification method provided by the embodiment of the present application. For example, the instructions can execute the following steps:

[0243] In response to detecting the palm of the object, palmprint image acquisition is performed on the palm of the object to obtain a current palmprint image; in response to querying, from the virtual resource library to be verified, a virtual resource to be verified associated with current palmprint features of the current palmprint image, verifying the virtual resource to be verified, in the virtual resource library to be verified, the virtual resource to be verified is associated with reference palmprint features acquired from a reference palmprint image of a resource-associated object, and the virtual resource to be verified is used to authorize a service right and interest indicated by the virtual resource to be verified after verification is successful.

[0244] Or

[0245] In response to detecting that the resource-associated object acquires the virtual resource, a palmprint acquisition page is displayed, a palmprint image of the resource-associated object is acquired through the palmprint acquisition page to obtain a reference palmprint image of the resource-associated object, reference palmprint features of the reference palmprint image are associated with virtual resources to be verified, the virtual resources to be verified associated with the reference palmprint features instruct the verification terminal to, when a current palmprint image is acquired, verify virtual resources to be verified associated with current palmprint features of the current palmprint image, and the virtual resources to be verified include the virtual resources to be verified.

[0246] The specific implementation of each operation can be referred to the foregoing embodiments, and will not be described here.

[0247] The computer readable storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0248] Since the instructions stored in the computer readable storage medium can execute steps in any virtual resource verification method provided by the embodiment of the present application, the beneficial effects of any virtual resource verification method provided by the embodiment of the present application can be achieved, which will be described in detail in the foregoing embodiments, and will not be described here.

[0249] According to an aspect of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. A processor of an electronic device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the electronic device to perform the method provided in the various optional implementations of the virtual resource verification aspect or the consumption coupon verification aspect.

[0250] In summary, the present application provides a virtual resource verification method, device, equipment, computer readable storage medium and computer program product. The terminal verifies the palm of the object in response to detecting the palm of the object, collects a palmprint image of the palm of the object to obtain a current palmprint image, and then verifies the virtual resource to be verified in response to querying the virtual resource library to be verified and the current palmprint feature associated with the current palmprint image. Since the palmprint has uniqueness and high false cost, the reference palmprint feature is associated with the virtual resource, and the palmprint is used to verify the virtual resource, which can effectively resist hoarding coupons and single brushing, and greatly improves the security of virtual resource verification. At the same time, in the strong identity verification scene, the user only needs to swipe the palm to quickly verify the identity and synchronously complete the verification of the virtual resource, without the need for strong cooperation and other additional operations, thereby improving the verification efficiency.

[0251] Further, when verifying the virtual resource to be verified, if the virtual resource to be verified includes one virtual resource item to be verified, the first number of palmprint features associated with the virtual resource item to be verified is obtained, and the verification mode is determined based on the first number for verification; if the virtual resource to be verified includes multiple virtual resource items to be verified, a virtual resource selection page is displayed, and verification is performed through the page. This method of using different verification modes according to the number of virtual resources to be verified can more flexibly handle different situations, improve the pertinence and accuracy of verification, and thus improve the overall verification efficiency.

[0252] Further, when the verification mode is determined based on the first number and the verification is performed, if the first number is one, the virtual resource item to be verified is verified as a whole, and after the verification is completed, the resource cannot be used again; if the first number is multiple, the number of verifiable times of the virtual resource item to be verified is determined, and single verification is performed based on the number of verifiable times, and after the verification, the resource can still be used. This method of distinguishing between whole verification and single verification can better adapt to the use rules of different virtual resources, improve the flexibility and rationality of resource use, and further improve the accuracy and efficiency of verification.

[0253] Further, when verifying the to-be-verified virtual resource through the virtual resource selection page, the selected to-be-verified virtual resource item is determined in response to a selection operation on the to-be-verified virtual resource item list, a second quantity of palmprint features associated with the selected to-be-verified virtual resource item is obtained, and verification is performed based on the second quantity. This allows the user to independently select the virtual resource to be verified, increasing the autonomy and flexibility of the operation, while verification based on the quantity of associated palmprint features ensures the accuracy of the verification.

[0254] Further, after verifying the to-be-verified virtual resource, the usage state of the to-be-verified virtual resource in the virtual resource set is updated, the virtual resource associated with the current palmprint feature is queried based on the updated usage state, and the matching reference palmprint feature is deleted from the preset palmprint feature set when there is no associated virtual resource. This can clean up invalid associated information in a timely manner, reduce data redundancy, improve data processing and retrieval efficiency, and ensure data accuracy and consistency.

[0255] Further, when collecting the current palmprint image of the object palm, the current palmprint image stream of the object palm in at least one modality is collected, quality detection and liveness detection are performed on the current palmprint image frame, and a color image is collected to obtain the current palmprint image when at least one image frame passes the quality detection and the object palmprint is a live body. Through multi-modal collection and quality and liveness detection, the quality and authenticity of the collected palmprint image are ensured, providing a reliable data basis for subsequent accurate verification and improving the accuracy and security of the verification.

[0256] Further, when performing quality detection on the current palmprint image frame, image preprocessing is performed first, then palm region detection and image quality detection in at least one dimension are performed, and the detection results are taken as the quality detection results. Image preprocessing can reduce noise and background interference and highlight palm features; palm region detection and image quality detection can ensure that the collected image meets the requirements and improve the accuracy of subsequent feature extraction and verification.

[0257] Further, when performing palm region detection on the preprocessed palmprint image frame, skin detection is performed to locate the palm region, contour detection and integrity detection are performed on the palm region, and the detection results are taken as the palm region detection results. These detection steps can accurately locate the palm region and determine its integrity, providing accurate region information for subsequent feature extraction and verification and improving the accuracy of the verification.

[0258] Further, when performing liveness detection on the object palmprint based on the current palmprint image frame, an image frame in the infrared mode is screened out, the palm vein is recognized and the vein image information is extracted, and liveness detection is performed based on the information. Using the infrared mode and the palm vein information for liveness detection can effectively prevent fraud using photos, videos and other non-living means, greatly improving the security of the verification.

[0259] Further, after collecting the palmprint image of the object palmprint to obtain the current palmprint image, the current palmprint feature is extracted, the matching reference palmprint feature is searched in the preset palmprint feature set, and if there is one, the associated virtual resource is screened out as the virtual resource to be verified. This way of searching for the associated virtual resource based on feature matching can quickly and accurately find the corresponding virtual resource, improving the efficiency and accuracy of the verification.

[0260] Further, after searching for the current palmprint feature in the preset palmprint feature set, if there is no matching reference palmprint feature, the current palmprint feature or image is sent to the verification server, and when the current resource identifier returned by the server is received, the virtual resource to be verified is determined based on the identifier. Through interaction with the verification server, the search range is expanded, and even if there is no matching information locally, the associated virtual resource can be found, improving the success rate and flexibility of the verification.

[0261] Further, the virtual resource verification method performed by the object terminal will display a palmprint collection page in response to detecting that the resource-associated object has obtained a virtual resource, collect a palmprint image of the resource-associated object through the page to obtain a reference palmprint image, and associate a reference palmprint feature with the virtual resource to be verified. This way of collecting palmprints and associating them in a timely manner when obtaining a virtual resource ensures the correspondence between the virtual resource and the palmprint, providing a basis for subsequent verification and improving the accuracy and security of the verification.

[0262] Further, before displaying the palmprint collection page, a virtual resource interaction page is displayed, and in response to a trigger operation on the interaction control, interaction information is sent to an interaction server, and whether the resource-associated object has obtained the virtual resource is determined according to the returned interaction result information, and if so, the palmprint collection page is displayed. This way of verifying the acquisition of a virtual resource through an interaction server increases the standardization and security of obtaining a virtual resource, ensuring that only the object that has actually obtained the resource will perform palmprint collection and association.

[0263] Further, when the palmprint collection page is displayed, a virtual resource verification configuration page is displayed, and in response to a trigger operation on the palmprint verification configuration control, the palmprint collection page is displayed. This way of displaying pages in steps and triggering controls increases the logicality of the operation and the autonomy of the user, allowing the user to choose whether to perform palmprint collection according to their own needs.

[0264] Further, when collecting the palmprint image of the resource-associated object through the palmprint collection page, a palmprint image preview page is displayed in response to a triggering operation on the palmprint collection control, a palmprint image stream is collected and displayed, the image frame and the resource-associated object are detected, and when the detection passes, a collection prompt information is displayed and a color palmprint image is collected to obtain a reference palmprint image. This detection and prompting method during collection ensures the quality and authenticity of the collected palmprint image, and improves the accuracy and efficiency of collection.

[0265] Further, when detecting the palmprint image frame and the resource-associated object to obtain a target detection result, the image frame is detected for quality, the resource-associated object is detected for multi-dimensional liveness, and the detection results are fused to obtain the target detection result. The multi-dimensional detection method can more comprehensively judge the image frame quality and the object liveness, and improves the accuracy and security of detection.

[0266] Further, when detecting the resource-associated object for multi-dimensional liveness, palm texture information is extracted, palmprint illumination information under different illuminations is recognized, time sequence information is obtained and compared to obtain palm movement information, and multi-dimensional liveness detection is performed based on the information. Multi-dimensional liveness detection can more accurately determine whether the object is a live body, effectively prevent fraudulent behavior, and improve the security of verification.

[0267] Further, after collecting the color palmprint image of the resource-associated object to obtain the reference palmprint image, when it is detected that the collection is completed, a palmprint entry result page is displayed, which includes palmprint prompt information, palm type of the reference palmprint image, and verification prompt information of the virtual resource. Displaying the entry result page and the prompt information can enable the user to timely understand the palmprint entry situation and the verification requirements of the virtual resource, and improve the user experience and the accuracy of operation.

[0268] Further, when associating the reference palmprint feature of the reference palmprint image with the to-be-verified resource of the virtual resource, the business benefit information of the virtual resource is obtained, the palmprint association quantity is recognized, and the association operation is performed according to the quantity. This association method according to the business benefit information and the palmprint association quantity can more reasonably handle the association relationship between the virtual resource and the palmprint, and improve the accuracy and flexibility of association.

[0269] Further, when associating the reference palmprint feature of the reference palmprint image with the to-be-verified resource of the virtual resource, the reference palmprint image is sent to a verification server, the server associates the palmprint feature with the virtual resource and sends it to a verification terminal. By performing the association operation through the server, the centralized management and accuracy of the association information are ensured, and the subsequent verification operation of the verification terminal is facilitated.

[0270] Further, the first acquisition unit in the virtual resource verification apparatus acquires a palmprint image of the palm of the object in response to detecting the palm of the object, and the verification unit verifies the virtual resource to be verified in response to querying the associated virtual resource to be verified. This clear division of labor in the device structure makes the palmprint image acquisition and virtual resource verification operation more orderly and efficient, improving the overall verification efficiency and accuracy.

[0271] Further, the display unit in the virtual resource verification apparatus displays a palmprint acquisition page in response to detecting that the resource-associated object has obtained the virtual resource, and the second acquisition unit acquires a reference palmprint image of the resource-associated object through the page, and the association unit associates the reference palmprint feature with the virtual resource to be verified. This device structure can orderly complete a series of operations from detecting and obtaining resources to collecting palmprints and association, ensuring the accuracy and efficiency of the association of virtual resources and palmprints.

[0272] Further, the electronic device runs the application program in the memory through the processor to execute the steps in the virtual resource verification method. The integration of the electronic device enables the virtual resource verification operation to be completed on one device, reducing the interaction cost between devices and improving the convenience and efficiency of the operation.

[0273] Further, the computer program in the computer program product is executed by the processor to implement the steps in the virtual resource verification method. The form of the computer program product facilitates the deployment and use of the method, so that different devices can implement the virtual resource verification function by installing the program product, improving the universality and scalability of the method.

[0274] Further, the computer readable storage medium stores instructions suitable for being loaded by the processor to execute the steps in the virtual resource verification method. The computer readable storage medium provides a reliable way for the storage and transmission of the program, ensuring the stability and accessibility of the program, so that the virtual resource verification method can be accurately executed in different environments.

[0275] The technical features of the above embodiments can be combined in any way. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present disclosure.

[0276] The above-described embodiments are merely illustrative of several embodiments of the present application, which are described in more detail and in a specific and detailed manner, but should not be construed as limiting the scope of the patent. It should be noted that for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A virtual resource verification method, executed by a verification terminal, comprising: in response to detecting a palm portion of an object, performing palmprint image acquisition on the palm portion of the object to obtain a current palmprint image; and in response to querying a to-be-verified virtual resource library and obtaining a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, verifying the to-be-verified virtual resource, wherein the to-be-verified virtual resource is associated with a reference palmprint feature acquired from a reference palmprint image of a resource-associated object in the to-be-verified virtual resource library, and the to-be-verified virtual resource is used to authorize a service right after a successful verification. 2.The virtual resource verification method of claim 1, wherein the verifying the to-be-verified virtual resource comprises: when the to-be-verified virtual resource comprises one to-be-verified virtual resource item, obtaining a first number of palmprint features associated with the to-be-verified virtual resource item, determining a verification mode based on the first number, and verifying the to-be-verified virtual resource item according to the verification mode; when the to-be-verified virtual resource comprises a plurality of to-be-verified virtual resource items, displaying a virtual resource selection page, and verifying the to-be-verified virtual resource through the virtual resource selection page. 3.The virtual resource verification method of claim 2, wherein the determining a verification mode based on the first number and verifying the to-be-verified virtual resource item according to the verification mode comprises: when the first number is one, performing overall verification on the to-be-verified virtual resource item; when the first number is a plurality, determining a number of verifiable times of the to-be-verified virtual resource item, and performing single-time verification on the to-be-verified virtual resource item based on the number of verifiable times. 4.The virtual resource verification method of claim 2 or 3, wherein the virtual resource selection page comprises a to-be-verified virtual resource item list, and the verifying the to-be-verified virtual resource through the virtual resource selection page comprises: in response to a selection operation on the to-be-verified virtual resource item list, determining a selected to-be-verified virtual resource item from the to-be-verified virtual resource item list; obtaining a second number of palmprint features associated with the selected to-be-verified virtual resource item, and verifying the selected to-be-verified virtual resource item based on the second number. 5.The virtual resource verification method of any one of claims 1 to 4, further comprising, after the verifying the to-be-verified virtual resource: updating a use state of the to-be-verified virtual resource in a virtual resource set to obtain an updated use state of the to-be-verified virtual resource; based on the updated use state, querying the virtual resource set for a virtual resource associated with the current palmprint feature; when there is no virtual resource associated with the current palmprint feature, deleting a reference palmprint feature matching the current palmprint feature from a preset palmprint feature set corresponding to the virtual resource set. 6.The virtual resource verification method of any one of claims 1 to 5, wherein the performing palmprint image acquisition on the palm portion of the object to obtain a current palmprint image comprises: collecting a current palmprint image stream of the palm of the object in at least one modality, the palmprint image stream including at least one frame of current palmprint image frames; performing quality detection on the current palmprint image frames to obtain quality detection results, and performing living body detection on the palmprint of the object based on the current palmprint image frames; when there is at least one frame of current palmprint image frames whose quality detection result is a detection pass, and the palmprint of the object is a living body, collecting a color image of the palmprint of the object to obtain a current palmprint image.

7. The virtual resource verification method of claim 6, wherein the performing quality detection on the current palmprint image frames to obtain quality detection results comprises: performing image preprocessing on the current palmprint image frames to obtain preprocessed palmprint image frames; performing palm region detection on the preprocessed palmprint image frames to obtain palm region detection results; performing image quality detection on the preprocessed palmprint image frames in at least one dimension to obtain image quality detection results; and taking the palm region detection results and the image quality detection results as the quality detection results.

8. The virtual resource verification method of claim 7, wherein the performing palm region detection on the preprocessed palmprint image frames to obtain palm region detection results comprises: performing skin detection on the preprocessed palmprint image frames to locate a palm region; performing contour detection on the palm region to obtain contour detection results, and performing integrity detection on the palm region to obtain integrity detection results; and taking the contour detection results and the integrity detection results as the palm region detection results.

9. The virtual resource verification method of any one of claims 6 to 8, wherein the performing living body detection on the palmprint of the object based on the current palmprint image frames comprises: screening current palmprint image frames in an infrared modality from the current palmprint image frames to obtain current palmprint infrared image frames; identifying palm veins in the current palmprint infrared image frames, and extracting vein image information of the palm veins from the current palmprint infrared image frames; performing living body detection on the palmprint of the object based on the vein image information.

10. The virtual resource verification method of any one of claims 1 to 9, after the collecting the palmprint image of the palmprint of the object to obtain a current palmprint image, further comprising: extracting a current palmprint feature from the current palmprint image, and searching for a reference palmprint feature matching the current palmprint feature in a preset palmprint feature set; when there is the reference palmprint feature, screening a virtual resource associated with the reference palmprint feature from a virtual resource set corresponding to the preset palmprint feature set to obtain a current virtual resource associated with the current palmprint feature; taking the current virtual resource as a to-be-verified virtual resource associated with the current palmprint feature of the current palmprint image.

11. The virtual resource verification method of claim 10, after the searching for the current palmprint feature in the preset palmprint feature set, further comprising: when there is no reference palmprint feature, sending the current palmprint feature or the current palmprint image to a verification server. When the current resource identifier of the virtual resource associated with the current palmprint image returned by the verification server is received, a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image is determined based on the current resource identifier.

12. A virtual resource verification method performed by a subject terminal, the method comprising: displaying a palmprint collection page in response to detecting that a resource-associated subject acquires a virtual resource; collecting a palmprint image of the resource-associated subject through the palmprint collection page to obtain a reference palmprint image of the resource-associated subject; and associating a reference palmprint feature of the reference palmprint image with a to-be-verified resource of the virtual resource, the to-be-verified resource associated with the reference palmprint feature instructing a verification terminal to, when a current palmprint image is collected, verify a to-be-verified virtual resource associated with a current palmprint feature of the current palmprint image, and to, after verification succeeds, authorize obtaining a service right and interest indicated by the to-be-verified virtual resource.

13. The virtual resource verification method of claim 12, further comprising, before the displaying the palmprint collection page in response to detecting that the resource-associated subject acquires the virtual resource: displaying a virtual resource interaction page, the virtual resource interaction page including an interaction control for the virtual resource; in response to a triggering operation on the interaction control, sending interaction information of the resource-associated subject for the virtual resource to an interaction server, and receiving interaction result information returned by the interaction server; the displaying the palmprint collection page in response to detecting that the resource-associated subject acquires the virtual resource comprises: when the interaction result information indicates that the resource-associated subject acquires the virtual resource, displaying the palmprint collection page.

14. The virtual resource verification method of claim 13, the displaying the palmprint collection page comprises: displaying a virtual resource verification configuration page, the virtual resource verification page including a palmprint verification configuration control; in response to a triggering operation on the palmprint verification configuration control, displaying the palmprint collection page.

15. The virtual resource verification method of any one of claims 12 to 14, the palmprint collection page including a palmprint collection control, the collecting a palmprint image of the resource-associated subject through the palmprint collection page to obtain a reference palmprint image of the resource-associated subject comprising: in response to a triggering operation on the palmprint collection control, displaying a palmprint image preview page, the palmprint image preview page including a palmprint prompt area; collecting a palmprint image stream of the resource-associated subject, and displaying the palmprint image stream in the palmprint image preview page, the palmprint image stream including at least one palmprint image frame; detecting the palmprint image frame and the resource-associated subject to obtain a target detection result; when the target detection result indicates that the palmprint image frame quality detection passes and the resource-associated subject is a living body, displaying collection prompt information in the palmprint prompt area, and collecting a color palmprint image of the resource-associated subject to obtain the reference palmprint image of the resource-associated subject.

16. The virtual resource verification method of claim 15, wherein the detecting the palmprint image frame and the resource-associated object to obtain a target detection result comprises: performing quality detection on the palmprint image frame to obtain a target quality detection result; performing multi-dimensional living body detection on the resource-associated object to obtain an initial living body detection result of each dimension, and fusing the initial living body detection results to obtain a target living body detection result; and taking the target quality detection result and the target living body detection result as the target detection result.

17. The virtual resource verification method of claim 16, wherein the performing multi-dimensional living body detection on the resource-associated object to obtain an initial living body detection result of each dimension comprises: extracting palm texture information from the palmprint image frame, and identifying palmprint illumination information under different illuminations in the palmprint image frame; obtaining time sequence information of the palmprint image frame, and comparing the palmprint image frame based on the time sequence information to obtain palm movement information; and performing multi-dimensional living body detection on the palm of the resource-associated object based on the palm movement information, the palm texture information and the palm illumination information to obtain an initial living body detection result of each dimension.

18. The virtual resource verification method of any one of claims 12 to 17, after the acquiring the color palmprint image of the resource-associated object to obtain a reference palmprint image of the resource-associated object, further comprising: displaying a palmprint entry result page when it is detected that the reference palmprint image acquisition is completed, wherein the palmprint entry result page comprises palmprint prompt information, and the palmprint prompt information comprises a palm type of the reference palmprint image and verification prompt information of the virtual resource.

19. The virtual resource verification method of any one of claims 12 to 18, wherein the associating the reference palmprint feature of the reference palmprint image with the virtual resource to be verified comprises: obtaining service right information of the virtual resource, and identifying a palmprint association number in the service right information; when the palmprint association number is one, associating the reference palmprint feature of the reference palmprint image with the virtual resource to be verified; and when the palmprint association number is a plurality, returning to perform the step of displaying the palmprint collection page until the palmprint association number of reference palmprint images is collected, obtaining a reference palmprint image set, and associating the reference palmprint image set with the virtual resource.

20. The virtual resource verification method of claim 19, wherein the associating the reference palmprint feature of the reference palmprint image with the virtual resource to be verified comprises: sending the reference palmprint image to a verification server, so that the verification server associates the palmprint feature of the reference palmprint image with the virtual resource, and sends the palmprint feature and the virtual resource to a verification terminal, so that the verification terminal verifies the virtual resource to be verified associated with the current palmprint feature of a current palmprint image when the current palmprint image is collected. ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ 21.A virtual resource verification apparatus, comprising: a first acquisition unit configured to, in response to detecting a palm of an object, acquire a palmprint image of the palm of the object to obtain a current palmprint image; and a verification unit configured to, in response to querying a to-be-verified virtual resource library and obtaining a to-be-verified virtual resource associated with current palmprint features of the current palmprint image, verify the to-be-verified virtual resource, wherein the to-be-verified virtual resource is associated with reference palmprint features acquired from a reference palmprint image of a resource-associated object in the to-be-verified virtual resource library, and the to-be-verified virtual resource is used to authorize a service right and interest indicated by the to-be-verified virtual resource after verification succeeds. 22.A virtual resource verification apparatus, comprising: a display unit configured to, in response to detecting that a resource-associated object acquires a virtual resource, display a palmprint acquisition page; a second acquisition unit configured to acquire a palmprint image of the resource-associated object through the palmprint acquisition page to obtain a reference palmprint image of the resource-associated object; an association unit configured to associate reference palmprint features of the reference palmprint image with a to-be-verified resource of the virtual resource, wherein the to-be-verified resource associated with the reference palmprint features instructs a verification terminal to, when a current palmprint image is acquired, verify a to-be-verified virtual resource associated with current palmprint features of the current palmprint image, and authorize a service right and interest indicated by the to-be-verified virtual resource after verification succeeds. 23.An electronic device, comprising a processor and a memory, wherein the memory stores an application program, and the processor is configured to run the application program in the memory to execute steps in a virtual resource verification method according to any one of claims 1 to 20. 24.A computer program product, comprising a computer program, wherein the computer program is configured to execute steps in a virtual resource verification method according to any one of claims 1 to 20 when executed by a processor. 25.A computer-readable storage medium, comprising a plurality of instructions, wherein the instructions are adapted to be loaded by a processor to execute steps in a virtual resource verification method according to any one of claims 1 to 20.

Citation Information

Patent Citations

  • Virtual resource processing method and device, computer readable medium and electronic equipment

    CN111709752A

  • Verification device

    CN113450465A

  • Resource distribution method based on business service account and related equipment

    CN115222406A

  • System, authentication server, management server, authentication terminal and method

    US20240086962A1

  • Palmprint data based service processing method, apparatus and program, and medium

    WO2018121552A1