Face-scanning payment method, device and face-scanning equipment
By adding a merchant-side screen to the face-swiping device and implementing human body detection and logo verification, the problem of mistaken deductions in face-swiping payments has been solved, and the accuracy and security of face-swiping payments have been achieved.
Patent Information
- Application Number
- CN202210193556.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-03-01
AI Technical Summary
In a scene with dense users, the facial recognition device may mistakenly identify one user as another user for debit operation, resulting in erroneous debits.
During the face payment process, a screen is added for the merchant side to display the facial image and payment account of the paying user in real time. Through human detection, human body tracking and user identification verification, it is determined whether the user has changed. If so, Prompt the receiving user to confirm to avoid mistaken deductions.
It effectively prevents the occurrence of mistaken deductions during the facial recognition payment process, and ensures the accuracy and safety of payment operations by providing real-time risk feedback and obtaining confirmation from the receiving user.
Smart Images

Figure CN114549013B
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the field of Internet technology, and in particular to a face-scanning payment method, apparatus, and face-scanning device. Background Art
[0002] Face payment is a payment method based on facial recognition. Face payment does not require a wallet, credit card or mobile phone. When paying, the user only needs to face the camera on the screen of the point of sale (POS) terminal. The system will automatically associate the user's facial information with the personal account, making the entire transaction process very convenient.
[0003] In the existing related technologies, in scenarios with a large number of users such as shopping malls, when users use face-scanning devices to pay by face-scanning, there is a problem that user A triggers the face-scanning operation in front of the screen of the face-scanning device, but the face-scanning device recognizes the face of user B and deducts money from user B's payment account.
[0004] Therefore, it is necessary to provide a solution to warn people of the risks of face-scanning payment and prevent wrong deductions. Summary of the invention
[0005] The embodiments of this specification provide a face-scanning payment method, apparatus, and face-scanning device to provide a warning about the risks of face-scanning payment and prevent erroneous deductions.
[0006] In a first aspect, an embodiment of the present specification provides a face-scanning payment method, comprising: obtaining an order to be paid; the order to be paid is generated after a payee user initiates a payment collection operation on an order to be settled displayed by a face-scanning device; wherein the face-scanning device comprises a payee user-side screen and a payee user-side screen, and the order to be settled is displayed on the payee user-side screen; the order to be paid is displayed on the payee user-side screen; after the payee user triggers face-scanning payment for the order to be paid, obtaining a facial image of the payee, and obtaining the payment account of the payee based on the facial image of the payee; displaying the payment account of the payee and the facial image of the payee on the payee user-side screen for the payee user to confirm whether the payee user obtained by face-scanning recognition is the payee user who triggered the face-scanning payment; after obtaining an indication of confirmation of payment, performing a deduction operation on the payee user's payment account; wherein the indication of confirmation of payment is generated after the payee user confirms that the payee user obtained by face-scanning recognition is the payee user who triggered the face-scanning payment and performs a confirmation of payment operation on the payee user-side screen.
[0007] In the above-mentioned face-scanning payment method, after the face-scanning device obtains the order to be paid, the order to be paid is displayed on the screen of the paying user side. After the paying user triggers the face-scanning payment for the order to be paid, the facial image of the paying user is obtained, and the payment account of the paying user is obtained based on the facial image of the paying user. The payment account of the paying user and the facial image of the paying user are displayed on the screen of the receiving user side, so that the receiving user can confirm whether the paying user obtained by face-scanning recognition is the paying user who triggered the face-scanning payment. After obtaining the instruction to confirm the payment, the payment account of the paying user is deducted. In this way, the face-scanning risk and result can be fed back to the receiving user in real time, so that the receiving user can confirm the payment, avoiding the problem that one user triggers the face-scanning operation in front of the screen of the face-scanning device, but the face-scanning device performs face-scanning recognition on another user and deducts money from the payment account of the other user, thereby effectively preventing the occurrence of erroneous deductions during face-scanning payment.
[0008] In one possible implementation, before the payment account of the payee user and the facial image of the payee user are displayed on the screen on the payee user side, it also includes: performing human body detection, human body tracking and user identification verification on the image captured by the face scanning device; wherein the image captured by the face scanning device includes the image of the payee user captured by the face scanning device during the process from the payee user entering the camera range of the face scanning device to the payee user triggering the face scanning payment; if a change of the payee user is detected during the process from the payee user entering the camera range of the face scanning device to the payee user triggering the face scanning payment, a prompt message is displayed on the screen on the payee user side to prompt the payee user to confirm whether the payee user has changed; or, if no change of the payee user is detected during the process from the payee user entering the camera range of the face scanning device to the payee user triggering the face scanning payment, the step of displaying the payment account of the payee user and the facial image of the payee user on the screen on the payee user side is executed.
[0009] In one possible implementation, after the prompt information is displayed on the screen on the payment user side, it also includes: obtaining an instruction to refuse payment; wherein the instruction to refuse payment is generated after the payment user confirms that the paying user has changed and performs a payment refusing operation on the screen on the payment user side; re-obtaining an order to be paid; wherein the re-obtained order to be paid is generated after the payment user re-initiates a payment operation on the order to be settled on the screen on the payment user side.
[0010] In one possible implementation manner, the performing human body detection, human body tracking and user identification verification on the image captured by the face scanning device includes: performing human body detection on the image captured by the face scanning device, and locating the face frame and the body frame in the image; associating the face frame and the body frame in time sequence with the user identification; in the process from the paying user entering the camera range of the face scanning device to the paying user triggering the face scanning payment, determining whether the user identification has changed; the detecting that the paying user has changed includes: detecting that the user identification has changed.
[0011] In one possible implementation, before obtaining the order to be paid, it also includes: displaying the information to be pushed on the screen of the receiving user side; obtaining the push information selected by the receiving user from the information to be pushed; and displaying the push information on the screen of the paying user side.
[0012] In a second aspect, an embodiment of the present specification provides a face-scanning payment device, comprising: an acquisition module, used to acquire an order to be paid; the order to be paid is generated after the payee user initiates a payment collection operation on the order to be settled displayed on the face-scanning device; wherein the face-scanning device comprises a payee user side screen and a payee user side screen, and the order to be settled is displayed on the payee user side screen; a display module, used to display the order to be paid on the payee user side screen; the acquisition module is also used to acquire the facial image of the payee user after the payee user triggers face-scanning payment for the order to be paid, and process the payment based on the facial image of the payee user. The display module is further used to display the payment account of the payee and the facial image of the payee on the screen of the payee user side, so that the payee user can confirm whether the payee user obtained by face recognition is the payee who triggers the face payment; the deduction module is used to deduct money from the payment account of the payee after obtaining the indication of confirmation of payment; wherein the indication of confirmation of payment is generated after the payee user confirms that the payee user obtained by face recognition is the payee who triggers the face payment, and performs the confirmation of payment on the screen of the payee user side.
[0013] In one possible implementation manner, the device also includes: a risk control module, which is used to perform human body detection, human body tracking and user identification verification on the image captured by the face recognition device before the display module displays the payment account of the payee user and the facial image of the payee user on the screen of the payee user side; wherein the image captured by the face recognition device includes the image of the payee user captured by the face recognition device during the process from the payee user entering the camera range of the face recognition device to the payee user triggering the face recognition payment; the display module is also used to display a prompt message on the screen of the payee user side when the risk control module detects that the payee user has changed during the process from the payee user entering the camera range of the face recognition device to the payee user triggering the face recognition payment, so as to prompt the payee user to confirm whether the payee user has changed; the display module is also used to display the payment account of the payee user and the facial image of the payee user on the screen of the payee user side when the risk control module does not detect that the payee user has changed during the process from the payee user entering the camera range of the face recognition device to the payee user triggering the face recognition payment.
[0014] In one possible implementation, the acquisition module is also used to obtain an indication of refusing payment and to re-acquire the order to be paid after the display module displays a prompt message on the screen on the payment user side; wherein the indication of refusing payment is generated after the payment user confirms that the paying user has changed and performs a payment refusing operation on the screen on the payment user side; the order to be paid re-acquired by the acquisition module is generated after the payment user re-initiates a payment operation on the order to be settled on the screen on the payment user side.
[0015] In one possible implementation, the risk control module includes: a human detection submodule, used to perform human body detection on the image captured by the face scanning device, and locate the face frame and the body frame in the image; an association submodule, used to associate the face frame and the body frame in time sequence with the user identification; a verification submodule, used to determine whether the user identification has changed in the process from the paying user entering the camera range of the face scanning device to the paying user triggering the face scanning payment; the detection of a change in the paying user includes: detecting a change in the user identification.
[0016] In one possible implementation, the display module is also used to display the information to be pushed on the screen of the receiving user side before the acquisition module acquires the order to be paid; the acquisition module is also used to acquire the push information selected by the receiving user from the information to be pushed; the display module is also used to display the push information on the screen of the paying user side.
[0017] In a third aspect, an embodiment of this specification provides a face recognition device, comprising: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the method provided in the first aspect.
[0018] In a fourth aspect, an embodiment of the present specification provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method provided in the first aspect.
[0019] It should be understood that the second to fourth aspects of the embodiments of this specification are consistent with the technical solutions of the first aspect of the embodiments of this specification, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A schematic diagram of implementing a face-scanning payment method provided in one embodiment of this specification;
[0022] Figure 2 A flowchart of a face-scanning payment method provided in one embodiment of this specification;
[0023] Figure 3 A flow chart of a face-scanning payment method provided in another embodiment of this specification;
[0024] Figure 4 A flowchart of a face-scanning payment method provided in yet another embodiment of this specification;
[0025] Figure 5 A schematic diagram of the structure of a face-scanning payment device provided in one embodiment of this specification;
[0026] Figure 6 A schematic diagram of the structure of a face-scanning payment device provided in another embodiment of this specification;
[0027] Figure 7 A schematic diagram of the structure of a face recognition device provided in one embodiment of this specification. DETAILED DESCRIPTION
[0028] In order to better understand the technical solution of this specification, the embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0029] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0030] The terms used in the embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms "a", "said" and "the" used in the embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0031] In the existing related technologies, in scenarios with a large number of users such as shopping malls, when users use face-scanning devices to pay by face-scanning, there is a problem that user A triggers the face-scanning operation in front of the screen of the face-scanning device, but the face-scanning device recognizes the face of user B and deducts money from user B's payment account.
[0032] Based on the above problems, the embodiments of this specification provide a face-scanning payment method. By adding an additional screen on the merchant side of the face-scanning device, services such as product supply, product warehousing and / or product pricing can be provided to the merchant. At the same time, the face-scanning risks and results can also be fed back to the merchant in real time to confirm the receipt of the payment and prevent accidental deductions.
[0033] Figure 1 A schematic diagram of a face-scanning payment method provided in one embodiment of this specification is shown in FIG. Figure 1 As shown, the above-mentioned face-swiping payment method may include:
[0034] 102, merchant operation page. In this embodiment, a screen can be added to the payment user side of the face recognition device, so as to provide services such as product supply, product warehousing, product pricing and / or product recommendation for the merchant to which the payment user belongs.
[0035] 104. Initiate payment. The payment recipient initiates a payment operation for the pending order displayed on the screen of the face recognition device facing the payment recipient, thereby generating a pending payment order.
[0036] 106, user advertising page. In specific implementation, the face recognition device displays the advertising page by default on the screen facing the paying user.
[0037] 106. Photo payment. After the merchant initiates the payment operation, the face recognition device switches the screen facing the payee to the video recording mode. The payee can see his or her face in real time and adjust the face position according to the interactive copy to cooperate with the face recognition.
[0038] 110. Click face recognition. After the payee adjusts the face position, the payee can click the face recognition icon on the screen of the face recognition device facing the payee to trigger face recognition payment.
[0039] 112. Face recognition. The face recognition device performs face recognition and payment based on the face captured at the time of taking the photo.
[0040] 114 , payment risk control. Payment risk control includes human body detection 1142 , human body tracking 1144 , and identifier (ID) verification 1146 .
[0041] Among them, human body detection 1142 is based on deep learning technology to train a human body detection model to complete the positioning of the human body frame and the face frame.
[0042] Human body tracking 1144 is based on deep learning technology to perform ID association between human body frames and face frames in time sequence.
[0043] ID verification 1146 is when there is a change in the user's ID from entering the camera to clicking the face scanning icon. A warning is sent to remind the recipient user that the paying user has changed during the payment process, and there may be a risk of mistaken swiping.
[0044] 116, Risk Warning. When the payment risk control finds the risk of mis-payment, a warning pops up on the screen of the payee to remind the payee to confirm whether the payee is the correct user. If mis-payment is found, the payee can refuse the payment and re-initiate the payment.
[0045] 118. Confirm payment. The face image and payment account collected by the face recognition device at the time of taking the photo will pop up on the screen of the payment user. After the payment user confirms that the current paying user standing in front of the face recognition device matches the face image displayed on the screen of the payment user, he / she clicks the payment confirmation icon to complete the face recognition payment process. This can avoid the problem that user A triggers the face recognition operation in front of the screen of the face recognition device, but the face recognition device recognizes the face of user B and deducts money from the payment account of user B, and can effectively prevent the occurrence of erroneous deductions during the face recognition payment process.
[0046] Combine the following Figure 1 , the face-scanning payment method provided in the embodiments of this specification is described in detail.
[0047] Figure 2 This is a flow chart of a face-scanning payment method provided in one embodiment of this specification. The face-scanning payment method can be applied to a face-scanning device. Figure 2 As shown, the above-mentioned face-swiping payment method may include:
[0048] Step 202: Obtain the order to be paid.
[0049] The order to be paid is generated after the payment receiving user initiates a payment collection operation on the order to be settled displayed by the face recognition device. The face recognition device includes a payment receiving user side screen and a payment user side screen, and the order to be settled is displayed on the payment receiving user side screen.
[0050] That is to say, in this embodiment, the face recognition device adds a screen on the payment user side. After the order to be settled is displayed on the screen on the payment user side, the payment user can initiate a payment operation for the order to be settled displayed by the face recognition device. Then, in response to the payment operation, the face recognition device generates an order to be paid.
[0051] Step 204: Display the order to be paid on the screen of the paying user.
[0052] Specifically, after obtaining the order to be paid, the face recognition device can display the order to be paid on the screen of the payee side, and can also display the face recognition payment icon on the page displaying the order to be paid. Of course, in specific implementation, the face recognition device can also display the order to be paid on the screen of the payee side, which is not limited in this embodiment.
[0053] Step 206, after the paying user triggers the face payment for the order to be paid, the facial image of the paying user is obtained, and the payment account of the paying user is obtained based on the facial image of the paying user.
[0054] In specific implementation, the paying user can trigger the face-scanning payment for the above-mentioned order to be paid by: the paying user single-clicking, double-clicking or long pressing the face-scanning payment icon, or the paying user can trigger the face-scanning payment by inputting the voice command of "face-scanning payment". This embodiment does not limit the specific operation form of triggering face-scanning payment.
[0055] Step 208: Display the payment account of the paying user and the facial image of the paying user on the screen of the receiving user, so that the paying user can confirm whether the paying user obtained by face recognition is the paying user who triggered the face payment.
[0056] In specific implementation, the face scanning device can display the facial image collected when the face scanning operation is triggered on the screen of the payment user side. Then, the payment user can compare the facial image displayed on the screen of the payment user side with the payment user currently standing in front of the face scanning device to determine whether the two match. If they match, the payment user can confirm that the payment user obtained by face recognition is the payment user who triggered the face scanning payment; if the facial image displayed on the screen of the payment user side does not match the payment user currently standing in front of the face scanning device, the payment user can confirm that the payment user obtained by face recognition is not the payment user who triggered the face scanning payment.
[0057] Step 210, after obtaining the instruction to confirm the receipt of payment, the payment account of the above-mentioned payee is deducted.
[0058] Among them, the above-mentioned instruction to confirm the receipt of payment is generated after the receiving user confirms that the paying user obtained by face recognition is the paying user who triggered the face recognition payment, and performs the payment receipt confirmation operation on the screen on the receiving user's side.
[0059] Specifically, after the receiving user confirms that the paying user obtained by face recognition is the paying user who triggered the face recognition payment, the receiving user can confirm the payment receipt operation on the receiving user's side screen, and then the face recognition device can obtain the instruction to confirm the payment receipt, and then the face recognition device can perform the deduction operation on the payment account of the above-mentioned paying user.
[0060] In the above-mentioned face-scanning payment method, after the face-scanning device obtains the order to be paid, the order to be paid is displayed on the screen of the paying user side. After the paying user triggers the face-scanning payment for the order to be paid, the facial image of the paying user is obtained, and the payment account of the paying user is obtained based on the facial image of the paying user. The payment account of the paying user and the facial image of the paying user are displayed on the screen of the receiving user side, so that the receiving user can confirm whether the paying user obtained by face-scanning recognition is the paying user who triggered the face-scanning payment. After obtaining the instruction to confirm the payment, the payment account of the paying user is deducted. In this way, the face-scanning risk and result can be fed back to the receiving user in real time, so that the receiving user can confirm the payment, avoiding the problem that one user triggers the face-scanning operation in front of the screen of the face-scanning device, but the face-scanning device performs face-scanning recognition on another user and deducts money from the payment account of the other user, thereby effectively preventing the occurrence of erroneous deductions during face-scanning payment.
[0061] Figure 3 A flow chart of a face-scanning payment method provided in another embodiment of this specification is as follows: Figure 3 As shown in this manual Figure 2 In the illustrated embodiment, before step 208, the following may also be included:
[0062] Step 302: Perform human body detection, human body tracking and user identification verification on the image collected by the face recognition device.
[0063] Among them, the images collected by the face-scanning device include the images of the paying user collected by the face-scanning device during the process from the paying user entering the camera range of the above-mentioned face-scanning device to the above-mentioned paying user triggering the face-scanning payment.
[0064] Specifically, performing human body detection, human body tracking and user identification verification on the images collected by the above-mentioned face scanning device can be as follows: the face scanning device performs human body detection on the images collected by the above-mentioned face scanning device, locates the face frame and the body frame in the above-mentioned image, and associates the face frame and the body frame in time sequence with the user identification; from the time when the paying user enters the camera range of the above-mentioned face scanning device to the time when the above-mentioned paying user triggers the face scanning payment, it is determined whether the user identification is changed.
[0065] In this way, detecting that a payment user has changed may be: detecting that a user ID has changed.
[0066] Step 304: If the face recognition device detects that the paying user has changed during the process from the paying user entering the camera range of the above-mentioned face recognition device to the above-mentioned paying user triggering the face recognition payment, a prompt message will be displayed on the screen on the above-mentioned receiving user side to prompt the receiving user to confirm whether the paying user has changed.
[0067] Alternatively, if the face recognition device does not detect a change in the paying user during the process from the paying user entering the camera range of the face recognition device to the paying user triggering the face recognition payment, the face recognition device executes step 208.
[0068] Furthermore, after the prompt information is displayed on the screen of the receiving user, the face recognition device can also obtain an instruction to refuse payment; wherein the instruction to refuse payment is generated after the receiving user confirms that the payee has changed and performs a refusing payment operation on the screen of the receiving user. Then, the face recognition device can re-acquire the order to be paid; wherein the re-acquired order to be paid is generated after the receiving user re-initiates the payment operation on the order to be settled on the screen of the receiving user.
[0069] That is to say, if the receiving user finds that the facial image displayed on the screen on the receiving user's side does not match the paying user standing in front of the current face scanning device, that is, a wrong swipe occurs, the receiving user can refuse the payment and re-initiate the payment.
[0070] Figure 4 A flow chart of a face-scanning payment method provided in another embodiment of this specification is as follows: Figure 4 As shown in this manual Figure 2 In the illustrated embodiment, before step 202, the following may also be included:
[0071] Step 402: Display the information to be pushed on the screen of the payment recipient.
[0072] Step 404, obtaining the push information selected by the payment recipient from the above-mentioned information to be pushed.
[0073] Step 406: Display the push information on the screen of the payment user.
[0074] Specifically, in this embodiment, the face recognition device adds a screen on the payment user side, so as to provide the merchant to which the payment user belongs with services such as product supply, product warehousing, product pricing and / or product recommendation. Taking product recommendation as an example, the face recognition device can display the information to be pushed on the payment user side screen, and then the payment user can select the push information from the information to be pushed. After the face recognition device obtains the push information selected by the payment user, it can display the above push information on the payment user side screen, thereby achieving the effect of product recommendation.
[0075] In specific implementation, when the push information is displayed on the screen of the payee side, it can be displayed according to a predetermined period, and the predetermined period can be set by oneself, for example, the push information can be displayed for a period of 7 days. Of course, the merchant to which the payee belongs can set the display mode of the push information by himself, and this embodiment does not limit this.
[0076] Of course, it is understandable that steps 402 to 406 may be performed before step 202 or after step 210, and this embodiment does not limit this. Figure 4 In the example, steps 402 to 406 are performed before step 202.
[0077] It should be noted that in the embodiments of the present application, the facial images of the user collected by the face-scanning device and the personal information of the user such as the payment account obtained are legally used, and the user's consent has been obtained for the actions of collecting facial images and obtaining personal information such as the payment account by the face-scanning device.
[0078] 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.
[0079] Figure 5 A schematic diagram of the structure of a face-scanning payment device provided in one embodiment of this specification, such as Figure 5 As shown, the above-mentioned face-scanning payment device may include: an acquisition module 51, a display module 52 and a deduction module 53;
[0080] The acquisition module 51 is used to acquire the order to be paid; the order to be paid is generated after the payment receiving user initiates a payment operation on the order to be settled displayed by the face recognition device; the face recognition device includes a payment receiving user side screen and a payment user side screen, and the order to be settled is displayed on the payment receiving user side screen;
[0081] Display module 52, used to display the above order to be paid on the screen of the paying user;
[0082] The acquisition module 51 is further used to acquire the facial image of the paying user after the paying user triggers the face payment for the order to be paid, and acquire the payment account of the paying user according to the facial image of the paying user;
[0083] The display module 52 is further used to display the payment account of the payee and the facial image of the payee on the screen of the payee, so that the payee can confirm whether the payee obtained by face recognition is the payee who triggered the face recognition payment;
[0084] The deduction module 53 is used to perform a deduction operation on the payment account of the above-mentioned paying user after obtaining an indication of confirming the receipt of payment; wherein the above-mentioned indication of confirming the receipt of payment is generated after the paying user confirms that the paying user obtained by face recognition is the paying user who triggered the face recognition payment, and performs the confirmation of the receipt of payment operation on the screen on the above-mentioned paying user side.
[0085] Figure 5 The face-scanning payment device provided in the embodiment shown can be used to implement the present invention. Figure 2 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0086] Figure 6 A schematic diagram of a face-scanning payment device provided in another embodiment of this specification, Figure 5 Compared with the facial payment device shown, Figure 6 The face-scanning payment device shown may also include: a risk control module 54;
[0087] The risk control module 54 is used to perform human body detection, human body tracking and user identification verification on the image collected by the face recognition device before the display module 52 displays the payment account of the payee user and the facial image of the payee user on the screen of the payee user side; wherein the image collected by the face recognition device includes the image of the payee user collected by the face recognition device from the time the payee user enters the camera range of the face recognition device to the time the payee user triggers the face recognition payment;
[0088] The display module 52 is further configured to display a prompt message on the screen of the payee user side when the risk control module 54 detects that the payee user has changed during the process from when the payee user enters the camera range of the face recognition device to when the payee user triggers the face recognition payment, so as to prompt the payee user to confirm whether the payee user has changed;
[0089] The display module 52 is also used to display the payment account and facial image of the paying user on the screen of the receiving user when the risk control module 54 does not detect any change in the paying user during the process from the paying user entering the camera range of the face-scanning device to the paying user triggering the face-scanning payment.
[0090] Furthermore, the acquisition module 51 is also used to obtain an indication of refusing payment and to re-acquire an order to be paid after the display module 52 displays a prompt message on the screen on the payment user side; wherein the above-mentioned indication of refusing payment is generated after the payment user confirms that the paying user has changed and performs a payment refusing operation on the screen on the payment user side; the order to be paid re-acquired by the acquisition module 51 is generated after the payment user re-initiates a payment operation on the above-mentioned order to be settled on the screen on the payment user side.
[0091] In this embodiment, the risk control module 54 may include: a human body detection submodule 541, an association submodule 542, and a verification submodule 543;
[0092] The human body detection submodule 541 is used to perform human body detection on the image collected by the face recognition device and locate the face frame and the human body frame in the image;
[0093] An association submodule 542 is used to associate the face frame and the body frame in time sequence with the user identification;
[0094] A verification submodule 543, used to determine whether the user identification is changed during the process from when the paying user enters the camera range of the above-mentioned face-scanning device to when the above-mentioned paying user triggers the face-scanning payment;
[0095] Thus, detecting that a payment user has changed includes detecting that a user identification has changed.
[0096] Furthermore, the display module 52 is also used to display the information to be pushed on the screen of the payment user side before the acquisition module 51 acquires the order to be paid;
[0097] The acquisition module 51 is also used to acquire the push information selected by the payment recipient from the above-mentioned information to be pushed;
[0098] The display module 52 is also used to display the above push information on the screen of the payment user side.
[0099] Figure 6 The face-scanning payment device provided in the embodiment shown can be used to implement the present invention. Figure 2~Figure 4 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0100] Figure 7A schematic diagram of the structure of a face recognition device provided in one embodiment of this specification is shown in FIG. Figure 7 As shown, the face recognition device may include at least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the instructions of this specification. Figure 2~Figure 4 The illustrated embodiment provides a face-scanning payment method.
[0101] Figure 7 A block diagram of an exemplary face scanning device suitable for implementing the embodiments of the present specification is shown. Figure 7 The face recognition device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of this specification.
[0102] like Figure 7 As shown, the face recognition device is in the form of a general computing device. The components of the face recognition device may include but are not limited to: one or more processors 410, a communication interface 420, a memory 430, and a communication bus 440 connecting different components (including the memory 430, the communication interface 420 and the processing unit 410).
[0103] The communication bus 440 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, or a local bus using any of a variety of bus structures. For example, the communication bus 440 may include, but is not limited to, an industry standard architecture (ISA) bus, a micro channel architecture (MCA) bus, an enhanced ISA bus, a video electronics standards association (VESA) local bus, and a peripheral component interconnection (PCI) bus.
[0104] The face scanning device typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the face scanning device, including volatile and non-volatile media, removable and non-removable media.
[0105] The memory 430 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory. The memory 430 may include at least one program product having a set (eg, at least one) of program modules configured to execute the instructions of the present specification. Figure 2~Figure 4 Functionality of the illustrated embodiment.
[0106] A program / utility having a set (at least one) of program modules may be stored in the memory 430, such program modules including - but not limited to - an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment. The program modules generally execute the instructions in this specification. Figure 2~Figure 4 The functions and / or methods in the described embodiments.
[0107] The processor 410 executes various functional applications and data processing by running the programs stored in the memory 430, such as implementing the present specification. Figure 2~Figure 4 The illustrated embodiment provides a face-scanning payment method.
[0108] The embodiment of the present specification provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to execute the present specification. Figure 2~Figure 4 The illustrated embodiment provides a face-scanning payment method.
[0109] The above-mentioned non-transitory computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0110] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0111] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0112] Computer program code for performing the operations of the present specification may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0113] 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.
[0114] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0115] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0116] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of this specification includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of this specification belong.
[0117] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0118] It should be noted that the terminals involved in the embodiments of this specification may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.
[0119] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0120] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0121] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0122] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A face-scanning payment method, comprising: Get the order to be paid; The order to be paid is generated after the payment receiving user initiates a payment collection operation on the order to be settled displayed by the face recognition device; wherein the face recognition device includes a payment receiving user side screen and a payment user side screen, and the order to be settled is displayed on the payment receiving user side screen; Displaying the order to be paid on the screen of the paying user; After the paying user triggers face-scanning payment for the order to be paid, obtaining a facial image of the paying user, and obtaining a payment account of the paying user based on the facial image of the paying user; Displaying the payment account of the payee and the facial image of the payee on the screen of the payee user, so that the payee user can confirm whether the payee obtained by face recognition is the payee who triggered the face recognition payment; After obtaining the instruction for confirming the payment, the payment account of the payee is deducted; wherein the instruction for confirming the payment is generated after the payee confirms that the payee obtained by face recognition is the payee who triggers the face recognition payment and performs the payment confirmation operation on the screen of the payee; Before displaying the payment account of the payee user and the facial image of the payee user on the screen of the payee user side, the method further includes: Performing human body detection, human body tracking and user identification verification on the image collected by the face recognition device; wherein the image collected by the face recognition device includes the image of the paying user collected by the face recognition device from the time the paying user enters the camera range of the face recognition device to the time the paying user triggers the face recognition payment; If a change of the paying user is detected during the process from the paying user entering the camera range of the face-scanning device to the paying user triggering the face-scanning payment, a prompt message is displayed on the screen of the receiving user side to prompt the receiving user to confirm whether the paying user has changed; if no change of the paying user is detected during the process from the paying user entering the camera range of the face-scanning device to the paying user triggering the face-scanning payment, the step of displaying the paying user's payment account and the paying user's facial image on the screen of the receiving user side for the paying user to confirm whether the paying user obtained by face recognition is the paying user who triggered the face-scanning payment is executed; The performing of human body detection, human body tracking and user identification verification on the image collected by the face recognition device includes: Performing human body detection on the image captured by the face recognition device, and locating the face frame and the human body frame in the image; Associating user identifications between face frames and body frames in time series; In the process from when the paying user enters the camera range of the face-scanning device to when the paying user triggers the face-scanning payment, determining whether the user identification is changed; The detecting that a payment user has changed includes: detecting that a user identification has changed.
2. The method according to claim 1, wherein: After the prompt information is displayed on the screen of the payment receiving user side, the method further includes: Obtaining an instruction for refusing to receive payment; wherein the instruction for refusing to receive payment is generated after the receiving user confirms that the paying user has been changed and performs a refusing payment operation on the receiving user's side screen; Re-acquire the order to be paid; wherein the re-acquired order to be paid is generated after the payment receiving user re-initiates the payment collection operation for the order to be settled on the payment receiving user side screen.
3. The method according to claim 1, wherein: Before obtaining the order to be paid, the following steps are also included: Displaying the information to be pushed on the screen of the payment receiving user; Obtaining the push information selected by the payment recipient from the information to be pushed; The push information is displayed on the screen of the payment user side.
4. A face-scanning payment device, comprising: The acquisition module is used to obtain the orders to be paid; The order to be paid is generated after the payment receiving user initiates a payment collection operation on the order to be settled displayed by the face recognition device; wherein the face recognition device includes a payment receiving user side screen and a payment user side screen, and the order to be settled is displayed on the payment receiving user side screen; A display module, used for displaying the order to be paid on the screen of the paying user; The acquisition module is further used to acquire a facial image of the payee after the payee triggers face payment for the order to be paid, and acquire a payment account of the payee based on the facial image of the payee; The display module is further used to display the payment account of the payee and the facial image of the payee on the screen of the payee side, so that the payee can confirm whether the payee obtained by face recognition is the payee who triggered the face recognition payment; A deduction module, configured to deduct money from the payment account of the payee after obtaining an indication of confirming payment receipt; wherein the indication of confirming payment receipt is generated after the payee confirms that the payee obtained by face recognition is the payee who triggers face recognition payment and performs a confirmation payment receipt operation on the screen of the payee; Wherein, the device further comprises: The risk control module is used to perform human body detection, human body tracking and user identification verification on the image collected by the face recognition device before the display module displays the payment account of the payee user and the facial image of the payee user on the screen of the payee user side; wherein the image collected by the face recognition device includes the image of the payee user collected by the face recognition device from the time when the payee user enters the camera range of the face recognition device to the time when the payee user triggers the face recognition payment; The display module is further configured to display a prompt message on the screen of the payee user side when the risk control module detects that the payee user has changed during the process from when the payee user enters the camera range of the face-scanning device to when the payee user triggers the face-scanning payment, so as to prompt the payee user to confirm whether the payee user has changed; The display module is further configured to display the payment account of the paying user and the facial image of the paying user on the screen of the receiving user when the risk control module does not detect a change in the paying user during the process from the paying user entering the camera range of the face-scanning device to the paying user triggering the face-scanning payment, so as to allow the receiving user to confirm whether the paying user obtained by face-scanning recognition is the paying user who triggered the face-scanning payment; Wherein, the risk control module includes: A human body detection submodule, used to perform human body detection on the image captured by the face recognition device, and locate the face frame and the human body frame in the image; An association submodule, used to associate user identifications between face frames and body frames in time sequence; A verification submodule, used to determine whether the user identification is changed during the process from when the paying user enters the camera range of the face-scanning device to when the paying user triggers the face-scanning payment; The detecting that a payment user has changed includes: detecting that a user identification has changed.
5. The device according to claim 4, wherein: The acquisition module is also used to obtain an indication of refusing payment and to re-acquire the order to be paid after the display module displays a prompt message on the screen on the payment user side; wherein the indication of refusing payment is generated after the payment user confirms that the paying user has changed and performs a payment refusing operation on the screen on the payment user side; the order to be paid re-acquired by the acquisition module is generated after the payment user re-initiates a payment collection operation on the order to be settled on the screen on the payment user side.
6. The device according to claim 4, wherein: The display module is further used to display the information to be pushed on the screen of the payment receiving user side before the acquisition module acquires the order to be paid; The acquisition module is further used to acquire the push information selected by the payment recipient from the information to be pushed; The display module is also used to display the push information on the screen of the payment user side.
7. A face recognition device, comprising: at least one processor; as well as at least one memory in communication with the processor, wherein: The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 3 by calling the program instructions. 8 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions enable the computer to execute the method according to claim 1 .
