Payment processing method and device based on interaction

By using interactive logos and image collection technology in online payments to detect users' interactive actions, it solves the existing problems of insufficient convenience and security in online payments and achieves a more efficient and secure payment experience.

CN118657529APending Publication Date: 2024-09-17ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410831608.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing online payment methods have shortcomings in convenience and security. Especially in various payment scenarios, how to improve the user experience and security of the payment process has become a challenge.

Method used

Using an interaction-based payment processing method, the server renders and sends an interactive logo carrying the payment amount. Combining image collection and action detection technology, the user performs interactive action detection on the merchant's device. If a pre-touch action is detected, payment processing is performed. Ensure the accuracy and security of payment operations.

Benefits of technology

It improves the convenience and user experience of the payment process, reduces the possibility of misoperation, enhances the security of payment, and ensures that payment operations are only triggered when the user has clear intentions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657529A
    Figure CN118657529A
Patent Text Reader

Abstract

The embodiment of the invention provides an interaction-based payment processing method and device, and the method comprises the steps: firstly receiving and displaying an interaction identifier which is rendered and transmitted by a server and carries a payment amount in a payment processing process, then performing interactive page rendering and display based on the interactive identifier and the acquired user image, performing interactive action detection on the user image in the process of displaying the user image, and sending the detected interactive action image to a server so as to perform interactive trigger detection of the interactive identifier on the interactive action image; and receiving a payment result obtained and sent by the server through payment processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technology, and in particular to an interactive payment processing method and device. Background Art

[0002] With the development of computers and the Internet, more and more users have begun to use online payment methods to make payments. Users can use payment codes or face recognition and other payment acceptance media provided by various applications to make corresponding payments. As online payment continues to become more popular, online payment methods based on set payment actions have emerged. As payment action applications are used in more and more payment scenarios, how to improve the convenience of payment has become a focus of attention. Summary of the invention

[0003] One or more embodiments of the present specification provide a first interactive payment processing method, including: receiving and displaying an interactive identifier carrying a payment amount rendered and sent by a server. Rendering and displaying an interactive page based on the interactive identifier and a collected user image, and performing interactive action detection on the user image. Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. Receiving the payment result obtained by performing payment processing sent by the server.

[0004] One or more embodiments of this specification provide a second interactive payment processing method, including: generating an interactive identifier carrying the payment amount according to the payment amount uploaded by the merchant and sending it to the merchant device. Receiving an interactive action image sent by the merchant device after interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. If the detection result is that the interactive action image contains a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

[0005] One or more embodiments of the present specification provide a first interactive payment processing device, including: an identification receiving module, configured to receive and display an interactive identification carrying a payment amount rendered and sent by a server. A detection module, configured to render and display an interactive page based on the interactive identification and a collected user image, and to detect interactive actions on the user image. An image sending module, configured to send the detected interactive action image to the server to perform an interactive trigger detection of the interactive identification on the interactive action image to obtain a detection result. A result receiving module, configured to receive a payment result obtained by performing payment processing sent by the server; the payment processing is performed when the detection result is that the interactive action image contains a pre-touch action of the interactive identification.

[0006] One or more embodiments of the present specification provide a second interactive payment processing device, including: an identification generation module, configured to generate an interactive identification carrying the payment amount according to the payment amount uploaded by the merchant and send it to the merchant device. A detection module, configured to receive an interactive action image sent by the merchant device after interactive action detection, and perform interactive trigger detection of the interactive identification on the interactive action image to obtain a detection result. A result sending module, configured to perform payment processing based on the identity recognition result of the interactive action image if the detection result is that the interactive action image contains a pre-touch action of the interactive identification, and send the payment result to the merchant device.

[0007] One or more embodiments of the present specification provide a first payment processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: receives and displays an interactive identifier carrying a payment amount rendered and sent by a server. Performs interactive page rendering and display based on the interactive identifier and a collected user image, and performs interactive action detection on the user image. Sends the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. Receives the payment result obtained by performing payment processing sent by the server.

[0008] One or more embodiments of the present specification provide a second payment processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: generates an interactive identifier carrying the payment amount according to the payment amount uploaded by the merchant and sends it to the merchant device. Receives an interactive action image sent by the merchant device after performing interactive action detection, and performs interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. If the detection result is that the interactive action image contains a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

[0009] One or more embodiments of the present specification provide a first computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: receiving and displaying an interactive identifier carrying a payment amount rendered and sent by a server. Rendering and displaying an interactive page based on the interactive identifier and a collected user image, and performing interactive action detection on the user image. Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. Receive the payment result obtained by performing payment processing sent by the server.

[0010] One or more embodiments of the present specification provide a second computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: based on the payment amount uploaded by the merchant, generate an interactive identifier carrying the payment amount and send it to the merchant device. Receive an interactive action image sent by the merchant device after performing interactive action detection, and perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. If the detection result is that the interactive action image contains a pre-touch action of the interactive identifier, perform payment processing based on the identity recognition result of the interactive action image, and send the payment result to the merchant device. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.

[0012] Figure 1 A schematic diagram of an implementation environment of an interactive payment processing method provided for one or more embodiments of this specification;

[0013] Figure 2 A flow chart of a first interactive payment processing method provided for one or more embodiments of this specification;

[0014] Figure 3 A schematic diagram of an interactive page for an interactive identifier provided in one or more embodiments of this specification;

[0015] Figure 4 A schematic diagram of an interactive page of an interactive process provided for one or more embodiments of this specification;

[0016] Figure 5 A schematic diagram of a payment process page provided for one or more embodiments of this specification;

[0017] Figure 6 A schematic diagram of a payment result page provided for one or more embodiments of this specification;

[0018] Figure 7 A processing sequence diagram of an interactive payment processing method applied to a merchant payment scenario provided in one or more embodiments of this specification;

[0019] Figure 8A flow chart of a second payment processing method based on interaction provided for one or more embodiments of this specification;

[0020] Fig. 9 A schematic diagram of a first embodiment of an interactive payment processing device provided for one or more embodiments of this specification;

[0021] Fig.10 A schematic diagram of a second embodiment of an interactive payment processing device provided for one or more embodiments of this specification;

[0022] Fig.11 A schematic diagram of the structure of a first interactive payment processing device provided for one or more embodiments of this specification;

[0023] Fig.12 A schematic diagram of the structure of a second interactive payment processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0025] The interactive payment processing method provided in one or more embodiments of this specification can be applied to the implementation environment of interactive payment. Figure 1 , the implementation environment at least includes a server 101 and a merchant device 102;

[0026] The server 101 may be one or more servers, a server cluster consisting of several servers, or a server of a cloud computing platform. The server 101 is used to cooperate with the merchant device 102 to perform interaction trigger detection of the interaction identifier and perform payment processing according to the detection result.

[0027] The merchant device 102 may be configured with an image acquisition component and a screen, and may be a device used by a store or service provider, such as a POS (point of sale) terminal, a smart display screen, or a tablet computer. During the payment process, the merchant device 102 may interact with the server 101 through its configured communication component. The merchant device 102 is used to render and display interactive pages, and cooperate with the server 101 to perform interactive trigger detection of interactive identifiers.

[0028] In addition, the implementation environment may also include a cash register device 103. In this case, the merchant device 102 may also be payment hardware that cooperates with the cash register device 103 to perform payment transactions. During the payment process, the merchant device 102 may be forwarded through the cash register device 103, thereby realizing data interaction between the merchant device 102 and the server 101.

[0029] In this implementation environment, in the interactive payment processing process, after the user selects a product or service, he stands in front of the merchant device 102. The merchant device 102 scans the product information and initiates a payment request to the server 101. After receiving the request, the server 101 generates and sends an interactive identifier carrying the payment amount. The merchant device 102 receives the interactive identifier and collects the user's image stream, renders and displays the interactive page according to the received interactive identifier and the collected user image stream, and the user can make corresponding pre-touch actions according to the interactive identifier instructions on the merchant device 102. The merchant device 102 collects the user's interactive action image and sends the user's interactive action image to the server 101 for interactive trigger detection. After receiving the interactive action image sent by the merchant device 102, the server 101 performs interactive intention recognition and action parameter detection, and performs payment processing based on the detection result combined with the user identity information. After receiving the payment processing result from the server 101, the merchant device 102 displays an interactive page of successful payment or failed payment for the user to view, and interactive payment processing is implemented on the merchant device through pre-touch actions.

[0030] One or more embodiments of the first interactive payment processing method provided in this specification are as follows:

[0031] Reference Figure 2 The interactive payment processing method provided in this embodiment can be applied to merchant equipment, and specifically includes steps S202 to S208.

[0032] Step S202, receiving and displaying the interactive logo carrying the payment amount rendered and sent by the server.

[0033] In actual applications, when a user is placing an order for a transaction with a merchant, the merchant staff can enter the amount to be collected on the cash register to place the transaction order, and can also create a product order by scanning the product identification of the product to be traded, thereby placing an order for the product transaction; accordingly, in the process of payment processing based on the transaction order through the merchant device, the merchant staff can enter a payment instruction through the cash register on the basis of the input amount to collect, and initiate payment for the transaction order based on the input payment instruction; in addition, in the process of payment processing based on the transaction order through the merchant device, the merchant staff can also enter a payment instruction on the basis of automatically creating a product order by scanning the product identification, and initiate payment for the transaction order based on the input payment instruction.

[0034] During the specific implementation process, for the payment initiated above, upon detecting the initiated payment, the merchant device uploads the payment amount to the server, the server receives the payment amount, and generates an interactive identifier carrying the payment amount based on the payment amount, so as to be used for payment processing using the "remote interaction" method based on the interactive identifier; in addition, for the payment initiated above, the cash register device can also upload the payment amount to the server, the server receives the payment amount, and generates an interactive identifier carrying the payment amount based on the payment amount.

[0035] On this basis, the server generates an interactive logo carrying the payment amount according to the uploaded payment amount and sends it to the merchant device. Correspondingly, here, the merchant device receives the interactive logo carrying the payment amount rendered and sent by the server, and displays the interactive logo carrying the payment amount.

[0036] In this embodiment, the interactive identifier refers to an identifier used for remote interaction on the merchant device. The interactive identifier is presented based on the payment amount uploaded by the merchant device in combination with specific interactive materials. The interactive identifier is an identifier that cannot be triggered by a screen touch event of the merchant device. In addition, the interactive identifier can also be presented based on the payment amount uploaded by the merchant device in combination with specific interactive materials and related payment reminder words to provide clear instructions for subsequent interactive actions, thereby realizing an interactive payment processing method; optionally, the interactive identifier is generated based on the payment amount uploaded by the merchant. The interactive identifier carries the payment amount and can be used to interact with the user to trigger the payment process.

[0037] Specifically, the interactive logo can be a dynamic logo or a static logo; in the dynamic case, the interactive logo can be expressed as a dynamically changing visual element, which can be displayed and updated according to specific dynamic parameters; for example, when the merchant device uploads the payment amount, the generated interactive logo may include a continuously flashing or flowing number, which reflects the value of the payment amount in real time to attract the user's attention and ensure that the user sees the latest payment information; dynamic parameters may include animation speed, color change, transparency adjustment, etc., to make the interactive logo more visually vivid, so as to provide a more intuitive payment experience; optionally, the interactive logo includes a dynamic interactive logo, and the dynamic interactive logo is displayed and updated according to the dynamic parameters.

[0038] It should be noted that the above-mentioned interactive logo may be located in a specific area of ​​the screen, such as the middle or bottom of the screen, so that users can easily see and perform interactive operations; after seeing this logo, the user knows that he needs to operate the logo to complete the payment. Based on this, the interactive logo not only conveys the payment amount, but also provides clear instructions for subsequent interactive actions, thereby realizing an interactive-based payment processing method.

[0039] Taking actual application as an example, when the user selects a product for payment, the server generates a dynamic interactive logo based on the total amount of the product that the user needs to pay input by the merchant device. The dynamic interactive logo displays the specific payment amount, such as "¥15.5", and this number can be updated in real time as the amount changes; the server sends the rendered interactive logo to the merchant device, and after receiving it, the merchant device clearly displays it on the screen, such as Figure 3 The interactive logo 301 is displayed in the interactive page of the interactive logo shown; wherein, the interactive logo can be configured with dynamic parameters, which can be dynamic position parameters for controlling position changes, or dynamic shape parameters for controlling shape changes, so as to attract the user's attention and prompt him to take the next step. The interactive logo can also include reminder words or icons such as "point here to pay" to prompt the user to participate in the interaction of the interactive logo.

[0040] Step S204: Render and display the interactive page based on the interactive identifier and the collected user image, and perform interactive action detection on the user image.

[0041] On the basis that the above-mentioned merchant device receives and displays the interactive logo carrying the payment amount rendered and sent by the server, in the process of collecting user interaction actions based on the interactive logo to trigger payment, it is necessary to collect user images and perform interactive action detection on the user images to determine whether the user has issued a pre-touch action for the interactive logo on the merchant device.

[0042] In this embodiment, in order to enable the user to intuitively perceive and participate in the interaction process with the merchant device for the interaction identifier, the interaction page is first rendered and displayed based on the interaction identifier and the collected user image to create a dynamic and interactive interaction page. The user can see the interaction identifier related to the payment amount on the interaction page and prepare to perform corresponding interaction actions, and then the user image is detected for interaction actions to identify whether the user has made an action matching the interaction identifier; of course, the user image interaction action detection can also be performed first, and then the corresponding interaction page is rendered and displayed according to the detection result, so as to ensure that the payment page is updated and displayed only after a valid interaction action is detected, thereby improving the efficiency and security of the payment process; therefore, the merchant device can first render and display the interaction page based on the interaction identifier and the collected user image, and then perform interaction action detection on the user image, or it can first perform interaction action detection on the user image, and then render and display the interaction page based on the interaction identifier and the collected user image.

[0043] Specifically, in an optional implementation manner provided by this embodiment, rendering and displaying an interactive page based on the interactive identifier and the collected user image includes:

[0044] Acquire an image stream acquired by an image acquisition component, and perform user feature segmentation on each image frame of the image stream;

[0045] The interactive page is rendered and displayed according to the interactive material, the interactive identifier and the user features obtained by segmentation.

[0046] Among them, image stream refers to the image sequence continuously collected by merchant equipment. The image stream not only provides real-time user interaction information, but also enhances the intuitiveness and security of the payment process. Users can intuitively see how their actions trigger payment, reducing the possibility of misoperation.

[0047] The above-mentioned interactive materials refer to elements on the interactive page that are used to guide or respond to user interactions. The interactive materials may be graphics, animations, texts or other visual elements for visual interaction with users. The interactive materials may also be brief instructions or reminders to guide users on how to make payments, such as “Please point your finger at the logo to make a payment”. In addition, the interactive materials may also be other directional materials in other shapes, such as finger icons or arrows.

[0048] In addition, in the process of rendering and displaying the interactive page based on the interactive identifier and the collected user image, the user image and the interactive identifier can be displayed through different layers on the basis of setting multiple layers, thereby realizing the integrated display of the user image and the interactive identifier. Specifically, in another optional implementation manner provided by this embodiment, the interactive page is rendered and displayed based on the interactive identifier and the collected user image, including:

[0049] Obtain the image stream collected by the image acquisition component, and display the image stream in the lower layer of the interactive page;

[0050] The interaction logo is displayed in a layer above the interaction page.

[0051] Specifically, the image acquisition component of the merchant device continuously acquires the image stream in the environment. The image stream contains the real-time dynamics of the user in the payment scenario. The interactive page displayed on the merchant device display is divided into two layers: a lower layer and an upper layer. The lower layer is used to display the image stream, that is, the real-time captured environmental picture, based on which the user can see himself and the surrounding environment; the upper layer is used to display the interactive logo generated by the server. This interactive logo usually contains the payment amount information, which can be numbers, text or dynamic graphics. The interactive logo is superimposed on the real-time image stream so that the user can see and understand the interactive actions that need to be performed.

[0052] In specific implementation, during the process of interactive action detection on the user image, interactive action detection is used to determine whether the user has made an action associated with the interactive identifier on the merchant device. If it is detected that the user action matches the triggering action of the interactive identifier, it indicates that the user has a preliminary payment intention and is about to perform a payment operation.

[0053] Interaction action detection refers to detecting whether the user action in the collected user image is a preset interaction action, such as detecting whether the user's gesture matches the preset interaction action of the interaction identifier. Through interaction action detection, it can be determined whether the user has the intention to pay, and the payment process can be initiated after a matching interaction action is detected.

[0054] In the specific execution process, after the interactive page rendering and display of the interactive identifier and the collected user image, the interactive action detection is performed on the user image. In an optional implementation manner provided by this embodiment, the interactive action detection on the user image includes:

[0055] Performing edge detection on the user image, and extracting user edge features from the edge detection result;

[0056] The user edge feature is detected based on the pre-configured interactive action edge feature, and if the detection passes, the user image is determined as the interactive action image.

[0057] Specifically, firstly, a user image is collected, and then edge detection is performed on the collected user image to extract the user's edge features, and the matching degree or similarity between the edge features and the pre-configured interactive action edge features is detected. If the matching degree or similarity between the edge features and the pre-configured interactive action edge features is greater than a threshold, it indicates that the edge features meet the preset interactive action edge features, and the image is determined to be an interactive action image; conversely, if the matching degree or similarity between the edge features and the pre-configured interactive action edge features is less than a threshold, it indicates that the user edge features do not match the pre-configured interactive action edge features, which may mean that the user has not performed the preset interactive action, or the interactive action performed by the user is unclear or incomplete. In this case, the image will not be used as an interactive action image, but subsequent image frames will continue to be waited for and detected until an image meeting the interactive action features is detected; if no valid interactive action image is detected for a long time, the user may be prompted to interact again, or the interactive process may be terminated under specific conditions to return to a normal display state.

[0058] For example, based on the display of interactive logos, the user can issue a pre-touch action for the displayed interactive logo, such as when the finger approaches the screen but does not touch it. The merchant's equipment detects the collected user image through image processing technology, extracts user features, and matches the extracted user features with preset features (such as the specific shape or outline of the finger approaching the screen). If the detection passes, that is, it is recognized that the user's gesture meets the preset interactive action, the current user image is determined as an interactive action image and sent to the server for subsequent operations.

[0059] In another optional implementation manner provided by this embodiment, performing interactive action detection on the user image includes:

[0060] Extracting user features from the collected user images, and performing action detection on the extracted user features;

[0061] If the detected user action is an interactive action, the collected user image is determined as the interactive action image.

[0062] In the user feature extraction process of this embodiment, the extracted user features may be image features of the user, such as image block parameters, depth of field parameters, etc.; or may be biological features of the user, such as facial features.

[0063] Specifically, the merchant device continuously collects the image stream of the user in the interactive environment, and extracts user-related features based on the image stream, including the user's body outline, gestures, etc., and performs action detection on the extracted user features to determine whether the user is performing specific interactive actions, such as pointing, nodding, etc.; if the detected user action matches the preset interactive action, the currently collected user image is determined as an interactive action image, which will be used for subsequent interaction trigger detection and payment processing; if the detected user action is not an interactive action, the image may not be sent to the server as an interactive action image, and therefore will not trigger payment processing.

[0064] It should be pointed out that the above-mentioned interactive action detection on the user image can be performed by the merchant device. In addition, the process of performing interactive action detection on the user image can also be performed by the server. In this case, step S204 can be replaced by: rendering and displaying the interactive page based on the interactive identifier and the collected user image, and sending the user image to the server, and forming a new implementation method with other processing steps provided in this embodiment; accordingly, the server receives the user image and performs interactive action detection on the user image. The interactive action detection on the user image performed by the server is similar to the interactive action detection on the user image performed by the above-mentioned merchant device. The specific implementation method of performing interactive action detection on the user image performed by the above-mentioned merchant device can be referred to, and this embodiment will not be repeated here.

[0065] Step S206: sending the detected interactive action image to the server to perform interactive trigger detection of interactive identification on the interactive action image to obtain a detection result.

[0066] After the above-mentioned detection of the interactive action image, the detected interactive action image is sent to the server so that the server performs an interactive trigger detection of the interactive identification on the interactive action image to obtain a detection result. That is, the above-mentioned interactive action detection is performed on the user image, and the interactive action detection is used to determine whether the user has made an interactive action associated with the interactive identification during the payment processing. If it is detected that the user action matches the preset interactive action of the interactive identification, it indicates that the user has a preliminary payment intention. In this step, the detected interactive action image is sent to the server to perform an interactive trigger detection of the interactive identification on the interactive action image to obtain a detection result.

[0067] During the specific execution process, the server first generates an interactive identifier carrying the payment amount according to the payment amount uploaded by the merchant device and sends it to the merchant device, so as to render and display the interactive page based on the interactive identifier and the collected user image, and perform interactive action detection on the user image. Then, the server receives the interactive action image obtained by the interactive action detection sent by the merchant device, and performs interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result. Specifically, in the interactive trigger detection process, it is first detected whether the user has a payment intention. Based on the existence of the payment intention, it is detected whether the user has issued a valid pre-touch action, so as to avoid erroneous payment by users who have no payment intention. Based on the payment intention detection, it is further detected whether the user has issued a pre-touch action of the interactive identifier, so as to more accurately and comprehensively determine the action issued by the user for the displayed interactive identifier, that is, the confirmation action issued for the payment, so as to ensure the accuracy and security of the payment operation.

[0068] In an optional implementation manner provided by this embodiment, the server performs interaction trigger detection of the interaction mark on the interaction action image to obtain the detection result, which is specifically implemented in the following manner:

[0069] (1) performing interaction intention recognition on the interaction action image to obtain the interaction intention;

[0070] The merchant device analyzes the interactive action image to identify the user's interactive intention. If the identified interactive intention is a payment intention, the next step is performed. In this embodiment, the interactive intention includes payment intention and non-payment intention. The payment intention is the intention to perform a payment operation, and the non-payment intention is the intention not to perform a payment operation.

[0071] In the process of identifying the interaction intention of the interaction action image, in order to more accurately identify the user's willingness to pay and further improve the accuracy and effectiveness of payment, in an optional implementation provided by this embodiment, the interaction intention is identified on the interaction action image to obtain the interaction intention, including:

[0072] Identifying an action type of an interactive action included in the interactive action image;

[0073] detecting whether the action type matches the trigger type of the interaction identifier, and if so, determining that the interaction intention is a payment intention;

[0074] If not, it is determined that the interaction intention is not a payment intention.

[0075] In the specific execution process, after acquiring the interactive action image, the server identifies the interactive action contained in the interactive action image to perform interactive intent recognition and obtain the interactive intent. Specifically, the server first identifies the action type of the interactive action contained in the interactive action image, and then detects whether the action type matches the trigger type of the interactive identifier. If it matches, the user's interactive intent is determined to be a payment intention. If it does not match, the user's interactive intent is determined to be a non-payment intention. In this way, by identifying the interactive intent, the user's interactive intent is accurately obtained to avoid false triggering and subsequent payment resulting in user resource loss. Optionally, if the obtained interactive intent is a non-payment intention, the interactive action can be ignored, that is, no processing is required, or according to the specific application scenario, an error prompt is sent to the merchant device to remind the user to perform the correct interactive action, and the next interactive action image may also be waited for.

[0076] For example, if the action type in the interactive action image is identified as the user's finger approaching the interactive identifier, and the trigger type of the interactive identifier is the finger approaching the identifier type, then the action type of the user's finger approaching the interactive identifier is matched with the finger approaching the identifier type. If the identified action type matches the trigger type, then it is determined that the user's interaction intention is a payment intention.

[0077] In addition, in the process of performing interaction intention recognition on the interaction action image to obtain the interaction intention, the interaction intention recognition can also be performed on the interaction action image through an interaction intention recognition algorithm or an interaction intention recognition model.

[0078] (2) If the interaction intention is a payment intention, perform action parameter detection on the interaction action image to obtain the detection result.

[0079] The action parameter detection refers to analyzing and comparing the characteristic parameters of the user's action during the interaction process to determine whether the action meets specific conditions or complies with preset trigger rules. These action parameters may include but are not limited to distance, speed, angle, duration, etc., to identify whether the user has performed effective interaction.

[0080] In an optional implementation manner provided by this embodiment, performing action parameter detection on the interactive action image to obtain the detection result includes:

[0081] Calculating an interactive action distance based on an action feature of the interactive action in the interactive action image;

[0082] Detecting whether the interaction action distance is within the touch distance interval of the interaction identifier;

[0083] If yes, the interaction action is determined as a pre-touch action of the interaction identifier.

[0084] In addition, if it is determined that the interactive action image does not include the pre-touch action of the interactive identifier, an interactive action detection instruction is sent to the merchant device to perform user image acquisition and interactive action detection.

[0085] During the specific execution process, when the server performs interaction intention recognition on the interaction action image and obtains that the interaction intention is a payment intention, the server calculates the distance between the interaction action and the interaction identifier based on the action features of the interaction action in the interaction action image. If the calculated interaction action distance is within the predefined distance touch interval, it is considered that the user is trying to touch or approach the touch interaction identifier, and the interaction action is recognized as a pre-touch action of the interaction identifier; if the interaction action distance is not within the touch distance interval, an interaction action detection instruction is sent to the merchant device to perform user image acquisition and interaction action detection: the merchant device re-acquires the user image and performs interaction action detection on the user image, such as waiting for the user to adjust the hand position before performing interaction action detection and sending the interaction action image to the server, and the server performs interaction intention recognition and interaction action distance calculation until the interaction action distance of the interaction action image enters the touch distance interval;

[0086] In order to improve the efficiency of collecting interactive actions, merchant devices may also display prompts to users, guiding them to adjust their hand positions so that they can pre-touch interactive signs more accurately. In addition, if the distance mismatch of interactive actions is detected multiple times in a row, an error handling mechanism may be triggered, such as pausing the payment process, requiring the user to start over, or displaying an error message.

[0087] Among them, the touch distance interval refers to the preset safety distance between the interactive action performed by the user and the interactive mark during the interactive action detection process. This distance interval can be pre-set to ensure that the user's action can be correctly identified as a touch intention to the interactive mark when performing payment or other interactive operations. If the user's action distance falls within this interval, it can be considered that the user is performing a pre-touch action, thereby triggering the corresponding interaction or payment process; the touch distance interval can be a fixed distance interval, that is, a fixed distance range is set, and all interactive marks use the same touch distance interval; the touch distance interval can also be an adaptive distance interval, that is, it is dynamically adjusted according to the size or position of the interactive mark to ensure that users can interact conveniently in different scenarios; the touch distance interval can also be a user-configured distance interval, that is, the user can set the touch distance interval according to personal habits or device characteristics to improve the comfort and accuracy of the interaction.

[0088] The pre-touch action refers to a specific action made by the user during the interaction process that is intended to trigger the interactive mark, but the actual touch has not yet occurred. The pre-touch action is a kind of floating touch or air touch. It is the behavior of the user during the payment process, such as approaching or pointing to the interactive mark showing the payment amount. The pre-touch action includes but is not limited to gestures, head movements, etc., to trigger a specific interactive response; Figure 4 In the interactive page of the interactive process shown, the user points to the interactive marker in the air. If it is detected that the distance of the interactive action is within the pre-touch distance interval of the interactive marker, the interactive action is determined as the pre-touch action of the interactive marker, so as to perform subsequent operations.

[0089] In addition, in another optional implementation manner provided by this embodiment, the action parameter detection is performed on the interactive action image to obtain the detection result, which can also be implemented in the following manner:

[0090] determining an interactive action area based on action features of the interactive action in the interactive action image;

[0091] Detecting whether the area overlap between the interactive action area and the touch area corresponding to the interactive identifier is greater than an overlap threshold;

[0092] If yes, the interaction action is determined as a pre-touch action of the interaction identifier.

[0093] In addition, if it is determined that the interactive action image does not include the pre-touch action of the interactive identifier, an interactive action detection instruction is sent to the merchant device to perform user image acquisition and interactive action detection.

[0094] Among them, if the overlap between the interactive action area and the touch area corresponding to the interactive identifier is less than or equal to the overlap threshold, it may mean that the user's action is not accurate enough or does not clearly point to the interactive identifier. At this time, the interactive action can be ignored and not regarded as a valid payment trigger, that is, no processing is done, or the user can be asked to re-execute the action to improve the accuracy of recognition.

[0095] The overlap threshold is a parameter used to determine whether an interactive action triggers an interactive identifier. The overlap threshold is a pre-set value used to measure the degree of overlap between the interactive action area and the touch area corresponding to the interactive identifier. When the overlapping part of the interactive action area and the touch area reaches or exceeds this threshold, it is considered that the interactive action performed by the user is for the interactive identifier, thereby triggering the corresponding interaction or payment operation.

[0096] Among them, the overlap threshold can be a fixed threshold, that is, a fixed value is set in advance as a unified standard for judging all interactive actions; in addition, the overlap threshold can be a dynamic threshold, that is, it is dynamically adjusted according to the size, shape or position of the interactive mark to ensure the recognition accuracy of user actions; the overlap threshold can also be a graded threshold, that is, different levels of thresholds are set according to different interactive actions or scenarios. For example, a higher overlap may be required for interactive marks in a small range, while a lower threshold can be set for interactive marks in a large range; the overlap threshold can also be a user-defined threshold, that is, the user is allowed to set the overlap threshold for triggering interaction according to personal habits or comfort.

[0097] For example, the degree of overlap between the user's finger area (interactive action area) and the digital bubble (touch area corresponding to the interactive identifier) ​​in the interactive action image is 80%, and the overlap threshold is 70%. If 80% is greater than 70%, then the interactive action in the interactive action image is determined as a pre-touch action of the digital bubble.

[0098] In addition, in the process of performing action parameter detection on the interactive action image to obtain the detection result, the action parameter detection on the interactive action image may also be performed by using an action parameter detection algorithm or an action parameter detection model.

[0099] In the above process, the action parameter detection can be an interactive action distance detection, that is, detecting the distance between the user's finger and the interactive mark. For example, the preset touch distance interval is 20 cm to 50 cm. When it is detected that the user's finger is within this range from the mark, it is considered that the user is performing a pre-touch action, that is, triggering payment; it can also be an action overlap detection, that is, detecting whether the area overlap between the interactive action area and the touch area is greater than the overlap threshold. If so, the interactive action is determined to be a pre-touch action of the interactive mark; in addition, the action parameter detection can also be an action time detection, that is, detecting the time the user's finger stays near the interactive mark (the stay time can be determined based on at least one continuous interactive action image), that is, detecting the stop time of the interactive action at the interactive mark. Whether the retention time is greater than the time threshold, if so, the interaction action is determined to be a pre-touch action; for example, if the user stays near the interaction mark for a certain period of time (such as 3 seconds), the interaction action can be determined as a pre-touch action; in addition, action parameter detection can also be speed detection, that is, detecting whether the duration of the interaction action is greater than the duration threshold (the duration of the action can also be determined by at least one continuous interaction action image), if so, the interaction action is determined to be a pre-touch action; for example, if the user's finger approaches the mark quickly, it can be considered that this is a false touch, and if the speed is moderate, it can be considered that the user intentionally triggers payment; through action parameter detection, the accuracy and security of payment triggering can be ensured, misoperation and unintentional triggering can be prevented, and the user experience and payment reliability are improved.

[0100] The above-mentioned method specifically describes the process of obtaining the detection result by interactive trigger detection of interactively identifying the interactive action image, in which the server first identifies the interactive intention of the interactive action image, obtains the interactive intention, and then detects the action parameters of the interactive action image when the interactive intention is a payment intention.

[0101] In addition to the above-mentioned method of first identifying the interaction intention and performing action parameter detection to obtain the detection result when the interaction intention is a payment intention, another optional implementation manner provided by this embodiment is to perform interaction trigger detection of the interaction identification on the interaction action image to obtain the detection result, including:

[0102] Action recognition is performed on the interactive action image, and action parameter detection is performed on the interactive action obtained by recognition to obtain the detection result.

[0103] Specifically, action recognition is first performed on the interactive action image to obtain the interactive action performed by the user in the interactive action image, and further action parameter detection is performed. Based on the results of action recognition and action parameter detection, it is determined whether the user has performed a pre-touch action that matches the interactive identifier. If the recognized interactive action meets the trigger condition of the preset interactive identifier, the interactive action is determined as the pre-touch action of the interactive identifier.

[0104] In an optional implementation manner provided by this embodiment, performing action parameter detection on the interactive action obtained by action recognition includes:

[0105] Identifying an interactive action included in the interactive action image, and detecting whether the interactive action matches a triggering action of the interactive identifier;

[0106] If yes, determining the interaction action as a pre-touch action of the interaction identifier;

[0107] In addition, if it is determined that the interactive action image does not include the pre-touch action of the interactive identifier, an interactive action detection instruction is sent to the merchant device to perform user image acquisition and interactive action detection.

[0108] During the specific execution process, action recognition is first performed on the received interactive action image to identify the interactive action contained therein, and then it is detected whether the identified interactive action matches the trigger action defined by the interactive identifier. If it matches, it means that the interactive action performed by the user meets the pre-touch requirements of payment, and the interactive action is determined to be a pre-touch action, thereby triggering payment processing; if the interactive action does not match the trigger action of the interactive identifier, the interactive action will not be regarded as a pre-touch action, and the payment processing will not be started. The merchant device can continue to detect the user image, wait for the user to perform the correct interactive action to obtain the interactive action image and send it to the server, or send a prompt to the user, indicating that the user needs to perform the correct interactive action to trigger payment.

[0109] In a specific implementation, after the server performs an interactive trigger detection of an interactive mark on the interactive action image to obtain a detection result, in order to improve the user's perception of payment, the server sends a touch response animation to the merchant device when the detection result obtained by the interactive trigger detection includes a pre-touch action of the interactive mark, so that the user can perceive the payment processing of the server through the touch response animation displayed by the merchant device; specifically, in an optional implementation manner provided by this embodiment, after sending the detected interactive action image to the server to perform an interactive trigger detection of an interactive mark on the interactive action image to obtain a detection result, it includes:

[0110] A touch response animation corresponding to the pre-touch action of the interaction identifier sent by the server is received and displayed.

[0111] During the specific implementation process, the user sees the interactive logo carrying the payment amount on the merchant's device and is ready to make payment. The user's finger approaches but does not touch the screen. The merchant's device collects the interactive action image containing this interactive action and sends it to the server. After receiving the interactive action image, the server performs an interactive trigger detection on the interactive action image for the interactive logo, that is, based on the interactive action image, detects whether the user has performed the pre-touch action of the interactive logo. If it is detected that the interactive action image contains the pre-touch action, a touch response animation is generated and returned to the merchant's device. After receiving the pre-touch response animation, the merchant's device displays it on the interactive page, so that the user perceives that the payment intention has been recognized based on the touch response animation. Accordingly, the server performs subsequent payment processing.

[0112] The touch response animation refers to a dynamic visual effect displayed to confirm the user's interaction intention and provide feedback after the user performs a pre-touch action with the interactive mark. The touch response animation can appear on the interactive mark or around the interactive mark to indicate that the user's interaction action has been detected and the corresponding operation is ready to be performed; for example, when the user's finger approaches the interactive mark (such as a virtual button showing the payment amount), an enlarged, highlighted or slightly displaced animation effect may appear on the screen to feedback that the user's approaching action has been recognized and prompt the user to trigger the payment process. The touch response animation can be a dynamic highlight, such as the color of the interactive mark becomes brighter to show that it is selected; the touch response animation can be a magnification effect, such as when the user's finger approaches, the interactive mark will be enlarged to highlight its importance; the touch response animation can also be displacement feedback, such as the interactive mark moves in the direction of the user's finger movement to increase the fun of the interaction.

[0113] In order to enhance the user's perception of the user key image block in the interactive action image, that is, the paying user, and avoid collecting the pre-touch action of the non-paying user and then making payment based on the account of the non-paying user, which causes resource loss to the non-paying user, after sending the touch response animation corresponding to the pre-touch action to the merchant device, the server can also obtain a fusion identifier by fusing the user key image block obtained by segmenting the interactive action image into the user key image block with the interactive identifier, and send the fusion identifier to the merchant device; in an optional implementation manner provided by this embodiment, after the merchant device receives and displays the touch response animation corresponding to the pre-touch action of the interactive identifier sent by the server, it also includes:

[0114] Receiving and displaying the interactive page including the fusion logo and payment prompt rendered and sent by the server;

[0115] Optionally, the fusion identifier is obtained by fusing a user key image block obtained by segmenting the interactive action image into user key image blocks with the interaction identifier.

[0116] The user key image block may be an image block of user features, such as an image block of user facial features. The fusion mark is a special mark generated by combining the user key image block in the interactive action image with the interactive mark to confirm the role of the user's interactive action and interactive intention, while increasing the visual feedback and security of the payment process.

[0117] For example, the server identifies the facial features of the user in the interactive action image as the user key image block, and then fuses the user key image block with the interactive mark of the payment amount to generate a fusion mark, forming a visual confirmation effect, such as Figure 5The payment process page shown in the figure shows a fusion mark 501 which is obtained by fusion processing based on the user's facial feature image block and the interaction mark of the payment amount.

[0118] It should be noted that the fused logo can be of image overlay type, that is, the user key image block is directly superimposed on the interactive logo to form a partial or complete overlapping visual effect; the fused logo can also be of edge highlight type, that is, the edge of the interactive action image is highlighted and combined with the interactive logo to emphasize the user's interactive action; in addition, the fused logo can also be of dynamic feedback type, and the fused logo may contain dynamic elements, such as dynamic fusion animation of the hand and the logo, to show that the payment process is in progress.

[0119] In addition, during specific implementation, the fusion logo can also be generated by the merchant device. Specifically, in another optional implementation of this embodiment, the server sends the detected interactive action image to the server to perform interactive trigger detection of the interactive logo on the interactive action image to obtain a detection result, and after receiving and displaying the touch response animation corresponding to the pre-touch action of the interactive logo sent by the server, it also includes:

[0120] Segmenting the user image collected after sending the interactive action image into user key image blocks, and fusing the user key image blocks obtained by segmentation with the interactive identifier to obtain a fused identifier;

[0121] An interactive page including the fusion logo and payment prompt is rendered and displayed.

[0122] During the specific execution process, the user sees the interactive logo on the merchant device and makes a payment confirmation action. For example, when the finger approaches the interactive logo, the merchant device detects the interactive action image and sends it to the server. The user image collected after sending the interactive action image is segmented by an image segmentation algorithm to obtain the user's finger image block, and the finger image block is merged with the interactive logo. For example, the user's finger may "cover" the interactive logo to form a dynamic payment logo that integrates user features. The merchant device renders the fusion logo and the payment prompt (such as "paying") together on the interactive page and displays it to the user, providing real-time payment status feedback. Through this process, the interactivity and user experience of the payment process are improved. The user can intuitively see the relationship between his or her actions and the payment process, while also reducing the possibility of misunderstanding and misoperation. It should be noted that the user features represented by the user key image block can be facial features, finger features, etc., or features of other dimensions in the interactive action image, which are not limited in this embodiment.

[0123] For example, in an actual shopping scenario, after a user has shopped in a store and is preparing to pay, when the user's finger approaches the logo, the image acquisition component of the merchant's device captures the interactive action image and segments the interactive action image into user key image blocks to obtain the finger image blocks, which are then merged with the digital logo to form a dynamic effect, such as the finger "touching" the number and a "payment in progress" prompt is displayed on the screen. When the user sees this feedback, he knows that the payment operation is in progress and he only needs to wait for it to be completed.

[0124] It should be noted that in the present embodiment, after the server obtains the detection result by performing an interactive trigger detection on the interactive action image and performing an interactive identification, if the detection result is that the interactive action image contains a pre-touch action of the interactive identification, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device. In this way, the immediacy and interactivity of the payment process are increased, and the user's payment experience is improved. At the same time, the operation that payment will be triggered only when the user's action meets specific preset interaction rules also ensures the security of payment, improves the user's payment experience, and increases the fun of interaction.

[0125] Step S208, receiving the payment result obtained by the payment processing sent by the server.

[0126] The above-mentioned merchant device sends the interactive action image to the server, the server performs an interactive trigger detection of the interactive identification on the interactive action image to obtain a detection result, and sends the payment result of the payment processing to the merchant device according to the detection result, and the merchant device receives the payment result obtained by the payment processing sent by the server; optionally, the payment processing is performed when the detection result is that the interactive action image contains a pre-touch action of the interactive identification.

[0127] For example, the payment result obtained by the payment processing sent by the server is as follows Figure 6 As shown, the page displays the identifier obtained by integrating the user's avatar and the interaction identifier, relevant information about the payment result, and benefit recommendation information.

[0128] In summary, the one or more interactive payment processing methods provided in this embodiment, during the interactive payment process, receive the interactive identifier with the payment amount rendered and sent by the server, generate and display the interactive page according to the received interactive identifier and the collected user image, detect the interactive action in the user image, send the detected interactive action image to the server, the server performs interactive trigger detection based on the interactive action image, if the detected interactive action image contains a pre-touch action, that is, the user's interactive action matches the interactive identifier, then perform payment processing, generate a payment result and send it to the merchant device, the merchant device receives and displays the payment result sent by the server, which improves the convenience of payment and user experience, while also ensuring the security of payment and reducing the possibility of misoperation;

[0129] During the interaction trigger detection process, the server first confirms whether the user has the intention to pay through interaction intention recognition. If so, action parameter detection is performed. If the detection result obtained by the action parameter detection is that the interaction action image contains a pre-touch action, payment processing is performed to ensure that the interaction action meets the preset payment conditions, thereby improving the security and accuracy of the payment process and reducing the possibility of misoperation.

[0130] The implementation process of the first interactive payment processing method provided above can be executed by a merchant device, and the implementation process of the second interactive payment processing method provided in the following method embodiment can be executed by a server. The two can cooperate with each other during the execution process. Therefore, when reading the above implementation process, you can refer to the corresponding content of the following second interactive payment processing method embodiment. Correspondingly, when reading the following second interactive payment processing method embodiment, you can also refer to the corresponding content of the above method embodiment.

[0131] The following takes the application of an interactive payment processing method provided by this embodiment in a merchant payment scenario as an example to further illustrate the interactive payment processing method provided by this embodiment. Figure 7 , specifically including the following steps.

[0132] Step S702: Create a product order based on the input payment amount.

[0133] Step S704, upload the payment amount to the server.

[0134] Step S708, receiving and displaying the interaction identifier carrying the payment amount sent by the server.

[0135] Step S710, acquiring an image stream acquired by an image acquisition component, and performing user feature segmentation on each image frame of the image stream.

[0136] Step S712: Render and display the interactive page based on the interactive identifier and the user features obtained by segmentation.

[0137] Step S714: perform edge detection on the user image and extract user edge features from the edge detection result.

[0138] Step S716: Detect the user edge feature based on the pre-configured interactive action edge feature, and determine the user image that passes the detection as an interactive action image.

[0139] Step S718: sending the detected interactive action image to the server.

[0140] Step S728: receiving and displaying the touch response animation corresponding to the pre-touch action of the interaction identifier sent by the server.

[0141] Step S734, receiving and displaying the interactive page including the fusion logo and payment prompt rendered and sent by the server.

[0142] Step S740, receiving the payment result obtained by the payment processing sent by the server.

[0143] The above steps S702 to S704, steps S708 to S718, step S728, step S734 and step S740 provided in this embodiment are performed by the merchant device. It should be noted that the above steps S702 to S704, steps S708 to S718, step S728, step S734 and step S740 performed by the merchant device are different from steps S706, steps S720 to S726, steps 730 to S734 performed by the server in the following embodiment. 2 and steps S736 to S738 can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of step S706, step S720 to step S726, step 730 to step S732 and step S736 to step S738 provided in the following method embodiment. When reading the following method embodiment, please refer to the corresponding contents of step S702 to step S704, step S708 to step S718, step S728, step S734 and step S740 provided in this embodiment.

[0144] It should be noted that any one of steps S702 to S740 or any combination of multiple steps can be replaced by the corresponding technical means provided in the above steps S202 to S208 according to the needs of implementation and deployment, and will not be described one by one here.

[0145] One or more embodiments of the second interactive payment processing method provided in this specification are as follows:

[0146] Reference Figure 8 The interactive payment processing method provided in this embodiment can be applied to a server, and specifically includes steps S802 to S806.

[0147] Step S802: Generate an interaction identifier carrying the payment amount according to the payment amount uploaded by the merchant and send it to the merchant's device.

[0148] In actual applications, when a user is placing an order for a transaction with a merchant, the merchant staff can enter the amount to be collected on the cash register to place the transaction order, and can also create a product order by scanning the product identification of the product to be traded, thereby placing an order for the product transaction; accordingly, in the process of payment processing based on the transaction order through the merchant device, the merchant staff can enter a payment instruction through the cash register on the basis of the input amount to collect, and initiate payment for the transaction order based on the input payment instruction; in addition, in the process of payment processing based on the transaction order through the merchant device, the merchant staff can also enter a payment instruction on the basis of automatically creating a product order by scanning the product identification, and initiate payment for the transaction order based on the input payment instruction.

[0149] During the specific implementation process, for the payment initiated above, upon detecting the initiated payment, the merchant device uploads the payment amount to the server, the server receives the payment amount, and generates an interactive identifier carrying the payment amount based on the payment amount, so as to be used for payment processing using the "remote interaction" method based on the interactive identifier; in addition, for the payment initiated above, the cash register device can also upload the payment amount to the server, the server receives the payment amount, and generates an interactive identifier carrying the payment amount based on the payment amount.

[0150] In this embodiment, the interactive identifier refers to an identifier used for remote interaction on the merchant device. The interactive identifier is presented based on the payment amount uploaded by the merchant device in combination with specific interactive materials. The interactive identifier is an identifier that cannot be triggered by a screen touch event of the merchant device. In addition, the interactive identifier can also be presented based on the payment amount uploaded by the merchant device in combination with specific interactive materials and related payment reminder words to provide clear instructions for subsequent interactive actions, thereby realizing an interactive payment processing method; optionally, the interactive identifier is generated based on the payment amount uploaded by the merchant. The interactive identifier carries the payment amount and can be used to interact with the user to trigger the payment process.

[0151] Specifically, the interactive logo can be a dynamic logo or a static logo; in the dynamic case, the interactive logo can be expressed as a dynamically changing visual element, which can be displayed and updated according to specific dynamic parameters; for example, when the merchant device uploads the payment amount, the generated interactive logo may include a continuously flashing or flowing number, which reflects the value of the payment amount in real time to attract the user's attention and ensure that the user sees the latest payment information; dynamic parameters may include animation speed, color change, transparency adjustment, etc., to make the interactive logo more visually vivid, so as to provide a more intuitive payment experience; optionally, the interactive logo includes a dynamic interactive logo, and the dynamic interactive logo is displayed and updated according to the dynamic parameters.

[0152] It should be noted that the above-mentioned interactive logo may be located in a specific area of ​​the screen, such as the middle or bottom of the screen, so that users can easily see and perform interactive operations; after seeing this logo, the user knows that he needs to operate the logo to complete the payment. Based on this, the interactive logo not only conveys the payment amount, but also provides clear instructions for subsequent interactive actions, thereby realizing an interactive-based payment processing method.

[0153] Taking actual application as an example, when the user selects a product and makes payment, the server generates a dynamic interactive logo based on the total amount of the product that the user needs to pay entered by the merchant device. The dynamic interactive logo displays the specific payment amount, such as "¥15.5", and this number can be updated as the amount changes; the server sends the rendered interactive logo to the merchant device, and after receiving it, the merchant device clearly displays it on the screen.

[0154] In the specific execution process, after receiving the payment amount uploaded by the merchant device, an interaction identifier carrying the payment amount is generated and sent to the merchant device. The merchant device receives and displays the sent interaction identifier carrying the payment amount, and in the process of collecting the user interaction action based on the interaction identifier to trigger the payment, the user image is collected, and the interaction action detection is performed on the user image. Specifically, in an optional implementation manner provided in this embodiment, the interaction action detection is implemented in the following manner:

[0155] Perform edge detection on the collected user image and extract user edge features from the edge detection results;

[0156] The user edge feature is detected based on the pre-configured interactive action edge feature, and if the detection passes, the user image is determined as the interactive action image.

[0157] Specifically, firstly, a user image is collected, and then edge detection is performed on the collected user image to extract the user's edge features, and the matching degree or similarity between the edge features and the pre-configured interactive action edge features is detected. If the matching degree or similarity between the edge features and the pre-configured interactive action edge features is greater than a threshold, it indicates that the edge features meet the preset interactive action edge features, and the image is determined to be an interactive action image; conversely, if the matching degree or similarity between the edge features and the pre-configured interactive action edge features is less than a threshold, it indicates that the user edge features do not match the pre-configured interactive action edge features, which may mean that the user has not performed the preset interactive action, or the interactive action performed by the user is unclear or incomplete. In this case, the image will not be used as an interactive action image, but subsequent image frames will continue to be waited for and detected until an image meeting the interactive action features is detected; if no valid interactive action image is detected for a long time, the user may be prompted to interact again, or the interactive process may be terminated under specific conditions to return to a normal display state.

[0158] Step S804: receiving an interactive action image sent by the merchant device after performing interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result.

[0159] After the interactive action image is detected, the interactive action image sent by the merchant device after interactive action detection is received, so as to perform interactive trigger detection of the interactive action image with an interactive identifier to obtain a detection result; in the specific execution process, firstly, an interactive identifier carrying the payment amount is generated according to the payment amount uploaded by the merchant device and sent to the merchant device, and then the interactive action image obtained by the interactive action detection sent by the merchant device is received, and the interactive trigger detection of the interactive identifier is performed on the interactive action image to obtain a detection result; specifically, in the interactive trigger detection process, firstly, it is detected whether the user has a payment intention, and on the basis of the existence of the payment intention, it is detected whether the user has issued a valid pre-touch action, so as to avoid erroneous payment by users who have no payment intention; on the basis of the payment intention detection, it is further detected whether the user has issued a pre-touch action of the interactive identifier, so as to more accurately and comprehensively determine the action issued by the user for the displayed interactive identifier, that is, the confirmation action issued for the payment, so as to ensure the accuracy and security of the payment operation.

[0160] Specifically, in an optional implementation manner provided by this embodiment, the server performs interaction trigger detection of the interaction mark on the interaction action image to obtain the detection result, which is specifically implemented in the following manner:

[0161] (1) performing interaction intention recognition on the interaction action image to obtain the interaction intention;

[0162] The merchant device analyzes the interactive action image to identify the user's interactive intention. If the identified interactive intention is a payment intention, the next step is performed. In this embodiment, the interactive intention includes payment intention and non-payment intention. The payment intention is the intention to perform a payment operation, and the non-payment intention is the intention not to perform a payment operation.

[0163] In the process of identifying the interaction intention of the interaction action image, in order to more accurately identify the user's willingness to pay and further improve the accuracy and effectiveness of payment, in an optional implementation provided by this embodiment, the interaction intention is identified on the interaction action image to obtain the interaction intention, including:

[0164] Identifying an action type of an interactive action included in the interactive action image;

[0165] detecting whether the action type matches the trigger type of the interaction identifier, and if so, determining that the interaction intention is a payment intention;

[0166] If not, it is determined that the interaction intention is not a payment intention.

[0167] In the specific execution process, after acquiring the interactive action image, the server identifies the interactive action contained in the interactive action image to perform interactive intent recognition and obtain the interactive intent. Specifically, first identify the action type of the interactive action contained in the interactive action image, and then detect whether the action type matches the trigger type of the interactive identifier. If it matches, the user's interactive intent is determined to be a payment intention. If it does not match, the user's interactive intent is determined to be a non-payment intention. In this way, by identifying the interactive intent, the user's interactive intent is accurately obtained to avoid false triggering and payment resulting in user resource loss. Optionally, if the obtained interactive intent is a non-payment intention, the interactive action can be ignored, that is, no processing is required, or according to the specific application scenario, an error prompt is sent to the merchant device to remind the user to perform the correct interactive action, and the next interactive action image may also be waited for.

[0168] For example, if the action type in the interactive action image is identified as the user's finger approaching the interactive identifier, and the trigger type of the interactive identifier is the finger approaching the identifier type, then the action type of the user's finger approaching the interactive identifier is matched with the finger approaching the identifier type. If the identified action type matches the trigger type, then it is determined that the user's interaction intention is a payment intention.

[0169] (2) If the interaction intention is a payment intention, perform action parameter detection on the interaction action image to obtain the detection result.

[0170] The action parameter detection refers to analyzing and comparing the characteristic parameters of the user's action during the interaction process to determine whether the action meets specific conditions or complies with preset trigger rules. These action parameters may include but are not limited to distance, speed, angle, duration, etc., to identify whether the user has performed effective interaction.

[0171] In an optional implementation manner provided by this embodiment, performing action parameter detection on the interactive action image to obtain the detection result includes:

[0172] Calculating an interactive action distance based on an action feature of the interactive action in the interactive action image;

[0173] Detecting whether the interaction action distance is within the touch distance interval of the interaction identifier;

[0174] If yes, the interaction action is determined as a pre-touch action of the interaction identifier.

[0175] In addition, if it is determined that the interactive action image does not include the pre-touch action of the interactive identifier, an interactive action detection instruction is sent to the merchant device to perform user image acquisition and interactive action detection.

[0176] During the specific execution process, when the server performs interaction intention recognition on the interaction action image and obtains that the interaction intention is a payment intention, the server calculates the distance between the interaction action and the interaction identifier based on the action features of the interaction action in the interaction action image. If the calculated interaction action distance is within the predefined distance touch interval, it is considered that the user is trying to touch or approach the touch interaction identifier, and the interaction action is recognized as a pre-touch action of the interaction identifier; if the interaction action distance is not within the touch distance interval, an interaction action detection instruction is sent to the merchant device to perform user image acquisition and interaction action detection: the merchant device re-collects the user image to perform interaction action detection, such as waiting for the user to adjust the hand position before performing interaction action detection and sending the interaction action image to the server, and the server performs interaction intention recognition and interaction action distance calculation until the interaction action distance of the interaction action image enters the touch distance interval;

[0177] In order to improve the efficiency of collecting interactive actions, merchant devices may also display prompts to users, guiding them to adjust their hand positions so that they can pre-touch interactive signs more accurately. In addition, if the distance mismatch of interactive actions is detected multiple times in a row, an error handling mechanism may be triggered, such as pausing the payment process, requiring the user to start over, or displaying an error message.

[0178] Among them, the touch distance interval refers to the preset safety distance between the interactive action performed by the user and the interactive mark during the interactive action detection process. This distance interval can be pre-set to ensure that the user's action can be correctly identified as a touch intention to the interactive mark when performing payment or other interactive operations. If the user's action distance falls within this interval, it can be considered that the user is performing a pre-touch action, thereby triggering the corresponding interaction or payment process; the touch distance interval can be a fixed distance interval, that is, a fixed distance range is set, and all interactive marks use the same touch distance interval; the touch distance interval can also be an adaptive distance interval, that is, it is dynamically adjusted according to the size or position of the interactive mark to ensure that users can interact conveniently in different scenarios; the touch distance interval can also be a user-configurable distance interval, that is, the user can set the touch distance interval according to personal habits or device characteristics to improve the comfort and accuracy of the interaction.

[0179] The pre-touch action refers to a specific action made by the user during the interaction process that is intended to trigger the interaction mark, but the actual touch has not yet occurred. The pre-touch action is a kind of floating touch or air touch. It is the behavior of the user during the payment process, such as approaching or pointing to the interaction mark displaying the payment amount. The pre-touch action includes but is not limited to gestures, head movements, etc., to trigger a specific interaction response.

[0180] In addition, in another optional implementation manner provided by this embodiment, the action parameter detection is performed on the interactive action image to obtain the detection result, which can also be implemented in the following manner:

[0181] determining an interactive action area based on action features of the interactive action in the interactive action image;

[0182] Detecting whether the area overlap between the interactive action area and the touch area corresponding to the interactive identifier is greater than an overlap threshold;

[0183] If yes, the interaction action is determined as a pre-touch action of the interaction identifier.

[0184] In addition, if it is determined that the interactive action image does not include the pre-touch action of the interactive identifier, an interactive action detection instruction is sent to the merchant device to perform user image acquisition and interactive action detection.

[0185] Among them, if the overlap between the interactive action area and the touch area corresponding to the interactive identifier is less than or equal to the overlap threshold, it may mean that the user's action is not accurate enough or does not clearly point to the interactive identifier. At this time, the interactive action can be ignored and not regarded as a valid payment trigger, that is, no processing is done, or the user can be asked to re-execute the action to improve the accuracy of recognition.

[0186] The overlap threshold is a parameter used to determine whether an interactive action triggers an interactive identifier. The overlap threshold is a pre-set value used to measure the degree of overlap between the interactive action area and the touch area corresponding to the interactive identifier. When the overlapping part of the interactive action area and the touch area reaches or exceeds this threshold, it is considered that the interactive action performed by the user is for the interactive identifier, thereby triggering the corresponding interaction or payment operation.

[0187] Among them, the overlap threshold can be a fixed threshold, that is, a fixed value is set in advance as a unified standard for judging all interactive actions; in addition, the overlap threshold can be a dynamic threshold, that is, it is dynamically adjusted according to the size, shape or position of the interactive mark to ensure the recognition accuracy of user actions; the overlap threshold can also be a graded threshold, that is, different levels of thresholds are set according to different interactive actions or scenarios. For example, a higher overlap may be required for interactive marks in a small range, while a lower threshold can be set for interactive marks in a large range; the overlap threshold can also be a user-defined threshold, that is, the user is allowed to set the overlap threshold for triggering interaction according to personal habits or comfort.

[0188] For example, the degree of overlap between the user's finger area (interactive action area) and the digital bubble (touch area corresponding to the interactive identifier) ​​in the interactive action image is 80%, and the overlap threshold is 70%. If 80% is greater than 70%, then the interactive action in the interactive action image is determined as a pre-touch action of the digital bubble.

[0189] In a specific implementation, the server receives the detected interactive action image sent by the merchant device, and after performing interactive trigger detection of the interactive identifier on the received interactive action image, if it is confirmed through detection that the interactive action is a pre-touch action containing the interactive identifier, a touch response animation will be sent to the merchant device; specifically, in an optional implementation manner provided by this embodiment, after receiving the interactive action image sent by the merchant device after performing interactive trigger detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain the detection result, it includes:

[0190] A touch response animation corresponding to the pre-touch action of the interaction identifier is generated and sent to the merchant terminal.

[0191] During the specific execution process, the user sees the interactive logo carrying the payment amount on the merchant's device and is ready to make payment. The user's finger approaches but does not touch the screen. The server receives the interactive action image generated by the merchant's device for the collected interactive action, and analyzes whether the user has performed a pre-touch action. If it is detected that the interactive action image contains a pre-touch action, a touch response animation is generated and returned to the merchant's device. After receiving the pre-touch response animation, the merchant's device displays it on the interactive page, so that the user perceives that the payment intention has been recognized based on the touch response animation. Accordingly, the server performs subsequent payment processing.

[0192] The touch response animation refers to a dynamic visual effect displayed to confirm the user's interaction intention and provide feedback after the user performs a pre-touch action with the interactive mark. The touch response animation can appear on the interactive mark or around the interactive mark to indicate that the user's interaction action has been detected and the corresponding operation is ready to be performed; for example, when the user's finger approaches the interactive mark (such as a virtual button showing the payment amount), an enlarged, highlighted or slightly displaced animation effect may appear on the screen to feedback that the user's approaching action has been recognized and prompt the user to trigger the payment process. The touch response animation can be a dynamic highlight, such as the color of the interactive mark becomes brighter to show that it is selected; the touch response animation can be a magnification effect, such as when the user's finger approaches, the interactive mark will be enlarged to highlight its importance; the touch response animation can also be displacement feedback, such as the interactive mark moves in the direction of the user's finger movement to increase the fun of the interaction.

[0193] Further, the server receives the detected interactive action image sent by the merchant device, performs interactive trigger detection of the interactive identification on the interactive action image, and obtains the detection result, then generates a touch response animation corresponding to the pre-touch action of the interactive identification and sends it to the merchant device. Specifically, in an optional implementation manner provided by this embodiment, after the touch response animation corresponding to the pre-touch action of the interactive identification is generated and sent to the merchant terminal for execution, it also includes:

[0194] Segmenting the interactive action image into user key image blocks, and fusing the user key image blocks obtained by segmentation with the interactive identifier to obtain a fused identifier;

[0195] An interactive page including the fusion logo and payment prompt is rendered and sent to the merchant terminal.

[0196] During the specific execution process, the user sees the interactive logo on the merchant device and makes a payment confirmation action. For example, when the finger approaches the interactive logo, the merchant device detects the interactive action image and sends it to the server. The server extracts the user's finger image block through the image segmentation algorithm and merges the finger image block with the interactive logo. For example, the user's finger may "cover" the interactive logo to form a dynamic payment logo that integrates user features, and renders and sends the interactive page containing the merged logo and payment prompt (such as "paying") back to the merchant device. The merchant device receives the rendered interactive page and displays it to the user, providing real-time payment status feedback. Through this process, the interactivity and user experience of the payment process are improved. The user can intuitively see the relationship between his or her actions and the payment process, while also reducing the possibility of misunderstanding and misoperation. It should be noted that the user features represented by the user key image block can be facial features, finger features, etc., or features of other dimensions in the interactive action image, which are not limited in this embodiment.

[0197] Step S806: If the detection result is that the interactive action image includes the pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

[0198] After the server receives the interactive action image sent by the merchant device and performs an interactive trigger detection of the interactive identification on the interactive action image, it obtains a detection result. If the detection result is that the interactive action image includes a pre-touch action of the interactive identification, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result of the payment processing is sent to the merchant device according to the detection result. The merchant device receives the payment result obtained by the payment processing sent by the server; optionally, the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identification.

[0199] Specifically, the user's identity information is identified based on the identity recognition result of the interactive action image, and the corresponding payment account is deducted according to the identified identity information. The funds obtained from the deduction are transferred to the merchant's capital account. After the payment is completed, the payment result is generated and sent to the merchant's device, thereby completing the processing process.

[0200] This embodiment performs payment processing based on the identity recognition result of the interactive action image and sends the payment result to the merchant device, thereby realizing the process of payment processing after the user successfully matches the pre-touch action of the interactive logo, that is, when the detection result confirms that the user has the intention to pay. When the user's action is confirmed to match the pre-touch action of the interactive logo, the server will immediately execute the payment processing, associate the user's payment request with the pre-input payment amount, and return the payment status information; this design increases the immediacy and interactivity of the payment process and improves the user's payment experience. At the same time, the operation that payment is triggered only when the user's action meets specific preset interaction rules also ensures the security of payment, improves the user's payment experience, and increases the fun of interaction.

[0201] To summarize, one or more interactive payment processing methods provided in this embodiment are applied to a server. During an interactive payment, an interactive identifier carrying the payment amount is generated and sent to a merchant device according to the payment amount uploaded by the merchant. After the merchant device receives the interactive identifier and performs interactive action detection on the user image, it receives the interactive action image sent by the merchant device after the interactive action detection, and performs interactive trigger detection on the interactive action image to obtain a detection result. If the detection result is that the interactive action image contains a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device, which improves the convenience of payment and user experience, while also ensuring the security of payment and reducing the possibility of misoperation.

[0202] The following takes the application of an interactive payment processing method provided by this embodiment in a merchant payment scenario as an example to further illustrate the interactive payment processing method provided by this embodiment. Figure 7 , specifically including the following steps.

[0203] Step S706: receiving the payment amount uploaded by the merchant device, generating an interaction identifier carrying the payment amount and sending it to the merchant device.

[0204] Step S720: receiving an interactive action image sent by the merchant device after performing interactive action detection.

[0205] Step S722: performing interaction intention recognition on the interaction action image to obtain the interaction intention.

[0206] Step S724, performing action parameter detection on the interactive action image whose interactive intention is payment intention to obtain a detection result.

[0207] Step S726: if the detection result is a pre-touch action, a touch response animation corresponding to the pre-touch action of the interaction identifier is generated and sent to the merchant device.

[0208] Step S730 , segmenting the interactive action image into user key image blocks, and fusing the user key image blocks obtained by segmentation with the interactive identifier to obtain a fused identifier.

[0209] Step S732: Render an interactive page including a fusion logo and a payment prompt and send it to the merchant device.

[0210] Step S736: Perform payment processing based on the identity recognition result of the interactive action image.

[0211] Step S738: Send the payment result to the merchant device.

[0212] It should be noted that any one of steps S706 to S738 or any combination of multiple steps can be replaced by the corresponding technical means provided in the above steps S802 to S806 according to the needs of implementation and deployment, and will not be described one by one here.

[0213] The first embodiment of the interactive payment processing device provided in this specification is as follows:

[0214] In the above-mentioned embodiment, a first payment processing method is provided, and correspondingly, a payment processing device is also provided, which is described below with reference to the accompanying drawings.

[0215] Reference Fig. 9 , which shows a schematic diagram of an embodiment of an interaction-based payment processing device provided in this embodiment.

[0216] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0217] This embodiment provides an interactive payment processing device, the device comprising:

[0218] The logo receiving module 902 is configured to receive and display the interactive logo carrying the payment amount rendered and sent by the server;

[0219] The detection module 904 is configured to render and display the interactive page based on the interactive identifier and the collected user image, and perform interactive action detection on the user image;

[0220] An image sending module 906 is configured to send the detected interactive action image to the server, so as to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result;

[0221] The result receiving module 908 is configured to receive a payment result obtained by performing payment processing sent by the server; the payment processing is performed when the detection result is that the interaction action image includes a pre-touch action of the interaction identifier.

[0222] The second embodiment of the interactive payment processing device provided in this specification is as follows:

[0223] In the above-mentioned embodiment, a second payment processing method is provided, and correspondingly, a second payment processing device based on interaction is also provided, which is described below with reference to the accompanying drawings.

[0224] Reference Fig.10 , which shows a schematic diagram of an embodiment of an interaction-based payment processing device provided in this embodiment.

[0225] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0226] This embodiment provides an interactive payment processing device, the device comprising:

[0227] The identification generation module 1002 is configured to generate an interaction identification carrying the payment amount according to the payment amount uploaded by the merchant and send the interaction identification to the merchant device;

[0228] The detection module 1004 is configured to receive the interaction action image sent by the merchant device after the interaction action detection, and perform the interaction trigger detection of the interaction identifier on the interaction action image to obtain a detection result;

[0229] The result sending module 1006 is configured to perform payment processing based on the identity recognition result of the interactive action image and send the payment result to the merchant device if the detection result is that the interactive action image includes the pre-touch action of the interactive identifier.

[0230] The first embodiment of the interactive payment processing device provided in this specification is as follows:

[0231] Corresponding to the above-described interactive payment processing method, based on the same technical concept, one or more embodiments of this specification further provide an interactive payment processing device, which is used to execute the first payment processing method provided above. Fig.11 A schematic diagram of the structure of an interactive payment processing device provided for one or more embodiments of this specification.

[0232] This embodiment provides an interactive payment processing device, including:

[0233] like Fig.11 As shown, the interactive payment processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 1101 and memory 1102, and the memory 1102 may store one or more storage applications or data. Among them, the memory 1102 may be a short-term storage or a persistent storage. The application stored in the memory 1102 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the interactive payment processing device. Furthermore, the processor 1101 may be configured to communicate with the memory 1102 to execute a series of computer executable instructions in the memory 1102 on the interactive payment processing device. The interactive payment processing device may also include one or more power supplies 1103, one or more wired or wireless network interfaces 1104, one or more input / output interfaces 1105, one or more keyboards 1106, etc.

[0234] In a specific embodiment, the interactive payment processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the interactive payment processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0235] Receive and display the interactive logo with the payment amount rendered and sent by the server;

[0236] Rendering and displaying an interactive page based on the interactive identifier and the collected user image, and detecting interactive actions on the user image;

[0237] Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result;

[0238] A payment result obtained by performing payment processing sent by the server is received; the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identifier.

[0239] The second embodiment of the interactive payment processing device provided in this specification is as follows:

[0240] Corresponding to the second interactive payment processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a second interactive payment processing device, which is used to execute the second payment processing method provided above. Fig.12 A schematic diagram of the structure of an interactive payment processing device provided for one or more embodiments of this specification.

[0241] This embodiment provides an interactive payment processing device, including:

[0242] like Fig.12 As shown, the interactive payment processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 1201 and memory 1202, and the memory 1202 may store one or more storage applications or data. Among them, the memory 1202 may be a short-term storage or a persistent storage. The application stored in the memory 1202 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the interactive payment processing device. Furthermore, the processor 1201 may be configured to communicate with the memory 1202 to execute a series of computer executable instructions in the memory 1202 on the interactive payment processing device. The interactive payment processing device may also include one or more power supplies 1203, one or more wired or wireless network interfaces 1204, one or more input / output interfaces 1205, one or more keyboards 1206, etc.

[0243] In a specific embodiment, the interactive payment processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the interactive payment processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0244] According to the payment amount uploaded by the merchant, an interaction identifier carrying the payment amount is generated and sent to the merchant device;

[0245] receiving an interactive action image sent by the merchant device after performing interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result;

[0246] If the detection result is that the interactive action image includes a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

[0247] The first computer-readable storage medium embodiment provided in this specification is as follows:

[0248] Corresponding to the first interactive payment processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a first computer-readable storage medium.

[0249] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed:

[0250] Receive and display the interactive logo with the payment amount rendered and sent by the server;

[0251] Rendering and displaying an interactive page based on the interactive identifier and the collected user image, and detecting interactive actions on the user image;

[0252] Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result;

[0253] A payment result obtained by performing payment processing sent by the server is received; the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identifier.

[0254] It should be noted that the embodiment of a computer-readable storage medium in this specification and the embodiment of the first payment processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0255] The second computer-readable storage medium embodiment provided in this specification is as follows:

[0256] Corresponding to the second interactive payment processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a second computer-readable storage medium.

[0257] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed:

[0258] According to the payment amount uploaded by the merchant, an interaction identifier carrying the payment amount is generated and sent to the merchant device;

[0259] receiving an interactive action image sent by the merchant device after performing interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result;

[0260] If the detection result is that the interactive action image includes a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

[0261] It should be noted that the embodiment of a computer-readable storage medium in this specification and the embodiment of the second interactive payment processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0262] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, equipment embodiment and computer-readable storage medium embodiment are similar to the method embodiment, so the description is relatively simple. To read the relevant contents in the device embodiment, equipment embodiment and computer-readable storage medium embodiment, please refer to the partial description of the method embodiment.

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

[0264] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0265] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0266] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0267] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

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

[0269] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0270] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0271] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0272] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0273] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0274] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0275] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "includes at least one ..." do not exclude the presence of other identical elements in the process, method, commodity or device including the elements.

[0276] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0277] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. An interactive payment processing method, comprising: Receive and display the interactive logo with the payment amount rendered and sent by the server; Rendering and displaying an interactive page based on the interactive identifier and the collected user image, and detecting interactive actions on the user image; Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; A payment result obtained by performing payment processing sent by the server is received; the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identifier.

2. According to the interactive payment processing method of claim 1, the step of performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result comprises: Performing interaction intention recognition on the interaction action image to obtain interaction intention; If the interaction intention is a payment intention, action parameter detection is performed on the interaction action image to obtain the detection result.

3. The interactive payment processing method according to claim 2, wherein the step of performing interactive intent recognition on the interactive action image to obtain the interactive intent comprises: Identifying an action type of an interactive action included in the interactive action image; Check whether the action type matches the trigger type of the interaction identifier, and if so, determine that the interaction intention is a payment intention.

4. The interactive payment processing method according to claim 2, wherein the step of detecting action parameters of the interactive action image to obtain the detection result comprises: Calculating an interactive action distance based on an action feature of the interactive action in the interactive action image; Detecting whether the interaction action distance is within the touch distance interval of the interaction identifier, and if so, determining the interaction action as a pre-touch action of the interaction identifier; or, determining an interactive action area based on action features of the interactive action in the interactive action image; It is detected whether the area overlap between the interactive action area and the touch area corresponding to the interactive identifier is greater than an overlap threshold, and if so, the interactive action is determined as a pre-touch action of the interactive identifier.

5. The interactive payment processing method according to claim 1, wherein the interactive page rendering and display based on the interactive identifier and the collected user image comprises: Acquire an image stream acquired by an image acquisition component, and perform user feature segmentation on each image frame of the image stream; The interactive page is rendered and displayed according to the interactive material, the interactive identifier and the user features obtained by segmentation.

6. The interactive payment processing method according to claim 1, wherein the interactive action detection of the user image comprises: Performing edge detection on the user image, and extracting user edge features from the edge detection result; The user edge feature is detected based on the pre-configured interactive action edge feature, and if the detection passes, the user image is determined as the interactive action image.

7. The interactive payment processing method according to claim 1, wherein the step of performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result comprises: Action recognition is performed on the interactive action image, and action parameter detection is performed on the interactive action obtained by recognition to obtain the detection result.

8. The interactive payment processing method according to claim 7, wherein the step of performing action recognition on the interactive action image and detecting action parameters of the interactive action obtained by recognition comprises: Identifying an interactive action included in the interactive action image, and detecting whether the interactive action matches a triggering action of the interactive identifier; If yes, the interaction action is determined as a pre-touch action of the interaction identifier.

9. The interactive payment processing method according to claim 1, after the step of sending the detected interactive action image to the server to perform the interactive trigger detection of the interactive identifier on the interactive action image to obtain the detection result is executed, and before the step of receiving the payment result obtained by performing payment processing sent by the server is executed, it also includes: A touch response animation corresponding to the pre-touch action of the interaction identifier sent by the server is received and displayed.

10. The interactive payment processing method according to claim 9, after the step of receiving the touch response animation corresponding to the pre-touch action of the interactive identifier sent by the server and displaying the touch response animation is executed, it also includes: Receiving and displaying the interactive page including the fusion logo and payment prompt rendered and sent by the server; The fusion mark is obtained by fusing a user key image block obtained by segmenting the interactive action image into user key image blocks with the interaction mark.

11. The interactive payment processing method according to claim 1, wherein the interactive identifier is generated according to the payment amount uploaded by the merchant; The interaction identifier includes a dynamic interaction identifier, and the dynamic interaction identifier is displayed and updated according to dynamic parameters.

12. An interactive payment processing method, comprising: According to the payment amount uploaded by the merchant, an interaction identifier carrying the payment amount is generated and sent to the merchant device; receiving an interactive action image sent by the merchant device after performing interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; If the detection result is that the interactive action image includes a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

13. The interactive payment processing method according to claim 12, wherein the step of performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result comprises: Performing interaction intention recognition on the interaction action image to obtain interaction intention; If the interaction intention is a payment intention, action parameter detection is performed on the interaction action image to obtain the detection result.

14. The interactive payment processing method according to claim 13, wherein the step of performing interactive intent recognition on the interactive action image to obtain the interactive intent comprises: Identifying an action type of an interactive action included in the interactive action image; Check whether the action type matches the trigger type of the interaction identifier, and if so, determine that the interaction intention is a payment intention.

15. The interactive payment processing method according to claim 13, wherein the step of detecting action parameters of the interactive action image to obtain the detection result comprises: Calculating an interactive action distance based on an action feature of the interactive action in the interactive action image; Detecting whether the interaction action distance is within the touch distance interval of the interaction identifier, and if so, determining the interaction action as a pre-touch action of the interaction identifier; or, determining an interactive action area based on action features of the interactive action in the interactive action image; It is detected whether the area overlap between the interactive action area and the touch area corresponding to the interactive identifier is greater than an overlap threshold, and if so, the interactive action is determined as a pre-touch action of the interactive identifier.

16. The interactive payment processing method according to claim 12, wherein the interactive action detection is implemented in the following manner: Perform edge detection on the collected user image and extract user edge features from the edge detection results; The user edge feature is detected based on the pre-configured interactive action edge feature, and if the detection passes, the user image is determined as the interactive action image.

17. The interactive payment processing method according to claim 12, before performing the payment processing operation based on the identity recognition result of the interactive action image, further comprising: A touch response animation corresponding to the pre-touch action of the interaction identifier is generated and sent to the merchant terminal.

18. The interactive payment processing method according to claim 17, after the touch response animation corresponding to the pre-touch action of the interactive identifier is generated and sent to the merchant terminal, and before the payment processing operation is performed based on the identity recognition result of the interactive action image, the method further comprises: Segmenting the interactive action image into user key image blocks, and fusing the user key image blocks obtained by segmentation with the interactive identifier to obtain a fused identifier; An interactive page including the fusion logo and a payment prompt is rendered and sent to the merchant device.

19. An interactive payment processing device, comprising: An identification receiving module is configured to receive and display the interactive identification carrying the payment amount rendered and sent by the server; A detection module, configured to render and display an interactive page based on the interaction identifier and the collected user image, and to detect interactive actions on the user image; An image sending module is configured to send the detected interactive action image to the server, so as to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; The result receiving module is configured to receive a payment result obtained by performing payment processing sent by the server; the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identifier.

20. An interactive payment processing device, comprising: An identification generation module is configured to generate an interaction identification carrying the payment amount according to the payment amount uploaded by the merchant and send the interaction identification to the merchant device; a detection module, configured to receive an interactive action image sent by the merchant device after performing interactive action detection, and perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; The result sending module is configured to perform payment processing based on the identity recognition result of the interactive action image and send the payment result to the merchant device if the detection result is that the interactive action image includes the pre-touch action of the interactive identifier.

21. An interactive payment processing device, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Receive and display the interactive logo with the payment amount rendered and sent by the server; Rendering and displaying an interactive page based on the interactive identifier and the collected user image, and detecting interactive actions on the user image; Sending the detected interactive action image to the server to perform interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; A payment result obtained by performing payment processing sent by the server is received; the payment processing is performed when the detection result is that the interactive action image includes a pre-touch action of the interactive identifier.

22. An interactive payment processing device, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: According to the payment amount uploaded by the merchant, an interaction identifier carrying the payment amount is generated and sent to the merchant device; receiving an interactive action image sent by the merchant device after performing interactive action detection, and performing interactive trigger detection of the interactive identifier on the interactive action image to obtain a detection result; If the detection result is that the interactive action image includes a pre-touch action of the interactive identifier, payment processing is performed based on the identity recognition result of the interactive action image, and the payment result is sent to the merchant device.

23. A computer-readable storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the steps of the method of claim 1 when executed.

24. A computer-readable storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the steps of the method of claim 12 when executed.