Electronic coupon issuing method and device, computer device and storage medium

By using facial recognition technology to issue electronic coupons based on users' historical information after resource transfer, the problem of inaccurate coupon issuance in existing technologies has been solved, achieving higher issuance accuracy and effectiveness.

CN115700693BActive Publication Date: 2025-11-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110851229.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-27
Publication Date
2025-11-25
Estimated Expiration
2041-07-27

AI Technical Summary

Technical Problem

In existing technologies, the distribution of electronic coupons based on distance results in a large distribution group with weak targeting, leading to low usage and poor distribution effectiveness.

Method used

By using facial recognition technology, after the resource transfer is completed, the recipients of the target electronic coupons can be determined based on the user's historical resource transfer information, and the facial recognition equipment can be used to achieve accurate distribution.

Benefits of technology

It improves the accuracy and effectiveness of electronic coupon distribution, makes the recipients clearer, and increases the coupon usage rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115700693B_ABST
    Figure CN115700693B_ABST
Patent Text Reader

Abstract

The application relates to an electronic coupon issuing method and device, computer equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: displaying a target electronic coupon in an electronic coupon sharing interface, the target electronic coupon being an electronic coupon issued to a first user after the first user completes effective resource transfer in a scene of resource transfer based on face recognition; displaying a user list containing users whose corresponding target information meets a first specified condition; in response to receiving a sharing determination operation, displaying issuing information for indicating that the target electronic coupon has been issued to an account corresponding to a second user; through the above method, the target electronic coupon can be issued by using related equipment in the scene of resource transfer based on face recognition when the electronic coupon is issued, the accuracy of the electronic coupon issuing can be improved, and the electronic coupon issuing effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an electronic coupon issuance method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the development of internet technology, electronic coupons have become an important part of online transactions;

[0003] In related technologies, when issuing electronic coupons, the distribution is usually based on the distance between the user and the device that can use the electronic coupon, that is, the electronic coupon is issued to the user who is closer to the device that can use the electronic coupon.

[0004] However, among the aforementioned technologies, the distance-based user screening results in a large distribution group for electronic coupons, weakening the purpose of the distribution and leading to a low usage rate of the distributed electronic coupons. This results in inaccurate distribution and poor distribution effectiveness. Summary of the Invention

[0005] This application provides an electronic coupon issuance method, apparatus, computer equipment, and storage medium, which can improve the accuracy and effectiveness of electronic coupon issuance. The technical solution is as follows:

[0006] On the one hand, a method for issuing electronic coupons is provided, the method comprising:

[0007] The target electronic coupon is displayed on the electronic coupon sharing interface. The target electronic coupon is issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0008] Display a user list, which contains users whose corresponding target information meets a first specified condition; the target information is used to indicate the historical status of resource transfer by the corresponding user through facial recognition.

[0009] In response to receiving a share confirmation operation, distribution information is displayed, indicating that the target electronic coupon has been distributed to the account corresponding to the second user; the share confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

[0010] On the other hand, a method for issuing electronic coupons is provided, the method comprising:

[0011] The system receives a user list retrieval request, which is sent by the target device after displaying a sharing interface containing the target electronic coupon; the target electronic coupon is an electronic coupon issued to the first user after a valid resource transfer is completed in the scenario of resource transfer via facial recognition; the target electronic coupon is used to deduct resources in the scenario of resource transfer via facial recognition.

[0012] A user list is returned to the target device, the user list containing users whose corresponding target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user transferring resources through facial recognition;

[0013] Receive a sharing request sent by the target device; the sharing request is a request sent by the target device in response to receiving a sharing confirmation operation; the sharing confirmation operation is an operation to issue the target electronic coupon to the second user in the user list;

[0014] The target electronic coupon is issued to the account corresponding to the second user.

[0015] On the other hand, an electronic coupon issuing device is provided, the device comprising:

[0016] The first display module is used to display a target electronic coupon in the electronic coupon sharing interface. The target electronic coupon is an electronic coupon issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0017] The second display module is used to display a user list, which contains users whose corresponding target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user's resource transfer through facial recognition.

[0018] The third display module is used to display distribution information in response to receiving a sharing confirmation operation. The distribution information indicates that the target electronic coupon has been distributed to the account corresponding to the second user. The sharing confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

[0019] In one possible implementation, the target electronic voucher is an electronic voucher determined from at least one electronic voucher based on the first user's voucher selection operation;

[0020] The at least one electronic voucher is an electronic voucher displayed in the first device after the first user completes a valid resource transfer in a scenario where resource transfer is performed via facial recognition. The first device is the device through which the first user performs resource transfer via facial recognition.

[0021] In one possible implementation, the at least one electronic voucher is an electronic voucher used on a device in a first set of devices, wherein the devices in the first set of devices are devices that have the same point of interest information as the first device;

[0022] or,

[0023] The at least one electronic voucher is an electronic voucher used on a device in the second set of devices; the devices in the second set of devices are devices that have a specified location relationship with the first device.

[0024] In one possible implementation, the specified positional relationship includes: the distance between the device and the first device is less than a first distance threshold.

[0025] In one possible implementation, in response to the method being performed by the first device, the apparatus further includes:

[0026] The fourth display module is configured to, in response to the fact that the at least one electronic coupon is an electronic coupon used on a device in the second device set, display at least one electronic coupon and distance information of the usable device corresponding to each of the at least one electronic coupon in the electronic coupon sharing interface of the first device, wherein the distance information is used to indicate the distance between the usable device corresponding to the electronic coupon and the first device.

[0027] In one possible implementation, in response to the fact that the at least one electronic voucher is an electronic voucher used on a device in the first device set, the first user list includes users who have a specified association with the first user, whose corresponding target information satisfies the first specified condition, and whose distance from the first device meets the second specified condition, the second specified condition indicating that the distance between the corresponding user and the first device is less than a second distance threshold.

[0028] In one possible implementation, the first specified condition is used to indicate that the user has not enabled the function of transferring resources based on face recognition;

[0029] Alternatively, the first specified condition is used to indicate that the user has enabled the function of transferring resources based on face recognition, and the frequency of the user transferring resources based on face recognition is less than the first frequency threshold.

[0030] Alternatively, the first specified condition may be used to indicate that the frequency of user resource transfer based on facial recognition is greater than the second frequency threshold.

[0031] In one possible implementation, the second display module is configured to display the first user list in response to receiving a coupon sharing operation based on the target electronic coupon.

[0032] In one possible implementation, the target electronic voucher that has been issued to the account corresponding to the second user is the target electronic voucher with the updated deduction value.

[0033] On the other hand, an electronic coupon issuing device is provided, the device comprising:

[0034] The request receiving module is used to receive a user list retrieval request, which is a request sent by the target device after displaying a sharing interface containing a target electronic coupon; the target electronic coupon is an electronic coupon issued to the first user after a valid resource transfer is completed in the scenario of resource transfer through face recognition; the target electronic coupon is used to deduct resources in the scenario of resource transfer through face recognition.

[0035] The list return module is used to return a user list to the target device. The user list contains users whose corresponding target information meets the first specified condition. The target information is used to indicate the historical situation of the corresponding user's resource transfer through face recognition.

[0036] A sharing request receiving module is used to receive a sharing request sent by the target device; the sharing request is a request sent by the target device in response to receiving a sharing confirmation operation; the sharing confirmation operation is an operation to issue the target electronic coupon to the second user in the user list;

[0037] The coupon distribution module is used to distribute the target electronic coupon to the account corresponding to the second user.

[0038] In one possible implementation, in response to the target device being a first device for resource transfer by the first user via facial recognition, the apparatus further includes:

[0039] The feature information acquisition module is used to acquire the facial feature information of the first user before the acquisition request receiving module receives the user list acquisition request;

[0040] The electronic coupon acquisition module is used to acquire at least one electronic coupon in response to the facial feature information being matched with a facial feature information template in the database.

[0041] The information of the at least one electronic coupon is sent to the first device so that the first device displays the at least one electronic coupon.

[0042] The second coupon issuing module is used to issue the target electronic coupon to the first user in response to receiving a selection operation instruction. The selection operation instruction is sent by the first device in response to receiving a selection operation based on the target electronic coupon. The target electronic coupon is an electronic coupon among the at least one electronic coupon.

[0043] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the electronic coupon distribution method provided in the various alternative implementations described above.

[0044] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the storage medium, the computer program being loaded and executed by a processor to implement the electronic coupon distribution method provided in the various alternative implementations described above.

[0045] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the electronic coupon distribution method provided in the various optional implementations described above.

[0046] The technical solution provided in this application may include the following beneficial effects:

[0047] The electronic coupon distribution method provided in this application embodiment allows users to share their target electronic coupons with other users when they complete a valid resource transfer via facial recognition in resource transfer scenarios. These other users are determined based on the user's historical data regarding resource transfers via facial recognition. This enables users who obtain the target electronic coupons to deduct resources within the facial recognition-based resource transfer scenario. Furthermore, the distribution of electronic coupons can be achieved using relevant devices within the facial recognition-based resource transfer scenario, and the recipients are also determined based on the user's historical data in that scenario, making the recipients of electronic coupons more clearly defined. This improves the accuracy and effectiveness of electronic coupon distribution.

[0048] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0049] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0050] Figure 1 This invention provides a schematic diagram of the structure of an electronic coupon distribution system according to an exemplary embodiment of the present application.

[0051] Figure 2 A flowchart of an exemplary embodiment of this application is shown;

[0052] Figure 3 A flowchart of an exemplary embodiment of this application is shown;

[0053] Figure 4 A schematic diagram of an electronic coupon sharing interface of a first device shown in an exemplary embodiment of this application is illustrated;

[0054] Figure 5 A flowchart illustrating an exemplary embodiment of this application is shown;

[0055] Figure 6 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown;

[0056] Figure 7 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown;

[0057] Figure 8 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown;

[0058] Figure 9 A block diagram of an electronic coupon issuing device illustrated in an exemplary embodiment of this application is shown;

[0059] Figure 10 A block diagram of an electronic coupon issuing device illustrated in an exemplary embodiment of this application is shown;

[0060] Figure 11 This is a structural block diagram of a computer device according to an exemplary embodiment;

[0061] Figure 12 This is a structural block diagram of a computer device according to an exemplary embodiment. Detailed Implementation

[0062] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0063] This application proposes a method for issuing electronic coupons, which can expand the ways to obtain electronic coupons and improve the efficiency of obtaining them. This application also relates to Artificial Intelligence (AI) technology. AI utilizes digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceiving the environment, acquiring knowledge, and using that knowledge to obtain optimal results. In other words, artificial intelligence is a comprehensive technology within computer science; it primarily aims to understand the essence of intelligence and produce new intelligent machines that can react in a way similar to human intelligence, enabling these machines to possess multiple functions such as perception, reasoning, and decision-making.

[0064] AI technology is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision (CV), speech processing, natural language processing, and machine learning (ML) / deep learning. Computer vision, in particular, studies how to enable machines to "see." More specifically, it refers to using cameras and computers to replace human eyes in identifying, tracking, and measuring targets, and then performing further image processing to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision researches related theories and technologies, attempting to build AI systems capable of extracting information from images or multidimensional data. Computer vision technology typically includes image processing, image recognition, image semantic understanding, image retrieval, OCR (Optical Character Recognition), video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D (3 Dimensions) technology, virtual reality, augmented reality, simultaneous localization and mapping (SLAM), and other technologies. It also includes common biometric recognition technologies such as face recognition and fingerprint recognition.

[0065] Figure 1This application shows a schematic diagram of the structure of an electronic coupon distribution system provided in an exemplary embodiment, as shown below. Figure 1 As shown, the electronic card issuance system includes a server 110, a terminal 120, and a terminal 130.

[0066] The aforementioned server 110 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0067] The aforementioned terminal 120 can be a terminal device with facial recognition function. For example, the terminal 120 can be a smartphone, tablet computer, laptop computer, desktop computer, manual checkout device, self-service checkout device, etc., but is not limited to these.

[0068] Face recognition is a biometric technology that identifies individuals based on their facial features. It uses cameras or webcams to capture images or video streams containing faces, automatically detects and tracks faces within the images, and then performs a series of related applications on the detected facial images. Technically, this includes image acquisition, feature localization, identity verification, and search.

[0069] The aforementioned terminal 130 can be a terminal device with card and coupon receiving and distribution functions. For example, terminal 130 can be a mobile phone, tablet computer, e-book reader, smart glasses, smartwatch, smart TV, laptop computer, desktop computer, etc.

[0070] The system described above includes one or more servers 110, one or more terminals 120, and one or more terminals 130. This application embodiment does not limit the number of servers 110, terminals 120, and terminals 130.

[0071] The terminal and server are connected via a communication network. Optionally, the communication network can be a wired network or a wireless network.

[0072] Optionally, the aforementioned wireless or wired networks use standard communication technologies and / or protocols. The network is typically the Internet, but can also be any network, including but not limited to Local Area Networks (LANs), Metropolitan Area Networks (MANs), Wide Area Networks (WANs), mobile, wired or wireless networks, private networks, or any combination of virtual private networks. In some embodiments, technologies and / or formats including Hypertext Markup Language (HTML), Extensible Markup Language (XML), etc., are used to represent data exchanged over the network. Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Networks (VPNs), and Internet Protocol Security (IPsec) can be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can be used to replace or supplement the aforementioned data communication technologies. This application does not impose any limitations.

[0073] Figure 2 This application illustrates a flowchart of an exemplary embodiment of an electronic coupon issuance method. This electronic coupon issuance method can be executed by a terminal, which may be, for example, […]. Figure 1 The terminal 120 or terminal 130 shown, such as Figure 2 As shown, the method for issuing electronic coupons may include the following steps:

[0074] Step 210: Display the target electronic coupon in the electronic coupon sharing interface. The target electronic coupon is issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0075] When the scheme shown in this embodiment is executed by a terminal (i.e., terminal 120) where the first user completes a resource transfer via facial recognition, the electronic coupon sharing interface can correspond to the transfer result display interface on terminal 120. When the first user completes a valid resource transfer via facial recognition on terminal 120, the transfer result display interface can display transfer result information indicating successful resource transfer, and simultaneously display the target electronic coupon. Conversely, when the first user fails to complete a valid resource transfer on terminal 120, the transfer result display interface can display transfer result information indicating failed resource transfer. In this scenario, the target electronic coupon is the electronic coupon displayed on a terminal with facial recognition-based resource transfer functionality after the first user completes a valid resource transfer.

[0076] When the scheme shown in this application embodiment is executed by the user equipment (i.e., terminal 130) corresponding to the first user, the electronic coupon sharing interface can be the interface displayed in terminal 130 based on the first user's coupon sharing operation. In this scenario, the target electronic coupon is the electronic coupon issued to the account corresponding to the first user after the first user completes a valid resource transfer in terminal 120.

[0077] This targeted electronic voucher can be used to offset resources in scenarios where resource transfer is conducted via facial recognition. Optionally, the targeted electronic voucher can be used to offset all or part of the resources in this scenario. For example, the targeted electronic voucher can reduce the payment amount or be redeemed for corresponding items in this scenario.

[0078] Step 220: Display a user list containing users whose target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user transferring resources through facial recognition.

[0079] In one possible implementation, the user list can be displayed synchronously with the target e-coupon on the same e-coupon sharing interface; that is, the user list is displayed at the same time as the target e-coupon is displayed on the e-coupon sharing interface. Alternatively, the user list can be displayed on the e-coupon sharing interface after receiving a coupon sharing operation from the first user. Optionally, the coupon sharing operation can be an operation triggered by the user based on the coupon sharing control displayed on the e-coupon sharing interface.

[0080] The users in this user list are determined based on each user's historical data on resource transfer via facial recognition. This historical data can indicate whether the user has enabled the resource transfer function via facial recognition, as well as the frequency of resource transfer via facial recognition.

[0081] Step 230: In response to receiving the sharing confirmation operation, the distribution information is displayed, which indicates that the target electronic coupon has been distributed to the account corresponding to the second user; the sharing confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

[0082] The second user is determined based on the sharing operation of the first user in the user list. The second user can refer to one or more users other than the first user.

[0083] In summary, the electronic coupon distribution method provided in this application allows users to share their target electronic coupons with other users when they complete a valid resource transfer via facial recognition in resource transfer scenarios. These other users are determined based on the user's historical data regarding resource transfers via facial recognition, enabling them to redeem resources within the same scenario. Furthermore, the distribution of electronic coupons can be achieved using relevant devices within the facial recognition-based resource transfer scenario, and the recipients are also determined based on the user's historical data in that scenario, making the recipients more clearly defined and thus improving the accuracy and effectiveness of electronic coupon distribution.

[0084] Taking the example of a user list receiving a coupon sharing request from the first user and displaying it on the electronic coupon sharing interface, Figure 3 This application illustrates a flowchart of an exemplary embodiment of an electronic coupon issuance method. This electronic coupon issuance method can be executed by a terminal, which may be, for example, […]. Figure 1 Terminals 120 and 130 shown, as Figure 3 As shown, the method for issuing electronic coupons may include the following steps:

[0085] Step 310: Display the target electronic coupon in the electronic coupon sharing interface. The target electronic coupon is issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0086] In one possible implementation, the target electronic voucher is determined from at least one electronic voucher based on the voucher selection operation of the first user;

[0087] At least one electronic voucher is an electronic voucher displayed on a first device after the first user completes a valid resource transfer in a scenario where the resource transfer is performed via facial recognition. The first device is the device on which the first user performs the resource transfer via facial recognition.

[0088] The target electronic voucher can be one or more electronic vouchers determined from at least one electronic voucher based on the user's selection operation. When the target electronic voucher includes multiple electronic vouchers, the target electronic voucher can be shared with the same second user, or it can be shared with different second users. This application does not impose any restrictions on this.

[0089] When the electronic coupon sharing interface is displayed on the first device, before displaying at least one electronic coupon, the first device may also display a face image acquisition interface. This face image acquisition interface is used to display the acquired target face, which may be the face of the first user. Illustratively, the face image acquisition interface displayed on the face payment terminal may include a face image definition box. This definition box can be used to instruct the user to adjust their position when transferring resources via face recognition, so that the first terminal can acquire a valid face image based on the image acquisition device. A valid face image refers to a face image that includes identifying features, such as facial features and skin color.

[0090] In response to the target face meeting the matching condition, it indicates that the user has completed a valid resource transfer based on the target face, and an electronic coupon sharing interface is displayed on the first device. The matching condition is used to indicate that the face image acquired by the first device matches a pre-stored face image template. The face image template can be stored in the first device, or it can be stored in the server corresponding to the first device. The face image template can be a face image reserved by the user when activating the face recognition-based resource transfer function. For example, when activating the face recognition-based resource transfer function, the user device will capture the user's face image and store the initially captured face image locally or upload it to the server to serve as the face image template for the user's identity verification in the face recognition-based resource transfer scenario.

[0091] At least one electronic voucher can be used to deduct resources in scenarios where resources are transferred via facial recognition. In other words, when any voucher from at least one electronic voucher is used in a scenario where resources are transferred via facial recognition, it can deduct all or part of the required resources. For example, at least one electronic voucher can be used to reduce the payment amount, or to redeem virtual items, or to redeem physical items, etc.

[0092] In one possible implementation, at least one electronic voucher is an electronic voucher used on devices in a first set of devices that have the same point of interest information as the first device.

[0093] The Point of Interest (POI) includes four aspects: name, category, longitude, and latitude. In this embodiment, devices with the same POI information can be devices corresponding to the same store. For example, the devices in the first device set include facial recognition payment devices located in the same store as the first device. That is, the at least one electronic coupon is a valid electronic coupon on any facial recognition payment device in the store corresponding to the first device. For example, store A contains three facial recognition payment devices. When a user successfully pays on any of the three devices, at least one electronic coupon corresponding to the current store is displayed on the device's screen. After obtaining one or more of the at least one electronic coupon, the user shares it with other users. The user who obtains the electronic coupon can then use it on any of the three facial recognition payment devices in the current store.

[0094] Alternatively, at least one electronic voucher is an electronic voucher used on a device in a second set of devices; the devices in the second set of devices are devices that have a specified locational relationship with the first device.

[0095] The specified positional relationship can indicate the distance relationship between a device in the second set of devices and the first device. Schematic, the specified positional relationship includes: the distance between the device and the first device is less than a first distance threshold.

[0096] In other words, the second device can be any other device near the first device, and this second device can be located in a different store than the first device. That is, the devices in the set of second devices can be devices with different point-of-interest information than the first device. After the first user completes a valid resource transfer based on the target face on the first device, electronic coupons for use on the second device can be displayed on the electronic coupon sharing interface of the first device. In other words, electronic coupons from other stores besides the store corresponding to the first device can be displayed on the electronic coupon sharing interface of the first device.

[0097] In one possible implementation, in response to the electronic coupon payment interface being displayed on the first device, and in response to at least one electronic coupon being an electronic coupon used on a device in the second set of devices, at least one electronic coupon and distance information of the usable device corresponding to each of the at least one electronic coupon are displayed on the electronic coupon sharing interface of the first device, the distance information being used to indicate the distance between the usable device corresponding to the electronic coupon and the first device.

[0098] In other words, when at least one electronic coupon is used on a device in the second set of devices, when at least one electronic coupon is displayed on the electronic coupon sharing interface of the first device, the distance information of the corresponding usable device can also be displayed for each electronic coupon to instruct the user to select, claim, or share the electronic coupon. Optionally, the corresponding point of interest information, such as store name and store location, can also be displayed for each electronic coupon. Optionally, in response to the existence of multiple electronic coupons corresponding to the same point of interest information among at least one electronic coupon, the multiple electronic coupons corresponding to the same point of interest information can be displayed together to facilitate the user to claim or share the electronic coupon. Figure 4 This illustration shows a schematic diagram of an electronic coupon sharing interface for a first device according to an exemplary embodiment of this application. When at least one electronic coupon corresponds to a device in a second set of devices, taking the example that the second device corresponding to each electronic coupon is located in a different store, such as... Figure 4 As shown, the electronic coupon sharing interface includes order details and payment amount, as well as store information 410, electronic coupon information 420, and distance information 430 for each second device whose distance from the first device is less than a first distance threshold. The electronic coupon information 420 can be the deduction amount of the electronic coupon. Optionally, when displaying electronic coupons in the electronic coupon sharing interface, they can be displayed in order of increasing distance from the first device, or in order of decreasing deduction value. This application does not restrict the display order of electronic coupons.

[0099] Step 320: In response to receiving a coupon sharing operation based on the target electronic coupon, display the user list.

[0100] In one possible implementation, the user list includes users who have a specified association with the first user and whose corresponding target information meets a first specified condition. This specified association may indicate being in a communication list specified by the first user, such as the communication list of an instant messaging application. Illustratively, the second user may be a user who is a friend of the first user and whose target information meets the first specified condition.

[0101] Optionally, the first specified condition is used to indicate that the user has not enabled the function of transferring resources based on facial recognition;

[0102] Alternatively, the first specified condition is used to indicate that the user has enabled the function of transferring resources based on face recognition, and the frequency of the user transferring resources based on face recognition is less than the first frequency threshold.

[0103] Alternatively, the first specified condition is used to indicate that the frequency of user resource transfer based on facial recognition is greater than the second frequency threshold.

[0104] Wherein, the first frequency threshold is equal to the second frequency threshold, or the first frequency threshold is less than the second frequency threshold. The first specified condition can be set, changed, or combined based on different setting methods of the electronic coupon setter. Illustratively, the first specified condition can indicate that the user has not activated the function of resource transfer based on facial recognition, or that the user has activated the function of resource transfer based on facial recognition and the frequency of the user's resource transfer based on facial recognition is less than the first frequency threshold. This allows the first user to share the target electronic coupon with users who have not used the function of resource transfer based on facial recognition, or whose frequency of using the function of resource transfer based on facial recognition is low; or, the first specified condition can be used to indicate that the frequency of the user's resource transfer based on facial recognition is greater than the second frequency threshold, thereby improving the distribution effect of the target electronic coupon.

[0105] In one possible implementation, the first user list includes users who have a specified association with the first user, whose corresponding target information satisfies a first specified condition, and whose distance from the usable device corresponding to the target electronic card meets a second specified condition. The second specified condition indicates that the distance between the corresponding user and the usable device of the target electronic card is less than a second distance threshold.

[0106] Schematic illustration: In response to at least one electronic coupon being used on a device within a first set of devices, the first user list includes users with a specified association to the first user, whose corresponding target information meets a first specified condition, and whose distance from the first device meets a second specified condition. The second specified condition indicates that the distance between the corresponding user and the first device is less than a second distance threshold. In other words, when at least one electronic coupon is used on a device with the same point of interest information as the first device—for example, on a device located in the same store as the first device—user recommendations can be made by combining the distance information between the user and the first device when displaying the user list. For instance, users who are friends with the first user, whose corresponding target information meets the first specified condition, and whose current geographical location is less than the second distance threshold can be selected to form the user list, thereby improving the sharing effect of the target coupon. The distance between the user and the first device can be determined by the backend service based on location information uploaded by the GPS (Global Positioning System) module of the user's corresponding device at a specified period, and POI information uploaded by the POI module of the first device at a specified period.

[0107] For illustrative purposes, when at least one electronic coupon is used on a device with different point-of-interest information than the first device, such as on a device in a different store from the first device, when the user list is displayed on the first device, user recommendations can be made based on the distance information of the user from the devices in the second set of devices. For example, users who are friends with the first user, whose corresponding target information meets the first specified condition, and whose distance from any device in the second set of devices is less than the second distance threshold can be selected to form a user list. When displaying the user list, users are displayed according to their distance from the devices in the second set of devices. For illustrative purposes, if user A's distance from device B in the second set of devices is less than the second distance threshold, but its distance from device C in the second set of devices is greater than the second distance threshold, then user A can be displayed in the user list, and when displaying the user list, user A is displayed corresponding to device B or the store corresponding to device B.

[0108] The user list contains users whose target information meets the first specified condition; the target information is used to indicate the historical status of resource transfer by the corresponding user through facial recognition;

[0109] Step 330: In response to receiving the sharing confirmation operation, the distribution information is displayed, which indicates that the target electronic coupon has been distributed to the account corresponding to the second user; the sharing confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

[0110] Optionally, after the target electronic coupon is issued to a second user, it can still be shared with other users until the number of times the target electronic coupon has been shared reaches a sharing threshold. That is, the user who receives the target electronic coupon can still share it with other users. The users to whom the coupon is shared can be users who meet the first specified condition in a specified form of communication list of the user who shared the target electronic coupon.

[0111] In one possible implementation, the target electronic voucher that has been issued to the second user's corresponding account is the target electronic voucher with the updated deduction value.

[0112] Optionally, in response to successful sharing of the target electronic coupon, update the deduction value of the target electronic coupon;

[0113] The updated target electronic voucher with the deduction value is issued to the account of the second user, so that the second user can use the updated target electronic voucher with the deduction value in the scenario of resource transfer through facial recognition.

[0114] Specifically, the discount of the target e-coupon after the deduction value update is greater than that before the update. For example, if the target e-coupon is a discount coupon, the discount after the update is greater than that before the update; for instance, if the original target e-coupon was 10% off, the updated one is 20% off. Similarly, if the target e-coupon is a discount coupon, the discount after the update is greater than that before the update; for instance, if the original target e-coupon was ¥30 off for purchases over ¥400, the updated one is ¥30 off for purchases over ¥200. Furthermore, if the target e-coupon is a merchandise voucher, the original one was a ¥50 voucher, the updated one is a ¥100 voucher, and so on.

[0115] Optionally, the target e-coupon with the updated deduction value can still be shared by the second user to other users until the number of times the target e-coupon has been shared reaches the sharing threshold, or the target e-coupon with the updated deduction value reaches the deduction value threshold.

[0116] In one possible implementation, the target electronic voucher or the electronic voucher with the updated deduction value received by the user is an electronic voucher with an expiration date; optionally, the voucher page of the target electronic voucher received by the user displays the validity period information of the electronic voucher. For example, if the validity period of the target electronic voucher is 6 hours, then a countdown with a starting duration of 6 hours will be displayed on the voucher page to remind the user that the electronic voucher is about to expire.

[0117] In summary, the electronic coupon distribution method provided in this application allows users to share their target electronic coupons with other users when they complete a valid resource transfer via facial recognition in resource transfer scenarios. These other users are determined based on the user's historical data regarding resource transfers via facial recognition, enabling them to redeem resources within the same scenario. Furthermore, the distribution of electronic coupons can be achieved using relevant devices within the facial recognition-based resource transfer scenario, and the recipients are also determined based on the user's historical data in that scenario, making the recipients more clearly defined and thus improving the accuracy and effectiveness of electronic coupon distribution.

[0118] In the above Figure 2 or Figure 3 In the embodiments shown, the network-side processing can be performed by a backend server, and the steps performed by the backend server can be referred to in the following embodiments. Figure 5A flowchart illustrating an exemplary embodiment of this application is shown. This method can be executed by a backend server, which may be, for example, […]. Figure 1 Server 110 shown, as Figure 5 As shown, the method may include the following steps:

[0119] Step 510: Receive a user list retrieval request. This user list retrieval request is sent by the target device after displaying a sharing interface containing the target electronic coupon. The target electronic coupon is an electronic coupon issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0120] In one possible implementation, in response to the target device being the first device through which the first user transfers resources via facial recognition, before receiving the user list retrieval request, the server also needs to perform facial recognition on the acquired target face (the face image of the first user captured by the first device and uploaded to the server by the first device) to determine whether to send the target electronic coupon to the first user. The method further includes:

[0121] Obtain the facial feature information of the first user;

[0122] In response to a match between facial feature information and facial feature information templates in the database, at least one electronic coupon is obtained;

[0123] Send information about at least one electronic voucher to the first device so that the first device can display at least one electronic voucher;

[0124] In response to receiving a selection operation instruction, a target electronic coupon is issued to a first user. The selection operation instruction is sent by the first device in response to receiving a selection operation based on the target electronic coupon, and the target electronic coupon is an electronic coupon from at least one electronic coupon.

[0125] The process involves the server acquiring the facial feature information of the first user based on the target face. This target face is the facial image of the first user uploaded to the backend server by the first device after facial capture and face optimization. The backend server extracts the facial feature information of the target face through a facial recognition service and compares it with facial feature information templates in the facial image database. It then obtains the similarity between the facial feature information and each facial feature information template, selects the facial feature information template with the highest similarity, and compares the facial data related to the target face with the facial data corresponding to the facial feature information template with the highest similarity. When the matching degree is greater than the similarity threshold, it confirms that the two are matched and returns relevant information such as the user's account and payment code to the facial payment terminal.

[0126] When the facial feature information matches the facial feature information template in the facial image database, the facial payment is confirmed to be successful. At this time, the back-end server uses the electronic card query service to determine at least one electronic card based on the first device's SN (Serial Number), and returns the relevant information of at least one electronic card (such as the discount value of the electronic card, the device / POI that can be used, the validity period, etc.) to the first device so that the first device can display at least one electronic card.

[0127] In one possible implementation, the at least one electronic voucher is an electronic voucher used on a device in a first set of devices, which are devices that have the same point of interest information as the first device;

[0128] or,

[0129] At least one electronic voucher is an electronic voucher used on a device in the second set of devices; the devices in the second set of devices are devices that have a specified locational relationship with the first device.

[0130] When at least one electronic coupon is used on a device in the first set of devices, the backend server retrieves the electronic coupon corresponding to the first set of devices by calling the electronic coupon query service. For example, the electronic coupon may be applicable to the store where the first device is located, and the electronic coupon may be a discount coupon, a coupon for discounts on purchases over a certain amount, a coupon for redemption of goods, etc.

[0131] When at least one electronic voucher is used on a device in the second device set, the background service retrieves the electronic voucher corresponding to the device in the second device set by calling the electronic voucher query service. The number of devices in the second device set is at least one, and the devices in the second device set are devices that have a specified location relationship with the first device.

[0132] To obtain the devices in the second device set, it is necessary to first obtain the location information of each device. In this embodiment, the backend server includes a POI database to store the POI information uploaded by each device periodically. The backend server maintains a periodic connection with the heartbeat service module in each device through a heartbeat service to receive the POI information uploaded by each device periodically. This POI information includes location information, namely the latitude and longitude information of each device. The backend server stores the obtained POI information of each device into the POI database through a POI statistics service. When obtaining the devices in the second device set, the backend server uses a delineation service to select devices whose distance from the first device is less than a first distance threshold as devices in the second device set based on the location information in the POI information. Schematic, this delineation service filters the data in the POI database at a fixed frequency, delineating devices whose POI information indicates a distance of less than 500 meters from the first device, so as to associate information about all devices and stores within a 500-meter radius of the first device. Optionally, at least one of the following information can also be obtained simultaneously: the serial number of each device in the second device set, the corresponding electronic coupon, and the corresponding store information.

[0133] Therefore, in response to at least one electronic voucher being an electronic voucher corresponding to a device in the second set of devices, and in response to the facial feature information matching a facial feature information template in the facial image database, the process of obtaining at least one electronic voucher can be implemented as follows:

[0134] In response to the matching of facial feature information with facial feature information templates in the facial image database, a second set of devices is obtained, wherein the devices in the second set are those whose distance from the first device is less than a first distance threshold;

[0135] Obtain the electronic coupons corresponding to each device in the second set of devices.

[0136] The electronic voucher corresponding to each device in the second set of devices is at least one of the aforementioned electronic vouchers.

[0137] In one possible implementation, the at least one electronic voucher may include electronic vouchers corresponding to devices in the first set of devices and electronic vouchers corresponding to devices in the second set of devices. That is, when a user selects a target electronic voucher, they can choose an electronic voucher for the store corresponding to the current facial payment device or an electronic voucher for the store corresponding to another facial payment device. This application does not impose any restrictions on this.

[0138] Step 520: Return a user list to the target device. The user list contains users whose corresponding target information meets the first specified condition. The target information is used to indicate the historical situation of the corresponding user transferring resources through facial recognition.

[0139] The first specified condition is used to indicate that the user has not enabled the function of transferring resources based on facial recognition;

[0140] Alternatively, the first specified condition is used to indicate that the user has enabled the function of transferring resources based on face recognition, and the frequency of the user transferring resources based on face recognition is less than the first frequency threshold.

[0141] Alternatively, the first specified condition is used to indicate that the frequency of user resource transfer based on facial recognition is greater than the second frequency threshold.

[0142] Step 530: Receive a sharing request sent by the target device; the sharing request is the target device's response to receiving a request sent by a sharing confirmation operation; the sharing confirmation operation is the operation of issuing the target electronic coupon to the second user in the user list.

[0143] Step 540: Distribute the target electronic coupon to the account corresponding to the second user.

[0144] The sharing request contains the sharing user information. In other words, when the backend server receives the sharing request sent by the target device based on the sharing confirmation operation, it will issue the target electronic coupon to the account corresponding to the second user determined by the first user based on the sharing request.

[0145] In summary, the electronic coupon distribution method provided in this application allows users to share their target electronic coupons with other users when they complete a valid resource transfer via facial recognition in resource transfer scenarios. These other users are determined based on the user's historical data regarding resource transfers via facial recognition, enabling them to redeem resources within the same scenario. Furthermore, the distribution of electronic coupons can be achieved using relevant devices within the facial recognition-based resource transfer scenario, and the recipients are also determined based on the user's historical data in that scenario, making the recipients more clearly defined and thus improving the accuracy and effectiveness of electronic coupon distribution.

[0146] The electronic coupon issuance method provided in this application can be applied in scenarios where resource transfer is performed via facial recognition, as follows:

[0147] Application Method 1: After the first user completes a valid resource transfer through facial recognition on the first device, the user can receive the target electronic coupon from at least one electronic coupon displayed on the electronic coupon sharing interface of the first device and transfer it to the first user's account. This coupon can then be used in the scenario of resource transfer through facial recognition in the corresponding store. The at least one electronic coupon includes electronic coupons corresponding to stores whose distance from the store where the first device is located is less than a first distance threshold. Figure 6 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown, such as... Figure 6 As shown, this electronic coupon issuance method can be applied to a system consisting of a first device 610, a backend server 620, and a user device 630.

[0148] The first device 610 is equipped with an application that supports resource transfer via facial recognition. For example, the application may be an application with facial payment function, and may include modules such as a facial acquisition module, a heartbeat service module, and a coupon sharing module.

[0149] The face acquisition module can be used for face acquisition and face selection. The application collects the current user's face streaming media data by calling the image acquisition component, which may include a camera or camera component. The camera may be a 3D camera, which, compared to a traditional camera, adds liveness detection software and hardware. The 3D camera includes a depth camera and an infrared camera. The application then performs face selection on the acquired face streaming media data to obtain a target face image containing the target face. Face selection can be implemented by comprehensively evaluating the image in the face streaming media data based on preset coefficients such as face size, face angle, image contrast, image brightness, and image clarity, thereby obtaining the target face image containing the target face during this resource transfer process via face recognition.

[0150] The first device 610 uploads the obtained target face image to the face recognition server in the backend server 620. In response to the face recognition server determining that the target face in the target face image matches a face image template in the face image database, the backend server 620 retrieves the account corresponding to the target face, completing the resource transfer. Based on the POI information of each device recorded in the backend server 620, it retrieves a set of second devices whose distance from the first device is less than a first distance threshold, along with the electronic coupons and store information corresponding to each device in the second device set, and then transfers the electronic coupons corresponding to each device in the second device set to the appropriate location. The system sends the electronic coupon, store information, and distance information to the first device 610, enabling the first device 610 to display an electronic coupon list on the electronic coupon sharing interface via the coupon sharing module. This electronic coupon list can include store information and distance information corresponding to each electronic coupon. In response to the user's selection of a target electronic coupon from the electronic coupon list, the target electronic coupon is sent to the user device 630, which is a device logged into the account corresponding to the first user, so that the first user can use the target electronic coupon when transferring resources through facial recognition at the store corresponding to the target electronic coupon.

[0151] This heartbeat service module is used to obtain the location information of the first device at specified intervals. This location information may include the latitude and longitude of the first device. For illustration, the heartbeat service module can periodically call the POI (Point of Interest) module to obtain the location information of the first device, thereby periodically updating the location information. After obtaining the location information of the first device, the module uploads the location information and the first device's SN (Serial Number) to the backend server for recording. Optionally, when uploading the location information and the first device's SN, the corresponding store information of the first device can also be uploaded to the backend server.

[0152] Application Method 2: After the first user completes a valid resource transfer via facial recognition on the first device, they can select one or more target electronic coupons from at least one electronic coupon corresponding to different stores displayed on the electronic coupon sharing interface of the first device and share them with the second user. The second user can be a user meeting a first specified condition, which may include: a user who has not activated the resource transfer function based on facial recognition; or a user who has activated the resource transfer function based on facial recognition and whose frequency of resource transfer based on facial recognition is less than a first frequency threshold; or a user whose frequency of resource transfer based on facial recognition is greater than a second frequency threshold. The first specified condition can be set or combined by relevant personnel. Alternatively, the second user can be a user in the first user's social list who meets the first specified condition; or a user in the first user's social list whose distance from the current first device is less than a second distance threshold; or a user in the first user's social list whose distance from the current first device is less than a second distance threshold and who meets the first specified condition. Relevant personnel can set the filtering conditions for the second user according to actual needs. For example, if the second user is a user in the first user's social list whose distance from the current first device is less than the second distance threshold,... Figure 7 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown, such as... Figure 7 As shown, this electronic coupon issuance method can be applied to a system consisting of a first device 710, a backend server 720, and a user device 730.

[0153] The first device 710 acquires the first user's facial streaming data via a 3D camera, and after face optimization, obtains the target face. The target face is then uploaded to the face recognition server in the backend server 720. Once the target face matches the facial image template, the effective resource transfer is completed. The device then retrieves the first user's social list from the social list server in the backend server 720. This social list contains the identity information of the first user's friends and other relevant information, including the frequency of resource transfer via face recognition. Finally, the device matches the current POI data stored in the POI matching server in the backend server 720. The system uses the location information of the first device and the location information of users in the first user's social list to obtain a first user list. This first user list is then pushed to the first device 710 so that the first device 710 can display it. When the first user selects a target electronic coupon in the electronic coupon list and selects a second user in the first user list, the first device 710 sends a sharing request to the backend server 720. Based on this sharing request, the backend server 720 distributes the target electronic coupon to the account corresponding to the second user, so that the second user can use it for resource transfer via facial recognition at the store corresponding to the target electronic coupon.

[0154] Application Method 3: Building upon Application Methods 1 and 2, after the target e-coupon is distributed to the account corresponding to the first user or the account corresponding to the second user, the user who receives the target e-coupon can then share it. Taking the distribution of the target e-coupon to the account corresponding to the first user as an example... Figure 8 A schematic diagram of an electronic coupon distribution system illustrated in an exemplary embodiment of this application is shown, such as... Figure 8 As shown, this electronic coupon distribution method can be applied to a system consisting of a first device, a back-end server, and user devices;

[0155] While the first user device 810, i.e., the terminal logged into the account corresponding to the first user, obtains the target electronic coupon, the social list server in the backend server 820 can obtain the first user's social list and, through the payment big data server, obtain the frequency of resource transfer based on facial recognition for each user in the social list. Users whose frequency of resource transfer based on facial recognition is lower than a first frequency threshold are added to the second user list, and the second user list is sent to the first user device 810 so that the target electronic coupon and the second user list can be displayed on the first user device 810. The first user selects a third user from the second user list based on the first user device 810, and transfers the target electronic coupon from the account corresponding to the first user to the account of the third user logged into the third user device 830 through the electronic coupon distribution service in the backend server 820, so that the third user can use it for resource transfer based on facial recognition at the store corresponding to the target electronic coupon. Optionally, the users in the second user list are users in the first user's social list who have not enabled the function of resource transfer based on facial recognition, and whose store access records have a similarity higher than a specified similarity threshold with the first user's store access records.

[0156] Optionally, when a third-user account on a third-user device receives a target electronic coupon after a valid resource transfer, or a target electronic coupon gifted by another user, coupon redemption information will be added to the corresponding application on the third-user device. In response to receiving a user's click on the coupon redemption information, the third-user will be confirmed to have redeemed the electronic coupon. For example, the coupon redemption information may be mini-program information in a social application.

[0157] Specifically, when transferring a target e-voucher, the deduction value of the target e-voucher can be changed, and the e-voucher with the changed deduction value can be issued to the third user's account. Optionally, if the third user has not activated the resource transfer function based on facial recognition, when the first user confirms the transfer of the target e-voucher to the third user, the deduction value of the target e-voucher can be changed, and the e-voucher with the changed deduction value can be issued to the third user's account.

[0158] A third user can also transfer the target e-voucher or the target e-voucher with the modified deduction value to other users through operations similar to those of the first user, until the number of times the target e-voucher has been shared reaches the sharing threshold, or the target e-voucher with the updated deduction value reaches the deduction value threshold.

[0159] Figure 9 A block diagram of an electronic coupon issuing device illustrated in an exemplary embodiment of this application is shown, such as... Figure 9 As shown, the device includes:

[0160] The first display module 910 is used to display a target electronic coupon in the electronic coupon sharing interface. The target electronic coupon is an electronic coupon issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition.

[0161] The second display module 920 is used to display a user list, which contains users whose corresponding target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user transferring resources through facial recognition.

[0162] The third display module 930 is used to display distribution information in response to receiving a sharing confirmation operation. The distribution information indicates that the target electronic coupon has been distributed to the account corresponding to the second user. The sharing confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

[0163] In one possible implementation, the target electronic voucher is an electronic voucher determined from at least one electronic voucher based on the first user's voucher selection operation;

[0164] The at least one electronic voucher is an electronic voucher displayed in the first device after the first user completes a valid resource transfer in a scenario where resource transfer is performed via facial recognition. The first device is the device through which the first user performs resource transfer via facial recognition.

[0165] In one possible implementation, the at least one electronic voucher is an electronic voucher used on a device in a first set of devices, wherein the devices in the first set of devices are devices that have the same point of interest information as the first device;

[0166] or,

[0167] The at least one electronic voucher is an electronic voucher used on a device in the second set of devices; the devices in the second set of devices are devices that have a specified location relationship with the first device.

[0168] In one possible implementation, the specified positional relationship includes: the distance between the device and the first device is less than a first distance threshold.

[0169] In one possible implementation, in response to the method being performed by the first device, the apparatus further includes:

[0170] The fourth display module is configured to, in response to the fact that the at least one electronic coupon is an electronic coupon used on a device in the second device set, display at least one electronic coupon and distance information of the usable device corresponding to each of the at least one electronic coupon in the electronic coupon sharing interface of the first device, wherein the distance information is used to indicate the distance between the usable device corresponding to the electronic coupon and the first device.

[0171] In one possible implementation, in response to the fact that the at least one electronic voucher is an electronic voucher used on a device in the first device set, the first user list includes users who have a specified association with the first user, whose corresponding target information satisfies the first specified condition, and whose distance from the first device meets the second specified condition, the second specified condition indicating that the distance between the corresponding user and the first device is less than a second distance threshold.

[0172] In one possible implementation, the first specified condition is used to indicate that the user has not enabled the function of transferring resources based on face recognition;

[0173] Alternatively, the first specified condition is used to indicate that the user has enabled the function of transferring resources based on face recognition, and the frequency of the user transferring resources based on face recognition is less than the first frequency threshold.

[0174] Alternatively, the first specified condition may be used to indicate that the frequency of user resource transfer based on facial recognition is greater than the second frequency threshold.

[0175] In one possible implementation, the second display module 920 is configured to display the first user list in response to receiving a coupon sharing operation based on the target electronic coupon.

[0176] In one possible implementation, the target electronic voucher that has been issued to the account corresponding to the second user is the target electronic voucher with the updated deduction value.

[0177] In summary, the electronic coupon distribution device provided in this application embodiment can share the target electronic coupon obtained by a user with other users when the user completes a valid resource transfer in a scenario where resource transfer is performed via facial recognition. These other users are determined based on the user's historical data regarding resource transfers via facial recognition, enabling the user who obtained the target electronic coupon to deduct resources in such scenarios. Furthermore, the distribution of electronic coupons can be achieved using relevant equipment in scenarios where resource transfer is performed via facial recognition, and the recipients are also determined based on the user's historical data in that scenario, making the recipients of electronic coupons more clearly defined. This improves the accuracy and effectiveness of electronic coupon distribution.

[0178] Figure 10 A block diagram of an electronic coupon issuing device illustrated in an exemplary embodiment of this application is shown, such as... Figure 10 As shown, the device includes:

[0179] The request receiving module 1010 is used to receive a user list acquisition request, which is a request sent by the target device after displaying a sharing interface containing a target electronic coupon; the target electronic coupon is an electronic coupon issued to the first user after a valid resource transfer is completed in a scenario where resource transfer is performed through facial recognition; the target electronic coupon is used to deduct resources in a scenario where resource transfer is performed through facial recognition.

[0180] The list return module 1020 is used to return a user list to the target device. The user list contains users whose corresponding target information meets the first specified condition. The target information is used to indicate the historical situation of the corresponding user transferring resources through face recognition.

[0181] The sharing request receiving module 1030 is used to receive a sharing request sent by the target device; the sharing request is a request sent by the target device in response to receiving a sharing confirmation operation; the sharing confirmation operation is an operation to issue the target electronic coupon to the second user in the user list;

[0182] The coupon distribution module 1040 is used to distribute the target electronic coupon to the account corresponding to the second user.

[0183] In one possible implementation, in response to the target device being a first device for resource transfer by the first user via facial recognition, the apparatus further includes:

[0184] The feature information acquisition module is used to acquire the facial feature information of the first user before the acquisition request receiving module receives the user list acquisition request;

[0185] The electronic coupon acquisition module is used to acquire at least one electronic coupon in response to the facial feature information being matched with a facial feature information template in the database.

[0186] The information of the at least one electronic coupon is sent to the first device so that the first device displays the at least one electronic coupon.

[0187] The second coupon issuing module is used to issue the target electronic coupon to the first user in response to receiving a selection operation instruction. The selection operation instruction is sent by the first device in response to receiving a selection operation based on the target electronic coupon. The target electronic coupon is an electronic coupon among the at least one electronic coupon.

[0188] In summary, the electronic coupon distribution device provided in this application embodiment can share the target electronic coupon obtained by a user with other users when the user completes a valid resource transfer in a scenario where resource transfer is performed via facial recognition. These other users are determined based on the user's historical data regarding resource transfers via facial recognition, enabling the user who obtained the target electronic coupon to deduct resources in such scenarios. Furthermore, the distribution of electronic coupons can be achieved using relevant equipment in scenarios where resource transfer is performed via facial recognition, and the recipients are also determined based on the user's historical data in that scenario, making the recipients of electronic coupons more clearly defined. This improves the accuracy and effectiveness of electronic coupon distribution.

[0189] Figure 11 This is a structural block diagram of a computer device 1100 according to an exemplary embodiment. The computer device 1100 may be... Figure 1 The terminal shown is part of the electronic coupon distribution system.

[0190] Typically, computer device 1100 includes a processor 1101 and a memory 1102.

[0191] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0192] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 are used to store at least one instruction, which is executed by the processor 1101 to implement the method provided in the method embodiments of this application.

[0193] In some embodiments, the computer device 1100 may optionally include a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning assembly 1108, and a power supply 1109.

[0194] In some embodiments, the computer device 1100 further includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: an accelerometer 1111, a gyroscope 1112, a pressure sensor 1113, a fingerprint sensor 1114, an optical sensor 1115, and a proximity sensor 1116.

[0195] Those skilled in the art will understand that Figure 11 The structure shown does not constitute a limitation on the computer device 1100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0196] Figure 12 This is a structural block diagram of a computer device 1200 according to an exemplary embodiment. This computer device can be implemented as the server described in the above-described scheme of this application.

[0197] The computer device 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including random access memory (RAM) 1202 and read-only memory (ROM) 1203, and a system bus 1205 connecting the system memory 1204 and the CPU 1201. The computer device 1200 also includes a basic input / output system (I / O system) 1206 to facilitate information transfer between various components within the computer, and a mass storage device 1207 for storing the operating system 1213, application programs 1214, and other program modules 1215.

[0198] The basic input / output system 1206 includes a display 1208 for displaying information and an input device 1209 for user input, such as a mouse or keyboard. Both the display 1208 and the input device 1209 are connected to the central processing unit 1201 via an input / output controller 1210 connected to the system bus 1205. The basic input / output system 1206 may also include the input / output controller 1210 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1210 also provides output to a display screen, printer, or other types of output devices.

[0199] The mass storage device 1207 is connected to the central processing unit 1201 via a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the computer device 1200. That is, the mass storage device 1207 may include computer-readable media (not shown) such as a hard disk or a compact disc read-only memory (CD-ROM) drive.

[0200] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage media are not limited to the above-mentioned types. The system memory 704 and mass storage device 1207 described above can be collectively referred to as memory.

[0201] According to various embodiments of this disclosure, the computer device 1200 can also be connected to a remote computer on a network, such as the Internet. That is, the computer device 1200 can be connected to a network 1212 via a network interface unit 1211 connected to the system bus 1205, or the network interface unit 1211 can be used to connect to other types of networks or remote computer systems (not shown).

[0202] The memory further includes at least one instruction, at least one program, code set, or instruction set, which are stored in the memory. The central processing unit 1201 executes the at least one instruction, at least one program, code set, or instruction set to implement all or part of the steps in the electronic coupon issuance method shown in the above embodiments.

[0203] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set can be executed by a processor to perform the above-described task. Figure 2 Figure 3 or Figure 5 All or part of the steps of the method shown in any embodiment. For example, the non-transitory computer-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0204] In one exemplary embodiment, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned actions. Figure 2 , Figure 3 or Figure 5 All or part of the steps of the method shown in any embodiment.

[0205] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0206] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for issuing electronic coupons, characterized in that, The method includes: The target electronic coupon is displayed on the electronic coupon sharing interface. The target electronic coupon is issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition. Display a user list, which contains users whose corresponding target information meets a first specified condition; the target information is used to indicate the historical status of resource transfer by the corresponding user through facial recognition. In response to receiving a share confirmation operation, distribution information is displayed, indicating that the target electronic coupon has been distributed to the account corresponding to the second user; the share confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

2. The method according to claim 1, characterized in that, The target electronic voucher is an electronic voucher determined from at least one electronic voucher based on the voucher selection operation of the first user; The at least one electronic voucher is an electronic voucher displayed in the first device after the first user completes a valid resource transfer in a scenario where resource transfer is performed via facial recognition. The first device is the device through which the first user performs resource transfer via facial recognition.

3. The method according to claim 2, characterized in that, The at least one electronic voucher is an electronic voucher used on a device in the first set of devices, and the devices in the first set of devices are devices that have the same point of interest information as the first device; or, The at least one electronic voucher is an electronic voucher used on a device in the second set of devices; the devices in the second set of devices are devices that have a specified location relationship with the first device.

4. The method according to claim 3, characterized in that, The specified location relationship includes: the distance between the device and the first device is less than a first distance threshold.

5. The method according to claim 3, characterized in that, In response to the method being performed by the first device, the method further includes: In response to the fact that the at least one electronic voucher is an electronic voucher used on a device in the second set of devices, at least one electronic voucher and distance information of the usable device corresponding to each of the at least one electronic voucher are displayed in the electronic voucher sharing interface of the first device. The distance information is used to indicate the distance between the usable device corresponding to the electronic voucher and the first device.

6. The method according to claim 3, characterized in that, In response to the fact that the at least one electronic voucher is an electronic voucher used on a device in the first device set, the first user list contains users who have a specified association with the first user, whose corresponding target information satisfies the first specified condition, and whose distance from the first device meets the second specified condition, wherein the second specified condition indicates that the distance between the corresponding user and the first device is less than a second distance threshold.

7. The method according to claim 1, characterized in that, The first specified condition is used to indicate that the user has not enabled the function of transferring resources based on facial recognition; Alternatively, the first specified condition is used to indicate that the user has enabled the function of transferring resources based on face recognition, and the frequency of the user transferring resources based on face recognition is less than the first frequency threshold. Alternatively, the first specified condition may be used to indicate that the frequency of user resource transfer based on facial recognition is greater than the second frequency threshold.

8. The method according to claim 1, characterized in that, The user list display includes: In response to receiving a coupon sharing operation based on the target electronic coupon, the user list is displayed.

9. The method according to claim 1, characterized in that, The target electronic coupon that has been issued to the account corresponding to the second user is the target electronic coupon with the updated deduction value.

10. A method for issuing electronic coupons, characterized in that, The method includes: The system receives a user list retrieval request, which is sent by the target device after displaying a sharing interface containing the target electronic coupon; the target electronic coupon is an electronic coupon issued to the first user after a valid resource transfer is completed in the scenario of resource transfer via facial recognition; the target electronic coupon is used to deduct resources in the scenario of resource transfer via facial recognition. A user list is returned to the target device, the user list containing users whose corresponding target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user transferring resources through facial recognition; Receive a sharing request sent by the target device; the sharing request is a request sent by the target device in response to receiving a sharing confirmation operation; the sharing confirmation operation is an operation to issue the target electronic coupon to the second user in the user list; The target electronic coupon is issued to the account corresponding to the second user.

11. The method according to claim 10, characterized in that, In response to the target device being the first device through which the first user transfers resources via facial recognition, the method further includes the following steps before receiving the user list retrieval request: Obtain the facial feature information of the first user; In response to the facial feature information being matched with a facial feature information template in the database, at least one electronic coupon is obtained; The information of the at least one electronic coupon is sent to the first device so that the first device displays the at least one electronic coupon. In response to receiving a selection operation instruction, the target electronic coupon is issued to the first user. The selection operation instruction is sent by the first device in response to receiving a selection operation based on the target electronic coupon. The target electronic coupon is an electronic coupon among the at least one electronic coupon.

12. An electronic coupon issuing device, characterized in that, The device includes: The first display module is used to display a target electronic coupon in the electronic coupon sharing interface. The target electronic coupon is an electronic coupon issued to the first user after the first user completes a valid resource transfer in the scenario of resource transfer through facial recognition. The target electronic coupon is used to deduct resources in the scenario of resource transfer through facial recognition. The second display module is used to display a user list, which contains users whose corresponding target information meets the first specified condition; the target information is used to indicate the historical situation of the corresponding user's resource transfer through facial recognition. The third display module is used to display distribution information in response to receiving a sharing confirmation operation. The distribution information indicates that the target electronic coupon has been distributed to the account corresponding to the second user. The sharing confirmation operation is the operation of sharing the target electronic coupon with the second user in the user list.

13. An electronic coupon issuing device, characterized in that, The device includes: The request receiving module is used to receive a user list retrieval request, which is a request sent by the target device after displaying a sharing interface containing a target electronic coupon; the target electronic coupon is an electronic coupon issued to the first user after a valid resource transfer is completed in the scenario of resource transfer through face recognition; the target electronic coupon is used to deduct resources in the scenario of resource transfer through face recognition. The list return module is used to return a user list to the target device. The user list contains users whose corresponding target information meets the first specified condition. The target information is used to indicate the historical situation of the corresponding user's resource transfer through face recognition. A sharing request receiving module is used to receive a sharing request sent by the target device; the sharing request is a request sent by the target device in response to receiving a sharing confirmation operation; the sharing confirmation operation is an operation to issue the target electronic coupon to the second user in the user list; The first coupon distribution module is used to distribute the target electronic coupon to the account corresponding to the second user.

14. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to implement the electronic coupon distribution method as described in any one of claims 1 to 11.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to implement the electronic coupon distribution method as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Processing method for gifted amount in electronic wallet and server

    CN102779304A

  • Resource transfer method, apparatus and equipment, and storage medium

    CN108830572A