Transaction method, device, equipment and storage medium based on facial recognition

Obtaining identity information through facial authentication and using virtual accounts for transactions solves the problem of difficulty in integrating the face-swiping payment system with the existing payment system, achieving convenient operation and payment security of virtual currency.

CN112862494BActive Publication Date: 2024-09-13SHANGHAI SENSETIME LINGANG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110127588.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-09-13
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

The existing facial recognition payment system is difficult to integrate with the original payment system, resulting in inconvenient payment operations. It is especially difficult to achieve effective integration with virtual currencies in various business scenarios.

Method used

Obtain the identity information of the transaction party through facial authentication, and use the virtual account associated with the identity information to conduct transactions, including activation, collection and payment operations, to realize the deposit, increase and deduction of virtual currency to ensure the security and convenience of transactions. sex.

Benefits of technology

It realizes the integration of the virtual account system and the facial authentication system, reduces the use of cash/credit cards, avoids theft and wrong accounts, improves the security and convenience of transactions, and supports multi-channel real currency and virtual currency payments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112862494B
    Figure CN112862494B
Patent Text Reader

Abstract

Disclosed are a transaction method, apparatus, device and storage medium based on facial recognition, the method comprising: receiving a transaction request, the transaction request indicating information to be traded; in response to the transaction request, obtaining a facial recognition result of a transaction party, the facial recognition result including identity information of the transaction party; sending the identity information and the information to be traded to a server, so that the server conducts a transaction according to the information to be traded through a virtual account associated with the identity information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of payment technology, and in particular to a transaction method, device, equipment and storage medium based on facial recognition. Background Art

[0002] Since face-scanning payment does not require the transaction parties to carry any medium for payment, it improves the convenience of payment while avoiding the risk of medium loss and reducing the risk of medium being stolen by others. Therefore, face-scanning payment has been applied in many business scenarios. The current face-scanning payment system is aimed at a single real currency payment channel, which is difficult to integrate with the original payment system, bringing inconvenience to payment operations. Summary of the invention

[0003] The disclosed embodiment provides a transaction solution based on facial authentication.

[0004] According to one aspect of the present disclosure, a transaction method based on facial recognition is provided, the method comprising: receiving a transaction request, the transaction request indicating information to be traded; in response to the transaction request, obtaining a facial recognition result of a transaction party, the facial recognition result including identity information of the transaction party; sending the identity information and the information to be traded to a server, so that the server conducts a transaction according to the information to be traded through a virtual account associated with the identity information.

[0005] In combination with any embodiment provided by the present disclosure, virtual currency information to be deposited returned by the server is received and displayed, wherein the virtual currency information to be deposited is generated based on the level information associated with the identity information of the transaction party and the virtual currency type indicated by the transaction information; in response to receiving a first confirmation signal for the virtual currency information to be deposited, a first trigger signal is sent to the server so that the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited.

[0006] In combination with any embodiment provided by the present disclosure, when the transaction request includes a collection request, after sending the identity information and the information to be traded to the server, the method further includes: receiving and displaying the virtual currency information to be collected returned by the server, wherein the virtual currency information to be collected is generated based on the satisfaction of the set conditions by the transaction party and the type of virtual currency indicated by the information to be traded; in response to receiving a second confirmation signal for the virtual currency information to be collected, sending a second trigger signal to the server so that the server increases the corresponding amount of virtual currency in the virtual account according to the virtual currency information to be collected.

[0007] In combination with any embodiment provided by the present disclosure, when the transaction request includes a payment request, after sending the identity information and the pending transaction information to the server, the method further includes: receiving and displaying virtual currency deduction information returned by the server, wherein the virtual currency deduction information is generated based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information; in response to receiving a third confirmation signal for the virtual currency deduction information, sending a third trigger signal to the server so that the server completes the payment according to the virtual currency deduction information.

[0008] In combination with any embodiment provided in the present disclosure, the method also includes: when the virtual currency deduction information indicates that the virtual account does not meet the deduction conditions, outputting a prompt message to prompt the transaction party to make payment through the contracted bank card or third-party payment institution; in response to receiving a fourth confirmation message for the prompt message, sending a fourth trigger signal to the server so that the server completes the payment through the bank card or third-party payment institution contracted with the transaction party.

[0009] In combination with any embodiment provided by the present disclosure, the method further includes: after completing the payment, receiving and displaying the payment information returned by the server, wherein the payment information includes at least one of the payment amount, payment details, and balance information of the virtual account after completing the payment.

[0010] In combination with any embodiment provided by the present disclosure, when the transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0011] According to one aspect of the present disclosure, a transaction method based on facial authentication is provided, the method comprising: receiving identity information of a transaction party and information to be traded, wherein the identity information is obtained by performing facial authentication on the transaction party, and the information to be traded is generated according to a transaction request; and conducting a transaction according to the information to be traded through a virtual account associated with the identity information.

[0012] In combination with any implementation manner provided by the present disclosure, when the transaction request includes an activation request, the transaction is performed according to the pending transaction information through a virtual account associated with the identity information, including:

[0013] Generate virtual currency information to be deposited according to level information associated with the identity information of the transaction party and the type of virtual currency indicated by the transaction information; send the virtual currency information to be deposited to a transaction terminal so that the transaction terminal displays the virtual currency information to be deposited; and in response to receiving a first trigger signal sent by the transaction terminal, set a virtual currency balance corresponding to the virtual currency type in the virtual account according to the virtual currency information to be deposited, wherein the first trigger signal is generated by the transaction terminal after receiving a first confirmation signal for the virtual currency information to be deposited.

[0014] In combination with any embodiment provided by the present disclosure, when the transaction request includes a collection request, the transaction is conducted according to the information to be traded through a virtual account associated with the identity information, including: generating virtual currency information to be collected according to the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the information to be traded; sending the virtual currency information to be collected to a transaction terminal so that the transaction terminal displays the virtual currency information to be collected; in response to receiving a second trigger signal sent by the transaction terminal, adding a corresponding amount of virtual currency to the virtual account according to the virtual currency information to be collected, wherein the second trigger signal is generated by the transaction terminal after receiving a second confirmation signal for the virtual currency information to be collected.

[0015] In combination with any embodiment provided by the present disclosure, when the transaction request includes a payment request, the transaction is conducted according to the information to be traded through a virtual account associated with the identity information, including: generating virtual currency deduction information according to the balance information of the virtual account and the amount to be paid indicated by the information to be traded; sending the virtual currency deduction information to a transaction terminal so that the transaction terminal displays the virtual currency deduction information; and completing payment according to the virtual currency deduction information in response to receiving a third trigger signal sent by the transaction terminal, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

[0016] In combination with any embodiment provided in the present disclosure, the method also includes: in response to receiving a fourth trigger signal sent by the transaction terminal, completing payment through a bank card or a third-party payment institution signed with the transaction party, wherein the fourth trigger signal is generated by the transaction terminal after receiving a fourth confirmation signal of prompt information for payment through the contracted bank card or third-party payment institution when the virtual currency deduction information indicates that the virtual account of the transaction party does not meet the deduction conditions.

[0017] In combination with any embodiment provided by the present disclosure, the method also includes: after completing the payment, sending the payment amount and / or payment details to the transaction terminal for display on the interface of the transaction terminal; and / or, sending at least one of the payment amount, payment details, and balance information of the virtual account after completing the payment to the mobile terminal used by the transaction party for display on the display interface of the mobile terminal.

[0018] In combination with any embodiment provided by the present disclosure, when the transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0019] According to one aspect of the present disclosure, a transaction device based on facial recognition is provided, the device comprising: a request receiving unit, used to receive a transaction request, the transaction request indicating information to be traded; an acquisition unit, used to obtain a facial recognition result of a transaction party in response to the transaction request, the facial recognition result including identity information of the transaction party; a sending unit, used to send the identity information and the information to be traded to a server, so that the server conducts a transaction according to the information to be traded through a virtual account associated with the identity information.

[0020] In combination with any embodiment provided by the present disclosure, the device also includes a first confirmation unit, which is used to receive and display the virtual currency information to be deposited returned by the server after sending the identity information and the information to be traded to the server when the transaction request includes an activation request, wherein the virtual currency information to be deposited is generated based on the level information associated with the identity information of the transaction party and the virtual currency type indicated by the information to be traded; in response to receiving a first confirmation signal for the virtual currency information to be deposited, send a first trigger signal to the server so that the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited.

[0021] In combination with any embodiment provided by the present disclosure, the device also includes a second confirmation unit, which is used for receiving and displaying the virtual currency information to be collected returned by the server after sending the identity information and the information to be traded to the server, when the transaction request includes a collection request, wherein the virtual currency information to be collected is generated based on the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the information to be traded; in response to receiving a second confirmation signal for the virtual currency information to be collected, sending a second trigger signal to the server so that the server increases the corresponding amount of virtual currency in the virtual account according to the virtual currency information to be collected.

[0022] In combination with any embodiment provided by the present disclosure, the device also includes a third confirmation unit, which is used to receive and display virtual currency deduction information returned by the server after sending the identity information and the pending transaction information to the server when the transaction request includes a payment request, and the virtual currency deduction information is generated based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information; in response to receiving a third confirmation signal for the virtual currency deduction information, send a third trigger signal to the server so that the server completes the payment according to the virtual currency deduction information.

[0023] In combination with any embodiment provided in the present disclosure, the device also includes a fourth confirmation unit, which is used to output a prompt message to prompt the transaction party to make payment through the bank card or third-party payment institution signed with the contract when the virtual currency deduction information indicates that the virtual account does not meet the deduction conditions; in response to receiving the fourth confirmation information for the prompt message, send a fourth trigger signal to the server, so that the server completes the payment through the bank card or third-party payment institution signed with the transaction party.

[0024] In combination with any embodiment provided in the present disclosure, the device also includes a display unit for receiving and displaying payment information returned by the server after payment is completed, wherein the payment information includes at least one of the payment amount, payment details, and balance information of the virtual account after payment is completed.

[0025] In combination with any embodiment provided by the present disclosure, when the transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0026] According to one aspect of the present disclosure, a transaction device based on facial recognition is provided, the device comprising: an information receiving unit, used to receive identity information and information to be traded of a transaction party, wherein the identity information is obtained by performing facial recognition on the transaction party, and the information to be traded is generated according to a transaction request; and a transaction unit, used to conduct a transaction according to the information to be traded through a virtual account associated with the identity information.

[0027] In combination with any embodiment provided by the present disclosure, the device also includes a first transaction unit, which is used to generate virtual currency information to be deposited based on the level information associated with the identity information of the transaction party and the virtual currency type indicated by the transaction information; send the virtual currency information to be deposited to the transaction terminal so that the transaction terminal displays the virtual currency information to be deposited; in response to receiving a first trigger signal sent by the transaction terminal, set a virtual currency balance corresponding to the virtual currency type in the virtual account according to the virtual currency information to be deposited, wherein the first trigger signal is generated by the transaction terminal after receiving a first confirmation signal for the virtual currency information to be deposited.

[0028] In combination with any embodiment provided by the present disclosure, the device also includes a second transaction unit, which is used to generate virtual currency information to be collected based on the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the transaction information; send the virtual currency information to be collected to the transaction terminal so that the transaction terminal displays the virtual currency information to be collected; in response to receiving a second trigger signal sent by the transaction terminal, add a corresponding virtual currency amount to the virtual account according to the virtual currency information to be collected, wherein the second trigger signal is generated by the transaction terminal after receiving a second confirmation signal for the virtual currency information to be collected.

[0029] In combination with any embodiment provided by the present disclosure, the device also includes a third transaction unit, which is used to generate virtual currency deduction information based on the balance information of the virtual account and the amount to be paid indicated by the transaction information; send the virtual currency deduction information to the transaction terminal so that the transaction terminal displays the virtual currency deduction information; in response to receiving a third trigger signal sent by the transaction terminal, complete payment according to the virtual currency deduction information, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

[0030] In combination with any embodiment provided in the present disclosure, the device also includes a fourth transaction unit, which is used to complete payment through a bank card or a third-party payment institution signed with the transaction party in response to receiving a fourth trigger signal sent by the transaction terminal, wherein the fourth trigger signal is generated by the transaction terminal after receiving a fourth confirmation signal of prompt information for payment through a bank card or a third-party payment institution signed with the transaction party when the virtual currency deduction information indicates that the virtual account of the transaction party does not meet the deduction conditions.

[0031] In combination with any embodiment provided by the present disclosure, the device also includes a first display unit, which is used to send the payment amount and / or payment details to the transaction terminal after the payment is completed, so as to display them on the interface of the transaction terminal; and / or, a second display unit, which is used to send at least one of the payment amount, payment details, and balance information of the virtual account after the payment is completed to the mobile terminal used by the transaction party, so as to display them on the display interface of the mobile terminal.

[0032] In combination with any embodiment provided by the present disclosure, when the transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0033] According to one aspect of the present disclosure, an electronic device is provided, the device comprising a memory and a processor, the memory being used to store computer instructions executable on the processor, the processor being used to implement the facial authentication-based transaction method described in any embodiment of the present disclosure when executing the computer instructions.

[0034] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the transaction method based on facial authentication described in any embodiment of the present disclosure is implemented.

[0035] The facial recognition-based transaction method, apparatus, device and storage medium of one or more embodiments of the present disclosure trigger the acquisition of the facial recognition result of the transaction party by receiving a transaction request, and send the identity information and transaction information in the facial recognition result to the server, so that the server determines the virtual account associated with the identity information, and conducts transactions through the virtual account according to the transaction information, completes identity authentication by performing facial recognition, and conducts transactions on the server through the associated virtual account. The interaction process is safe and convenient, and the use of cash / credit cards is reduced, avoiding theft, wrong accounts and the like, thereby improving the security of transactions; and the integration of the seller's virtual account system and the facial recognition system is realized, thereby improving the convenience of transactions.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 is a flow chart of a transaction method based on facial authentication shown in an embodiment of the present disclosure;

[0039] Figure 2 is a schematic diagram of an activation method based on facial authentication shown in an embodiment of the present disclosure;

[0040] Figure 3 is a schematic diagram of another method for receiving a card based on facial recognition according to an embodiment of the present disclosure;

[0041] Figure 4 is a schematic diagram of another payment method based on facial authentication according to an embodiment of the present disclosure;

[0042] Figure 5 is a schematic diagram of a points payment method based on facial recognition shown in an embodiment of the present disclosure;

[0043] Figure 6 A flowchart of another transaction method based on facial authentication provided by an embodiment of the present disclosure;

[0044] Figure 7 is a structural schematic diagram of a transaction device based on facial recognition shown in an embodiment of the present disclosure;

[0045] Figure 8 is a schematic structural diagram of another transaction device based on facial recognition according to an embodiment of the present disclosure;

[0046] Fig. 9It is a structural diagram of an information processing device shown in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0048] Figure 1 This is a flow chart of a transaction method based on facial recognition provided by an embodiment of the present disclosure. The execution subject of this method may be a transaction terminal, such as a cash register, POS (Point of Sale), self-service cash machine, self-service payment machine, etc. Figure 1 As shown, the method may include steps 101 to 103.

[0049] In step 101, a transaction request is received, wherein the transaction request indicates information to be traded.

[0050] The transaction request may be initiated by the transaction party through the interactive interface of the transaction terminal. For example, if the transaction scenario is a payment scenario, the transaction request may be initiated by the payment party through a cash register or POS machine. If the transaction scenario is a payment scenario, the transaction request may be initiated by the payee through a self-service payment machine. The transaction request may be used to indicate pending transaction information, which is associated with the specific type of the transaction request.

[0051] In step 102, in response to the transaction request, a facial authentication result of the transaction party is obtained.

[0052] When the transaction request is received, a facial recognition result of the transaction party is obtained, wherein the facial recognition result includes the identity information of the transaction party.

[0053] In some embodiments, the transaction terminal integrates a facial authentication device, such as a face scanning device, that is, the transaction terminal has a facial authentication function. For example, the transaction terminal can obtain the facial information of the transaction party by photographing the face of the transaction party. The facial information can be the facial image of the transaction party, or can be the facial features extracted from the facial image of the transaction party for verifying the identity of the transaction party. The facial authentication result can be obtained through the correspondence between the facial information and the identity information, that is, the identity information of the transaction party can be obtained.

[0054] In some embodiments, the transaction terminal may be connected to a facial recognition device for communication, and the communication connection may be a wired connection or a wireless connection. Upon receiving the transaction request, the transaction terminal sends a facial recognition trigger signal to the facial recognition device so that the facial recognition device performs facial recognition on the transaction party, and the transaction terminal may receive the facial recognition result of the transaction party from the facial recognition device. The facial recognition device performs facial recognition in the manner described above and will not be repeated here.

[0055] For the enterprise employee system or store membership system, facial information can be entered and bound to identity information when employees join or members register. Identity authentication of enterprise members or store members can be completed through a transaction terminal or facial authentication device with facial authentication function.

[0056] In one example, facial information may be entered and bound to identity information through a mobile terminal such as a mobile phone or tablet computer, for example, through an APP, and the mobile terminal information may be bound to the identity information at the same time.

[0057] In step 103, the identity information and the information to be traded are sent to a server, so that the server can conduct a transaction according to the information to be traded through a virtual account associated with the identity information.

[0058] In the disclosed embodiment, the server is, for example, a cloud server. By associating identity information with a virtual account, the server can determine the virtual account corresponding to the transaction party according to the received identity information of the transaction party, and conduct transactions according to the transaction information through the virtual account.

[0059] The transaction method based on facial recognition proposed in the embodiments of the present disclosure can be used in offline payment scenarios of various enterprises, institutions, membership stores, and convenience stores, such as canteens, sales stores, and vending machines in enterprises and institutions. For the employee system of an enterprise or institution, the virtual account can be an employee card of an employee, and the virtual currency in the employee card can include virtual currency circulated in the enterprise employee system, such as canteen tokens, points, etc.; for the membership store and convenience store membership system, the virtual account can be a points card of a store or convenience store member, and the virtual currency in the points card can include member points, tokens, etc. Those skilled in the art should understand that the virtual account can also include other types of accounts, and the present disclosure does not limit this.

[0060] Transactions conducted through the virtual account include the application of virtual currency in the virtual account, such as the collection of virtual currency, payment using virtual currency, etc.

[0061] In the disclosed embodiment, the facial recognition result of the transaction party is obtained by receiving a transaction request, and the identity information and the transaction information in the facial recognition result are sent to the server, so that the server determines the virtual account associated with the identity information, and conducts the transaction through the virtual account according to the transaction information. The identity authentication is completed by performing facial recognition, and the transaction is conducted on the server through the associated virtual account. The interaction process is safe and convenient, and the use of cash / credit cards is reduced, and the phenomenon of fraud, wrong account, etc. is avoided, thereby improving the security of the transaction; and the integration of the virtual account system and the facial recognition system is realized, thereby improving the convenience of transactions.

[0062] In some embodiments, the transaction method based on facial recognition includes activation of a virtual account. In the case where the transaction scenario is the activation scenario of a virtual account, the transaction terminal is, for example, a terminal such as an ATM or a self-service payment machine that can be operated by an employee or member by themselves; the transaction request includes an activation request, and the activation request indicates the type of virtual currency in the virtual account requested to be activated. Before activation, the virtual account or one of the virtual currency types in the virtual account can be empty, and the corresponding type of virtual currency is deposited after activation. For example, for the employee card of a newly registered / newly employed employee in the employee system of an enterprise or institution, or the points card of a new member in the membership system of a membership store or convenience store, the amount of points or tokens in the card is empty before activation. The server stores the level corresponding to the identity information of the transaction party in the transaction system, and the amount of virtual currency to be deposited corresponding to the level. For example, the server stores the basic points corresponding to the level of the newly registered / newly employed employee / new member.

[0063] After sending the identity information obtained based on the trigger of the activation request and the pending transaction information to the server, the server generates the virtual currency information to be deposited according to the level information associated with the identity information of the transaction party and the type of virtual currency indicated by the pending transaction information, and sends the virtual currency information to be deposited to the transaction terminal.

[0064] The transaction terminal receives the virtual currency information to be deposited returned by the server, and displays it to the transaction party on the display interface of the transaction terminal. The transaction party can input a first confirmation signal for the virtual currency information to be deposited through the interactive interface of the transaction terminal.

[0065] In response to receiving a first confirmation signal for the virtual currency information to be deposited, the transaction terminal sends a first trigger signal to the server, so that the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited, thereby activating the virtual account.

[0066] Figure 2 FIG. 1 is a schematic diagram of an activation method based on facial recognition shown in an embodiment of the present disclosure. Figure 2 As shown, the transaction terminal receives an activation request, such as step 201, and the activation request indicates the type of virtual currency requested to be activated, such as requesting to activate a points account in a virtual account. In response to the transaction terminal receiving the activation request, the transaction terminal obtains the facial recognition result of the transaction party, and the facial recognition result includes the identity information of the transaction party, such as step 202. Next, in step 203, the transaction terminal sends the identity information of the transaction party and the type of activated virtual currency to the server. The server obtains the level information associated with the stored identity information (step 204), and generates the virtual currency information to be deposited according to the level information and the type of virtual currency requested to be activated (step 205). The server sends the virtual currency information to be deposited to the transaction terminal, and displays the information to the transaction party on the interactive interface / display interface of the transaction terminal, such as step 206. The transaction party confirms the virtual currency information to be deposited, and inputs a first confirmation signal on the interactive interface of the transaction terminal (step 207). In response to the first confirmation signal, the transaction terminal sends a first trigger signal to the server (step 208). After receiving the first trigger signal, the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited (step 209 ).

[0067] In the disclosed embodiment, by sending an activation request to the server and confirming the virtual currency information to be stored returned by the server, the server sets the virtual currency balance corresponding to the virtual currency type in the virtual account associated with the identity information of the transaction party requesting activation, so that the transaction party can activate the virtual account through facial recognition, which is convenient for employees or members to operate by themselves. And because the transaction party needs to deposit the corresponding type of virtual currency in the virtual account through facial recognition, the idle rate of the virtual account is reduced.

[0068] In some embodiments, the facial recognition-based transaction method includes the withdrawal of virtual currency from a virtual account. When the transaction scenario is the withdrawal of virtual currency, the transaction terminal is, for example, an ATM or a self-service payment machine that can be operated by employees or members; the transaction request includes a withdrawal request, and the withdrawal request indicates the type of virtual currency in the virtual account requested to be withdrawn.

[0069] The server stores the set conditions for collecting virtual currency in the transaction system, and the amount of virtual currency to be collected corresponding to the set conditions. For example, old employees in the employee system of enterprises and institutions, or old members in the membership system of membership stores and convenience stores can collect a certain new amount through facial recognition if the set conditions are met. For example, if the registration time meets the set deadline, a certain amount of reward points can be collected. For example, weekly / monthly / annual reward points can be collected through facial recognition.

[0070] After sending the identity information obtained based on the trigger of the collection request and the pending transaction information to the server, the server determines whether the party requesting the transaction meets the set conditions based on the identity information, generates the pending virtual currency information, and sends the pending virtual currency information to the transaction terminal.

[0071] The transaction terminal receives the virtual currency information to be collected returned by the server, and displays it to the transaction party on the display interface of the transaction terminal. The transaction party can input a second confirmation signal for the virtual currency information to be collected through the interactive interface of the transaction terminal.

[0072] In response to receiving a second confirmation signal for the virtual currency information to be collected, the transaction terminal sends a second trigger signal to the server, so that the server increases the corresponding virtual currency amount in the virtual account according to the virtual currency information to be collected. If the virtual currency information to be collected is a new amount, the new amount can also cover the original amount.

[0073] Figure 3 FIG. 1 is a schematic diagram of a method for collecting a card based on facial recognition according to an embodiment of the present disclosure. Figure 3As shown, the transaction terminal receives a claim request, such as step 301, and the claim request indicates the type of virtual currency requested to be claimed, such as requesting to claim points in a virtual account. In response to the transaction terminal receiving the claim request, the transaction terminal obtains the facial recognition result of the transaction party, and the facial recognition result includes the identity information of the transaction party, such as step 302. Next, in step 303, the transaction terminal sends the identity information of the transaction party and the type of virtual currency to be claimed to the server. The server determines whether the transaction party meets the set conditions according to the identity information of the transaction party, such as step 304, for example, according to the activation time of the virtual account of the transaction party, whether the transaction party meets the conditions for receiving weekly / monthly / annual reward points, and generates virtual currency information to be claimed according to the satisfaction and the type of virtual currency requested to be claimed (step 305). The server sends the virtual currency information to be claimed to the transaction terminal, and displays the information to the transaction party on the interactive interface / display interface of the transaction terminal, such as step 306. The transaction party confirms the virtual currency information to be claimed and inputs a second confirmation signal on the interactive interface of the transaction terminal (step 307). In response to the second confirmation signal, the transaction terminal sends a second trigger signal to the server (step 308). After receiving the second trigger signal, the server increases the corresponding amount of virtual currency in the virtual account according to the virtual currency information to be collected (step 309).

[0074] In the disclosed embodiment, by sending a collection request to the server and confirming the virtual currency information to be collected returned by the server, the server increases the corresponding virtual currency amount in the virtual account associated with the identity information of the transaction party requesting collection, so that the transaction party can collect the new amount through facial recognition, making it convenient for employees or members to collect rewards and benefits by themselves.

[0075] In some embodiments, the transaction method based on facial recognition includes payment through a virtual account. When the transaction scenario is payment, the transaction request is input by the payee through a transaction terminal, such as a self-service payment machine; when the transaction scenario is payment collection, the transaction request is input by the payee through a transaction terminal, such as a cash register, POS machine or other cash register terminal. In the payment scenario, the transaction request includes a payment request, and the payment request indicates the amount to be paid.

[0076] After sending the identity information obtained based on the trigger of the payment request and the pending transaction information to the server, the server determines the virtual account corresponding to the identity information, and generates virtual currency deduction information based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information.

[0077] In the case where the pending transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid. For example, in the case where the payee inputs points to be paid in the interactive interface of the cash register terminal, the virtual currency deduction information is generated based on the point balance of the virtual account and the points to be paid.

[0078] In the case where the transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated according to the balance information of the virtual account, the amount of real currency to be paid, and the conversion relationship between virtual currency and real currency. For example, in the case where the payee inputs the amount of real currency to be paid in the interactive interface of the cash register terminal, the amount of virtual currency to be paid can be determined according to the amount of real currency to be paid and the conversion relationship between virtual currency and real currency, and the virtual currency deduction information is generated according to the balance information of the virtual account and the determined amount of virtual currency to be paid.

[0079] The transaction terminal receives the virtual currency deduction information returned by the server and displays it to the transaction party on the display interface of the transaction terminal. The transaction party can input a third confirmation signal for the virtual information to be collected through the interactive interface of the transaction terminal.

[0080] In response to receiving a third confirmation signal for the virtual currency deduction information, the transaction terminal sends a third trigger signal to the server to enable the server to complete payment according to the virtual currency deduction information.

[0081] Figure 4 FIG. 1 is a schematic diagram of a payment method based on facial recognition shown in an embodiment of the present disclosure. Figure 4As shown, the cashier terminal receives a payment request, as in step 401, and the payment request indicates the amount to be paid, including the amount of virtual currency to be paid or the amount of real currency to be paid. In response to the cashier terminal receiving the payment request, the cashier terminal obtains the facial recognition result of the payee, and the facial recognition result includes the identity information of the payee, as in step 402. Next, in step 403, the cashier terminal sends the identity information of the payee and the amount to be paid to the server. The server determines the virtual account corresponding to the payee according to the binding relationship between the identity information and the virtual account, as in step 404, and generates virtual currency deduction information according to the balance information of the virtual account and the amount to be paid indicated by the pending transaction information (step 405). The server sends the virtual currency deduction information to the cashier terminal, and displays the information to the payee on the interactive interface / display interface of the cashier terminal, as in step 406. The payee confirms the virtual currency deduction information and inputs a third confirmation signal on the interactive interface of the cashier terminal (step 407). In response to the third confirmation signal, the cashier terminal sends a third trigger signal to the server (step 408 ). After receiving the third trigger signal, the server completes the payment through the virtual account according to the virtual currency deduction information (step 409 ).

[0082] In the disclosed embodiment, by sending a payment request to the server and confirming the virtual currency deduction information returned by the server, the server completes the payment through the virtual account according to the virtual currency deduction information, so that the payer can make payment through the virtual account based on facial recognition, thereby reducing the use of cash / credit cards, avoiding theft, wrong accounts, etc., and improving the security of payment; and realizing the integration of the virtual account system, the membership system and the facial recognition system, thereby improving the convenience of payment.

[0083] When the virtual currency deduction information indicates that the virtual account does not meet the deduction conditions, including insufficient balance of the virtual account, account abnormality, lack of payment authority, etc., the insufficient balance of the virtual account, for example, the balance of the virtual account is insufficient to pay, or the amount available for payment in the virtual account is insufficient to pay, or the current amount to be paid exceeds the payment limit of the virtual currency, etc., a prompt message is output on the interactive interface of the cash register terminal to prompt the payer whether to pay through the contracted bank card or third-party payment institution.

[0084] In response to receiving the fourth confirmation information for the prompt information, that is, the payee confirms that the payment will be made through the contracted bank card or third-party payment institution, the cash register terminal sends a fourth trigger signal to the server, so that the server completes the payment through the bank card or third-party payment institution signed with the payee.

[0085] In one example, the signing of a bank card and / or third-party payment institution debit agreement can be completed through a mobile terminal, such as through an APP.

[0086] The facial recognition-based transaction method provided by the disclosed embodiment supports facial recognition-based transactions of real currency in multiple channels, reducing the hardware investment in cash register terminals; it realizes virtual currency payment and real currency payment at the same time through facial recognition, and realizes the combination of virtual currency and real currency payment, thereby improving payment convenience.

[0087] In some embodiments, after the payment is completed, the cashier terminal receives the payment information returned by the server and displays it on the display interface of the cashier terminal. The payment information includes at least one of the payment amount, payment details, and the balance information of the virtual account after the payment is completed.

[0088] Figure 5 is a schematic diagram of a point payment method based on facial recognition shown in an embodiment of the present disclosure. Figure 5 As shown, the cashier terminal receives a points payment request, as in step 501, and the points payment request indicates the amount of points to be paid. In response to the points payment request, the cashier terminal sends a facial recognition trigger signal to the facial recognition device, as in step 502. After receiving the facial recognition trigger signal, the facial recognition device performs facial recognition on the payee and obtains a facial recognition result, which includes the identity information of the payee, as in step 503. The facial recognition device sends the facial recognition result to the cashier terminal (as in step 504), and the cashier terminal sends the identity information of the payee and the amount of points to be paid to the server (as in step 505). The server determines the virtual account associated with the payee based on the identity information of the payee (as in step 506), and deducts the points to be paid from the points balance of the virtual account to complete the points payment.

[0089] Figure 6 This is a flow chart of a transaction method based on facial recognition provided by an embodiment of the present disclosure. The execution subject of the method may be a server, such as a cloud server, etc. Figure 6 As shown, the method may include steps 601-602.

[0090] In step 601, identity information of a transaction party and information to be traded are received.

[0091] The identity information is obtained by performing facial authentication on the transaction party. The facial authentication method is described in step 102 and will not be repeated here. The information to be traded is generated according to the transaction request.

[0092] In step 602, a transaction is performed according to the pending transaction information through a virtual account associated with the identity information.

[0093] By associating the identity information with the virtual account, the server can determine the virtual account corresponding to the transaction party based on the received identity information of the transaction party, and pay the payment amount indicated by the pending transaction information through the virtual account.

[0094] In the disclosed embodiments, by receiving the identity information and the information to be traded of the transaction party, a virtual account associated with the transaction party is determined based on the identity information, and payment is made through the virtual account based on the information to be traded. By establishing an association between the identity information and the virtual account, and obtaining the identity information of the transaction party through facial recognition, it is possible to use facial recognition to call the virtual account of the transaction party for payment, thereby reducing the use of cash / credit cards, avoiding fraudulent use, wrong accounts, etc., and improving the security of payment; and realizing the integration of the virtual account system, the membership system and the facial recognition system, thereby improving the convenience of payment.

[0095] In some embodiments, when the transaction request includes an activation request, the transaction is conducted according to the information to be traded through the virtual account associated with the identity information, including: generating virtual currency information to be deposited according to the level information associated with the identity information of the transaction party and the type of virtual currency indicated by the information to be traded; sending the virtual currency information to be deposited to a transaction terminal so that the transaction terminal displays the virtual currency information to be deposited; in response to receiving a first trigger signal sent by the transaction terminal, setting a virtual currency balance corresponding to the virtual currency type in the virtual account according to the virtual currency information to be deposited, wherein the first trigger signal is generated by the transaction terminal after receiving a first confirmation signal for the virtual currency information to be deposited.

[0096] In some embodiments, when the transaction request includes a collection request, the transaction is conducted according to the information to be traded through a virtual account associated with the identity information, including: generating virtual currency information to be collected according to the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the information to be traded; sending the virtual currency information to be collected to a transaction terminal so that the transaction terminal displays the virtual currency information to be collected; in response to receiving a second trigger signal sent by the transaction terminal, adding a corresponding amount of virtual currency to the virtual account according to the virtual currency information to be collected, wherein the second trigger signal is generated by the transaction terminal after receiving a second confirmation signal for the virtual currency information to be collected.

[0097] In some embodiments, when the transaction request includes a payment request, the transaction is conducted according to the pending transaction information through a virtual account associated with the identity information, including: generating virtual currency deduction information according to the balance information of the virtual account and the amount to be paid indicated by the pending transaction information; sending the virtual currency deduction information to a transaction terminal so that the transaction terminal displays the virtual currency deduction information; and completing payment according to the virtual currency deduction information in response to receiving a third trigger signal sent by the transaction terminal, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

[0098] In some embodiments, in response to receiving a fourth trigger signal sent by the transaction terminal, payment is completed through a bank card or a third-party payment institution signed with the transaction party, wherein the fourth trigger signal is generated by the transaction terminal after receiving a fourth confirmation signal prompting information for payment through the contracted bank card or third-party payment institution when the virtual currency deduction information indicates that the virtual account of the transaction party does not meet the deduction conditions.

[0099] In some embodiments, after the payment is completed, the payment amount and / or payment details are sent to the transaction terminal for display on the interface of the transaction terminal; and / or, at least one of the payment amount, payment details, and the balance information of the virtual account after the payment is completed is sent to the mobile terminal used by the transaction party for display on the display interface of the mobile terminal.

[0100] In some embodiments, when the transaction information includes an amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes an amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0101] Figure 7 A transaction device based on facial authentication provided by at least one embodiment of the present disclosure, such as Figure 7 As shown, the device may include: a request receiving unit 701, used to receive a transaction request, the transaction request indicating information to be traded; an acquisition unit 702, used to obtain a facial recognition result of a transaction party in response to the transaction request, the facial recognition result including identity information of the transaction party; a sending unit 703, used to send the identity information and the information to be traded to a server, so that the server conducts a transaction according to the information to be traded through a virtual account associated with the identity information.

[0102] In some embodiments, the device also includes a first confirmation unit, which is used to receive and display the virtual currency information to be deposited returned by the server after sending the identity information and the information to be traded to the server when the transaction request includes an activation request, wherein the virtual currency information to be deposited is generated based on the level information associated with the identity information of the transaction party and the virtual currency type indicated by the information to be traded; in response to receiving a first confirmation signal for the virtual currency information to be deposited, send a first trigger signal to the server so that the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited.

[0103] In some embodiments, the device also includes a second confirmation unit, which is used to receive and display the virtual currency information to be collected returned by the server after sending the identity information and the information to be traded to the server when the transaction request includes a collection request, wherein the virtual currency information to be collected is generated based on the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the information to be traded; in response to receiving a second confirmation signal for the virtual currency information to be collected, a second trigger signal is sent to the server so that the server increases the corresponding amount of virtual currency in the virtual account according to the virtual currency information to be collected.

[0104] In some embodiments, the device also includes a third confirmation unit, which is used to receive and display virtual currency deduction information returned by the server after sending the identity information and the pending transaction information to the server when the transaction request includes a payment request, and the virtual currency deduction information is generated based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information; in response to receiving a third confirmation signal for the virtual currency deduction information, send a third trigger signal to the server so that the server completes the payment according to the virtual currency deduction information.

[0105] In some embodiments, the device also includes a fourth confirmation unit, which is used to output a prompt message to prompt the transaction party to make payment through the contracted bank card or third-party payment institution when the virtual currency deduction information indicates that the virtual account does not meet the deduction conditions; in response to receiving the fourth confirmation information for the prompt message, send a fourth trigger signal to the server, so that the server completes the payment through the bank card or third-party payment institution signed with the transaction party.

[0106] In some embodiments, the device also includes a display unit for receiving and displaying payment information returned by the server after payment is completed, wherein the payment information includes at least one of the payment amount, payment details, and balance information of the virtual account after payment is completed.

[0107] In some embodiments, when the transaction information includes an amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes an amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0108] Figure 8 A transaction device based on facial authentication provided by at least one embodiment of the present disclosure, such as Figure 8 As shown, the device may include: an information receiving unit 801, used to receive the identity information and pending transaction information of the transaction party, wherein the identity information is obtained by performing facial authentication on the transaction party, and the pending transaction information is generated according to the transaction request; a transaction unit 802, used to conduct a transaction according to the pending transaction information through a virtual account associated with the identity information.

[0109] In some embodiments, the device also includes a first transaction unit, which is used to generate virtual currency information to be deposited based on the level information associated with the identity information of the transaction party and the virtual currency type indicated by the transaction information; send the virtual currency information to be deposited to the transaction terminal so that the transaction terminal displays the virtual currency information to be deposited; in response to receiving a first trigger signal sent by the transaction terminal, set a virtual currency balance corresponding to the virtual currency type in the virtual account according to the virtual currency information to be deposited, wherein the first trigger signal is generated by the transaction terminal after receiving a first confirmation signal for the virtual currency information to be deposited.

[0110] In some embodiments, the device also includes a second transaction unit, which is used to generate virtual currency information to be collected based on the satisfaction of the set conditions by the transaction parties and the type of virtual currency indicated by the transaction information; send the virtual currency information to be collected to the transaction terminal so that the transaction terminal displays the virtual currency information to be collected; in response to receiving a second trigger signal sent by the transaction terminal, add a corresponding virtual currency amount to the virtual account according to the virtual currency information to be collected, wherein the second trigger signal is generated by the transaction terminal after receiving a second confirmation signal for the virtual currency information to be collected.

[0111] In some embodiments, the device also includes a third transaction unit, which is used to generate virtual currency deduction information based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information; send the virtual currency deduction information to the transaction terminal so that the transaction terminal displays the virtual currency deduction information; in response to receiving a third trigger signal sent by the transaction terminal, complete payment according to the virtual currency deduction information, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

[0112] In some embodiments, the device also includes a fourth transaction unit, which is used to complete payment through a bank card or a third-party payment institution signed with the transaction party in response to receiving a fourth trigger signal sent by the transaction terminal, wherein the fourth trigger signal is generated by the transaction terminal after receiving a fourth confirmation signal of prompt information for payment through a bank card or a third-party payment institution signed with the transaction party when the virtual currency deduction information indicates that the virtual account of the transaction party does not meet the deduction conditions.

[0113] In some embodiments, the device also includes a first display unit for sending the payment amount and / or payment details to the transaction terminal after the payment is completed, so as to be displayed on the interface of the transaction terminal; and / or a second display unit for sending at least one of the payment amount, payment details, and balance information of the virtual account after the payment is completed to the mobile terminal used by the transaction party, so as to be displayed on the display interface of the mobile terminal.

[0114] In some embodiments, when the transaction information includes an amount of virtual currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account and the amount of virtual currency to be paid; and / or, when the transaction information includes an amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid and the conversion relationship between virtual currency and real currency.

[0115] According to one aspect of the present disclosure, an electronic device is provided, the device comprising a memory and a processor, the memory being used to store computer instructions executable on the processor, the processor being used to implement the facial authentication-based transaction method described in any embodiment of the present disclosure when executing the computer instructions.

[0116] For the electronic device proposed in the embodiment of the present disclosure, the use period of the electronic device can be controlled by a license file. If the device is used beyond the use period, the electronic device cannot be used any more unless the license file is updated.

[0117] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the transaction method based on facial authentication described in any embodiment of the present disclosure is implemented.

[0118] Fig. 9 An electronic device provided for at least one embodiment of the present disclosure includes a memory and a processor, wherein the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the facial authentication-based transaction method applied to a server described in any embodiment of the present specification when executing the computer instructions.

[0119] At least one embodiment of the present specification further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the facial authentication-based transaction method applied to a server as described in any embodiment of the present specification is implemented.

[0120] It should be understood by those skilled in the art that one or more embodiments of the present specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0121] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the data processing device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0122] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] The embodiments of the subject matter and functional operations described in this specification may be implemented in the following: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. The embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more modules in computer program instructions encoded on a tangible non-temporary program carrier to be executed by a data processing device or to control the operation of the data processing device. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagation signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information and transmit it to a suitable receiver device for execution by a data processing device. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.

[0124] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuits, such as FPGAs (field programmable gate arrays) or ASICs (application-specific integrated circuits), and the apparatus can also be implemented as special purpose logic circuits.

[0125] Computers suitable for executing computer programs include, for example, general and / or special microprocessors, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory and / or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, the computer will also include one or more large-capacity storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, or the computer will be operably coupled to this large-capacity storage device to receive data from it or to transmit data to it, or both. However, the computer does not necessarily have such a device. In addition, the computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.

[0126] Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, for example, semiconductor memory devices (e.g., EPROM, EEPROM and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0127] Although this specification includes many specific implementation details, these should not be interpreted as limiting the scope of any invention or the scope of protection claimed, but are mainly used to describe the features of the specific embodiments of specific inventions. Certain features described in multiple embodiments in this specification may also be implemented in combination in a single embodiment. On the other hand, the various features described in a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. In addition, although features may work in certain combinations as described above and even initially claim protection, one or more features from the claimed combination may be removed from the combination in some cases, and the claimed combination may point to a sub-combination or a variation of a sub-combination.

[0128] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that these operations be performed in the particular order shown or performed sequentially, or requiring that all illustrated operations be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product, or packaged into multiple software products.

[0129] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In some implementations, multitasking and parallel processing may be advantageous.

[0130] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.

Claims

1. A transaction method based on facial authentication, characterized in that: The method comprises: receiving a transaction request, wherein the transaction request indicates information to be traded; In response to the transaction request, obtaining a facial authentication result of the transaction party, wherein the facial authentication result includes identity information of the transaction party; Sending the identity information and the pending transaction information to a server, so that the server performs a transaction according to the pending transaction information through a virtual account associated with the identity information; In the case where the transaction request includes a payment request, after sending the identity information and the pending transaction information to the server, the method further includes: receiving and displaying virtual currency deduction information returned by the server, wherein the virtual currency deduction information is generated according to the balance information of the virtual account and the amount to be paid indicated by the pending transaction information, and when the pending transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated according to the balance information of the virtual account, the amount of real currency to be paid, and the conversion relationship between virtual currency and real currency; In response to receiving a third confirmation signal for the virtual currency deduction information, a third trigger signal is sent to the server, so that the server completes the payment through the virtual account according to the virtual currency deduction information.

2. The method according to claim 1, characterized in that In the case where the transaction request includes an activation request, after sending the identity information and the pending transaction information to the server, the method further includes: receiving and displaying the virtual currency information to be deposited returned by the server, wherein the virtual currency information to be deposited is generated according to the level information associated with the identity information of the transaction party and the type of virtual currency indicated by the transaction information; In response to receiving a first confirmation signal for the virtual currency information to be deposited, a first trigger signal is sent to the server, so that the server sets a virtual currency balance corresponding to the virtual currency type for the virtual account according to the virtual currency information to be deposited.

3. The method according to claim 1 or 2, characterized in that: In the case where the transaction request includes a claim request, after sending the identity information and the pending transaction information to the server, the method further includes: receiving and displaying the virtual currency information to be collected returned by the server, wherein the virtual currency information to be collected is generated according to the satisfaction of the set conditions by the transaction party and the type of virtual currency indicated by the transaction information; In response to receiving a second confirmation signal for the virtual currency information to be collected, a second trigger signal is sent to the server, so that the server increases the corresponding virtual currency amount in the virtual account according to the virtual currency information to be collected.

4. The method according to claim 1, characterized in that: The method further comprises: When the virtual currency deduction information indicates that the virtual account does not meet the deduction conditions, outputting prompt information to prompt the transaction party to pay through the contracted bank card or third-party payment institution; In response to receiving fourth confirmation information for the prompt information, a fourth trigger signal is sent to the server, so that the server completes the payment through a bank card or a third-party payment institution that has signed a contract with the transaction party.

5. The method according to claim 4, characterized in that The method further comprises: After the payment is completed, the payment information returned by the server is received and displayed, wherein the payment information includes at least one of the payment amount, payment details, and balance information of the virtual account after the payment is completed.

6. The method according to claim 1, characterized in that In the case where the pending transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated according to the balance information of the virtual account and the amount of virtual currency to be paid.

7. A transaction method based on facial authentication, characterized in that: The method comprises: Receiving identity information of a transaction party and information to be traded, wherein the identity information is obtained by performing facial authentication on the transaction party, and the information to be traded is generated according to a transaction request; Conducting transactions according to the pending transaction information through a virtual account associated with the identity information; In the case where the transaction request includes a payment request, the performing of the transaction according to the pending transaction information through the virtual account associated with the identity information includes: generating virtual currency deduction information according to the balance information of the virtual account and the amount to be paid indicated by the pending transaction information, and in the case where the pending transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated according to the balance information of the virtual account, the amount of real currency to be paid, and the conversion relationship between virtual currency and real currency; Sending the virtual currency deduction information to a transaction terminal so that the transaction terminal displays the virtual currency deduction information; In response to receiving a third trigger signal sent by the transaction terminal, completing payment according to the virtual currency deduction information, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

8. The method according to claim 7, characterized in that In the case where the transaction request includes an activation request, the performing of the transaction according to the pending transaction information through the virtual account associated with the identity information includes: Generate virtual currency information to be deposited according to the level information associated with the identity information of the transaction party and the type of virtual currency indicated by the information to be traded; Sending the virtual currency information to be deposited to a transaction terminal so that the transaction terminal displays the virtual currency information to be deposited; In response to receiving a first trigger signal sent by the transaction terminal, a virtual currency balance corresponding to the virtual currency type is set in the virtual account according to the virtual currency information to be deposited, wherein the first trigger signal is generated by the transaction terminal after receiving a first confirmation signal for the virtual currency information to be deposited.

9. The method according to claim 7, characterized in that: In the case where the transaction request includes a collection request, the transaction is performed according to the pending transaction information through a virtual account associated with the identity information, including: Generate virtual currency information to be collected according to whether the transaction party meets the set conditions and the type of virtual currency indicated by the transaction information; Sending the to-be-collected virtual currency information to a transaction terminal so that the transaction terminal displays the to-be-collected virtual currency information; In response to receiving a second trigger signal sent by the transaction terminal, a corresponding amount of virtual currency is added to the virtual account according to the virtual currency information to be collected, wherein the second trigger signal is generated by the transaction terminal after receiving a second confirmation signal for the virtual currency information to be collected.

10. The method according to claim 7, characterized in that The method further comprises: In response to receiving the fourth trigger signal sent by the transaction terminal, payment is completed through a bank card or a third-party payment institution signed with the transaction party, wherein the fourth trigger signal is generated after the transaction terminal receives a fourth confirmation signal of prompt information for payment through the contracted bank card or third-party payment institution when the virtual currency deduction information indicates that the virtual account of the transaction party does not meet the deduction conditions.

11. The method according to claim 7, characterized in that The method further comprises: After the payment is completed, the payment amount and / or payment details are sent to the transaction terminal for display on the interface of the transaction terminal; and / or, Sending at least one of the payment amount, payment details, and balance information of the virtual account after the payment is completed to the mobile terminal used by the transaction party for display on the display interface of the mobile terminal.

12. The method according to claim 7, characterized in that In the case where the pending transaction information includes the amount of virtual currency to be paid, the virtual currency deduction information is generated according to the balance information of the virtual account and the amount of virtual currency to be paid.

13. A transaction device based on facial recognition, characterized in that: The device comprises: A request receiving unit, configured to receive a transaction request, wherein the transaction request indicates information to be traded; an acquisition unit, configured to acquire a facial recognition result of a transaction party in response to the transaction request, wherein the facial recognition result includes identity information of the transaction party; A sending unit, configured to send the identity information and the information to be traded to a server, so that the server can conduct a transaction according to the information to be traded through a virtual account associated with the identity information; The device also includes a third confirmation unit, which is used to receive and display virtual currency deduction information returned by the server after sending the identity information and the pending transaction information to the server when the transaction request includes a payment request, wherein the virtual currency deduction information is generated based on the balance information of the virtual account and the amount to be paid indicated by the pending transaction information, and when the pending transaction information includes the amount of real currency to be paid, the virtual currency deduction information is generated based on the balance information of the virtual account, the amount of real currency to be paid, and the conversion relationship between virtual currency and real currency; in response to receiving a third confirmation signal for the virtual currency deduction information, a third trigger signal is sent to the server so that the server completes the payment through the virtual account according to the virtual currency deduction information.

14. A transaction device based on facial recognition, characterized in that: The device comprises: An information receiving unit, used to receive identity information of a transaction party and information to be traded, wherein the identity information is obtained by performing facial authentication on the transaction party, and the information to be traded is generated according to a transaction request; A transaction unit, configured to conduct a transaction according to the information to be traded through a virtual account associated with the identity information; The device also includes a third transaction unit, which is used to generate virtual currency deduction information according to the balance information of the virtual account and the amount to be paid indicated by the pending transaction information when the transaction request includes a payment request, and to generate virtual currency deduction information according to the balance information of the virtual account, the amount of real currency to be paid, and the conversion relationship between virtual currency and real currency when the pending transaction information includes the amount of real currency to be paid; send the virtual currency deduction information to the transaction terminal so that the transaction terminal displays the virtual currency deduction information; and complete payment according to the virtual currency deduction information in response to receiving a third trigger signal sent by the transaction terminal, wherein the third trigger signal is generated by the transaction terminal after receiving a third confirmation signal for the virtual currency deduction information.

15. An electronic device, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the method according to any one of claims 1 to 6 when executing the computer instructions.

16. An electronic device, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the method according to any one of claims 7 to 12 when executing the computer instructions.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 7 to 12 is implemented.