Biometric payment processing method, apparatus, and electronic device
Patent Information
- Application Number
- CN202110002923.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-04
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2041-01-04
AI Technical Summary
In the process of electronic payment, the delay in identity recognition leads to low processing efficiency and poor user experience, and the resources displayed on the payment interface are not effectively utilized.
The system displays real-time biometric images in the human-computer interaction interface and shows the special effects configured by the service provider in stages. After recognizing biometric features, different parts of the special effects are integrated and displayed in the special effects area. The system selects special effects based on user profiles and payment history and dynamically adjusts the display of special effects.
It improves the efficiency of the payment process, enriches the content displayed on the payment interface, attracts user attention, eliminates the sense of delay, and enhances the user experience.
Smart Images

Figure CN114764710B_ABST
Abstract
Description
Technical Field
[0001] This application relates to Internet and computer technology, and in particular to a biometric payment processing method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] Artificial intelligence (AI) is the theory, methods, technology, and application system that uses 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 obtain optimal results.
[0003] Identity verification in electronic payments is a typical application of artificial intelligence. For example, authorized facial recognition can be used to authenticate users, typically in devices that respond to payment requests, such as payment terminals. However, the process of identifying a user is merely a simple waiting process for the user. If the identification process is delayed, it not only affects the processing efficiency of electronic payments but also severely impacts the user experience. Payment terminals often only display payment-related prompts during the payment process, leaving a large display area unused. Summary of the Invention
[0004] This application provides a biometric payment processing method, apparatus, electronic device, and computer-readable storage medium, which can improve the efficiency of human-computer interaction in the electronic payment process.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a biometric payment processing method, including:
[0007] In response to a biometric payment instruction from the payer to make an electronic payment to the service provider, the real-time captured image is displayed in the biometric data collection preview area of the human-computer interaction interface, and
[0008] The first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface;
[0009] In response to the identification and verification of biometric features from the image in the biometric acquisition preview area, a second portion of the special effect is displayed in the special effect area to be merged with the first portion to form the special effect.
[0010] This application provides a biometric payment processing device, including:
[0011] The first display module, in response to a biometric payment instruction from the payer to the service provider for electronic payment, displays the real-time captured image in the biometric acquisition preview area of the human-computer interaction interface.
[0012] The first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface;
[0013] The second display module is configured to, in response to the identification and verification of biometric features from the image in the biometric feature acquisition preview area, display a second portion of the special effect in the special effect area to merge with the first portion to form the special effect.
[0014] In the above scheme, when there are multiple special effects configured for the service provider, the first display module is further configured to: determine the product for which the payer makes electronic payments to the service provider; determine multiple special effects configured for the service provider that are related to the product; determine the special effect with the highest similarity to the product and that is related as the special effect to be displayed; and display the first part of the special effect to be displayed in the special effect area of the human-computer interaction interface. Wherein, the first part and the second part of the special effect correspond to different attributes of the product's function, or the first part and the second part of the special effect correspond to different stages of the product's usage scenario.
[0015] In the above scheme, when none of the multiple special effects configured for the service provider are related to the product, the first display module is further configured to: determine the historical products purchased by the payer from the payer's historical payment purchase data; obtain the feature vector of each historical product and combine the feature vectors of each historical product to obtain the payer's user profile; determine the similarity between the feature vector of each special effect and the payer's user profile; and select the special effect with the highest similarity to the payer's user profile among the multiple special effects as the special effect to be displayed.
[0016] In the above scheme, the first display module is further configured to: perform one of the following: when the biometric feature acquisition area is displayed in the human-computer interaction interface, simultaneously display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface; when the real-time acquired image is displayed in the biometric feature acquisition area, display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface; start timing after the biometric feature acquisition area is displayed in the human-computer interaction interface, and when the timing reaches a first time threshold and the real-time acquired image is still not displayed in the biometric feature acquisition area, display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface.
[0017] In the above scheme, when there are multiple special effects configured for the service provider, the first display module is further configured to: obtain the number of times the payer has made electronic payments to the service provider; when the number of payments is not less than a payment number threshold, query the multiple special effects configured for the service provider to determine the special effect corresponding to the payment number as the special effect to be displayed; wherein, the number of payments is positively correlated with the following characteristics of the special effect to be displayed: the display duration of the special effect to be displayed, and the performance intensity of the special effect to be displayed; display the first part of the special effect to be displayed in the special effect area of the human-computer interaction interface; when the number of payments is less than the payment number threshold, display a prompt message in the special effect area of the human-computer interaction interface to prompt that the special effect will be displayed when the number of payments by the payer reaches the payment number threshold.
[0018] In the above scheme, before displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface, the device further includes: an initialization module, configured to: perform initialization processing on the electronic device receiving the biometric payment instruction; when a special effects configuration file is detected during the initialization process, serialize the special effects configuration file to obtain special effects data for displaying the first part of the special effects and special effects data for displaying the second part of the special effects; when no special effects configuration file is detected during the initialization process, send a network request carrying the information of the electronic device to the server so that the server returns the special effects configuration file corresponding to the information of the electronic device; wherein, the special effects configuration file is obtained by associating the special effects data with the information of the electronic device.
[0019] In the above scheme, after serializing the special effects configuration file to obtain special effects data corresponding to the first part and the second part of the special effects, the initialization module is further configured to: store the special effects data in the electronic device; send network requests carrying information of the electronic device to the server at fixed time intervals, so that the server returns a special effects configuration file corresponding to the information of the electronic device; when the received special effects configuration file is different from the special effects configuration file from which the special effects data is stored in the electronic device, serialize the received special effects configuration file to obtain new special effects data for displaying the first part of the special effects and new special effects data for displaying the second part of the special effects; and replace the special effects data stored in the electronic device with the new special effects data.
[0020] In the above scheme, the human-computer interaction interface includes a first display layer, a second display layer, and a third display layer, with the first display layer located between the second and third display layers. The first display module is further configured to: display a first portion of the special effects configured for the service provider on the first display layer; output the acquisition preview area on the second display layer and display the real-time acquired image in the acquisition preview area; or output the acquisition preview area on the first display layer and display the real-time acquired image in the acquisition preview area; and output a background page for prompting biometric feature acquisition on the third display layer and display prompt information for prompting biometric feature acquisition on the background page.
[0021] In the above scheme, the first display module is further configured to: in response to the failure to identify biometric features from the image in the biometric feature acquisition preview area within a set time range or the failure to verify the identified biometric features, display a default effect in the effect area to replace the first part of the effect; start timing from displaying the default effect; and turn off the default effect in response to the timing time reaching a second time threshold and no operation on the human-computer interaction interface being received during the timing process.
[0022] In the above scheme, after displaying the second part of the special effect in the special effect area, the second display module is further configured to: start timing from the display of the second part of the special effect; and close the second part of the special effect in response to the timing time reaching a third time threshold and no operation on the human-computer interaction interface being received during the timing process.
[0023] In the above scheme, after displaying the second part of the special effect in the special effect area, the second display module is further configured to: in response to an interactive operation on the second part of the special effect, display feedback information adapted to the interactive operation on the second part in the special effect area of the human-computer interaction interface.
[0024] In the above scheme, the first display module is further configured to: load the effect data of the first part of the effect through the mobile application animation effect framework; and, in response to the playback logic corresponding to the first part of the effect in the first display layer being triggered, display the first part of the effect through the effect data loaded in the first display layer of the human-computer interaction interface; the second display module is further configured to: load the effect data of the second part of the effect through the mobile application animation effect framework; and, in response to the playback logic corresponding to the second part of the effect in the first display layer being triggered, display the second part through the effect data loaded in the first display layer of the human-computer interaction interface.
[0025] This application provides an electronic device, including:
[0026] Memory, used to store executable instructions;
[0027] The processor, when executing executable instructions stored in the memory, implements the biometric payment processing method provided in the embodiments of this application.
[0028] This application provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implement the biometric payment processing method provided in this application.
[0029] The embodiments of this application have the following beneficial effects:
[0030] During the payment process between the payer and the service provider, the special effects configured for the service provider are coupled into the payment interaction process and displayed in stages. As the payer interacts with the human-computer interface, the special effects carrying richer information about the service provider are displayed to the payer without occupying additional display resources or the payer's time, thereby attracting attention, eliminating the feeling of waiting caused by processing delays, and improving the efficiency of human-computer interaction. Attached Figure Description
[0031] Figure 1 This is a schematic diagram of the structure of the biometric payment processing system provided in the embodiments of this application;
[0032] Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0033] Figures 3A-3D This is a schematic flowchart of the biometric payment processing method provided in the embodiments of this application;
[0034] Figures 4A-4C This is a schematic diagram of the physical device provided in the embodiments of this application;
[0035] Figure 5 This is a schematic diagram of the application interface of the biometric payment processing method provided in the embodiments of this application;
[0036] Figure 6 This is a schematic diagram of the architecture of the biometric payment processing method provided in the embodiments of this application;
[0037] Figure 7 This is a layer diagram of the biometric payment processing method provided in the embodiments of this application. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0039] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0040] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0042] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0043] 1) Facial recognition: A technology that uses facial images to obtain facial identity information.
[0044] 2) Facial recognition terminal equipment: refers to facial recognition payment terminals, such as various types of self-service checkout equipment.
[0045] 3) Optimal identification: This refers to obtaining on-site facial image frames through the facial recognition service, and selecting the best frame from the on-site facial image frames to return to the server to obtain the corresponding user's identity information.
[0046] 4) Internet of Things (IoT): This is an information carrier based on the Internet and traditional telecommunications networks, enabling all ordinary physical objects that can be independently addressed to form an interconnected network.
[0047] 5) Merchant Platform: A general web-based management backend that allows different merchants to be configured with different permissions and capabilities.
[0048] 6) In response to, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0049] The relevant technologies achieve the need to customize different user interfaces for different merchants by setting static images and native animations of the Android system in the code. The technical solutions in the relevant technologies rely on the R&D staff to manually build animation effects and do not support the configuration of animation effects. Therefore, different code packages need to be provided for different merchants. The maintenance cost of the code packages is high, the difficulty is great, and they cannot be modified online. Furthermore, no technical solution for displaying animation effects in payment scenarios has been found in the relevant technologies. The common animation effect display is usually a one-time effect display. That is, for a certain effect, it is treated as a whole and the effect is displayed all at once when it is needed.
[0050] To address the technical problem of monotonous interface display effects in payment scenarios in related technologies, embodiments of this application provide a biometric payment processing method, device, electronic device, and computer-readable storage medium that can display special effects configured for the service provider during the payment process. Furthermore, different parts of the configured special effects are displayed at different stages of the payment process, achieving a phased display effect that not only enriches the visual presentation during the payment process but also improves the user's interactive experience.
[0051] The following describes exemplary applications of the electronic devices provided in the embodiments of this application. The electronic devices provided in the embodiments of this application for implementing the biometric payment processing method can be implemented as various types of user terminals such as laptops, tablets, desktop computers, set-top boxes, and mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices).
[0052] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the biometric payment processing system provided in the embodiments of this application. In order to support a payment application, the terminal 400 connects to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0053] In response to a user's (payer's) biometric payment instruction for electronic payment to a service provider, terminal 400 collects the user's biometric image, such as a facial image, displays the real-time collected image in the biometric collection preview area of the human-computer interaction interface, and displays the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface. The collected image is sent to server 200 for feature recognition and online verification, or the terminal 400 performs offline feature recognition or offline verification directly. In response to the biometric features being recognized and verified from the image in the biometric collection preview area, terminal 400 displays the second part of the special effects in the special effects area to merge with the first part to form the special effects. Server 200 responds to the biometric payment instruction and returns the response result to terminal 400.
[0054] In some embodiments, the terminal 400 can implement the human-computer interaction method integrating multiple scenarios provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be the aforementioned client, which can be a native application (APP), i.e., a program that needs to be installed in the operating system to run, such as a payment APP; the client can also be a mini-program, i.e., a program that only needs to be downloaded to the browser environment to run; the client can also be a payment mini-program that can be embedded in any APP. In summary, the aforementioned computer program can be any form of application, module, or plugin.
[0055] The embodiments of this application can be implemented with the help of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.
[0056] Cloud technology is a general term encompassing network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form resource pools, allowing for on-demand use with flexibility and convenience. Cloud computing technology will become a crucial support. The backend services of cloud computing systems require substantial computing and storage resources.
[0057] As an example, server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminal 400 can be a smartphone, tablet, laptop, desktop computer, smart speaker, or smartwatch, but is not limited to these. Terminal 400 and server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.
[0058] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Figure 2 The terminal 400 shown includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 440.
[0059] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0060] User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0061] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.
[0062] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.
[0063] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0064] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0065] The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0066] Presentation module 453 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;
[0067] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.
[0068] In some embodiments, the biometric payment processing device provided in this application can be implemented in software. Figure 2 A biometric payment processing device 455 stored in memory 450 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: a first display module 4551, a second display module 4552, and an initialization module 4553. These modules are logically connected and can therefore be arbitrarily combined or further separated according to their implemented functions. The functions of each module will be described below.
[0069] Below, by Figure 2 The following description uses a terminal 400 executing the biometric payment processing method provided in this embodiment as an example. See also... Figure 3A , Figure 3AThis is a flowchart illustrating the biometric payment processing method provided in this application embodiment, which will be combined with... Figure 3A The steps shown are explained.
[0070] See Figure 3A , Figure 3A This is a flowchart illustrating the biometric payment processing method provided in this application embodiment, which will be combined with... Figure 3A Steps 101-102 are illustrated below. The steps in steps 101-102 are applied in electronic devices.
[0071] In step 101, in response to the biometric payment instruction from the payer to make an electronic payment to the service provider, the real-time captured image is displayed in the biometric acquisition preview area of the human-computer interaction interface, and the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface.
[0072] As an example, when an electronic device, such as a payment device, receives a biometric payment instruction from a payer to make an electronic payment to a service provider, a biometric collection preview area will be displayed on the human-computer interaction interface of the electronic device, and the real-time collected image will be displayed in the biometric collection preview area. The image can be the payer's facial image or an environmental image of the payer's environment.
[0073] In some embodiments, when the number of effects configured for the service provider is multiple, see [link to relevant documentation]. Figure 3B , Figure 3B This is a flowchart illustrating the biometric payment processing method provided in this application embodiment. In step 101, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface, which is achieved through steps 1011-1012.
[0074] In step 1011, the product for which the payer makes an electronic payment to the service provider is determined, and multiple special effects configured for the service provider that are related to the product are determined.
[0075] In step 1012, the special effect with the highest similarity to the product and with a related relationship is identified as the special effect to be displayed, and the first part of the special effect to be displayed is displayed in the special effect area of the human-computer interaction interface.
[0076] As an example, the first and second parts of the special effect correspond to different attributes of the product's function, or the first and second parts of the special effect correspond to different stages of the product's usage scenario.
[0077] In some embodiments, multiple special effects are configured for the service provider, each corresponding to a different product. For example, if the service provider is any convenience store offering products like cola and potato chips, then there are multiple special effects associated with cola and multiple special effects associated with potato chips. From a documentation perspective, the association refers to the association between the service provider's identifier and the product identifier of the offered product in the special effect's configuration file. From a visual presentation perspective, the association refers to the relationship between the presented special effect and the product, such as the process of opening a cola bottle. Thus, when the payer purchases a product from the service provider, they can view special effects related to the purchased product. This not only enhances the visual richness of the human-computer interaction interface of the payment device but also improves the user's human-computer interaction experience. For both the service provider and the product provider, presenting special effects as a form of recommendation information to the payer without consuming additional display resources or taking up additional user time increases the exposure rate of the recommendation information and improves the efficiency of the service provider's information recommendation.
[0078] Before determining the effect with the highest similarity to the product and a related relationship as the effect to be displayed in step 1012, the following technical solution can also be performed: obtain the feature vector of each product and combine the feature vectors of each product to obtain the product feature vector; obtain the feature vector of each effect that is related to any product; determine the similarity between the corresponding effect and the product based on the distance between the product feature vector and the effect feature vector.
[0079] As an example, a payer can purchase one or more products. If the payer purchases only one product, the product feature vector is compared with the feature vectors of each effect associated with that product to obtain the similarity between the two. If the payer purchases multiple products, the feature vectors of the purchased products are combined to obtain a product feature vector. This product feature vector is then compared with the feature vectors of each effect associated with that product to obtain the similarity between the two. For example, if the payer purchases fries, potato chips, and cola, there are two effects: one is the cola effect and the other is the potato chip effect. Both of these effects are associated with the purchased products. The distance between the product feature vector obtained by combining fries, potato chips, and cola and the feature vector of the cola effect is negatively correlated with the similarity. This allows the payer to display the effect that best matches the user's current purchase needs, achieving a real-time recommendation effect.
[0080] In some embodiments, when none of the multiple special effects configured for the service provider are related to the product, the following technical solution can also be implemented: determine the historical products purchased by the payer from the payer's historical payment purchase data; obtain the feature vector of each historical product and combine the feature vectors of each historical product to obtain the payer's user profile; determine the similarity between the feature vector of each special effect and the payer's user profile; and select the special effect with the highest similarity to the payer's user profile among the multiple special effects as the special effect to be displayed.
[0081] As an example, when none of the multiple special effects configured for the service provider are related to the product—for instance, the payer purchased fries, potato chips, and cola, but there is no special effect related to any of these—then the selection of special effects is based on the payer's user profile. This involves identifying historical products purchased by the payer from their historical payment data, such as those purchased within the past month, obtaining the feature vector for each historical product, and combining these feature vectors to obtain the payer's user profile. Similarly, the similarity between the feature vector of each special effect and the payer's user profile is determined, and the special effect with the highest similarity to the payer's user profile is selected as the special effect to be displayed.
[0082] In some embodiments, displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface in step 101 can be achieved by performing one of the following technical solutions: when the biometric acquisition area is displayed in the human-computer interaction interface, the first part of the special effects configured for the service provider is displayed synchronously in the special effects area of the human-computer interaction interface; when the real-time acquired image is displayed in the biometric acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface; starting from the time after the biometric acquisition area is displayed in the human-computer interaction interface, when the time reaches a first time threshold and the real-time acquired image is still not displayed in the biometric acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface.
[0083] As an example, when the timing reaches the first time threshold and the real-time captured image is still not displayed in the biometric acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface in a dynamic display manner.
[0084] As an example, as long as the service provider's electronic device stores the special effects configuration file, the first part of the special effects configured for the service provider can be displayed in the special effects area of the human-computer interaction interface, which is equivalent to meeting the basic conditions for displaying special effects. There are various situations in which the first part of the special effects can be displayed.
[0085] In some embodiments, when the biometric feature acquisition area is displayed in the human-computer interaction interface, the first part of the special effects configured for the service provider is displayed synchronously in the special effects area of the human-computer interaction interface. This means that the presentation of the first part of the special effects is not affected only when the biometric feature acquisition area is displayed, regardless of whether any image is acquired.
[0086] In some embodiments, after the biometric data acquisition area is displayed in the human-computer interaction interface, if the image cannot be acquired in real time due to environmental factors, such as low light, it will not be suitable for image acquisition. Only when the environmental factors are eliminated and the real-time acquired image is displayed in the biometric data acquisition area will the first part of the special effects configured for the service provider be displayed in the special effects area of the human-computer interaction interface.
[0087] In some embodiments, timing begins after the biometric data acquisition area is displayed in the human-computer interaction interface. That is, when the biometric data acquisition area is displayed in the human-computer interaction interface, the first part of the special effects is not displayed temporarily and timing begins. Due to environmental factors, such as low light, it is not suitable for image acquisition, so the image cannot be acquired in real time. When the timing reaches the first time threshold and the real-time acquired image is still not displayed in the biometric data acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface.
[0088] In some embodiments, displaying a second part of the special effect in the special effects area can be achieved by the following technical solution: displaying the second part of the special effect based on the effect of the first part of the special effect; wherein the type of the first part is a static special effect, and the type of the second part is either a static special effect or a dynamic special effect.
[0089] As an example, see Figure 5 , Figure 5 This is a schematic diagram of the application interface of the biometric payment processing method provided in the embodiments of this application. Figure 5 The left side shows the human-computer interaction interface 501 where no special effects configuration file exists on the service provider's electronic device. When a special effects configuration file exists on the electronic device, and the biometric feature acquisition area 502 is displayed in the human-computer interaction interface, and the acquired image is displayed in the biometric feature acquisition area, Figure 5 The special effects area of the central human-computer interaction interface 501 displays the first part 503 of the special effects configured for the service provider, which is the static part of the special effects (a bottle of cola). After biometric features are identified from the image and verified, the second part 504 (dynamic special effects) of the special effects is displayed on top of the first part. Figure 5 As shown on the right, the special effects area of the human-computer interaction interface displays the effect of cola spraying from a cola bottle.
[0090] In some embodiments, when the number of effects configured for the service provider is multiple, see [link to relevant documentation]. Figure 3C , Figure 3C This is a flowchart illustrating the biometric payment processing method provided in this application embodiment. In step 101, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface, which is achieved through steps 1013-1016.
[0091] In step 1013, the number of times the payer has made electronic payments to the service provider is obtained.
[0092] In step 1014, when the number of payments is not less than the payment number threshold, the special effect corresponding to the number of payments is queried from the multiple special effects configured for the service provider and determined as the special effect to be displayed.
[0093] As an example, the number of payments is positively correlated with the following characteristics of the effect to be displayed: the display duration of the effect and the expressiveness of the effect. The expressiveness of the effect includes the number of elements in the effect, the complexity of the effect, and the rating of the effect, etc.
[0094] In step 1015, the first part of the effect to be displayed is displayed in the special effects area of the human-computer interaction interface.
[0095] In step 1016, when the number of payments is less than the payment threshold, a prompt message is displayed in the special effects area of the human-computer interaction interface to indicate that a special effect will be displayed when the number of payments by the payer reaches the payment threshold.
[0096] As an example, the number of times a payer makes electronic payments to a service provider is obtained. A high number of payments indicates that there are multiple electronic payment processes between the payer and the service provider. As a reward for payers with multiple payment histories, the special effects can be presented with longer durations and / or stronger visual impact. As the number of payments by a payer increases, the duration and visual impact of the special effects presented to them also increase, thereby incentivizing payers to make more purchases. When the number of payments is less than the payment threshold, a prompt message is displayed in the special effects area of the human-computer interaction interface to indicate that the special effects will be displayed when the number of payments by the payer reaches the payment threshold.
[0097] In some embodiments, see Figure 3D , Figure 3D This is a flowchart illustrating the biometric payment processing method provided in this application embodiment. Before displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface in step 101, steps 103-105 can also be executed.
[0098] In step 103, the electronic device receiving the biometric payment instruction is initialized.
[0099] As an example, initialization processing can be the power-on process of an electronic device, or it can be the initialization process of a payment client or identity verification client of an electronic device.
[0100] In step 104, when an effect configuration file is detected during the initialization process, the effect configuration file is serialized to obtain effect data for the first part of displaying the effect and effect data for the second part of displaying the effect.
[0101] In some embodiments, after serializing the special effects configuration file in step 104 to obtain the special effects data of the first part and the second part of the special effects, the following technical solution can also be performed: storing the special effects data in the electronic device; sending network requests carrying information of the electronic device to the server at fixed time intervals so that the server returns the special effects configuration file corresponding to the information of the electronic device; when the received special effects configuration file is different from the special effects configuration file from which the special effects data stored in the electronic device originates, serializing the received special effects configuration file to obtain new special effects data for displaying the first part of the special effects and new special effects data for displaying the second part of the special effects; replacing the special effects data stored in the electronic device with the new special effects data.
[0102] As an example, special effects data related to a certain cola brand is obtained through step 104. The special effects data is stored in the electronic device. Then, at fixed time intervals, a network request carrying the service provider information of the electronic device, i.e., a special effects configuration file retrieval request, is sent to the server. The request carries the service provider information of the electronic device, such as the convenience store's identifier, so that the server returns the special effects configuration file corresponding to the information of the electronic device. Multiple special effects configuration files configured for the convenience store are returned. These multiple special effects configuration files can be related to the convenience store's products or to the convenience store's own brand. Suppose another special effects configuration file related to a certain cola brand is received, and a special effects configuration file related to a potato chip brand is also received. When the received special effects configuration file is different from the special effects configuration file from which the special effects data stored in the electronic device originates, it indicates that the special effects that can be presented based on the received special effects configuration file are new special effects. The received special effects configuration file is serialized to obtain new special effects data for the first part of displaying the special effects and new special effects data for the second part of displaying the special effects. The new special effects data replaces the special effects data stored in the electronic device.
[0103] As an example, the process of replacing the special effects data stored in the electronic device with new special effects data is explained as follows: If the electronic device has a storage limit on the special effects data it can store, then if the storage limit is exceeded, the special effects data stored in the electronic device is replaced with new special effects data. If the storage limit is not exceeded, then the new special effects data is stored directly, rather than replacing the already stored special effects data with new special effects data.
[0104] As an example, if the effect configuration file corresponding to the new effect data and the effect configuration file corresponding to the stored effect data are both effect configuration files for the same product, the new effect data can replace the effect data stored in the electronic device. For example, if the received effect configuration file is related to a certain cola brand and the effect configuration file for a certain cola brand that already has effect data is also related to the same product, the effect data of the other effect configuration file can replace the existing effect data. If the effect configuration file corresponding to the new effect data and the effect configuration file corresponding to the stored effect data are both effect configuration files for different products, the new effect data can be stored directly, while the effect data stored in the electronic device can be retained.
[0105] In step 105, if no special effects configuration file is detected during the initialization process, a network request carrying the electronic device information is sent to the server so that the server returns the special effects configuration file corresponding to the information of the electronic device.
[0106] As an example, the special effects configuration file is obtained by associating special effects data with the service provider information of the electronic device. The service provider information can be the brand name of the merchant to which the electronic device belongs, such as the name of a convenience store. The service provider information can also be the product brand name of the products sold by the merchant to which the electronic device belongs, such as the name of the Coca-Cola brand. Obtaining special effects by retrieving the special effects configuration file from the server can realize low-cost, online configurable animation effect replacement, providing low-cost, customized user interface animation effect services for merchants who own electronic devices (facial recognition devices, i.e., payment devices).
[0107] In step 102, in response to the identification and verification of biometric features from the image in the biometric acquisition preview area, a second part for the special effects is displayed in the special effects area to be merged with the first part to form the special effects.
[0108] As an example, the second part of the special effects is displayed in the special effects area to merge with the first part to form a special effect. The special effect is used to represent the product purchased by the payer from the service provider. The product can be a physical item, such as food or clothing; the product can be a virtual item, such as game props; or the product can be a service, such as errand delivery or door-to-door cleaning.
[0109] In some embodiments, the human-computer interaction interface includes a first display layer, a second display layer, and a third display layer, with the first display layer located between the second and third display layers. In step 101, displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface can be achieved through the following technical solutions: displaying the first part of the special effects configured for the service provider in the first display layer. In step 101, displaying the real-time captured image in the biometric feature acquisition preview area of the human-computer interaction interface can be achieved through the following technical solutions: outputting the acquisition preview area in the second display layer and displaying the real-time captured image in the acquisition preview area; or outputting the acquisition preview area in the first display layer and displaying the real-time captured image in the acquisition preview area; or the following technical solutions can also be implemented: outputting a background page for prompting biometric feature acquisition in the third display layer and displaying prompt information for prompting biometric feature acquisition on the background page.
[0110] As an example, see Figure 7 , Figure 7 This is a layer diagram of the biometric payment processing method provided in this application embodiment. The first display layer 701 is a layer for displaying special effects, the second display layer 702 is a layer for displaying the acquisition preview area, and the third display layer 703 is a client background page display layer. The first display layer is located between the second and third display layers. The first display layer 701 can be reused as a layer for displaying the acquisition preview area, that is, the acquisition preview area and special effects are output simultaneously on the first display layer, thereby coupling the display of the acquisition preview area and special effects on the layer, giving the user an immersive interactive experience, and also saving layer resources. If the acquisition preview area and special effects are displayed independently, that is, displayed through different display layers, the logic between image acquisition and special effect triggering can be independent and complementary, saving the computing resources of electronic devices.
[0111] In some embodiments, displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface in step 101 can be achieved by the following technical solution: loading the special effects data of the first part of the special effects through a mobile application animation effect framework; in response to the triggering of the playback logic of the first part of the special effects in the first display layer, displaying the first part of the special effects through the special effects data loaded in the first display layer of the human-computer interaction interface; displaying the second part of the special effects in the special effects area in step 102 can be achieved by the following technical solution: loading the special effects data of the second part of the special effects through a mobile application animation effect framework; in response to the triggering of the playback logic of the second part of the special effects in the first display layer, displaying the second part through the special effects data loaded in the first display layer of the human-computer interaction interface.
[0112] As an example, the effect data of the first / second part of the effect is loaded through the mobile application animation effect framework; in response to the playback logic of the first / second part of the corresponding effect in the first display layer being triggered, the first / second part of the effect is displayed through the effect data loaded in the first display layer of the human-computer interaction interface.
[0113] In some embodiments, the following technical solution may also be implemented: in response to the failure to identify biometric features in the image from the biometric feature acquisition preview area within a set time range or the failure to verify the identified biometric features, a default effect is displayed in the effect area to replace the first part of the effect; timing begins from the display of the default effect; in response to the timing time reaching a second time threshold and no operation on the human-computer interaction interface is received during the timing process, the default effect is turned off.
[0114] As an example, if no biometric features are identified from the image in the biometric feature acquisition preview area within a set time range, or if the identified biometric features fail verification (e.g., no biometric features can be identified from the image; biometric features could be fingerprint or facial biometrics), or if fingerprint or facial biometrics are identified but verification fails, then a default effect is displayed in the effect area to replace the first part of the effect. The default effect can be an effect representing the failure to identify biometric features or the failure to verify the identified biometric features. The timer starts from the display of the default effect. If the timer reaches a second time threshold and no operation is received on the human-computer interaction interface during the timer, the default effect is turned off. This allows for the display of effects at any point in the entire payment process. Even if the second part of the effect cannot continue to be displayed, the user experience of human-computer interaction is improved through the default effect.
[0115] In some embodiments, after displaying the second part of the special effect in the special effects area, the following technical solution may also be performed: start timing from displaying the second part of the special effect; in response to the timing time reaching a third time threshold and no operation on the human-computer interaction interface being received during the timing process, close the second part of the special effect.
[0116] As an example, see Figure 5 , Figure 5 This is a schematic diagram of the application interface of the biometric payment processing method provided in the embodiments of this application. Figure 5 The human-computer interaction interface on the right has already displayed the second part of the special effects. The timing starts from the display of the second part of the special effects area of the human-computer interaction interface. For example, a timing ring appears around the acquisition preview area. When the timing ring completes one revolution, it indicates that the timing time has reached the third time threshold. If no operation is received on the human-computer interaction interface during this process, the second part of the special effects can be turned off.
[0117] In some embodiments, after displaying the second part of the special effect in the special effects area, the following technical solution may also be performed: in response to the interactive operation of the second part of the special effect, displaying feedback information adapted to the interactive operation for the second part in the special effects area of the human-computer interaction interface.
[0118] As an example, the second part of the effect can be an interactive element. In response to an interactive operation on the second part of the effect, feedback information of the interactive element adapted to the interactive operation is displayed. The feedback information includes at least one of the feedback process and the feedback result. The interactive element is a pre-configured element that can respond to a specific interactive operation. It can be any element in the second part of the effect. The interactive operation can be a rotation operation, a generation operation, a hiding operation, etc. Any interactive element corresponds to a specific interactive operation and configured feedback information.
[0119] The following will illustrate an exemplary application of the biometric payment processing method provided in this application embodiment in a real-world application scenario.
[0120] In offline facial recognition scenarios based on the Internet of Things, services for merchants are concentrated among service providers with a large number of facial recognition devices and high transaction volumes. Therefore, developing a set of animation effects for different service providers to display during the facial recognition process can effectively improve customer loyalty on the business side and help facial recognition service providers significantly increase the number of facial recognition transactions per device. Through a solution that links merchant IDs with animation effects, and utilizing Android's mobile application animation framework library (Lottie) to present page animation effects, a technical solution has been implemented to deliver different animation effects to different merchants on facial recognition devices (e.g., facial recognition payment devices). By providing configurable animation effects that can be specified for different merchants, a low-cost online configurable animation effect replacement has been achieved, thereby providing one-click customization services for merchants using facial recognition devices.
[0121] In some embodiments, see Figures 4A-4C , Figures 4A-4C This is a schematic diagram of the physical device provided in the embodiments of this application. Figures 4A-4C The electronic devices shown are facial recognition devices, all of which can respond to user operations and provide a facial recognition payment interface.
[0122] In some embodiments, see Figure 6 , Figure 6 This is a schematic diagram of the architecture of the biometric payment processing method provided in this application embodiment. The loading process for animation effects for different brands is as follows: the effects creation software has an animation export plugin installed, and the effects creation software generates facial recognition animation effects designed for the specified merchant based on the merchant's characteristics. For example, see... Figure 5 , Figure 5This is a schematic diagram of the application interface of the biometric payment processing method provided in this application embodiment. For Coca-Cola merchants, after the configuration file of the animation effects is sent to the face recognition device, the first part of the Coca-Cola effect (static effect) is displayed when the collection preview area is displayed, and the second part of the Coca-Cola effect (dynamic effect) is displayed when the face recognition process ends, so as to reflect the brand characteristics of the merchant. The effects corresponding to the brand in the effect production software are exported as effect data files, such as JSON files.
[0123] In some embodiments, see Figure 7 , Figure 7 This is a layer diagram of the biometric payment processing method provided in this application embodiment. The merchant platform determines the merchant number of the merchant that needs to configure customized animation effects, and uploads the above-mentioned effect data file for the merchant number. The merchant platform establishes an association between the effect data file of the specified merchant number and the corresponding merchant number through the database, and stores the effect data file on the server to wait for the facial recognition device (terminal) to request it.
[0124] In some embodiments, the loading process of the special effects data file in the terminal is as follows: When the payment client starts, the terminal checks whether the drop-down configuration file has been stored locally. If the drop-down configuration file is not stored, it sends a request to the server to retrieve the configuration file to check whether the server stores the configuration file. If the configuration file is stored, the terminal retrieves the configuration file from the server and parses the customized JSON data (special effects data file) from it. At the same time, the parsed customized JSON data is serialized and persisted. The serialization result waits for the animation loading of the current animation trigger process. The purpose of persistence is to avoid having to send a request to the server to retrieve the configuration file again, which would consume bandwidth when retrieving the configuration file.
[0125] In some embodiments, the terminal can customize a custom animation display layer (first display layer), and wait for the loading of special effects data files by embedding a mobile application animation framework. Based on the IoT face recognition business scenario, the customized animation display layer is embedded in the middle layer between the face recognition page background layer (third display layer) and the avatar display layer (second display layer), so as to support the display effect of any brand animation without affecting the original face recognition interaction. After the mobile application animation framework loads the merchant's special effects data file, it waits for the upper-layer business logic to be triggered.
[0126] In some embodiments, the animation effects display process of the terminal is as follows: After the user completes the recognition process through the facial recognition device, that is, after the user passes the facial recognition, the human-computer interaction interface displays a blurry avatar in the acquisition preview area, and loads an animation, such as a circular animation, at the edge of the acquisition preview area. This animation process is triggered by the upper-layer business logic to the playback logic of the customized animation display layer, and is triggered by the mobile application animation framework. At the same time, the customized animation effects of the brand are displayed. After the customized animation effects are played, the facial recognition result is returned. At this time, the animation loading layer releases the animation resources, and the animation display process ends.
[0127] By using a technical solution that allows for configurable animation effects to be specified for different merchants, low-cost, online configurable animation effect replacement can be achieved. This provides merchants with facial recognition devices with low-cost, customized user interface animation effect services. Furthermore, the facial recognition device can also be used by the merchant to call the facial recognition SDK. When calling the SDK with facial recognition functionality, the merchant can call and pass in the configuration file of the effect, and the actual execution and scheduling of the animation effect can be realized through the terminal's framework layer.
[0128] The following description continues to illustrate the exemplary structure of the biometric payment processing device 455 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the biometric payment processing device 455 in the memory 450 may include: a first display module 4551, which, in response to a biometric payment instruction from the payer to make an electronic payment to the service provider, displays a real-time captured image in the biometric acquisition preview area of the human-computer interaction interface, and displays a first part of a special effect configured for the service provider in the special effects area of the human-computer interaction interface; and a second display module 4552, which, in response to the identification and verification of biometric features from the image in the biometric acquisition preview area, displays a second part of the special effect in the special effects area to merge with the first part to form a special effect.
[0129] In some embodiments, when there are multiple special effects configured for the service provider, the first display module 4551 is further configured to: determine the product for which the payer makes electronic payments to the service provider; determine multiple special effects configured for the service provider that are related to the product; determine the special effect with the highest similarity to the product and that is related to it as the special effect to be displayed; and display the first part of the special effect to be displayed in the special effect area of the human-computer interaction interface. The first part and the second part of the special effect correspond to different attributes of the product's function, or the first part and the second part of the special effect correspond to different stages of the product's usage scenario.
[0130] In some embodiments, when none of the multiple special effects configured for the service provider are related to the product, the first display module 4551 is further configured to: determine the historical products purchased by the payer from the payer's historical payment purchase data; obtain the feature vector of each historical product and combine the feature vectors of each historical product to obtain the payer's user profile; determine the similarity between the feature vector of each special effect and the payer's user profile; and select the special effect with the highest similarity to the payer's user profile among the multiple special effects as the special effect to be displayed.
[0131] In some embodiments, the first display module 4551 is further configured to: perform one of the following: when the biometric acquisition area is displayed in the human-computer interaction interface, simultaneously display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface; when the real-time acquired image is displayed in the biometric acquisition area, display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface; start timing after the biometric acquisition area is displayed in the human-computer interaction interface, and when the timing reaches a first time threshold and the real-time acquired image is still not displayed in the biometric acquisition area, display a first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface.
[0132] In some embodiments, when there are multiple special effects configured for the service provider, the first display module 4551 is further configured to: obtain the number of times the payer makes electronic payments to the service provider; when the number of payments is not less than a payment number threshold, query the special effects corresponding to the payment number from the multiple special effects configured for the service provider and determine them as special effects to be displayed; wherein the number of payments is positively correlated with the following characteristics of the special effects to be displayed: the display duration of the special effects to be displayed, and the expressiveness of the special effects to be displayed; display the first part of the special effects to be displayed in the special effects area of the human-computer interaction interface; when the number of payments is less than the payment number threshold, display a prompt message in the special effects area of the human-computer interaction interface to prompt that the special effects will be displayed when the number of payments by the payer reaches the payment number threshold.
[0133] In some embodiments, before displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface, the device further includes: an initialization module 4553, configured to: perform initialization processing on the electronic device receiving the biometric payment instruction; when a special effects configuration file is detected during the initialization process, serialize the special effects configuration file to obtain special effects data for displaying the first part of the special effects and special effects data for displaying the second part of the special effects; when no special effects configuration file is detected during the initialization process, send a network request carrying information of the electronic device to the server so that the server returns the special effects configuration file corresponding to the information of the corresponding electronic device; wherein, the special effects configuration file is obtained by associating the special effects data with the information of the electronic device.
[0134] In some embodiments, after serializing the special effects configuration file to obtain the special effects data of the first part and the second part of the special effects, the initialization module 4553 is further configured to: store the special effects data in the electronic device; send a network request carrying information of the electronic device to the server at fixed time intervals so that the server returns the special effects configuration file corresponding to the information of the electronic device; when the received special effects configuration file is different from the special effects configuration file from which the special effects data stored in the electronic device originates, serialize the received special effects configuration file to obtain new special effects data for displaying the first part of the special effects and new special effects data for displaying the second part of the special effects; and replace the special effects data stored in the electronic device with the new special effects data.
[0135] In some embodiments, the human-computer interaction interface includes a first display layer, a second display layer, and a third display layer, with the first display layer located between the second and third display layers; the first display module 4551 is further configured to: display a first portion of special effects configured for the service provider on the first display layer; output a collection preview area on the second display layer and display the real-time collected image in the collection preview area; or output a collection preview area on the first display layer and display the real-time collected image in the collection preview area; and output a background page for prompting biometric feature collection on the third display layer and display prompt information for prompting biometric feature collection on the background page.
[0136] In some embodiments, the first display module 4551 is further configured to: in response to the failure to identify biometric features in the image from the biometric feature acquisition preview area within a set time range or the failure to verify the identified biometric features, display a default effect in the effect area to replace the first part of the effect; start timing from displaying the default effect; and in response to the timing time reaching a second time threshold and no operation on the human-computer interaction interface being received during the timing process, turn off the default effect.
[0137] In some embodiments, after displaying the second part of the special effect in the special effect area, the second display module 4552 is further configured to: start timing from the display of the second part of the special effect; and close the second part of the special effect in response to the timing time reaching a third time threshold and no operation on the human-computer interaction interface being received during the timing process.
[0138] In some embodiments, after displaying the second part of the special effect in the special effects area, the second display module 4552 is further configured to: in response to an interactive operation on the second part of the special effect, display feedback information adapted to the interactive operation on the second part in the special effects area of the human-computer interaction interface.
[0139] In some embodiments, the first display module 4551 is further configured to: load effect data of a first part of an effect through a mobile application animation effect framework; and display the first part of the effect through the effect data loaded in the first display layer of the human-computer interaction interface in response to the triggering of the playback logic of the first part of the effect in the first display layer; the second display module 4552 is further configured to: load effect data of a second part of an effect through a mobile application animation effect framework; and display the second part through the effect data loaded in the first display layer of the human-computer interaction interface in response to the triggering of the playback logic of the second part of the effect in the first display layer.
[0140] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the biometric payment processing method described above in this application.
[0141] This application provides a computer-readable storage medium storing executable instructions. When these executable instructions are executed by a processor, the processor will execute the biometric payment processing method provided in this application, for example... Figures 3A-3D The biometric payment processing method is shown.
[0142] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0143] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0144] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0145] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0146] In summary, through the embodiments of this application, the special effects configured for the service provider are coupled into the payment interaction process and displayed in stages during the payment process between the payer and the service provider. This allows the special effects carrying richer service provider information to be exposed to the payer without occupying additional display resources or the payer's time, thereby improving the richness of information display and the efficiency of the payer's human-computer interaction.
[0147] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A biometric payment processing method, characterized in that, The method includes: In response to the biometric payment instruction from the payer to make an electronic payment to the service provider, the real-time captured image is displayed in the biometric collection preview area of the human-computer interaction interface; When the biometric feature acquisition area is displayed in the human-computer interaction interface, or when a real-time acquired image is displayed in the biometric feature acquisition area, a first part of a special effect configured for the service provider is displayed in the special effects area of the human-computer interaction interface. The first part of the special effect is a static special effect. In response to the identification and verification of biometric features from the image in the biometric feature acquisition preview area, a second part of the special effect is displayed in the special effects area to be merged with the first part to form the special effect. The second part of the special effect is either a dynamic special effect or a static special effect. The first part of displaying the special effects configured for the service provider in the special effects area of the human-computer interaction interface includes: The effect data for the first part of the effect is loaded through the mobile application animation effects framework; In response to the playback logic of the first part of the special effect in the first display layer being triggered, the first part of the special effect is displayed through the special effect data loaded in the first display layer of the human-computer interaction interface; The second part of the special effects area is displayed, including: The second part of the special effects data is loaded through the mobile application animation effects framework; In response to the playback logic of the second part corresponding to the special effect in the first display layer being triggered, the second part is displayed using the special effect data loaded in the first display layer of the human-computer interaction interface.
2. The method according to claim 1, characterized in that, When the number of special effects configured for the service provider is multiple, the method further includes: Identify the product for which the payer makes an electronic payment to the service provider, and identify multiple special effects among the multiple special effects configured for the service provider that are related to the product; The special effects that have the highest similarity to the product and are related to it are identified as the special effects to be displayed, and the first part of the special effects to be displayed is displayed in the special effects area of the human-computer interaction interface; The first and second parts of the special effect correspond to different attributes of the product's function, or the first and second parts of the special effect correspond to different stages of the product's usage scenario.
3. The method according to claim 2, characterized in that, When none of the multiple special effects configured for the service provider are related to the product, the method further includes: Determine the historical products purchased by the payer from the payer's historical payment and purchase data; The feature vector of each historical product is obtained, and the feature vectors of each historical product are combined to obtain the user profile of the payer. Determine the similarity between the feature vector of each effect and the user profile of the payer; The effect with the highest similarity to the user profile of the payer among the multiple effects will be selected as the effect to be displayed.
4. The method according to claim 1, characterized in that, The method further includes: When the biometric data acquisition area is displayed in the human-computer interaction interface, a timer is started after the biometric data acquisition area is displayed in the human-computer interaction interface. When the timer reaches a first time threshold and no real-time acquired image is displayed in the biometric data acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface.
5. The method according to claim 1, characterized in that, When the number of special effects configured for the service provider is multiple, the method further includes: Obtain the number of times the payer has made electronic payments to the service provider; When the number of payments is not less than the payment number threshold, the special effect corresponding to the number of payments is queried from the multiple special effects configured for the service provider and determined as the special effect to be displayed; The number of payments is positively correlated with the following characteristics of the special effect to be displayed: the display duration of the special effect to be displayed and the expressive intensity of the special effect to be displayed; When the number of payments is less than the payment threshold, a prompt message is displayed in the special effects area of the human-computer interaction interface to indicate that a special effect will be displayed when the number of payments made by the payer reaches the payment threshold.
6. The method according to claim 1, characterized in that, Before displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface, the method further includes: The electronic device receiving the biometric payment instruction is initialized. When an effect configuration file is detected during the initialization process, the effect configuration file is serialized to obtain effect data for displaying the first part of the effect and effect data for displaying the second part of the effect. If no special effects configuration file is detected during the initialization process, a network request carrying the service provider information of the electronic device is sent to the server so that the server returns the special effects configuration file corresponding to the service provider information of the electronic device. The special effects configuration file is obtained by associating the special effects data with the service provider information of the electronic device.
7. The method according to claim 6, characterized in that, After serializing the special effects configuration file to obtain the special effects data of the first part and the special effects data of the second part corresponding to the special effects, the method further includes: The special effects data is stored in the electronic device; At fixed time intervals, a network request carrying the service provider information of the electronic device is sent to the server so that the server returns a special effects configuration file corresponding to the service provider information of the electronic device. When the received special effects configuration file is different from the special effects configuration file from which the special effects data is stored in the electronic device, the received special effects configuration file is serialized to obtain new special effects data for displaying the first part of the special effects and new special effects data for displaying the second part of the special effects. Replace the special effects data stored in the electronic device with the new special effects data.
8. The method according to claim 1, characterized in that, The human-computer interaction interface includes a first display layer, a second display layer, and a third display layer, with the first display layer located between the second display layer and the third display layer; The display of real-time acquired images in the biometric feature acquisition preview area of the human-computer interaction interface includes: The acquisition preview area is output in the second display layer, and the image acquired in real time is displayed in the acquisition preview area; or The acquisition preview area is output in the first display layer, and the image acquired in real time is displayed in the acquisition preview area; The method further includes: The third display layer outputs a background page to prompt for biometric data collection, and displays prompt information on the background page to prompt for biometric data collection.
9. The method according to claim 1, characterized in that, The method further includes: In response to the failure to identify any biometric features from the image in the biometric feature acquisition preview area within a set time range, or the failure to verify the identified biometric features, a default effect is displayed in the effect area to replace the first part of the effect; The timer starts from when the default effect is displayed; In response to the timing reaching a second time threshold and no operation on the human-computer interaction interface being received during the timing process, the default effect is turned off.
10. The method according to claim 1, characterized in that, After displaying the second portion of the special effect in the special effects area, the method further includes: The timing begins from the second part of the effect being displayed; In response to the timing reaching a third time threshold and no operation on the human-computer interaction interface being received during the timing process, the second part of the special effect is turned off.
11. The method according to claim 1, characterized in that, After displaying the second portion of the special effect in the special effects area, the method further includes: In response to an interactive operation on the second part of the special effect, feedback information adapted to the interactive operation on the second part is displayed in the special effect area of the human-computer interaction interface.
12. A biometric payment processing device, characterized in that, include: The first display module is used to respond to the biometric payment instruction of the payer to make electronic payment to the service provider and display the real-time collected image in the biometric collection preview area of the human-computer interaction interface. When the biometric data acquisition area is displayed in the human-computer interaction interface, or when the real-time acquired image is displayed in the biometric data acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface. The first part of the special effects is a static special effect. The second display module is configured to, in response to the identification and verification of biometric features from the image in the biometric feature acquisition preview area, display a second part of the special effect in the special effect area to merge with the first part to form the special effect, wherein the second part of the special effect is a dynamic effect or a static effect; The first display module is further configured to load the special effect data of the first part of the special effect through the mobile application animation effect framework; in response to the playback logic corresponding to the first part of the special effect in the first display layer being triggered, the first part of the special effect is displayed through the special effect data loaded in the first display layer of the human-computer interaction interface; The second display module is further configured to load the special effect data of the second part of the special effect through the mobile application animation effect framework; in response to the playback logic corresponding to the second part of the special effect in the first display layer being triggered, the second part is displayed through the special effect data loaded in the first display layer of the human-computer interaction interface.
13. The apparatus according to claim 12, characterized in that, When the number of special effects configured for the service provider is multiple, the first display module is further configured to: Identify the product for which the payer makes an electronic payment to the service provider, and identify multiple special effects among the multiple special effects configured for the service provider that are related to the product; The special effects that have the highest similarity to the product and are related to it are identified as the special effects to be displayed, and the first part of the special effects to be displayed is displayed in the special effects area of the human-computer interaction interface; The first and second parts of the special effect correspond to different attributes of the product's function, or the first and second parts of the special effect correspond to different stages of the product's usage scenario.
14. The apparatus according to claim 13, characterized in that, When none of the multiple special effects configured for the service provider are related to the product, the first display module is further configured to: Determine the historical products purchased by the payer from the payer's historical payment and purchase data; The feature vector of each historical product is obtained, and the feature vectors of each historical product are combined to obtain the user profile of the payer. Determine the similarity between the feature vector of each effect and the user profile of the payer; The effect with the highest similarity to the user profile of the payer among the multiple effects will be selected as the effect to be displayed.
15. The apparatus according to claim 12, characterized in that, The first display module is further configured to: When the biometric data acquisition area is displayed in the human-computer interaction interface, a timer is started after the biometric data acquisition area is displayed in the human-computer interaction interface. When the timer reaches a first time threshold and no real-time acquired image is displayed in the biometric data acquisition area, the first part of the special effects configured for the service provider is displayed in the special effects area of the human-computer interaction interface.
16. The apparatus according to claim 12, characterized in that, When there are multiple special effects configured for the service provider, the first display module is further used for: Obtain the number of times the payer has made electronic payments to the service provider; When the number of payments is not less than the payment number threshold, the special effect corresponding to the number of payments is queried from the multiple special effects configured for the service provider and determined as the special effect to be displayed; The number of payments is positively correlated with the following characteristics of the special effect to be displayed: the display duration of the special effect to be displayed and the expressive intensity of the special effect to be displayed; When the number of payments is less than the payment threshold, a prompt message is displayed in the special effects area of the human-computer interaction interface to indicate that a special effect will be displayed when the number of payments made by the payer reaches the payment threshold.
17. The apparatus according to claim 12, characterized in that, Before displaying the first part of the special effects configured for the service provider in the special effects area of the human-computer interaction interface, the device further includes an initialization module, used for: The electronic device receiving the biometric payment instruction is initialized. When an effect configuration file is detected during the initialization process, the effect configuration file is serialized to obtain effect data for displaying the first part of the effect and effect data for displaying the second part of the effect. If no special effects configuration file is detected during the initialization process, a network request carrying the service provider information of the electronic device is sent to the server so that the server returns the special effects configuration file corresponding to the service provider information of the electronic device. The special effects configuration file is obtained by associating the special effects data with the service provider information of the electronic device.
18. The apparatus according to claim 17, characterized in that, After serializing the special effects configuration file to obtain the special effects data of the first part and the special effects data of the second part corresponding to the special effects, the initialization module is further configured to: The special effects data is stored in the electronic device; At fixed time intervals, a network request carrying the service provider information of the electronic device is sent to the server so that the server returns a special effects configuration file corresponding to the service provider information of the electronic device. When the received special effects configuration file is different from the special effects configuration file from which the special effects data is stored in the electronic device, the received special effects configuration file is serialized to obtain new special effects data for displaying the first part of the special effects and new special effects data for displaying the second part of the special effects. Replace the special effects data stored in the electronic device with the new special effects data.
19. The apparatus according to claim 12, characterized in that, The human-computer interaction interface includes a first display layer, a second display layer, and a third display layer, wherein the first display layer is located between the second display layer and the third display layer; the first display module is further configured to: The acquisition preview area is output in the second display layer, and the image acquired in real time is displayed in the acquisition preview area; or The acquisition preview area is output in the first display layer, and the image acquired in real time is displayed in the acquisition preview area; The third display layer outputs a background page to prompt for biometric data collection, and displays prompt information on the background page to prompt for biometric data collection.
20. The apparatus according to claim 12, characterized in that, The first display module is further configured to: In response to the failure to identify any biometric features from the image in the biometric feature acquisition preview area within a set time range, or the failure to verify the identified biometric features, a default effect is displayed in the effect area to replace the first part of the effect; The timer starts from when the default effect is displayed; In response to the timing reaching a second time threshold and no operation on the human-computer interaction interface being received during the timing process, the default effect is turned off.
21. The apparatus according to claim 12, characterized in that, After displaying the second portion of the special effect in the special effects area, the second display module is further configured to: The timing begins from the second part of the effect being displayed; In response to the timing reaching a third time threshold and no operation on the human-computer interaction interface being received during the timing process, the second part of the special effect is turned off.
22. The apparatus according to claim 12, characterized in that, After displaying the second portion of the special effect in the special effects area, the second display module is further configured to: In response to an interactive operation on the second part of the special effect, feedback information adapted to the interactive operation on the second part is displayed in the special effect area of the human-computer interaction interface.
23. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the biometric payment processing method according to any one of claims 1 to 11.
24. A computer-readable storage medium, characterized in that, It stores executable instructions for implementing the biometric payment processing method according to any one of claims 1 to 11 when executed by a processor.
25. A computer program product comprising computer instructions, characterized in that, When the computer instructions or computer program are executed by a processor, they implement the biometric payment processing method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Cartoon display method and device based on webpage, equipment and storage medium
CN108090176A
Identification method and device for target object in intelligent terminal and electronic equipment
CN111383305A
