A data processing method, apparatus, device, medium, and program product
By collecting users' biometrics and sending object information to the payment terminal for identity verification when payment fails, the complexity of offline payments is solved and payment efficiency is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-12-03
- Publication Date
- 2026-07-10
AI Technical Summary
When making offline payments, issues such as risk control or service fluctuations can lead to payment failures, requiring users to complete multiple steps and resulting in low payment efficiency.
In response to a biometric payment request, the system collects the user's biometric features and processes the payment; if the request fails, it retrieves the user's information and sends it to the connected payment terminal for identity verification and payment.
Simplify payment operations, improve payment efficiency, and reduce the complexity of payment paths.
Smart Images

Figure CN116308369B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to the field of artificial intelligence, and particularly to a data processing method, a data processing device, a data processing equipment, a computer-readable storage medium, and a computer program product. Background Technology
[0002] With the rapid development of internet technology, offline payment methods based on users' biometrics have become widely used. However, practical experience has shown that when offline payments fail due to issues such as risk control or service instability, users can only complete the payment by providing a payment code or merchant code. This results in numerous steps required from the user, a complex payment path, and low payment efficiency. Summary of the Invention
[0003] This application provides a data processing method, apparatus, device, medium, and program product that can improve offline payment efficiency.
[0004] On one hand, embodiments of this application provide a data processing method, the method comprising:
[0005] In response to a biometric payment request for a target order, the biometric characteristics of the first user are collected;
[0006] Biometric payment processing is performed based on the first user's biometric characteristics.
[0007] If biometric payment processing fails, the object information of the first user is obtained based on the first user's biometric characteristics;
[0008] The first user's object information and target order are sent to the payment terminal with which the communication connection has been established. The payment terminal then verifies the first user's identity based on the object information and processes the payment for the target order after successful authentication.
[0009] On the other hand, embodiments of this application provide a data processing method, the method comprising:
[0010] The device receives object information of the first user and the target order sent by the biometric payment processing device when biometric payment processing for the target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user, and the biometric characteristics of the first user are collected by the biometric payment processing device in response to the biometric payment request for the target order.
[0011] The first user is authenticated based on the object information of the first user;
[0012] If identity verification is successful, payment will be processed for the target order.
[0013] On the other hand, embodiments of this application provide a data processing apparatus, which includes:
[0014] The data collection unit is used to collect the biometric characteristics of the first user in response to a biometric payment request for a target order.
[0015] A processing unit is used to perform biometric payment processing based on the biometric characteristics of the first user;
[0016] The processing unit is also configured to obtain the object information of the first user based on the first user's biometric characteristics if the biometric payment processing fails.
[0017] The processing unit is also used to send the object information of the first user and the target order to the payment terminal with which the communication connection has been established, so that the payment terminal can verify the identity of the first user based on the object information of the first user, and process the payment for the target order after the identity verification is successful.
[0018] In one implementation, biometric payment processing failure includes: payment processing failure caused by an order anomaly in the target order; or payment processing failure caused by service jitter due to multiple failovers.
[0019] Among them, the abnormal situations of the target order include: the number of order objects contained in the target order is greater than the quantity threshold, and the electronic resources required by the order objects contained in the target order are greater than the resource threshold.
[0020] In one implementation, the processing unit is further used for:
[0021] In response to a communication connection event, a communication connection is established with the payment terminal. The communication connection includes Bluetooth connection and infrared connection.
[0022] In one implementation, the communication connection event includes an event generated upon receiving a wireless pairing request. The processing unit, when establishing a communication connection with the payment terminal, specifically performs the following:
[0023] If a wireless pairing request is received from a payment terminal within the target time period, a communication connection is established with the payment terminal.
[0024] In one implementation, the communication connection event includes an event generated when selecting a signal identifier for a wireless pairing signal. The processing unit, when establishing a communication connection with the payment terminal, specifically performs the following:
[0025] The communication connection interface is displayed, which contains the signal identifiers of one or more wireless pairing signals that have been found and are to be paired.
[0026] When the signal identifier of the wireless pairing signal sent by the payment terminal in the communication connection interface is selected, a communication connection is established with the payment terminal.
[0027] In one implementation, the processing unit is further used for:
[0028] The payment result interface displays the first payment result, which is used to indicate that the biometric payment processing for the target order failed.
[0029] When the second payment result is received, the first payment result is replaced by the second payment result in the payment result interface. The second payment result indicates that the payment terminal has successfully processed the payment for the target order.
[0030] On the other hand, embodiments of this application provide a data processing apparatus, which includes:
[0031] The receiving unit is used to receive the object information of the first user and the target order sent by the biometric payment processing device when the biometric payment processing for the target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user, and the biometric characteristics of the first user are collected by the biometric payment processing device in response to the biometric payment request for the target order.
[0032] The processing unit is used to authenticate the first user based on the object information of the first user.
[0033] The processing unit is also used to process payment for the target order if the authentication is successful.
[0034] In one implementation, the processing unit, when authenticating the first user based on the first user's object information, specifically performs the following:
[0035] Obtain the identity ticket information of the second user currently logged in to the target application;
[0036] The identity ticket information of the second user is verified against the object information of the first user to obtain the identity verification result;
[0037] The authentication result includes authentication successful or authentication unsuccessful. If the object information of the first user matches the identity ticket information of the second user, it is determined that the first user and the second user are the same user, and the authentication result is authentication successful. If the object information of the first user does not match the object information of the second user, it is determined that the first user and the second user are different users, and the authentication result is authentication unsuccessful.
[0038] In one implementation, the processing unit is further used for:
[0039] The order details page displays the order information, payment processing information, and payment time range for the target order.
[0040] Order information includes: the order object of the target order, the merchant to which the order object belongs, the electronic resources required by the order object, the quantity of the order object to be traded, the quantity of the order object that can be traded, and the status information of the target order; payment processing information includes: biometrics and password.
[0041] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is the biometric feature of the first user collected by the biometric payment processing device; the processing unit, when processing the payment for the target order, is specifically used for:
[0042] Obtain the biometric characteristics of the first user;
[0043] Payment is processed for the target order based on the first user's biometrics.
[0044] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is not the biometric feature of the first user collected by the biometric payment processing device; or, the payment processing information is a password; the processing unit, used for processing payment for the target order, is specifically used for:
[0045] Output information acquisition window;
[0046] When the payment processing information entered by the first user is detected in the information acquisition window, the payment processing information is verified.
[0047] If the payment processing information is verified, the payment for the target order will be processed based on that information.
[0048] In one implementation, the processing unit is further used for:
[0049] If the order object meets the update conditions within the order payment time range, the tradable quantity of the order object will be updated and displayed in the order details page.
[0050] The update conditions include: no confirmation of payment processing for the target order by the first user is detected, and the updated tradable quantity of the order object is received from the biometric payment processing device; the updated tradable quantity of the order object is generated by the biometric payment processing device after the third user successfully performs biometric payment processing on the order object based on the biometric characteristics of the third user; the third user is different from the first user.
[0051] On the other hand, embodiments of this application provide a data processing device, which includes:
[0052] A processor is used to load and execute computer programs;
[0053] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described data processing method.
[0054] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed by the above-described data processing method.
[0055] On the other hand, embodiments of this application provide a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a data processing device reads the computer instructions from the computer-readable storage medium, and when executed by the processor, the computer instructions implement the aforementioned data processing method.
[0056] In this embodiment, in response to a biometric payment request for a target order, biometric payment processing can be performed based on the collected biometric features of a first user. When biometric payment processing fails, the object information of the first user is obtained based on the first user's biometric features, and the object information of the first user and the target order are sent to a payment terminal with an established communication connection. This allows the payment terminal to authenticate the first user based on the object information, and then process the payment for the target order after successful authentication. In the above scheme, when the biometric payment processing device fails to process the biometric payment for the target order based on the first user's biometric features, it can automatically send the object information of the first user and the target order together to the payment terminal. This allows the payment terminal to quickly process the payment for the target order based on the object information of the first user, simplifying the payment operation and improving payment efficiency. Attached Figure Description
[0057] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1a This application illustrates an exemplary embodiment of a data processing system architecture diagram.
[0059] Figure 1b This application illustrates an exemplary embodiment of a data processing system architecture diagram.
[0060] Figure 2A flowchart illustrating a data processing method provided in an exemplary embodiment of this application is shown;
[0061] Figure 3 This illustration shows a schematic diagram of a 3D camera of a biometric payment processing device capturing facial data of a first user, provided by an exemplary embodiment of this application.
[0062] Figure 4 A schematic diagram of a payment result interface provided in an exemplary embodiment of this application is shown;
[0063] Figure 5 A schematic diagram illustrating a communication connection prompt provided in an exemplary embodiment of this application is shown;
[0064] Figure 6 A schematic diagram of a communication connection interface provided in an exemplary embodiment of this application is shown;
[0065] Figure 7 A flowchart illustrating a data processing method provided in an exemplary embodiment of this application is shown;
[0066] Figure 8 This illustration shows an interface diagram of an order details interface provided in an exemplary embodiment of this application;
[0067] Figure 9 This illustration shows a schematic diagram of a payment processing method for a target order provided by an exemplary embodiment of this application;
[0068] Figure 10 This illustration shows a schematic diagram of a payment processing method for a target order provided by an exemplary embodiment of this application;
[0069] Figure 11 A flowchart illustrating a data processing method provided in an exemplary embodiment of this application is shown;
[0070] Figure 12 This illustration shows a schematic diagram of a biometric payment processing device displaying a second payment result, provided in an exemplary embodiment of this application.
[0071] Figure 13 This illustration shows a schematic diagram of a payment terminal displaying a second payment result, provided in an exemplary embodiment of this application.
[0072] Figure 14 This invention provides a schematic diagram of the structure of a data processing apparatus according to an exemplary embodiment of the present application.
[0073] Figure 15 This invention provides a schematic diagram of the structure of a data processing apparatus according to an exemplary embodiment of the present application.
[0074] Figure 16 A schematic diagram of the structure of a data processing device provided in an exemplary embodiment of this application is shown. Detailed Implementation
[0075] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0076] This application proposes a data processing scheme, which relates to technologies in the field of artificial intelligence, wherein:
[0077] 1) Artificial Intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to have perception, reasoning, and decision-making capabilities. AI technology is a comprehensive discipline involving a wide range of fields, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, speech processing, natural language processing, and machine learning / deep learning.
[0078] 2) This application specifically relates to computer vision technology within the field of artificial intelligence. Computer vision (CV) is a science that studies how machines can "see." More specifically, it refers to machine vision, which uses cameras and computers to replace human eyes for target recognition, tracking, and measurement, and further performs image processing to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision researches related theories and technologies, attempting to establish artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping (SLAM), and other technologies.
[0079] 3) Computer vision technology also includes biometric identification technologies such as facial recognition and fingerprint recognition. Biometric identification refers to the technology of using computers to identify individuals based on their inherent physiological characteristics (such as fingerprints, irises, faces, DNA, etc.) or behavioral characteristics (gait, keystroke habits, etc.). Among them, iris recognition is a biometric identification technology based on the iris in a user's eyes. Specifically, the structure of the human eye consists of the sclera, iris, pupil, lens, and retina; the iris is a ring-shaped part located between the black pupil and the white sclera, containing many intersecting spots, filaments, coronas, stripes, crypts, and other detailed features; these features determine the uniqueness of iris features, and also the uniqueness of iris identification; therefore, iris recognition can be widely used in many fields, such as payment and public security.
[0080] Facial recognition is a biometric identification technology that uses facial features to identify individuals. Specifically, it involves capturing images or video streams containing faces (multiple image frames) using a camera, and then performing facial recognition on the detected faces to extract facial feature information, thus achieving identification. The camera can be a 3D camera (such as a depth camera or infrared camera), which, compared to traditional cameras, incorporates liveness detection hardware and software to ensure the security of information (such as images). With the rapid development of artificial intelligence, facial recognition, due to its contactless (i.e., unobtrusive to the user) advantage, is widely used in transportation, commerce, public safety, and many other fields. For example, various modes of transportation, such as aviation, high-speed rail, and road passenger transport, use facial recognition to achieve seamless verification of the consistency of people, tickets, and identification. Furthermore, many terminals or applications use facial recognition to unlock them; and applications use facial recognition for payment or login functions, and so on.
[0081] For ease of description, the biometric features involved in the subsequent embodiments of this application are all illustrated using facial features as an example; however, it is understood that such examples do not limit the embodiments of this application, and this is hereby stated.
[0082] Based on the above description of face recognition, this application proposes a data processing system, the architecture of which can be found in the following diagram: Figure 1a , Figure 1a This illustration shows a schematic diagram of the architecture of a data processing system provided in an exemplary embodiment of this application. Figure 1a As shown, the data processing system may include, but is not limited to, a biometric payment processing device 101, a backend service device 102, and a payment terminal 103. This application embodiment does not limit the naming or quantity of each terminal; for example, in a payment scenario for purchasing goods, the biometric payment processing device 101 may be an operating terminal or merchant terminal held by a merchant, the payment terminal 103 may be a smart terminal (such as a smartphone) held by a consumer, and the backend service device 102 may be a backend server that interacts with the biometric payment processing device 101 and the payment terminal 103. It is easy to understand that at least two payment terminals held by consumers may be included in the same payment scenario. The terminals (including the biometric payment processing device 101 and the payment terminal 103) and the backend service device 102 can be directly or indirectly connected via wired or wireless means. This application embodiment does not limit the connection method between the terminal and the server.
[0083] Furthermore, Figure 1a The payment processing device 101, backend service device 102, and payment terminal 103 in the data processing system shown jointly execute the data processing method proposed in this application embodiment. The process can be found in [link to relevant documentation]. Figure 1b .like Figure 1b As shown:
[0084] The biometric payment processing device 101 is a terminal used by merchants to collect the biometric features (such as the facial image of the first user) of a first user (such as any consumer with a consumption need). Specifically, the biometric payment processing device 101 runs a biometric application (such as a facial recognition application), and the biometric payment processing device 101 can implement a data processing scheme through this biometric application; when the biometric feature is a facial feature, the biometric application can also be called a facial recognition application, as explained here.
[0085] The biometric application includes: a face recognition module, a payment status module, and a communication connection module, etc.; among which: ① Face recognition module: calls the camera of the biometric payment processing device 101 (such as the aforementioned 3D camera) to collect the face data of the first user on the biometric payment processing device 101 side (such as collecting face images or face streaming media data, i.e., video stream (including multiple frames of face images)); and after obtaining the face streaming media data, it supports the optimization of the face streaming media data, selecting the face image with the highest comprehensive evaluation; and sends the optimal face image to the backend service device 102 so that the backend service device 102 can perform subsequent processing. ② Payment Status Module: This interface module displays the payment status of the first user for the target order (including the order object the first user intends to purchase). For example, when the first user fails to pay for the target order, the payment status module can output the payment result on the terminal screen of the biometric payment processing device 101, indicating a failed payment for the target order. Conversely, when the first user successfully pays for the target order using payment terminal 102, the payment status module obtains the latest payment result, indicating a successful payment for the target order, and displays the latest payment result on the terminal screen. ③ Communication Connection Module: This module establishes a communication connection with payment terminal 103. For example, the communication connection module is used to establish a short-range communication connection with payment terminals in the same physical environment (or natural environment). Depending on the method of establishing the communication connection between the biometric payment processing device 101 and payment terminal 103, the communication connection modules included in the biometric payment processing device 101 are different. The communication connection established between the biometric payment processing device 101 and payment terminal 103 may include, but is not limited to, Bluetooth connection, infrared connection, etc. When the communication connection is a Bluetooth connection, the communication connection module can be a Bluetooth module. In the following embodiments of this application, the communication connection module can be a Bluetooth module, that is, a Bluetooth connection is established between the biometric payment processing device 101 and the payment terminal 103. This is hereby explained.
[0086] The backend service device 102 is a backend server, which may include, but is not limited to, devices with complex computing capabilities such as data processing servers, web servers, and application servers. Specifically, the backend service device 102 may be the backend server of the biometric payment processing device 101 or the payment terminal 103, or it may be the backend server of an application running in the biometric payment processing device 101 or the payment terminal 103, used to interact with the terminal running the application (such as the biometric payment processing device 101 or the payment terminal 103) to provide computing and application service support for that application. The backend service device 102 may also be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers. The backend service device 102 may also be a blockchain device in a blockchain network.
[0087] The backend service device 102 provides backend services, which may include, but are not limited to, cloud-based facial recognition services, basic risk control services, and basic payment services. Specifically: The cloud-based facial recognition service receives the optimal facial image sent by the biometric payment processing device 101 and identifies it to determine the first user's information (such as the first user's account, payment method (such as payment code), etc.). The basic risk control service manages payment risks, primarily prompting the first user to make payment through the payment terminal 103 when a risk is detected in the current payment transaction; these risks may include, but are not limited to, account security, credit, or service fluctuation risks. This embodiment does not limit the type of payment risk. The basic payment service, after identifying the first user's information based on the facial recognition service, queries the first user's account and obtains the first user's payment method to complete the payment for the target order.
[0088] Payment terminal 103 is the terminal used by consumers in a payment scenario. For example, in a payment scenario, payment terminal 103 can be the terminal used by a first user. The first user can log in to the target application using an account registered in the target application, enabling them to use the services or functions provided by the target application. The target application is an application with payment functionality running on payment terminal 103 (such as a social application with payment functionality). The target application may include, but is not limited to: ① IM (Instant Messaging) applications, which are applications based on the internet for instant messaging and social interaction, such as map applications and game applications with social interaction functions. ② Content interaction applications, which are applications capable of content interaction, such as online banking, personal spaces, etc. According to the application's operating method, the target application may include, but is not limited to: ① Client applications, which are applications installed and running on the terminal. ② Target applications can also refer to installation-free applications, i.e., applications that can be used without downloading and installation. These applications are commonly known as mini-programs, and they usually run as subroutines on the client. ③The target application can also refer to a web application opened through a browser; etc.
[0089] The target application includes a login module, a communication connection module, and a payment terminal module. Specifically: The login module: after the first user logs into the target application, it stores the user's account information. The communication connection module: is identical to the communication connection module in the biometric application of the biometric payment processing device 101; when the payment terminal 103 receives a communication connection request from the biometric payment processing device 101, it can establish a communication connection with the biometric payment processing device 101 through the communication connection module, enabling information exchange between the payment terminal 103 and the biometric payment processing device 101. The payment terminal module: is the payment entry point of the target application; when the payment terminal 103 receives a target order, it can activate the payment terminal module, allowing the first user to pay via password or biometric signature.
[0090] Based on the above brief introduction of the data processing system, this application proposes a data processing scheme that can be jointly executed by the aforementioned biometric payment processing device 101, backend service device 102, and payment terminal 103. Specifically, it is jointly executed by the biometric application running in the biometric payment processing device 101, the target application running in the backend service device 102, and the payment terminal 103. For ease of explanation, the following description will use the joint execution of the data processing scheme by the biometric payment processing device 101, backend service device 102, and payment terminal 103 as an example. Specifically, the general flow of this data processing scheme may include: the biometric payment processing device can collect the biometric features of a first user in response to a biometric payment request for a target order; if the biometric payment processing of the target order based on the first user's biometric features fails on the biometric payment processing device side, the biometric payment processing device can automatically send the object information of the first user and the target order to the payment terminal with which a communication connection has been established; thus, the payment terminal 103 can process the payment for the target order according to the object information of the first user. In the above scheme, when the biometric payment processing device fails to process the target order based on the first user's biometric characteristics, it can automatically send the first user's object information along with the target order to the payment terminal. In this way, after the payment terminal verifies the identity of the first user based on the first user's object information, it can quickly use the payment terminal to process the payment for the target order based on the first user's object information, simplifying the payment operation and improving payment efficiency.
[0091] It should be noted that the data processing scheme mentioned in the embodiments of this application can also be combined with blockchain, thus... Figure 1a The data processing system shown can serve as a data sharing system, and the backend service devices within it can act as nodes in a blockchain network. These backend service devices can upload created payment tasks to the blockchain for storage, and can also store each user's biometric data on the blockchain, etc. This improves the security of biometric data and task storage, ensuring the security and convenience of biometric payments.
[0092] Based on the data processing scheme described above, this application proposes a more detailed data processing method. The data processing method proposed in this application will be described in detail below with reference to the accompanying drawings.
[0093] Figure 2 The illustration shows a flowchart of a data processing method provided in an exemplary embodiment of this application; the data processing method can be executed by a biometric payment processing device, and the data processing method may include, but is not limited to, steps S201-S204:
[0094] S201: In response to a biometric payment request for a target order, collect the biometric features of the first user.
[0095] When a first user has a payment request for a target order, a biometric payment request can be generated on the biometric payment processing device side. This biometric payment request is used to request payment processing for the target order using the first user's biometric characteristics. For example, if a first user purchases an order object (such as any product) from a merchant, the merchant generates a target order related to the first user by inputting the order object information (such as pending transaction data (e.g., quantity purchased), unit price information, etc.) into the biometric payment processing device based on the first user's purchase history. When the merchant initiates the collection of the first user's biometric characteristics in the biometric payment processing device, a biometric payment request for the target order is generated. The target order includes order information, which may include, but is not limited to: the order object of the target order (e.g., a product), the merchant to which the order object belongs, the electronic resources required for the order object (e.g., the total amount required to pay the order object), the pending transaction quantity of the order object (e.g., the quantity of the order object purchased by the first user), and the status information of the target order (e.g., pending payment status, paid status, or expired status, etc.).
[0096] As described above, the biometrics of the first user may include, but are not limited to, fingerprints, irises, faces, and DNA. This embodiment uses facial features as an example. Specifically, a 3D camera is deployed in the biometric payment processing device. When the first user needs to pay for a target order, the merchant can activate the biometric application deployed in the biometric payment processing device. The biometric application can call the 3D camera of the biometric payment processing device to capture the facial image of the first user on the biometric payment processing device side. The facial image contains the biometrics of the first user (or facial features), which can be used to determine the identity of the first user.
[0097] An exemplary schematic diagram of a 3D camera that calls a biometric payment processing device to collect the facial data of a first user can be found here. Figure 3 ,like Figure 3As shown, when the first user 301 has a payment request for the target order, the user of the biometric payment processing device (such as a merchant) can activate the biometric application (such as a face recognition application) in the biometric payment processing device. The biometric application then calls the 3D camera to capture the first user's face image 302. It is understood that the process of activating the biometric application in the biometric payment processing device during the above-mentioned capture of the first user's face image can be performed by the first user, for example, by a second user triggering the activation of the biometric application on the biometric payment processing device (such as gesture operation, button operation, audio operation, etc.). Alternatively, it can be performed by the merchant corresponding to the biometric payment processing device. This application embodiment does not limit the user who activates the biometric application in the biometric payment processing device. Furthermore, the types and styles of biometric payment processing devices are not limited to... Figure 3 The types and styles shown may vary in other application scenarios. Biometric payment processing devices can also be smart terminals handheld by merchants (such as smartphones, cash registers, etc.). This application does not limit the biometric payment processing devices.
[0098] In addition to capturing single-frame facial images of the first user, the 3D camera also supports capturing facial streaming media data. This facial streaming media data includes multiple frames of facial images. After acquiring this data, the facial recognition module within the biometric application can optimize the data to obtain the best facial image, which is then sent to the backend service device for further processing. The optimization of the facial streaming media data by the facial recognition module can be achieved by comprehensively evaluating the multiple frames of facial images based on evaluation metrics (such as face size, face angle, contrast, brightness, and clarity). The facial image with the highest comprehensive evaluation is selected as the one to be sent to the backend service device. This highest-evaluated facial image contains richer and more distinct facial features, which helps the backend service device perform subsequent operations based on this image, thereby improving the accuracy and speed of the task of identifying the second user.
[0099] S202: Perform biometric payment processing based on the biometric characteristics of the first user.
[0100] In its implementation, firstly, after collecting the biometric features (such as a facial image) of a first user, the biometric payment processing device generates a first payment request based on the user's biometric features and the target order. This first payment request is used to request the backend service device to process the biometric payment for the target order using the user's biometric features. Secondly, the biometric payment processing device sends the first payment request to the backend service device, enabling the backend service device to query the user's account based on the user's biometric features, deduct the required electronic resources for the order from the user's account according to the order information, and transfer the electronic resources to the account of the merchant to which the order belongs. Finally, the biometric payment processing device obtains the first payment result from the backend service device. Through this implementation, the biometric payment processing device can perform biometric payment processing for target orders based on the user's biometric features.
[0101] The first payment result can be used to indicate whether the biometric payment processing for the target order was successful or failed. If the electronic resources are successfully transferred from the first user's account to the merchant's account to which the order belongs, the first payment result indicates that the biometric payment processing for the target order was successful. If the electronic resources are not successfully transferred from the first user's account to the merchant's account to which the order belongs, the first payment result indicates that the biometric payment processing for the target order failed. It is easy to understand that during the biometric payment processing process, the biometric payment processing device may fail due to issues such as risk control or service fluctuations. Several exemplary problems leading to biometric payment processing failures are given below. Common biometric payment processing failures may include, but are not limited to: payment processing failures caused by abnormal order conditions in the target order; or payment processing failures caused by service fluctuations due to multiple failovers. Abnormal order conditions in the target order may include: the number of order objects in the target order exceeding a quantity threshold, the electronic resources required for the order objects in the target order exceeding a resource threshold, or risks associated with the first user's account. Service jitter may be caused by multiple failovers of the biometric payment processing device or backend service device within a short period of time, which can affect the normal operation of the device (such as the biometric payment processing device or backend service device). Of course, the above are just a few exemplary problems that may lead to biometric payment processing failure. This application does not limit the specific problems of biometric payment processing failure, but is only described here.
[0102] Furthermore, this application embodiment also supports displaying the first payment result on the terminal screen (or display screen) of the biometric payment processing device; specifically, the first payment result is displayed by the payment status module in the biometric application. In a specific implementation, a payment result interface is displayed on the terminal screen, which includes the first payment result; when biometric payment for the target order fails, the first payment result indicates that the biometric payment processing for the target order based on the first user's biometrics has failed; when biometric payment for the target order succeeds, the first payment result indicates that the biometric payment processing for the target order based on the first user's biometrics has succeeded.
[0103] An exemplary interface diagram of the payment result interface can be seen here. Figure 4 ,like Figure 4 As shown, a payment result interface 401 is displayed on the terminal screen of the biometric payment processing device. This interface contains order information for the target order, such as the object image 4011 of the order object, the unit price information 4012 of the order object, and the electronic resources required by the order object 4013, etc. When biometric payment processing is being performed on the target order based on the first user's biometrics, a prompt message 402 is displayed on the payment result interface 401. This prompt message 402 indicates that biometric payment processing is being performed on the target order using the first user's biometrics. When the biometric payment processing for the target order based on the first user's biometrics is completed, a first payment result 403 can be output on the payment result interface. This first payment result 403 indicates either that the biometric payment processing for the target order based on the first user's biometrics failed or that the biometric payment processing for the target order was successful. Specifically, an overlay interface can be displayed above the payment result interface 401, and the first payment result 403 can be output in the overlay interface. The so-called overlay interface refers to a view with transparency located above the payment result interface (e.g., a view with transparency located above the payment result interface). Figure 4 As shown, the transparency of the overlay interface can be set according to actual business needs; this method of outputting the first payment result 403 on the overlay interface can, to a certain extent, highlight the first payment result 403 through the transparency of the overlay interface, making it easy for the first user to see the first payment result 403 at a glance.
[0104] S203: If biometric payment processing fails, obtain the object information of the first user based on the first user's biometric characteristics.
[0105] The first user's object information refers to the information generated when the first user registers with the target application. This object information may include: a unique identifier assigned to the first user after registering as a new user in the target application (such as user ID, user account, user nickname, biometric features (such as facial features, fingerprint features, etc.)). Registration refers to the first user submitting a registration request to the target application, which carries the first user's registration information (such as username and password). The target application's server (such as backend service device) performs the registration operation, which includes: verifying whether the username conflicts, whether the password meets the requirements, and verifying the authenticity of key information (such as mobile phone number, real-name authentication information, etc.). After successful registration, the server stores the first user's registration information and assigns a unique identifier to the first user, making the first user a registered user of the target application. As described above, the target application refers to an application with payment function running on the payment terminal used by the first user. If the first user registers as a new user in the target application or adds the first user's biometrics when completing the first user's information, the first user's biometrics will be bound to the first user's object information. In this way, the first user's object information can be retrieved through the first user's biometrics.
[0106] In specific implementation, when biometric payment processing for a target order is performed based on the biometric characteristics of the first user, and the first payment result is a biometric payment failure, the biometric payment processing device can send an information retrieval request to the backend service device. This information retrieval request is used to request the backend service device to return the object information of the first user obtained after identifying the biometric characteristics of the first user. In this way, the backend service device responds to the information retrieval request and returns the object information of the first user to the biometric payment processing device. Alternatively, when the biometric payment processing of the target order by the backend service device based on the first user fails, the backend service device can automatically retrieve the object information of the first user based on the biometric characteristics of the first user and actively push the object information of the first user to the biometric payment processing device. This application embodiment does not limit the specific implementation method of the biometric payment processing device obtaining the object information of the first user.
[0107] S204: Send the object information of the first user and the target order to the payment terminal with which the communication connection has been established.
[0108] In this context, an established communication connection payment terminal refers to a terminal device that maintains a communication connection with the biometric payment processing device in a payment scenario. As described above, when there are multiple consumers in a payment scenario, the device used by each consumer can be called a payment terminal. Therefore, the number of payment terminals maintaining a communication connection with the biometric payment processing device in the payment scenario can be at least two. When a communication connection is maintained between the biometric payment processing device and the payment terminal, data transmission can occur between them. Specifically, the biometric payment processing device sends the object information of the first user and the target order to the established communication connection payment terminal. This allows the payment terminal to authenticate the first user based on the object information and, upon successful authentication, process the payment for the target order. This allows the target order to be transferred from the biometric payment processing device to the payment terminal for payment if the biometric payment processing device fails to process the target order based on the first user's biometric characteristics, simplifying the process of re-paying after a payment failure and thus improving payment efficiency.
[0109] For example, if the merchant's biometric payment processing device successfully establishes communication connections with payment terminal 1 used by consumer 1, payment terminal 2 used by consumer 2, and payment terminal 3 corresponding to the first user, then when the biometric payment processing device fails to process the target order based on the first user's biometric characteristics, it can send the first user's object information and the target order to payment terminals 1, 2, and 3 respectively. Payment terminals 1, 2, and 3 will then verify the first user's identity based on the object information. Since the users of payment terminals 1 and 2 are not the first user, their verification results will both fail. However, since the user of payment terminal 3 is the first user, their verification results will both succeed. Subsequently, payment terminal 3 will specify the payment processing for the target order.
[0110] It is easy to understand that only after a successful communication connection is established between the biometric payment processing device and the payment terminal can the biometric payment processing device successfully send the first user's object information and target order to the payment terminal. In specific implementations, a communication connection can be established between the device and the payment terminal in response to a communication connection event; this communication connection can include, but is not limited to, Bluetooth connections, infrared connections, etc. For example, when the communication connection is Bluetooth, multiple devices in close proximity (such as the biometric payment processing device and the payment terminal corresponding to the first user) can establish a communication connection via Bluetooth. The communication connection event can include events generated when a wireless pairing request is received, or events generated when a selection is performed on the signal identifier of the wireless pairing signal, etc. For ease of explanation, the following description will use the example of a Bluetooth connection and the payment terminal establishing a communication connection with the biometric payment processing device being the terminal used by the first user.
[0111] The following examples illustrate the process of establishing a communication connection between a biometric payment processing device and a payment terminal, using either the communication connection event generated when a wireless pairing request is received, or the communication connection event generated when a signal identifier for a wireless pairing signal is selected.
[0112] 1) Communication connection events include events generated when a wireless pairing request is received; taking, for example, a wireless pairing request sent by the payment terminal corresponding to (or used by) the first user. Specifically, when the biometric payment processing device fails to process the biometric payment for the target order based on the first user's biometric characteristics, a first payment result is displayed on the payment result interface, indicating that the biometric payment processing has failed, and a communication connection prompt (such as...) can be output on the payment interface. Figure 5 The prompt shown (501) indicates that the communication connection prompt is used to inform the first user to establish a communication connection between the payment terminal and the biometric payment processing device to process the payment for the target order. When the first user activates the communication connection on the payment terminal, such as enabling Bluetooth, the payment terminal can establish a communication connection with other devices in the same physical environment. Specifically, the payment terminal corresponding to the first user can display a signal identifier for the wireless pairing signal sent by the biometric payment processing device. When the signal identifier for the wireless pairing signal sent by the biometric payment processing device is selected, it indicates that the first user wants to establish a communication connection between the payment terminal and the biometric payment processing device, and a communication connection is then established between the biometric payment processing device and the payment terminal corresponding to the first user.
[0113] The following is combined Figure 5 Taking Bluetooth as an example, this paper briefly introduces the process of establishing a communication connection between the biometric payment processing device and the payment terminal, including events such as receiving a wireless pairing request. Figure 5As shown, when the biometric payment processing device fails to process the target order based on the first user's biometric features, a communication connection prompt 501 is displayed on the payment result interface 401. This communication connection prompt 501 can be used to prompt the first user to establish a Bluetooth connection between the payment terminal and the biometric payment processing device to complete the payment processing of the target order. The first user can then open the Bluetooth connection interface 502 on the payment terminal. This interface displays signal identifiers of wireless pairing signals emitted by other devices that have been searched and are in the same physical environment as the payment terminal (e.g., the physical environment of a circle with the payment terminal as the center of the target radius), including the signal identifier 5021 of the wireless pairing signal emitted by the biometric payment processing device. When signal identifier 5021 is selected, the payment terminal sends a wireless pairing request to the biometric payment processing device. After receiving the wireless pairing request, the biometric payment processing device can establish a Bluetooth connection with the payment terminal corresponding to the first user.
[0114] Furthermore, this application embodiment also supports limiting the time for receiving the wireless pairing request sent by the payment terminal corresponding to the first user. If the wireless pairing request sent by the payment terminal corresponding to the first user is received within the target time period, a communication connection is established with the payment terminal corresponding to the first user. The target time period can be a preset time period elapsed from the moment the biometric payment processing of the target order based on the first user's biometric characteristics fails. This avoids the biometric payment processing device waiting for a long time to establish a communication connection with the payment terminal corresponding to the first user, and to a certain extent facilitates the establishment of communication connections between the biometric payment processing device and other devices, thereby enabling the continued sale of the order.
[0115] 2) Communication connection events include events generated when selecting the signal identifier of the wireless pairing signal; taking the wireless pairing signal as a signal (such as a Bluetooth signal) emitted by the payment terminal corresponding to the first user as an example, the signal identifier of the wireless pairing signal can be used to identify the source device (or sender) of the wireless pairing signal. For example, the signal identifier of the wireless pairing signal sent by the payment terminal corresponding to the first user can be the terminal identifier of the payment terminal, so that when the signal identifier is seen, the source device of the wireless pairing signal corresponding to the signal identifier can be known. Of course, the signal identifier of the wireless pairing signal can be customized by the first user according to their needs. This application embodiment does not limit the specific form and generation method of the signal identifier of the wireless pairing signal.
[0116] Specifically, when the biometric payment processing device fails to process a biometric payment for a target order based on the first user's biometric characteristics, a first payment result is displayed on the payment result interface. This first payment result indicates that the biometric payment processing failed, and a communication connection control (or options, components, buttons, etc.) can be output on the payment interface. When this communication connection control is triggered, the communication connection interface (such as...) is displayed. Figure 6 The interface 601 shown contains signal identifiers for one or more wireless pairing signals to be paired. When the communication connection is a Bluetooth connection, the one or more wireless pairing signals to be paired can refer to signals sent by devices in the same physical environment as the biometric payment processing device (such as Bluetooth signals). When the signal identifier of a wireless pairing signal sent by any payment terminal (such as the payment terminal corresponding to the first user) in the communication connection interface is selected, a communication connection is established with that payment terminal; specifically, when the signal identifier of a wireless pairing signal sent by that payment terminal is selected, a wireless pairing request is sent to that payment terminal to establish a communication connection with that payment terminal.
[0117] The following is combined with Figure 6 Taking Bluetooth as an example, this paper briefly introduces the process of establishing a communication connection between a biometric payment processing device and a payment terminal, including events generated when selecting the signal identifier of a wireless pairing signal. Figure 6As shown, when the biometric payment processing device fails to process the target order based on the first user's biometric features, a communication connection control 601 is displayed on the payment result interface 401. When the communication connection control 601 is triggered, it indicates that a Bluetooth connection should be established between the biometric payment processing device and the payment terminal corresponding to the first user to realize the payment processing of the target order, and a communication connection interface 602 is displayed. The communication connection interface 602 contains signal identifiers of wireless pairing signals emitted by at least one device searched by the biometric payment processing device, including signal identifier 6021 of the wireless pairing signal emitted by the payment terminal corresponding to the first user. If signal identifier 6021 is selected, a Bluetooth connection is established with the payment terminal corresponding to the first user. It is worth noting that the above-mentioned method triggers a wireless pairing signal in the communication connection interface to establish a communication connection between the biometric payment processing device and the payment terminal corresponding to the triggered wireless pairing signal. However, this application embodiment also supports the following: when the biometric payment processing device fails to process the target order based on the biometric characteristics of the first user, the biometric payment processing device automatically sends a wireless pairing request to all payment terminals corresponding to the wireless pairing signals included in the communication connection interface. When one or more payment terminals among all the payment terminals corresponding to the wireless pairing signals respond to the wireless pairing request, a communication connection is established between the biometric payment processing terminal and the one or more payment terminals.
[0118] It should be noted that the above example illustrates the implementation of a communication connection between the biometric payment processing device and the payment terminal corresponding to the first user. The process of establishing a communication connection between the biometric payment processing terminal and payment terminals used by other users (excluding the first user) in the payment scenario can be found in the aforementioned description. Furthermore, the above only provides two exemplary implementations of establishing a communication connection between the biometric payment processing device and the payment terminal; however, this application does not limit the specific implementation of establishing a communication connection between the biometric payment processing device and the payment terminal. For example, if the biometric payment processing device and the payment terminal have already successfully established a communication connection in a historical time period (such as a preset time interval before the current communication connection), then in... Figure 5 (or Figure 6The Bluetooth connection interface 502 displayed on the payment terminal shown can directly display the signal identifier 5021 of the wireless pairing signal emitted by the biometric payment processing device, without needing to search for the wireless pairing signal in the physical environment. In this implementation, the signal identifier that triggers the wireless pairing signal emitted by the biometric payment processing device can directly establish a Bluetooth connection with the biometric payment processing device; or, when the payment terminal detects the presence of a wireless pairing signal emitted by the biometric payment processing device in the physical environment, it can directly establish a Bluetooth connection with the biometric payment processing device without needing to perform Bluetooth authentication again. This improves the connection efficiency of the communication connection while ensuring a secure connection between the biometric payment processing device and the payment terminal.
[0119] In this embodiment, in response to a biometric payment request for a target order, biometric payment processing can be performed based on the collected biometric features of a first user. When biometric payment processing fails, the object information of the first user is obtained based on the first user's biometric features, and the object information of the first user and the target order are sent to a payment terminal with an established communication connection. This allows the payment terminal to authenticate the first user based on the object information, and then process the payment for the target order after successful authentication. In the above scheme, when the biometric payment processing device fails to process the biometric payment for the target order based on the first user's biometric features, it can automatically send the object information of the first user and the target order together to the payment terminal. This allows the payment terminal to quickly process the payment for the target order based on the object information of the first user, simplifying the payment operation and improving payment efficiency.
[0120] Figure 7 The illustration shows a flowchart of a data processing method provided in an exemplary embodiment of this application; the data processing method can be executed by a payment terminal, and the data processing method may include, but is not limited to, steps S701-S703:
[0121] S701: Receives object information of the first user and the target order sent by the biometric payment processing device when biometric payment processing for the target order fails.
[0122] As described above, the object information of the first user is obtained by the biometric payment processing device based on the first user's biometric characteristics. These biometric characteristics are captured by the biometric payment processing device using a 3D camera in response to a biometric payment request for a target order. The specific implementation process of the biometric payment processing device capturing the first user's biometric characteristics and obtaining the first user's object information based on those characteristics can be found in the aforementioned... Figure 2 The specific implementation process of the illustrated embodiment will not be described in detail here.
[0123] S702: Authenticate the first user based on the first user's object information.
[0124] It is worth noting that regardless of whether the target order is processed via biometric payment on the biometric payment processing device side or on the payment terminal side, it must be ensured that the target order is paid by the first user. Therefore, in this embodiment, after transferring the target order from the biometric payment processing device to the payment terminal, the payment terminal also needs to authenticate the first user based on the first user's object information. Only after successful authentication will the subsequent payment processing flow be executed. Specifically, authenticating the first user based on the first user's object information mainly verifies whether the second user currently logged into the target application in the payment terminal is the same user as the first user. If the second user and the first user are the same user, authentication is considered successful (or verified); otherwise, authentication is considered unsuccessful (or fails).
[0125] In its implementation, the payment terminal first obtains the identity ticket information of the second user currently logged into the target application. This identity ticket information can be simply understood as the second user's access pass, a unique identifier assigned by the target application when the second user registers as a registered user. The second user's object information can be parsed from this identity ticket information. Then, the second user's identity ticket information is compared with the first user's object information to obtain an authentication result. Specifically, the second user's identity ticket information is parsed to obtain the second user's object information, which is then compared with the first user's object information to obtain the authentication result. The authentication result includes successful or unsuccessful authentication. If the first user's object information matches the second user's identity ticket information, indicating that the first and second users are the same user, the authentication result is successful. If the first user's object information does not match the second user's object information, indicating that the first and second users are different users, the authentication result is unsuccessful. This process ensures the security of the target order and improves payment security.
[0126] S703: If identity verification is successful, proceed with payment processing for the target order.
[0127] Specifically, if the payment terminal successfully authenticates the first user based on the first user's object information, indicating that the payment terminal is the terminal used by the first user (i.e., the payment terminal is the payment terminal corresponding to the first user), then the order details interface can be displayed on the terminal screen. This interface includes the order information, payment processing information, and the order payment time range for the target order. The order information includes: the order object of the target order, the merchant to which the order object belongs, the electronic resources required by the order object, the pending transaction data of the order object (such as the quantity of order objects the first user wishes to purchase), the tradable data of the order object (such as the quantity of order objects held by the merchant), and the status information of the target order. The payment processing information instructs the first user on the payment method for the target order within the payment terminal and may include biometrics or a password. In other words, when the first user uses the payment terminal to process the payment for the target order, they can choose either biometrics or a password.
[0128] An exemplary interface diagram of an order details page can be seen here. Figure 8 The order details interface 801 includes order information 8011, payment processing information 8012, and order payment time range 8013 for the target order. Of course, the order details interface 801 may only include one or more of the following: order information 8011, payment processing information 8012, and order payment time range 8013 for the target order. Furthermore, the order details interface 801 may also include other information about the target order, such as the time the target order was generated. This embodiment of the application does not limit this. Several noteworthy points regarding the information included in the order details interface are described below:
[0129] ① The payment processing information 8012 may contain various biometric payment identifiers, such as payment identifiers based on facial features (or facial features), payment identifiers based on fingerprint features, and payment identifiers based on passwords.
[0130] ② The order details interface 801 also includes a cancellation option 8014. When the cancellation option 8014 is selected, it means that the first user wants to cancel the payment for the target order, and the status information of the target order will be changed to invalid status (or cancelled status).
[0131] ③ This application embodiment also supports real-time updating and displaying of the tradable quantity of the order object in the order details interface 801, that is, displaying the remaining quantity of the order object in the order details interface 801 in real time. Specifically, if the order object meets the update conditions within the order payment time range, the tradable quantity of the order object is updated and displayed in the order details interface; wherein, the update conditions may include: no confirmation of payment processing for the target order by the first user is detected, and the updated tradable quantity of the order object sent by the biometric payment processing device is received; the updated tradable quantity of the order object sent by the biometric payment processing device is generated by the biometric payment processing device after successfully performing biometric payment processing on the order object based on the biometric characteristics of the third user, and the third user and the first user are different users. In other words, if a third user successfully purchases an order object within the valid payment time range of the target order (i.e., the order payment time range mentioned above), the biometric payment processing device will update the tradable quantity of the order object. For example, if the biometric payment processing device contains 3 order objects and the third user currently purchases 1 order object, the updated tradable quantity of the order object will be 2. The biometric payment processing device will send the updated tradable quantity of the order object to the payment terminal so that the first user can promptly know the remaining quantity of the order object and quickly process the payment for the target order.
[0132] ④ This application embodiment supports triggering the display of the order details interface 801 of the target order from the service notification interface 802. See also Figure 8 The service notification interface 802 is used to display at least one order received by the first user. For example, the service notification interface 802 may include a target order, which can be displayed in the form of a card, such as card 8021. When the card of the target order is triggered, the order details interface 801 of the target order can be quickly triggered. Alternatively, after the payment terminal receives the object information and target order of the first user sent by the biometric payment processing device, it can directly display the order details interface 801 of the target order, without first displaying the service notification interface 802 and then triggering the display of the order details interface 801 of the target order from the service notification interface 802. This application embodiment does not limit the implementation method of the payment terminal displaying the order details interface of the target order; this is only described here.
[0133] Based on the above description, the payment terminal can provide multiple payment methods for the first user to choose from, specifically displayed in the order details interface. When any payment method is newly selected, the payment method indicated by the selected payment processing information is used to process the payment for the target order. The specific implementation process of the payment terminal in processing the target order varies depending on the payment processing information selected in the order details interface.
[0134] The following example illustrates the process of processing payment for a target order based on payment processing information, using the example of whether the selected payment processing information is the same as or different from the payment method used by the biometric payment processing device. The phrase "the selected payment processing information is the same as the payment method used by the biometric payment processing device" can include: if the biometric payment processing device uses the first user's facial features for biometric payment processing, then the payment processing information selected at the payment terminal is a biometric feature, and the biometric feature indicated by the payment processing information is the first user's biometric feature (i.e., facial feature) collected by the biometric payment processing device. The phrase "the selected payment processing information is different from the payment method used by the biometric payment processing device" can include: the payment processing information is a biometric feature, but the biometric feature indicated by the payment processing information is not the first user's biometric feature collected by the biometric payment processing device; or, the payment processing information is a password.
[0135] In one implementation, if the first user selects the same payment method on the payment terminal side as on the biometric payment processing device side; for example, the payment processing information selected on the payment terminal is biometrics, and the biometrics indicated by the payment processing information is the biometrics (i.e., facial features) of the first user collected by the biometric payment processing device; then the implementation method of the payment terminal processing the target order may include: acquiring the biometrics of the first user, which may refer to receiving the biometrics of the first user sent by the biometric payment processing device; and then processing the payment for the target order based on the biometrics of the first user. Of course, since the backend service device has already acquired the biometrics of the first user from the biometric payment processing device, when the payment terminal side adopts the same payment method as the biometric payment processing device, the backend service device can respond to the second payment request sent by the payment terminal and directly process the biometric payment for the target order based on the acquired biometrics of the first user; wherein, the second payment request is used to request the backend service device to process the biometric payment for the target order based on the biometrics of the first user collected by the biometric payment processing device.
[0136] Figure 9 This application illustrates a schematic diagram of a payment processing method for a target order, provided by an exemplary embodiment. Figure 9 As shown, assuming the biometric payment processing device has collected the facial image of the first user and sent it to the backend service device, when the payment identifier for facial features in the order details interface 801 of the target order displayed on the terminal screen of the payment terminal is selected, it indicates that the first user wants to process the payment for the target order by facial recognition. The payment terminal then sends a second payment request to the backend service device so that the backend service device can respond to the second payment request by using the facial image of the first user to process the payment for the target order.
[0137] In other implementations, if the first user selects a different payment method on the payment terminal side than on the biometric payment processing device side; for example, the payment processing information is a biometric feature, but the biometric feature indicated by the payment processing information is not the biometric feature of the first user collected by the biometric payment processing device; or, the payment processing information is a password; then the implementation method for the payment terminal to process the target order may include: outputting an information acquisition window; when the payment processing information input by the first user is detected in the information acquisition window, verifying the payment processing information; if the payment processing information is verified, then processing the payment for the target order based on the payment processing information. In other words, assuming the biometric payment processing device side uses the first user's face to process the biometric payment for the target order, if the first user selects a fingerprint payment method on the payment terminal side, it is determined that the first user is using a different payment method on the payment terminal side than on the biometric payment processing device side. Therefore, it is necessary to acquire the first user's fingerprint on the payment terminal side so that the backend service device can process the payment for the target order based on the first user's fingerprint.
[0138] Figure 10 This application illustrates a schematic diagram of a payment processing method for a target order, provided by an exemplary embodiment. Figure 10 As shown, assuming the biometric payment processing device has collected the facial image of the first user and sent it to the backend service device, when the payment identifier for the fingerprint feature (or password, etc.) in the order details interface 801 of the target order displayed on the terminal screen of the payment terminal is selected, the information acquisition window 1001 can be output first. The first user can enter payment processing information (the payment processing information here can be the first user's fingerprint) in the information acquisition window 1001. The payment terminal sends the collected fingerprint feature of the first user to the backend service device so that the backend service device can process the payment for the target order based on the fingerprint feature of the first user after successful verification of the first user's fingerprint feature.
[0139] In summary, when the biometric payment processing device fails to process the target order based on the first user's biometric features, it can automatically send the first user's object information and the target order to the payment terminal with which a communication connection has been established. This allows the payment terminal to quickly process the target order based on the first user's object information, simplifying the payment process and improving efficiency. Furthermore, the payment terminal does not restrict the first user from using any particular payment method, enriching the payment options and thus enhancing the user's payment experience.
[0140] Figure 11The illustration shows a flowchart of a data processing method provided by an exemplary embodiment of this application; the data processing method can be jointly executed by the aforementioned biometric payment processing device, payment terminal, and back-end service device, and the data processing method may include, but is not limited to, steps S1101-S1111:
[0141] S1101: The biometric payment processing device collects the biometric characteristics of the first user in response to a biometric payment request for a target order.
[0142] S1102: The biometric payment processing device generates a first payment request based on the first user's biometric characteristics and the target order, and sends the first payment request to the backend service device.
[0143] It should be noted that the specific implementation process shown in steps S1101-S1102 can be found in [reference needed]. Figure 2 The specific implementation process of steps S201-S202 in the illustrated embodiment will not be repeated here.
[0144] S1103: The backend service device responds to the first payment request, performs biometric payment processing on the target order based on the first user's biometric characteristics, and obtains the first payment result.
[0145] In specific implementation, the backend service device responds to the first payment request by obtaining the first user's payment code based on the first user's biometrics and invoking a payment service to process the payment for the target order based on the first user's payment code. This invocation of the payment service to process the payment for the target order based on the first user's payment code may include: obtaining the first user's account, deducting the required electronic resources for the order from the first user's account according to the first user's payment code, and transferring the electronic resources to the account of the merchant to which the order belongs, thus achieving biometric payment processing for the target order based on the first user's biometrics. Specifically, if the required electronic resources for the order are successfully transferred from the first user's account to the merchant's account, the first payment result is determined to be a successful biometric payment; conversely, if the required electronic resources are not successfully transferred from the first user's account to the merchant's account, the first payment result is determined to be a failed biometric payment.
[0146] The object information of the first user may include the first user's account. In other words, when the backend service device retrieves the first user's object information based on the first user's biometrics, it determines that the first user's account has been retrieved. The following describes the implementation method of the backend service device receiving the first user's biometrics and performing recognition processing (such as face recognition processing on the first user's face image) to obtain the first user's object information, using a facial image as the first user's biometrics as an example. Specifically: First, feature extraction processing is performed on the first user's face image to obtain N facial features, where N is an integer greater than 1. Second, the N facial features are compared with candidate facial features contained in the facial feature database to obtain the matching degree of each of the N facial features. The higher the matching degree, the higher the similarity between the facial features in the face image and the candidate facial features. Finally, the facial feature with the highest matching degree is determined from the N facial feature matching degrees. Then, based on the facial feature corresponding to the highest matching degree, the target facial image associated with the facial feature corresponding to the highest matching degree is matched in the face database. The object information associated with this target facial image is used as the first user's object information. The aforementioned facial feature database and facial database may refer to two databases included in the backend service device for storing different types of data. This database may be a lightweight database (SQLite), which is a relational database management system that complies with ACID (the four basic elements for the correct execution of database transactions: atomicity, consistency, isolation, and durability).
[0147] S1104: The backend service device returns the first payment result to the biometric payment processing device.
[0148] S1105: If the first payment result is that the biometric payment processing fails, the biometric payment processing device obtains the object information of the first user.
[0149] S1106: The biometric payment processing device establishes a communication connection with the payment terminal in response to a communication connection event.
[0150] S1107: The biometric payment processing device sends the object information and target order of the first user to the payment terminal with which a communication connection has been established.
[0151] S1108: The payment terminal receives the object information and target order of the first user, and verifies the identity of the first user based on the object information.
[0152] It should be noted that the specific implementation process shown in steps S1104-S1108 can be found in [reference needed]. Figure 2 and / or Figure 8 The specific implementation process described in the illustrated embodiments will not be repeated here.
[0153] S1109: If the authentication result is successful, the payment terminal sends a second payment request to the backend service device.
[0154] S1110: The backend service device responds to the second payment request and processes the payment for the target order, obtaining the second payment result.
[0155] In steps S1109-S1110, the information carried and the meaning of the indication in the second payment request are different depending on the payment processing information (i.e., payment method) selected by the first user on the payment terminal side. For example: assuming the biometric payment processing device collects the first user's facial features to process the target order, if the first user selects facial payment as the payment processing information on the payment terminal side, the second payment request may carry the first user's identifier (such as account information). This second payment request is used to request the backend service device to process the target order using the first user's facial image, where the first user's facial image is collected by the biometric payment processing device and sent to the backend service device. As another example: assuming the biometric payment processing device collects the first user's facial features to process the target order, if the first user selects password payment as the payment processing information on the payment terminal side, the second payment request carries the first user's account and password. This second payment request is used to request the backend service device to process the target order based on the first user's account and password. This application embodiment does not limit the payment method of the first user on the payment terminal side; this is only stated here.
[0156] S1111: The backend service device returns the second payment result to the biometric payment processing device and / or payment terminal.
[0157] After receiving the second payment request from the payment terminal corresponding to the first user, the backend service device can process the payment for the target order in response to the second payment request and obtain the second payment result. If the electronic resources required for the order object included in the target order are successfully deducted from the first user's account and the electronic resources are successfully added to the account of the merchant to which the order object belongs, the second payment result indicates that the payment processing for the target order is successful; if the electronic resources required for the order object included in the target order fail to be deducted from the first user's account, and / or the electronic resources are not successfully added to the account of the merchant to which the order object belongs, the second payment result indicates that the payment processing for the target order fails. Regardless of whether the second payment result indicates that the payment processing is successful or failed, the embodiments of this application support the backend service device returning the second payment result to the biometric payment processing device and / or payment terminal; in this way, the biometric payment processing device and / or payment terminal can output the second payment result on the terminal screen to prompt the first user and the merchant whether the transaction is successful.
[0158] The following is a brief introduction to the process of the biometric payment processing device receiving and outputting the second payment result sent by the backend service device, and the first user's payment terminal receiving and outputting the second payment result sent by the backend service device.
[0159] 1) The biometric payment processing device receives and outputs the second payment result sent by the backend service device. As described above, the biometric payment processing device only sends the first user's object information and the target order to the payment terminal corresponding to the first user when the biometric payment processing for the target order based on the first user's biometric characteristics fails, allowing the payment terminal to process the payment for the target order. Therefore, when the biometric payment processing device receives the second payment result obtained by the backend service device in response to the second payment request sent by the payment terminal, the biometric payment processing device replaces the first payment result with the second payment result.
[0160] Figure 12 This illustration shows a schematic diagram of a biometric payment processing device displaying a second payment result, provided by an exemplary embodiment of this application; as shown. Figure 12As shown, when the biometric payment processing device fails to process the biometric payment for the target order based on the first user's biometric features, the first payment result interface 401 output by the biometric payment processing device may include a first payment result 1201 indicating the failure of the biometric payment processing. When the first user's payment terminal successfully processes the payment for the target order, the backend service device can return a second payment result to the biometric payment processing device. In this way, the biometric payment processing device can replace the display of the prompt message 1201 with the second payment result in the payment result interface 401. For example, if the second payment result indicates successful payment, the notification message 1202 indicating successful payment will replace the prompt message 1201 indicating the failure of the biometric payment processing in the payment interface 401. Updating the display of the second payment result in the biometric payment processing device helps the first user or merchant to promptly understand the payment status of the target order.
[0161] 2) The payment terminal corresponding to the first user receives and outputs the second payment result sent by the backend service device. See also... Figure 13 The backend service device responds to the second payment request sent by the payment terminal corresponding to the first user, processes the payment for the target order, and obtains a second payment result. This second payment result indicates whether the payment for the target order was successful or failed. The backend service device returns the second payment result to the payment terminal, so that the payment terminal can output the second payment result on its screen. Specifically, the payment terminal can display the second payment result 1301 in a masked interface on the order details interface 801 of the target order; of course, the second payment result can also be displayed directly in the order details interface 801, or in the service notification interface 802, etc. This application embodiment does not limit the display position and display style of the second payment result.
[0162] In this embodiment, the biometric payment processing device, in response to a biometric payment request for a target order, can perform biometric payment processing based on the collected biometric features of a first user. When biometric payment processing fails, the device obtains the object information of the first user based on their biometric features and sends the object information along with the target order to the payment terminal corresponding to the first user. The payment terminal then verifies the identity of the first user based on their object information and processes the payment for the target order upon successful verification. In this scheme, when the biometric payment processing device fails to process the target order based on the first user's biometric features, it can automatically send the object information of the first user along with the target order to the payment terminal. This allows for rapid processing of the target order based on the object information of the first user using the payment terminal, simplifying the payment operation and improving payment efficiency. Furthermore, the payment terminal does not limit the payment method used by the first user to pay for the target order, enriching the payment types and thus improving the user's payment experience. Additionally, the backend service device returns the second payment result to the biometric payment processing device and / or the payment terminal, enabling the biometric payment processing device and / or the payment terminal to update the payment status of the target order in a timely manner, allowing the first user or merchant to promptly understand the payment status of the target order.
[0163] The methods of the embodiments of this application have been described in detail above. In order to facilitate better implementation of the above solutions of the embodiments of this application, the apparatus of the embodiments of this application is provided below.
[0164] Please see Figure 14 , Figure 14 The diagram shows a schematic of the structure of a data processing device provided in an exemplary embodiment of this application. The data processing device can be mounted on the biometric payment processing device in the above method embodiment. The data processing device can be a plugin in a biometric application running on the biometric payment processing device. Figure 14 The data processing apparatus shown can be used to perform the above. Figure 2 or Figure 11 The described method embodiments include some or all of the functionalities. The detailed descriptions of each unit are as follows:
[0165] The data acquisition unit 1401 is used to collect the biometric characteristics of the first user in response to a biometric payment request for a target order.
[0166] Processing unit 1402 is used to perform biometric payment processing based on the biometric characteristics of the first user;
[0167] The processing unit 1402 is also configured to obtain the object information of the first user based on the first user's biometric characteristics if the biometric payment processing fails.
[0168] The processing unit 1402 is also used to send the object information of the first user and the target order to the payment terminal with which the communication connection has been established, so that the payment terminal can authenticate the first user based on the object information of the first user, and process the payment for the target order after the authentication is successful.
[0169] In one implementation, biometric payment processing failure includes: payment processing failure caused by an order anomaly in the target order; or payment processing failure caused by service jitter due to multiple failovers.
[0170] Among them, the abnormal situations of the target order include: the number of order objects contained in the target order is greater than the quantity threshold, and the electronic resources required by the order objects contained in the target order are greater than the resource threshold.
[0171] In one implementation, the processing unit 1402 is further configured to:
[0172] In response to a communication connection event, a communication connection is established with the payment terminal. The communication connection includes Bluetooth connection and infrared connection.
[0173] In one implementation, the communication connection event includes an event generated when a wireless pairing request is received. The processing unit 1402, when establishing a communication connection with the payment terminal, specifically performs the following:
[0174] If a wireless pairing request is received from a payment terminal within the target time period, a communication connection is established with the payment terminal.
[0175] In one implementation, the communication connection event includes an event generated when selecting a signal identifier for a wireless pairing signal. The processing unit 1402, when establishing a communication connection with the payment terminal, specifically performs the following:
[0176] The communication connection interface is displayed, which contains the signal identifiers of one or more wireless pairing signals that have been found and are to be paired.
[0177] When the signal identifier of the wireless pairing signal sent by the payment terminal in the communication connection interface is selected, a communication connection is established with the payment terminal.
[0178] In one implementation, the processing unit 1402 is further configured to:
[0179] The payment result interface displays the first payment result, which is used to indicate that the biometric payment processing for the target order failed.
[0180] When the second payment result is received, the first payment result is replaced by the second payment result in the payment result interface. The second payment result indicates that the payment terminal has successfully processed the payment for the target order.
[0181] According to one embodiment of this application, Figure 14 The data processing apparatus shown can be constructed by combining each unit into one or more other units, or by further dividing one or more units into several smaller functional units. This achieves the same operation without affecting the technical effect of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the data processing apparatus may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by multiple units working together. According to another embodiment of this application, the data processing apparatus can be executed by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 2 or Figure 11 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 14 The data processing apparatus shown herein, and the data processing method for implementing the embodiments of this application, are described. A computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and executed therein.
[0182] In this embodiment, the acquisition unit 1401, in response to a biometric payment request for a target order, can perform biometric payment processing based on the acquired biometric characteristics of the first user. When biometric payment processing fails, the processing unit 1402 obtains the object information of the first user based on the first user's biometric characteristics and sends the object information and the target order to the payment terminal with which a communication connection has been established. This allows the payment terminal to authenticate the first user based on the object information and process the payment for the target order after successful authentication. In the above scheme, when the biometric payment processing device fails to process the biometric payment for the target order based on the first user's biometric characteristics, it can automatically send the object information of the first user and the target order together to the payment terminal. This allows the payment terminal to quickly process the payment for the target order based on the object information of the first user, simplifying the payment operation and improving payment efficiency.
[0183] Please see Figure 15 , Figure 15The diagram shows a structural schematic of a data processing apparatus provided in an exemplary embodiment of this application. The data processing apparatus can be mounted on a payment terminal in the above method embodiment. The data processing apparatus can be a plugin in a target application running on the payment terminal. Figure 15 The data processing apparatus shown can be used to perform the above. Figure 7 or Figure 11 The described method embodiments include some or all of the functionalities. The detailed descriptions of each unit are as follows:
[0184] The receiving unit 1501 is used to receive the object information of the first user and the target order sent by the biometric payment processing device when the biometric payment processing for the target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user. The biometric characteristics of the first user are collected by the biometric payment processing device in response to the biometric payment request for the target order.
[0185] Processing unit 1502 is used to authenticate the first user based on the object information of the first user;
[0186] The processing unit 1502 is also used to process payment for the target order if the identity verification is successful.
[0187] In one implementation, the processing unit 1502, when authenticating the first user based on the object information of the first user, specifically performs the following:
[0188] Obtain the identity ticket information of the second user currently logged in to the target application;
[0189] The identity ticket information of the second user is verified against the object information of the first user to obtain the identity verification result;
[0190] The authentication result includes authentication successful or authentication unsuccessful. If the object information of the first user matches the identity ticket information of the second user, it is determined that the first user and the second user are the same user, and the authentication result is authentication successful. If the object information of the first user does not match the object information of the second user, it is determined that the first user and the second user are different users, and the authentication result is authentication unsuccessful.
[0191] In one implementation, the processing unit 1502 is further configured to:
[0192] The order details page displays the order information, payment processing information, and payment time range for the target order.
[0193] Order information includes: the order object of the target order, the merchant to which the order object belongs, the electronic resources required by the order object, the quantity of the order object to be traded, the quantity of the order object that can be traded, and the status information of the target order; payment processing information includes: biometrics and password.
[0194] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is the biometric feature of the first user collected by the biometric payment processing device; the processing unit 1502, when processing the payment for the target order, is specifically used for:
[0195] Obtain the biometric characteristics of the first user;
[0196] Payment is processed for the target order based on the first user's biometrics.
[0197] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is not the biometric feature of the first user collected by the biometric payment processing device; or, the payment processing information is a password; the processing unit 1502, when processing payment for a target order, is specifically used for:
[0198] Output information acquisition window;
[0199] When the payment processing information entered by the first user is detected in the information acquisition window, the payment processing information is verified.
[0200] If the payment processing information is verified, the payment for the target order will be processed based on that information.
[0201] In one implementation, the processing unit 1502 is further configured to:
[0202] If the order object meets the update conditions within the order payment time range, the tradable quantity of the order object will be updated and displayed in the order details page.
[0203] The update conditions include: no confirmation of payment processing for the target order by the first user is detected, and the updated tradable quantity of the order object is received from the biometric payment processing device; the updated tradable quantity of the order object is generated by the biometric payment processing device after the third user successfully performs biometric payment processing on the order object based on the biometric characteristics of the third user; the third user is different from the first user.
[0204] According to one embodiment of this application, Figure 15The data processing apparatus shown can be constructed by combining each unit into one or more other units, or by further dividing one or more units into several smaller functional units. This achieves the same operation without affecting the technical effect of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the data processing apparatus may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by multiple units working together. According to another embodiment of this application, the data processing apparatus can be executed by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 7 or Figure 11 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 15 The data processing apparatus shown herein, and the data processing method for implementing the embodiments of this application, are described. A computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and executed therein.
[0205] In this embodiment, when the biometric payment processing device fails to process the target order based on the first user's biometric characteristics, the device can automatically send the first user's object information and the target order to the payment terminal with which a communication connection has been established, so that the payment terminal corresponding to the first user can process the payment for the target order. This allows for rapid processing of the target order based on the first user's object information using the payment terminal, simplifying the payment operation and improving payment efficiency. Furthermore, the payment terminal does not limit the first user to any particular payment method for the target order, enriching the payment options and thus enhancing the user's payment experience.
[0206] Figure 16 A schematic diagram of the structure of a data processing device provided in an exemplary embodiment of this application is shown. Please refer to... Figure 16The data processing device includes a processor 1601, a communication interface 1602, and a computer-readable storage medium 1603. The processor 1601, communication interface 1602, and computer-readable storage medium 1603 can be connected via a bus or other means. The communication interface 1602 is used to receive and send data. The computer-readable storage medium 1603 can be stored in the memory of the data processing device. The computer-readable storage medium 1603 is used to store computer programs, including program instructions. The processor 1601 is used to execute the program instructions stored in the computer-readable storage medium 1603. The processor 1601 (or CPU (Central Processing Unit)) is the computing and control core of the data processing device, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve corresponding method flows or corresponding functions.
[0207] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in a data processing device for storing programs and data. It is understood that the computer-readable storage medium here may include both the built-in storage medium in the data processing device and extended storage media supported by the data processing device. The computer-readable storage medium provides storage space that stores the processing system of the data processing device. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1601, which may be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here may be high-speed RAM or non-volatile memory, such as at least one disk storage device; optionally, it may also be at least one computer-readable storage medium located remotely from the aforementioned processor.
[0208] In one embodiment, the data processing device may be Figure 1a The biometric payment processing device shown can also be any other device with biometric payment functionality besides the biometric payment processing device; the computer-readable storage medium stores one or more instructions; the processor 1601 loads and executes one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the above payment processing method embodiment; specifically, the one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed as follows:
[0209] In response to a biometric payment request for a target order, the biometric characteristics of the first user are collected;
[0210] Biometric payment processing is performed based on the first user's biometric characteristics.
[0211] If biometric payment processing fails, the object information of the first user is obtained based on the first user's biometric characteristics;
[0212] The first user's object information and target order are sent to the payment terminal with which the communication connection has been established. The payment terminal then verifies the first user's identity based on the object information and processes the payment for the target order after successful authentication.
[0213] In one implementation, biometric payment processing failure includes: payment processing failure caused by an order anomaly in the target order; or payment processing failure caused by service jitter due to multiple failovers.
[0214] Among them, the abnormal situations of the target order include: the number of order objects contained in the target order is greater than the quantity threshold, and the electronic resources required by the order objects contained in the target order are greater than the resource threshold.
[0215] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1601 and further executed as follows:
[0216] In response to a communication connection event, a communication connection is established with the payment terminal. The communication connection includes Bluetooth connection and infrared connection.
[0217] In one implementation, the communication connection event includes an event generated when a wireless pairing request is received. When one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed to establish a communication connection with the payment terminal, the following steps are specifically performed:
[0218] If a wireless pairing request is received from a payment terminal within the target time period, a communication connection is established with the payment terminal.
[0219] In one implementation, the communication connection event includes an event generated when selecting a signal identifier for a wireless pairing signal, and when one or more instructions in a computer-readable storage medium are loaded by the processor 1601 and executed to establish a communication connection with the payment terminal, the following steps are specifically performed:
[0220] The communication connection interface is displayed, which contains the signal identifiers of one or more wireless pairing signals that have been found and are to be paired.
[0221] When the signal identifier of the wireless pairing signal sent by the payment terminal in the communication connection interface is selected, a communication connection is established with the payment terminal.
[0222] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1601 and further executed as follows:
[0223] The payment result interface displays the first payment result, which is used to indicate that the biometric payment processing for the target order failed.
[0224] When the second payment result is received, the first payment result is replaced by the second payment result in the payment result interface. The second payment result indicates that the payment terminal has successfully processed the payment for the target order.
[0225] In another embodiment, the data processing device may be Figure 1a The payment terminal shown; the computer-readable storage medium stores one or more instructions; the processor 1602 loads and executes one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the above data processing method embodiment; specifically, the one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed in the following steps:
[0226] The device receives object information of the first user and the target order sent by the biometric payment processing device when biometric payment processing for the target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user, and the biometric characteristics of the first user are collected by the biometric payment processing device in response to the biometric payment request for the target order.
[0227] The first user is authenticated based on the object information of the first user;
[0228] If identity verification is successful, payment will be processed for the target order.
[0229] In one implementation, when one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed to authenticate the first user based on the object information of the first user, the following steps are specifically performed:
[0230] Obtain the identity ticket information of the second user currently logged in to the target application;
[0231] The identity ticket information of the second user is verified against the object information of the first user to obtain the identity verification result;
[0232] The authentication result includes authentication successful or authentication unsuccessful. If the object information of the first user matches the identity ticket information of the second user, it is determined that the first user and the second user are the same user, and the authentication result is authentication successful. If the object information of the first user does not match the object information of the second user, it is determined that the first user and the second user are different users, and the authentication result is authentication unsuccessful.
[0233] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1601 and further executed as follows:
[0234] The order details page displays the order information, payment processing information, and payment time range for the target order.
[0235] Order information includes: the order object of the target order, the merchant to which the order object belongs, the electronic resources required by the order object, the quantity of the order object to be traded, the quantity of the order object that can be traded, and the status information of the target order; payment processing information includes: biometrics and password.
[0236] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is the biometric feature of the first user collected by the biometric payment processing device; when one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed to process the payment for the target order, the following steps are specifically performed:
[0237] Obtain the biometric characteristics of the first user;
[0238] Payment is processed for the target order based on the first user's biometrics.
[0239] In one implementation, the payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is not the biometric feature of the first user collected by the biometric payment processing device; or, the payment processing information is a password; one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and, when executing payment processing for the target order, specifically perform the following steps:
[0240] Output information acquisition window;
[0241] When the payment processing information entered by the first user is detected in the information acquisition window, the payment processing information is verified.
[0242] If the payment processing information is verified, the payment for the target order will be processed based on that information.
[0243] In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1601 and further executed as follows:
[0244] If the order object meets the update conditions within the order payment time range, the tradable quantity of the order object will be updated and displayed in the order details page.
[0245] The update conditions include: no confirmation of payment processing for the target order by the first user is detected, and the updated tradable quantity of the order object is received from the biometric payment processing device; the updated tradable quantity of the order object is generated by the biometric payment processing device after the third user successfully performs biometric payment processing on the order object based on the biometric characteristics of the third user; the third user is different from the first user.
[0246] In this application embodiment, based on the same inventive concept, the principle and beneficial effects of the data processing device provided in this application embodiment in solving the problem are similar to the principle and beneficial effects of the data processing method in this application method embodiment in solving the problem. Please refer to the principle and beneficial effects of the method implementation. For the sake of brevity, they will not be repeated here.
[0247] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a data processing device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the data processing device to perform the aforementioned data processing method.
[0248] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0249] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0250] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this invention should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data processing method, comprising: In response to a biometric payment request for a target order, the biometric characteristics of the first user are collected; Biometric payment processing is performed based on the biometric characteristics of the first user. If biometric payment processing fails, the object information of the first user is obtained based on the biometric characteristics of the first user. The object information of the first user and the target order are sent to the payment terminal with which a communication connection has been established, so that the payment terminal can verify the identity of the first user based on the object information of the first user, and process the payment for the target order after the identity verification is successful.
2. The method as described in claim 1, characterized in that, The biometric payment processing failure includes: payment processing failure caused by an order anomaly in the target order; or payment processing failure caused by service jitter due to multiple failovers. The abnormal order conditions of the target order include: the number of order objects contained in the target order is greater than the quantity threshold, and the electronic resources required by the order objects contained in the target order are greater than the resource threshold.
3. The method as described in claim 1, characterized in that, Before sending the object information of the first user and the target order to the payment terminal with the established communication connection, the method further includes: In response to a communication connection event, a communication connection is established with the payment terminal, the communication connection including: Bluetooth connection and infrared connection.
4. The method as described in claim 3, characterized in that, The communication connection event includes an event generated when a wireless pairing request is received, and the establishment of a communication connection with the payment terminal includes: If a wireless pairing request is received from the payment terminal within the target time period, a communication connection is established with the payment terminal.
5. The method as described in claim 3, characterized in that, The communication connection event includes an event generated when selecting the signal identifier of the wireless pairing signal, and the establishment of a communication connection with the payment terminal includes: The communication connection interface is displayed, which contains signal identifiers of one or more wireless pairing signals that have been found and are to be paired. When the signal identifier of the wireless pairing signal sent by the payment terminal in the communication connection interface is selected, a communication connection is established with the payment terminal.
6. The method as described in claim 1, characterized in that, The method further includes: The payment result interface displays a first payment result, which is used to indicate that the biometric payment processing for the target order has failed. When a second payment result is received, the first payment result is replaced by the second payment result in the payment result interface, and the second payment result indicates that the payment terminal has successfully processed the payment for the target order.
7. A data processing method, characterized in that, include: The device receives object information of a first user and a target order from a biometric payment processing device when biometric payment processing for a target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user, and the biometric characteristics of the first user are collected by the biometric payment processing device in response to a biometric payment request for the target order. The first user is authenticated based on the object information of the first user; If the identity verification is successful, payment will be processed for the target order.
8. The method as described in claim 7, characterized in that, The step of authenticating the first user based on the first user's object information includes: Obtain the identity ticket information of the second user currently logged in to the target application; The identity ticket information of the second user is verified against the object information of the first user to obtain the identity verification result; The authentication result includes authentication successful or authentication unsuccessful; if the object information of the first user matches the identity ticket information of the second user, it is determined that the first user and the second user are the same user, and the authentication result is authentication successful; if the object information of the first user does not match the object information of the second user, it is determined that the first user and the second user are different users, and the authentication result is authentication unsuccessful.
9. The method as described in claim 7, characterized in that, Before processing the payment for the target order, the method further includes: The order details interface displays the order information, payment processing information, and order payment time range of the target order. The order information includes: the order object of the target order, the merchant to which the order object belongs, the electronic resources required by the order object, the quantity of the order object to be traded, the quantity of the order object that can be traded, and the status information of the target order; the payment processing information includes: biometrics and password.
10. The method as described in claim 9, characterized in that, The payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is the biometric feature of the first user collected by the biometric payment processing device; the payment processing for the target order includes: Obtain the biometric characteristics of the first user; The payment for the target order is processed based on the biometric characteristics of the first user.
11. The method as described in claim 9, characterized in that, The payment processing information is a biometric feature, and the biometric feature indicated by the payment processing information is not the biometric feature of the first user collected by the biometric payment processing device; or, the payment processing information is a password; the payment processing for the target order includes: Output information acquisition window; When the payment processing information input by the first user is detected in the information acquisition window, the payment processing information is verified. If the payment processing information is verified, then the target order will be processed for payment based on the payment processing information.
12. The method as described in claim 9, characterized in that, The method further includes: If the order object meets the update conditions within the order payment time range, the tradable quantity of the order object will be updated and displayed in the order details interface. The update conditions include: no confirmation of payment processing for the target order by the first user is detected, and the updated tradable quantity of the order object is received from the biometric payment processing device; the updated tradable quantity of the order object is generated by the biometric payment processing device after successfully performing biometric payment processing on the order object based on the biometric characteristics of the third user; the third user is different from the first user.
13. A data processing apparatus, characterized in that, include: The data collection unit is used to collect the biometric characteristics of the first user in response to a biometric payment request for a target order. The processing unit is used to perform biometric payment processing based on the biometric characteristics of the first user; The processing unit is further configured to obtain the object information of the first user based on the first user's biometric characteristics if the biometric payment processing fails. The processing unit is further configured to send the object information of the first user and the target order to the payment terminal with which a communication connection has been established, so that the payment terminal can authenticate the first user based on the object information of the first user, and process the payment for the target order after the authentication is successful.
14. A data processing apparatus, characterized in that, include: The receiving unit is configured to receive object information of a first user and a target order sent by the biometric payment processing device when biometric payment processing for a target order fails. The object information of the first user is obtained by the biometric payment processing device based on the biometric characteristics of the first user, and the biometric characteristics of the first user are collected by the biometric payment processing device in response to a biometric payment request for the target order. A processing unit is configured to authenticate the first user based on the object information of the first user. The processing unit is also configured to process payment for the target order if the identity verification is successful.
15. A data processing device, characterized in that, include: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the data processing method as described in any one of claims 1-6, or implements the data processing method as described in any one of claims 7-12.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and execute the data processing method as described in any one of claims 1-6, or implement the data processing method as described in any one of claims 7-12.
17. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a processor, implement the data processing method as described in any one of claims 1-6, or implement the data processing method as described in any one of claims 7-12.