Order Payment Method and Device Based on Device Interaction

In near-field communication payment, the near-field communication connection is used to realize the synchronous display of payment messages between the payer, the payee and the server, which solves the problem of insufficient interaction perception between users and merchants, and improves the user experience and functionality of the payment process.

CN117933988BActive Publication Date: 2025-06-20ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410096217.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2025-06-20
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

The prior art is difficult to achieve efficient interaction and perception between users and merchants in near-field communication payment, resulting in insufficient user experience and functionality of the payment process.

Method used

By establishing a near field communication connection between the first device of the payer, the second device of the payer, and the server, synchronous display of payment messages is achieved. The specific steps include: calling the near-field communication component to establish a connection with the payee's equipment, sending payment account information, receiving and displaying payment order messages, and promptly processing user payment instructions.

Benefits of technology

It improves the user experience and functionality of near-field communication payment, enhances the interaction perception between users and merchants by synchronous display of payment messages, and improves the fluency and security of the payment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117933988B_ABST
    Figure CN117933988B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an order payment method and device based on device interaction. Among them, an order payment method based on device interaction includes: during the payment process based on near-field communication, calling the near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, sending payment account information to the second device through the near-field communication connection, receiving the payment message of the payment order sent by the server, obtaining the display parameters of the first device for the payment message, and performing display processing of the payment message according to the display parameters of the first device to cooperate with the second device for synchronized message display, and submitting the user payment instruction to the server after detecting the user payment instruction for payment processing of the payment order.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the technical field of data processing, and particularly to an order payment method and device based on device interaction. Background Art

[0002] With the continuous development of Internet technology, the upgrading of hardware devices, and the continuous improvement of users' living standards, Near Field Communication (NFC) technology has been applied to various fields of daily life. As a safe and convenient communication method, NFC technology has also been applied to the payment field. Users can perform payment processing through the NFC component configured on the terminal device, or through NFC communication interaction with the receiving device. However, as the number of users using NFC payment increases, and the number of merchants using NFC receiving devices also increases, all parties have put forward more requirements for NFC payment, which is the key point that NFC providers are increasingly concerned about. Summary of the Invention

[0003] One or more embodiments of this specification provide a first order payment method based on device interaction, which is applied to a first device of a payer. The method includes: calling the NFC component to cooperate with a second device of a payee to establish an NFC communication connection, and sending payment account information to the second device through the NFC communication connection. Receiving the payment message of the payment order sent by the server, and obtaining the first device display parameters of the payment message. The payment order is created based on the payment account information and the receiving order information. Performing display processing on the payment message according to the first device display parameters to cooperate with the second device for message synchronization display. If a user payment instruction is detected, submitting the user payment instruction to the server for payment processing of the payment order.

[0004] One or more embodiments of this specification provide a second order payment method based on device interaction, which is applied to a second device of a payee. The method includes: calling the NFC component to detect the payment device, and displaying an NFC payment reminder when the first device of the payer is detected. Calling the NFC component to establish an NFC communication connection with the first device, and obtaining the payment account information sent by the first device through the NFC communication connection. Uploading the receiving order information and the payment account information to the server to create a payment order, and receiving the payment message of the payment order and the second device display parameters of the payment message returned by the server. Performing display processing on the payment message according to the second device display parameters to cooperate with the first device for message synchronization display.

[0005] One or more embodiments of this specification provide a third order payment method based on device interaction, which is applied to a server. The method includes: creating a payment order according to the payment order information and payment account information uploaded by the second device of the payee. The payment account information is sent from the first device of the payer to the second device through a near-field communication connection. Generating a payment message for the payment order, and first device display parameters and second device display parameters for the payment message. Sending the payment message and the second device display parameters to the second device, and sending the payment message and the first device display parameters to the first device, so that the second device and the first device cooperate to perform synchronized message display. If a payment instruction submitted by the first device is detected, perform payment processing for the payment order according to the payment account information.

[0006] One or more embodiments of this specification provide a first order payment device based on device interaction, which runs on the first device of the payer. The device includes: a payment account information sending module configured to call a near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, and send payment account information to the second device through the near-field communication connection. A display parameter obtaining module configured to receive a payment message for a payment order sent by the server, and obtain first device display parameters for the payment message. The payment order is created based on the payment account information and the payment order information. A payment message display module configured to perform display processing for the payment message according to the first device display parameters to cooperate with the second device to perform synchronized message display. A payment instruction submission module configured to, if a user payment instruction is detected, submit the user payment instruction to the server to perform payment processing for the payment order.

[0007] One or more embodiments of this specification provide a second order payment device based on device interaction, which runs on the second device of the payee. The device includes: a near-field payment reminder display module configured to call a near-field communication component to detect payment devices, and display a near-field payment reminder when the first device of the payer is detected. A payment account information obtaining module configured to call the near-field communication component to establish a near-field communication connection with the first device, and obtain payment account information sent by the first device through the near-field communication connection. A display parameter receiving module configured to upload payment order information and the payment account information to the server to create a payment order, and receive the payment message for the payment order and the second device display parameters for the payment message returned by the server. A payment message display module configured to perform display processing for the payment message according to the second device display parameters to cooperate with the first device to perform synchronized message display.

[0008] One or more embodiments of this specification provide a third order payment device based on device interaction, which runs on a server. The device includes: A payment order creation module configured to create a payment order according to the payment order information and payment account information uploaded by a second device of the payee. The payment account information is sent from a first device of the payer to the second device through a near-field communication connection. A display parameter generation module configured to generate a payment message of the payment order, and a first device display parameter and a second device display parameter of the payment message. A display parameter sending module configured to send the payment message and the second device display parameter to the second device, and send the payment message and the first device display parameter to the first device, so that the second device and the first device cooperate to perform message synchronization display. A payment order processing module configured to, if a payment instruction submitted by the first device is detected, perform payment processing of the payment order according to the payment account information.

[0009] One or more embodiments of this specification provide a first device of a payer, including: A processor; and a memory configured to store computer-executable instructions, which when executed cause the processor to: Invoke a near-field communication component to cooperate with a second device of the payee to establish a near-field communication connection, and send payment account information to the second device through the near-field communication connection. Receive a payment message of a payment order sent by the server, and obtain a first device display parameter of the payment message. The payment order is created based on the payment account information and the payment order information. Perform display processing of the payment message according to the first device display parameter to cooperate with the second device to perform message synchronization display. If a user payment instruction is detected, submit the user payment instruction to the server to perform payment processing of the payment order.

[0010] One or more embodiments of this specification provide a second device of a payee, including: A processor; and a memory configured to store computer-executable instructions, which when executed cause the processor to: Invoke a near-field communication component to detect payment devices, and display a near-field payment reminder when a first device of the payer is detected. Invoke the near-field communication component to establish a near-field communication connection with the first device, and obtain the payment account information sent by the first device through the near-field communication connection. Upload the payment order information and the payment account information to the server to create a payment order, and receive the payment message of the payment order and the second device display parameter of the payment message returned by the server. Perform display processing of the payment message according to the second device display parameter to cooperate with the first device to perform message synchronization display.

[0011] One or more embodiments of this specification provide a server, including: a processor; and a memory configured to store computer-executable instructions, which when executed cause the processor to: create a payment order according to the payment order information and payment account information uploaded by a second device of a payee. The payment account information is sent from a first device of a payer to the second device through a near-field communication connection. Generate a payment message of the payment order, and display parameters of the first device and the second device of the payment message. Send the payment message and the second device display parameters to the second device, and send the payment message and the first device display parameters to the first device, so that the second device and the first device cooperate to perform message synchronization display. If a payment instruction submitted by the first device is detected, perform payment processing of the payment order according to the payment account information.

[0012] One or more embodiments of this specification provide a first storage medium for storing computer-executable instructions, which when executed by a processor implement the following process: call a near-field communication component to cooperate with a second device of a payee to establish a near-field communication connection, and send payment account information to the second device through the near-field communication connection. Receive the payment message of the payment order sent by the server, and obtain the display parameters of the first device of the payment message. The payment order is created based on the payment account information and the payment order information. Perform display processing of the payment message according to the display parameters of the first device to cooperate with the second device for message synchronization display. If a user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order.

[0013] One or more embodiments of this specification provide a second storage medium for storing computer-executable instructions, which when executed by a processor implement the following process: call a near-field communication component to detect a payment device, and display a near-field payment reminder when a first device of a payer is detected. Call the near-field communication component to establish a near-field communication connection with the first device, and obtain the payment account information sent by the first device through the near-field communication connection. Upload the payment order information and the payment account information to the server to create a payment order, and receive the payment message of the payment order returned by the server and the display parameters of the second device of the payment message. Perform display processing of the payment message according to the display parameters of the second device to cooperate with the first device for message synchronization display.

[0014] One or more embodiments of this specification provide a third storage medium for storing computer-executable instructions, which, when executed by a processor, implement the following process: creating a payment order based on the payment order information and payment account information uploaded by the second device of the payee. The payment account information is sent from the first device of the payer to the second device through a near-field communication connection. Generating a payment message for the payment order, as well as display parameters for the first device and the second device of the payment message. Sending the payment message and the display parameters for the second device to the second device, and sending the payment message and the display parameters for the first device to the first device, so that the second device and the first device cooperate to perform synchronous display of the message. If a payment instruction submitted by the first device is detected, perform payment processing for the payment order based on the payment account information. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] To more clearly illustrate the technical solutions in one or more embodiments of this specification or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0016] Figure 1 Schematic diagram of the implementation environment of an order payment method based on device interaction provided by one or more embodiments of this specification;

[0017] Figure 2 Flowchart of the first order payment method based on device interaction provided by one or more embodiments of this specification;

[0018] Figure 3 Schematic diagram of the display of a near-field payment reminder provided by one or more embodiments of this specification;

[0019] Figure 4 Schematic diagram of the display of a payment message on a merchant device provided by one or more embodiments of this specification;

[0020] Figure 5 Another schematic diagram of the display of a payment message on a merchant device provided by one or more embodiments of this specification;

[0021] Figure 6 Schematic diagram of the display of a payment message on a user terminal provided by one or more embodiments of this specification;

[0022] Figure 7 Another schematic diagram of a payment message on a user terminal provided by one or more embodiments of this specification;

[0023] Figure 8 A schematic diagram of synchronizing payment messages provided for one or more embodiments of this specification;

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

[0025] Figure 10 A timing diagram of an order payment method based on device interaction applied to a near - field communication payment scenario provided for one or more embodiments of this specification;

[0026] Figure 11 A processing flowchart of a second order payment method based on device interaction provided for one or more embodiments of this specification;

[0027] Figure 12 A processing flowchart of a third order payment method based on device interaction provided for one or more embodiments of this specification;

[0028] Figure 13 A schematic diagram of an embodiment of a first order payment device based on device interaction provided for one or more embodiments of this specification;

[0029] Figure 14 A schematic diagram of an embodiment of a second order payment device based on device interaction provided for one or more embodiments of this specification;

[0030] Figure 15 A schematic diagram of an embodiment of a third order payment device based on device interaction provided for one or more embodiments of this specification;

[0031] Figure 16 A schematic diagram of the structure of a first device of a payer provided for one or more embodiments of this specification;

[0032] Figure 17 A schematic diagram of the structure of a second device of a payee provided for one or more embodiments of this specification;

[0033] Figure 18 A schematic diagram of the structure of a server provided for one or more embodiments of this specification. Detailed implementation manners

[0034] To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will clearly and completely describe the technical solutions in one or more embodiments of this specification in conjunction with the accompanying drawings in one or more embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this document.

[0035] The order payment method based on device interaction provided by one or more embodiments of this embodiment is applicable to the implementation environment of near-field communication payment. Referring to Figure 1 , this implementation environment at least includes a payment server 101. The payment server 101 can be one or more servers, a server cluster composed of several servers, or a cloud server of a cloud computing platform. The payment server 101 is used for creating and processing payments for orders, generating payment messages for payment orders and terminal display parameters of payment messages to be sent to the user terminal 102, and generating device display parameters of payment messages for payment orders to be sent to the merchant device 103.

[0036] This implementation environment also at least includes a user terminal 102. The user terminal 102 can be a smart phone, a tablet computer, an e-book reader, a wearable device, a device for information interaction based on AR (Augmented Reality) / VR (Virtual Reality), etc. The user terminal 102 is used to establish a near-field communication connection with the merchant device 103, display payment messages, and cooperate with the merchant device 103 to synchronously display payment messages.

[0037] This implementation environment also at least includes a merchant device 103. The merchant device 103 can be a POS (point of sale) machine configured with a near-field communication component and can also be configured with a screen. The merchant device 103 is used to upload user payment information and order information to the payment server 101 and cooperate with the user terminal 102 to synchronously display payment messages.

[0038] The implementation environment may further include a merchant server 104. The merchant server 104 can cooperate with the product scanning device to obtain product information and generate a product order, and can also cooperate with the merchant device 103 to obtain user payment information and upload the order information of the product order and the user payment information to the payment server 101. In addition, when the user terminal 102 submits a near-field communication establishment request to the merchant device 103, that is, when the user terminal 102 actively establishes a near-field communication connection with the merchant device 103, the merchant cash register can also receive the payment order sent by the payment server 101 and transmit the payment order to the user terminal 102 through the near-field communication connection established between the merchant device 103 and the user terminal 102.

[0039] In this implementation environment, during the process of near-field communication payment, the merchant device 103 calls the near-field communication component to detect the user terminal 102 and then displays a near-field communication payment reminder. The user refers to the payment reminder and brings the user terminal 102 close to the merchant device 103. The user terminal 102 calls the near-field communication component to cooperate with the merchant device 103 to establish a near-field communication connection, and sends user payment information to the merchant device 103 through the near-field communication connection. The payment server 101 creates a payment order based on the order information and payment information uploaded by the merchant device 103, and generates a payment message for the payment order. The terminal display parameters and device display parameters for generating the payment message are sent to the merchant device 103. The merchant device 103 forwards the terminal display parameters to the user terminal 102 through the near-field communication connection. The user terminal 102 performs display processing of the payment message according to the terminal display parameters. The merchant device 103 cooperates with the user terminal 102 to perform message synchronization display according to the device display parameters. The payment server 101 performs payment processing of the payment order after detecting the user payment instruction.

[0040] One or more embodiments of the first order payment method based on device interaction provided in this specification are as follows:

[0041] Refer to Figure 2 In this embodiment, the order payment method based on device interaction can be applied to the first device of the payer, and specifically includes steps S202 to S208.

[0042] Step S202: Call the near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, and send payment account information to the second device through the near-field communication connection.

[0043] In practical applications, during an offline transaction, a user can establish near-field communication with a merchant device through a user terminal to pay for goods. During the near-field communication payment process, payment animations for near-field communication payment can be displayed on the screens of the user terminal and the merchant device through information interaction among all parties, so as to enhance the interactive perception of near-field communication payment and increase the functions of near-field communication payment. In this embodiment, through the interaction among the user terminal, the merchant device, and the server, the user terminal and the server cooperate to synchronously display payment messages, so as to enhance the perception of the merchant and the user during the near-field communication payment process and increase the functionality of near-field communication payment.

[0044] In this embodiment, the payer refers to the purchasing user, that is, the user who pays funds to purchase goods. Correspondingly, the first device of the payer refers to the user's terminal device, and the first device can be a user terminal. The payee refers to the merchant, that is, the merchant who provides goods and receives funds. Correspondingly, the second device of the payee refers to the merchant device of the merchant, and the second device can be a merchant device. It should be noted that in this embodiment, only the user is used to represent the payer, the merchant and / or the merchant is used to represent the payee, the user terminal is used to represent the first device of the payer, and the merchant device is used to represent the second device, without limiting the payer, the payee, the first device, and the second device. This embodiment will not elaborate further here.

[0045] In this embodiment, the payment account information is used to represent the information required to create a payment order. It can be the user's identity information, the payment channel information opened by the user, or it can also be the account information corresponding to the payment channel opened by the user, the rights and resources information of the user account, etc. In addition, the user payment information can also be any one of the above, or any combination of two or more of them. This embodiment does not make any limitations here. In addition, the payment account information can also be represented by the user payment information. In this embodiment, only the user payment information is used to represent the payment account information, without limiting the payment account information. This embodiment will not elaborate further here.

[0046] In addition, the user payment information can be interactively transmitted through the near-field communication connection established between the merchant device and the user terminal. Optionally, the user payment information is sent from the user terminal to the merchant device through the near-field communication connection. Specifically, it can be that the merchant device reads the user payment information stored in the user terminal through the near-field communication connection, or the user terminal actively sends the user payment information to the merchant device through the near-field communication connection. Optionally, the user terminal can be in an online state or an offline state. In this embodiment, the order information refers to the order information of the commodity order of the user's purchased commodity uploaded by the merchant device, which can be the commodity amount, or the commodity name, commodity unit price, etc. In addition, the order information can also be any one of the above, or any combination of two or more of them. This embodiment does not make any limitations here. The order information can be transmitted to the merchant device after scanning the commodity identification code through the merchant cash register and / or the merchant code scanning device; in addition, the merchant can also interact with the merchant cash register to input the received amount and use the received amount as the order information. Optionally, there is a hardware connection between the merchant device and the merchant cash register.

[0047] In specific implementation, the merchant device calls the near-field communication component to detect the user terminal. After detecting the user terminal, that is, after detecting the signal of the near-field communication component of the user terminal, it displays a near-field payment reminder and establishes a near-field communication connection with the user terminal; the user terminal calls the near-field communication component to cooperate with the merchant device to establish a near-field communication connection and sends the user payment information to the merchant device through the near-field communication connection; after receiving the user payment information, the merchant device uploads the order information of the commodity order and the user payment information to the server to create a payment order.

[0048] In the specific detection process, the merchant device can call the near-field communication component to broadcast a request for establishing a near-field communication connection. When the user terminal is within the broadcast space range of the merchant device, it can send a request confirmation message to the merchant device through the near-field communication component. After detecting the request confirmation message, the merchant device displays a near-field payment reminder. In addition, the merchant device can also detect the user terminal through other communication methods, such as Bluetooth communication, infrared communication, radio frequency communication, etc. The purpose is to detect whether the user terminal is within the preset range of the merchant device. Specifically, the merchant device can call the communication component to detect the user terminal and display a near-field payment reminder when the user terminal is detected. Optionally, the merchant device calls the configured near-field communication component to detect the user terminal. If the user terminal is detected within the preset distance range, a near-field payment reminder is displayed. Among them, the near-field payment reminder can be a reminder message displayed on the merchant device to remind the user that the merchant device can perform near-field communication payment; as Figure 3 shown, when the merchant device detects that the user terminal is within the preset range, it displays a near-field communication payment reminder on the screen.

[0049] In addition, the merchant device can also interact with the server to implement the location detection of the user terminal. The server can detect whether the location information of the user terminal is within the preset range of the merchant device. Specifically, the merchant device performs user terminal detection and displays a near-field payment reminder when the location confirmation information submitted by the server is detected.

[0050] It should be noted that the merchant device can perform user terminal detection in any of the above ways, or in combination of any two or more of the above ways to detect whether the user terminal is within the preset range of the merchant device. This embodiment does not make any limitations here.

[0051] It should be noted that the user terminal can call the near-field communication component to establish a near-field communication connection with the merchant device in the screen-locked state, or can also call the near-field communication component to establish a near-field communication connection with the merchant device in the screen-unlocked state. Specifically, the user can bring the user terminal close to the merchant device of the merchant in the screen-locked state and establish a near-field communication connection with the merchant device through the near-field communication component for information transmission. Optionally, the user terminal establishes a near-field communication connection with the merchant device through the near-field communication component. In addition, after the screen is unlocked, the user can also perform near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.

[0052] It should be noted that the establishment request of the near-field communication connection can be submitted by the user terminal to the merchant device, that is: the user terminal calls the near-field communication component to read the near-field communication information of the merchant device and establish a near-field communication connection, or it can also be submitted by the merchant device to the user terminal, that is: the merchant device calls the near-field communication component to read the near-field communication information of the user terminal and establish a near-field communication connection. This embodiment does not make any limitations here.

[0053] Step S204, receive the payment message of the payment order sent by the server, and obtain the first device display parameter of the payment message.

[0054] In practical applications, to improve the perception degree of near-field communication payment and enhance the interaction perception between both the user and the merchant, the server can generate the payment message of the payment order and the terminal display parameter of the payment message and send them to the user terminal and the merchant device, so as to perform message synchronous display through the cooperation of the user terminal and the merchant device. Specifically in implementation, the server creates a payment order according to the received payment order information of the commodity order uploaded by the merchant device and the user payment information, generates the payment message of the payment order and the device display parameter of the payment message and sends them to the merchant device, and generates the terminal display parameter of the payment message and sends it to the user terminal; the user terminal obtains the payment message and the terminal display parameter, and at the same time, the merchant device obtains the payment message and the device display parameter. Optionally, the payment order is created based on the user payment information and the received payment order information.

[0055] In this embodiment, the payment message refers to a reminder message generated by the server to represent the order information of a payment order, which can be displayed in cooperation with the user terminal and the merchant device to show the order information of the payment order to the user and the merchant. Specifically, the payment message may include the order information of the payment order and message materials for rendering and display processing by the user terminal and / or the merchant device. Correspondingly, the first device display parameter and the second device display parameter refer to the display control parameters included in the payment message for controlling the display effect of the payment message on the user terminal and / or the merchant device. The specific parameters may be the device display time, the page display position, or the display special effect parameter, etc. It should be noted that the terminal display parameter and / or the device display parameter may be any one of the above parameters, or a combination of the above two or more parameters, which is not limited in this embodiment. It should be noted that the first device display parameter is applied to the first device of the payer, that is: the first device display parameter is applied to the user terminal. Therefore, in this embodiment, the terminal display parameter is used to refer to the first device display parameter. Correspondingly, the second device display parameter is applied to the second device of the payee, that is: the second device parameter is applied to the merchant device. Therefore, in this embodiment, the device display parameter is used to refer to the second device display parameter, which will not be elaborated here.

[0056] In practical applications, the synchronous display of the user terminal and the merchant device requires a stable channel to simultaneously receive the payment message and the terminal display parameter of the payment message for stable synchronous display processing of the payment message to achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an optional implementation provided in this embodiment, obtaining the terminal display parameter of the payment message includes: receiving the terminal display parameter sent by the server, that is: the terminal display parameter of the user terminal is sent by the server.

[0057] In addition, to improve the stability of the synchronous display of the payment message, the server may first send the payment message and the terminal display parameter of the payment message to the merchant device, and then the merchant device forwards the terminal display parameter to the user terminal. Specifically, the merchant device may forward the terminal display parameter to the user terminal through a near-field communication connection to improve the synchronization of the synchronous display through the high stability and high real-time performance of near-field communication, that is: step S204 may be replaced by: receiving the payment message of the payment order and the device display parameter of the payment message sent by the second device through a near-field communication connection.

[0058] Step S206, perform display processing of the payment message according to the first device display parameter to cooperate with the second device for message synchronous display.

[0059] In specific implementation, the user terminal performs display processing of the payment message according to the terminal display parameters of the obtained payment message to cooperate with the merchant device for synchronous display of the payment message; the merchant device also performs display processing of the payment message according to the device display parameters of the payment message to cooperate with the user terminal for message synchronous display. During the specific display process, it can be displayed in the payment application, and the payment application can be entered after detecting the user access instruction. Optionally, enter the payment application according to the user access instruction. Optionally, the operation of performing the display processing of the payment message according to the terminal display parameters is based on the application page of the payment application. Further, when the user terminal receives a payment message in the screen-locked state, it can generate a message notification of the payment message and display it, and jump to the payment application to display the payment message after the message notification is triggered. Optionally, when it is detected that the screen state is in the locked state, a message notification of the payment message is generated, and it jumps to the payment application after the message notification is triggered.

[0060] In practical applications, to improve the synchronization of the synchronous display of the payment message between the user terminal and the merchant device, the display time can be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal, so that the display time included in the device display parameters and the terminal display parameters is continuous in time, to show the display effect of the payment message "flowing into" the user terminal side from the merchant device side. For example: the payment message "flows out" from the merchant device side and "flows into" the user terminal side while "flowing out", realizing the synchronous display of the payment message. Optionally, the device display time included in the device display parameters included in the payment message has a time continuous relationship with the terminal display time included in the terminal display parameters. As Figures 4 to 7 shown, the payment message is first displayed on the merchant device side, and then "moves" to the user terminal side. After the display on the merchant device is completed, it is displayed on the user terminal side to show the display effect of the payment message "flowing into" the user terminal from the merchant device.

[0061] In addition, to improve the synchronization of the synchronous display of the payment message between the user terminal and the merchant device, the page display area can also be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal, so that the page display areas included in the device display parameters and the terminal display parameters are adapted in position, to show the display effect of the payment message "flowing into" the user terminal side from the merchant device side. For example: the payment message "flows out" from above the merchant device side and "flows into" from above the user terminal side, realizing the synchronous display of the payment message. Optionally, the page display area included in the device display parameters included in the payment message has an area adaptation relationship with the page display area included in the terminal display parameters.

[0062] It should be noted that the device display parameters of the merchant device and the terminal display parameters of the user terminal can simultaneously have a time - continuous relationship of display time and a regional adaptation relationship. For example, the device display time included in the device display parameters contained in the payment message has a time - continuous relationship with the terminal display time included in the terminal display parameters; the page display area corresponding to the device display time and the page display area corresponding to the terminal display time have a regional adaptation relationship.

[0063] During the specific synchronous display process, the user terminal can perform display processing of the payment message on the user terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time. Correspondingly, the merchant device performs display processing of the payment message on the device page according to the display time included in the device display parameters of the payment message and the page display area corresponding to each device display time. Among them, the payment messages displayed on the user terminal and the merchant device can be the same. In an optional implementation manner provided in this embodiment, the merchant device performs synchronous display, including:

[0064] Perform display processing of the payment message on the device page according to the device display time included in the device display parameters of the payment message and the page display area corresponding to each device display time;

[0065] Correspondingly, performing display processing of the payment message according to the terminal display parameters includes:

[0066] Perform display processing of the payment message on the terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time.

[0067] In practical applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant device side of the merchant and the payment messages on the user terminal side of the user can be distinguished. That is, the payment messages on the merchant terminal side are configured as payment reminder images, and the payment messages on the user terminal side are configured as message windows. The display contents of the two can be configured differently to improve the perception degree of near - field communication payment. In an optional implementation manner provided in this embodiment, the merchant device performs message synchronous display, including:

[0068] Perform image rendering according to the order information and message materials included in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image;

[0069] Perform display processing of the payment reminder image on the device page according to the device display time included in the payment reminder message and the image display area corresponding to each device display time;

[0070] Correspondingly, the display processing of the payment message is performed according to the terminal display parameters, including:

[0071] Generating a message window for the payment message based on the order information and payment channel information included in the payment message;

[0072] Performing the display processing of the message window on the terminal page according to the terminal display time included in the payment message and / or the first device display parameters and the window display area corresponding to each terminal display time.

[0073] Specifically, the merchant device performs image rendering on the payment reminder message containing the order information and message materials received for the payment order to obtain a payment reminder image, and the merchant device displays the payment reminder image on the device page of the merchant device at the corresponding device display time according to the device display time included in the device configuration parameters of the payment order and the image display area corresponding to each device display time; correspondingly, the user terminal generates a message window for the payment message according to the order information included in the payment message and the payment channel information bound by the user, and performs the display processing of the message window on the terminal page according to the terminal display time included in the terminal display parameters of the payment message and the window display area corresponding to each terminal display time; wherein, the display contents of the payment reminder image and the message window may be different, and the message window may be configured with a payment confirmation interface to enable the user to perform payment confirmation processing.

[0074] In practical applications, the user terminal can also cooperate with the display of the payment message when the screen is locked. The message generation interface can be called in the screen locked state to generate a message window for the payment message, and the display processing of the message window is performed in the locked screen state according to the display time included in the terminal display parameters and the window display area corresponding to each display time. In an optional implementation manner provided in this embodiment, the display processing of the payment message according to the terminal display parameters includes:

[0075] If it is detected that the screen state is in the locked state, taking the order information and payment channel information included in the payment message as the interface call input to call the message generation interface to generate the message window for the payment message;

[0076] Performing the display processing of the message window on the screen locked page according to the terminal display time included in the payment message and / or the first device display parameters and the window display area corresponding to each terminal display time.

[0077] Furthermore, the above message window can also be configured with a payment confirmation interface, and the user can submit a payment confirmation instruction by triggering the payment confirmation interface to complete the payment confirmation processing of the payment order.

[0078] In practical applications, to improve the synchronization of the display of payment messages on the user terminal and the merchant device, the server can send the device display parameters and terminal display parameters of the payment message to the merchant device. After the payment message is displayed on the merchant device, the merchant device forwards the terminal display parameters to the user terminal through a near-field communication connection, so that the user terminal can display the payment message after the payment message on the merchant device is displayed, to show the display effect of the payment message "synchronously transmitted" from the merchant device to the user terminal. Among them, the display content of the payment message displayed on the user terminal and the merchant device can be the same or different. In an optional implementation manner provided in this embodiment, the merchant device performs synchronous display of the payment message, including:

[0079] Perform display processing of the payment message on the device page according to the device display time included in the device display parameters of the payment message and the page display area corresponding to each device display time;

[0080] After detecting the completion of the display of the last display time among the device display times, send a display instruction to the user terminal through the near-field communication connection;

[0081] Correspondingly, performing display processing of the payment message according to the terminal display parameters includes:

[0082] Receive and read the terminal display parameters carried in the display instruction;

[0083] Perform display processing of the payment message on the terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time.

[0084] As Figures 4 to 7 shown, the merchant terminal displays the payment message according to the device display time included in the device display parameters and the page display area corresponding to each device display time. After the display of the last display time among the device display times is completed, a display instruction is sent through the near-field communication connection with the user terminal. The user terminal performs display processing of the payment message on the terminal page according to the terminal display time included in the terminal display parameters of the payment message in the display instruction and the page display area corresponding to each terminal display time.

[0085] In addition, the server can also send the terminal display parameters and device display parameters of the payment message to the user terminal. The user terminal forwards the device display parameters to the merchant device through the established near-field communication connection with the merchant device and performs instruction interaction with the merchant device to achieve synchronous display of the payment message.

[0086] In practical applications, to improve the synchronization of the payment message displayed on the user terminal and the merchant device, the payment message displayed on the merchant device can also be corresponding to the payment message displayed on the user terminal in terms of the display position dimension, that is: the page display area of the payment message displayed on the merchant device has a page adaptation relationship with the page display area of the payment message on the user terminal. When the terminal display parameters of the user terminal are sent through the near-field communication connection established with the merchant device, the position of the cooperative device can be determined according to the collected environmental image, and the page display area can be determined according to the position. Taking the terminal display parameters and device display parameters of the payment message sent to the merchant device as an example, the merchant device can collect the environmental image to determine the position of the user terminal relative to the merchant device, determine the adaptation direction between the merchant device and the user terminal according to this position, and determine the page display area included in the terminal display parameters according to the adaptation direction, so as to realize the synchronous display of the payment message in the display area. Optionally, the page display area included in the device display parameters and the page display area included in the terminal display parameters are determined according to the message window parameters of the payment message and the adaptation direction between the merchant device and the user terminal. Optionally, the adaptation direction is determined according to the environmental image collected by the merchant device or the user terminal. As Figure 8 shown, when half of the payment message is displayed on the merchant device side with a dynamic "flow out" effect, the other half of the payment message is also displayed on the user terminal side with a dynamic "flow in" effect at the same time, so as to improve the synchronization of the synchronous display of the payment message.

[0087] Step S208, if a user payment instruction is detected, submit the user payment instruction to the server to perform the payment processing of the payment order.

[0088] In this embodiment, through the three-end interaction of the server, the user terminal and the merchant device during the near-field communication payment process, the synchronous display processing of the payment message on the user terminal and the merchant device is realized. The perception degree of the near-field communication payment is improved through the synchronous display of the payment message, and the functionality of the near-field communication payment is increased.

[0089] Specifically, when the user terminal detects the user payment instruction input by the user, it submits the user payment instruction to the server so that the server performs the payment processing of the payment order; after receiving the user payment instruction, the server performs the payment processing of the payment order. In addition, there may also be a situation where the user device does not detect the user payment instruction, that is: the payment instruction is not submitted to the server through the user terminal. In this regard, the payment instruction can also be submitted to the server through the merchant device to make the server perform the payment processing of the payment order. This embodiment does not make a limitation here. After the payment processing is completed, the server can also return a payment confirmation page to the user terminal and / or the merchant device to increase the interactive perception of the near-field communication payment.

[0090] In practical applications, after the user terminal displays the payment message, there are still cases where the user changes the payment channel, or there are cases where the user cancels the payment. For example, the user can submit a payment cancellation instruction by swiping the page on the message window of the payment message. In response to this, the user can submit a payment switching instruction to the user terminal. After detecting the payment switching instruction, the user terminal cooperates with the merchant device to perform a rollback process on the display of the payment message, that is: roll back the display of the payment message shown on the user terminal and the merchant device, so as to show the effect of the payment message "rolling back" from the user terminal to the merchant device. In an optional implementation provided in this embodiment, before detecting the user payment instruction, it further includes:

[0091] If a payment switching instruction is detected, perform a rollback process on the display process operation of the payment message according to the terminal display parameters, and send a rollback instruction to the merchant device, so that the merchant device performs a rollback process on the message synchronous display according to the rollback instruction.

[0092] Optionally, the message window of the payment message is configured with a payment switching control and / or a payment cancellation control.

[0093] Specifically, the rollback process can be to perform reverse display according to the display time included in the terminal display parameters and the display areas corresponding to each display time, that is: display the display areas corresponding to each display time in the order from the latest to the earliest display time. After the user terminal completes the rollback, it can also send a rollback instruction to the merchant device through a near-field communication connection, so that the merchant device performs a rollback process on the display process operation of the payment message according to the device display parameters.

[0094] Such as Figures 4 to 7 shown, when detecting the payment cancellation control configured in the message window of the user-triggered payment message, perform a rollback process on the display process operation of the payment message according to the terminal display parameters, that is: display Figures 7 to 6 the display effect, and send a rollback instruction to the merchant device, so that the merchant device performs a rollback process on the display process operation of the payment message according to the device display parameters, that is: display Figures 5 to 4 the display effect, to show the synchronous display rollback operation of the user terminal and the merchant device.

[0095] Further, after the rollback of the display process operations of the user terminal and the merchant device is completed, in the case where the user switches the payment channel, the server can update the payment order and update the payment message, so that the merchant device and the user terminal synchronously display the updated payment message. In an optional implementation provided in this embodiment, after the merchant device performs a rollback process on the message synchronous display according to the rollback instruction, it further includes:

[0096] The merchant device receives the terminal configuration parameters and device configuration parameters of the updated payment message sent by the server, performs display processing of the payment message according to the device configuration parameters of the updated payment message, and sends a display instruction to the user terminal through a near-field communication connection after the display is completed;

[0097] The user terminal receives and reads the terminal configuration parameters of the updated payment message carried in the display instruction, and performs synchronous display processing of the payment message according to the terminal configuration parameters of the updated payment message.

[0098] Specifically, in the case where the user switches the payment channel, the payment order is updated through the server according to the payment channel switched by the user, and the payment message is updated. The user terminal and the merchant device perform secondary synchronous display processing according to the configuration parameters of the updated payment message.

[0099] In addition, to avoid repeated operations by the user, in the case where the user switches the payment channel, after the rollback of the display operation of the payment message on the user terminal and the merchant device is completed, a device payment instruction is submitted to the server through the merchant device, so that the server performs payment processing of the payment order; optionally, after the merchant device performs rollback processing of message synchronous display according to the rollback instruction, it further includes: performing payment processing of the payment order through the device payment instruction submitted by the merchant device. It should be noted that in the case of performing rollback processing of the display processing operation of the payment message, payment processing of the payment order can be performed through the device payment instruction submitted by the merchant device, that is: in the case of performing rollback processing of the display processing operation of the payment message, the user payment instruction does not need to be submitted to the server through the user terminal.

[0100] In addition, rollback processing of the display operation of the payment message can also be performed in the case of performing payment authentication on the user. The user can be authenticated after submitting a payment confirmation instruction. Before the authentication process, rollback processing of the display operation of the payment message is performed. After the authentication is passed, an authentication passed instruction is submitted to the merchant device, so that the merchant device generates a device payment instruction and sends it to the server, so that the server performs payment processing of the payment order. For example: after performing display processing of the payment message, it further includes: obtaining a trigger instruction submitted by a payment confirmation control configured for the message window of the payment message; performing rollback processing of the display processing operation of the payment message according to the terminal display parameters, and sending a rollback instruction to the merchant device, so that the merchant device performs rollback processing of message synchronous display according to the rollback instruction; calling an authentication interface to authenticate the user, and performing payment processing of the payment order through the device payment instruction submitted by the merchant device after the authentication is passed. This is used to replace the step of the user terminal obtaining and submitting a user payment instruction to the server so that the server performs payment processing of the payment order.

[0101] In practical applications, during the process of near-field communication payment, payment messages can be displayed on the user terminal in the form of a message window. The message window can be configured with a payment confirmation control. The user can submit a user payment instruction by triggering the payment confirmation control. After the user payment instruction is submitted, to improve payment security, the user can be authenticated. After the authentication passes, the user payment instruction is submitted to the server so that the server can perform the payment processing of the payment order. In an optional implementation manner provided in this embodiment, before submitting the user payment instruction to the server, it further includes:

[0102] Obtain a trigger instruction submitted by the payment confirmation control configured for the message window, and use the trigger instruction as the user payment instruction;

[0103] Call the authentication interface to authenticate the user, and after the authentication passes, execute the step of submitting the user payment instruction to the server for payment processing of the payment order if the user payment instruction is detected.

[0104] Specifically, the user terminal displays a message window corresponding to the payment message. The user triggers the payment confirmation interface configured for the message window. The user terminal obtains the trigger instruction of the payment confirmation interface and uses the trigger instruction as the user payment instruction. After detecting the trigger instruction, it calls the authentication interface to authenticate the user, and after the authentication passes, it executes the subsequent step S208; among them, the authentication processing can be based on the user's biometric characteristics or based on a key or a one-time password for authentication.

[0105] Such as Figure 7 and Figure 9 shown, the user triggers the "Confirm Payment" button configured for the message window to submit a trigger instruction. The user terminal uses the trigger instruction as the user payment instruction. After detecting the user payment instruction, it calls the fingerprint verification interface to verify the user's fingerprint. After the verification passes, it submits the user payment instruction to the server so that the server can perform the payment processing of the payment order, and returns Figure 9 the payment confirmation page shown after the payment processing is completed.

[0106] In summary, one or more order payment methods based on device interaction provided in this embodiment can be applied to the first device of the payer. During the process of near-field communication payment, call the near-field communication component to establish a near-field communication connection with the merchant device, send user payment information to the merchant device through the near-field communication connection, receive the payment message of the payment order sent by the server, and obtain the terminal display parameters of the payment message, and perform display processing of the payment message according to the terminal display parameters to cooperate with the merchant device for message synchronization display. If the user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order to enhance the interactive perception of the user and the merchant for near-field communication payment and increase the functions of near-field communication payment.

[0107] Further, when the user conducts payment identity verification, switches the payment channel and / or cancels the payment, a synchronous display rollback process for payment message display can be performed in cooperation with the merchant device, further improving the interactive perception of near-field communication payment. By means of display rollback, both the user and the merchant can quickly perceive the changes in the payment order, increasing the functionality of near-field communication payment;

[0108] Furthermore, to avoid repeated operations by the user and repeated exchanges of interactive instructions, after the synchronous display rollback is completed, a payment instruction can be submitted to the server through the merchant device so that the server can perform payment processing on the payment order. That is: the user terminal may not detect the user payment instruction, and the merchant device can generate a device payment instruction and submit it to the server to enable the server to perform payment processing on the payment order, or the user payment instruction can be submitted to the server through the merchant device so that the server can perform payment processing on the payment order.

[0109] The implementation process of the first device interaction-based order payment method provided above can be executed by the user terminal. The implementation process of the second device interaction-based order payment method provided in the following method embodiments can be executed by the merchant device. The implementation process of the third device interaction-based order payment method provided in the following method embodiments can be executed by the server. The three can cooperate with each other during the execution process. Therefore, when reading the above implementation process, reference can be made to the corresponding content of the following second and third device interaction-based order payment method embodiments. Correspondingly, when reading the following second and third device interaction-based order payment method embodiments, reference can also be made to the corresponding content of the above method embodiments.

[0110] The following takes the application of a device interaction-based order payment method provided in this embodiment in a near-field communication payment scenario as an example to further illustrate the device interaction-based order payment method provided in this embodiment. See Figure 10 , the device interaction-based order payment method applied to the near-field communication payment scenario specifically includes the following steps.

[0111] Step S1004, call the near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection.

[0112] Optionally, the payee includes: a merchant; the second device includes: a merchant device.

[0113] Step S1006, send payment account information to the second device through the near-field communication connection.

[0114] Step S1022, receive the payment message of the payment order sent by the second device through the near-field communication connection, and obtain the first device display parameters of the payment message.

[0115] Step S1024: Generate a message window for the payment message based on the order information and payment channel information included in the payment message.

[0116] Step S1026: Perform display processing of the message window on the terminal page according to the terminal display time included in the first device display parameters and the window display area corresponding to each terminal display time.

[0117] Optionally, the terminal display time included in the first device display parameters has a time continuity relationship with the device display time included in the second device display parameters in the following embodiments; the page display area corresponding to the terminal display time has a regional adaptation relationship with the page display area corresponding to the device display time in the following embodiments.

[0118] Step S1028: When a payment switching instruction is detected, perform a rollback process of the display processing of the message window on the terminal page according to the terminal display time included in the first device display parameters and the window display area corresponding to each terminal display time, and send a rollback instruction to the second device.

[0119] Previously, the user submitted a payment switching instruction by triggering the payment switching interface of the message window.

[0120] Optionally, steps S1024 to S1026 may be replaced with: Perform display processing of the payment message on the terminal page according to the terminal display time included in the first device display parameters and the page display area corresponding to each terminal display time;

[0121] Correspondingly, step S1028 may be replaced with: When a payment switching instruction is detected, perform a rollback process of the display processing of the payment message on the terminal page according to the terminal display time included in the first device display parameters and the page display area corresponding to each terminal display time, and send a review instruction to the second device.

[0122] The above-mentioned step S1006 and steps S1022 to S1028 provided in this embodiment are executed by the first device of the payer. It should be noted that the above-mentioned step S1006 and steps S1022 to S1028 executed by the first device of the payer can cooperate with the steps S1002 to S1004, step S1008, steps S1016 to S1018, and steps S1030 to S1032 executed by the second device of the payee in the following embodiment, and the steps S1010 to S1014 and step S1034 executed by the server in the following embodiment during the execution process. Therefore, when reading this embodiment, please refer to the corresponding content of steps S1002 to S1004, step S1008, steps S1016 to S1018, and steps S1030 to S1032 provided in the following method embodiment and the corresponding content of steps S1010 to S1014 and step S1034 provided in the following method embodiment. When reading the following method embodiment, please refer to the corresponding content of step S1006 and steps S1022 to S1028 provided in this embodiment.

[0123] One or more embodiments of the second order payment method based on device interaction provided in this specification are as follows:

[0124] Refer to Figure 11 , the order payment method based on device interaction provided in this embodiment can be applied to the second device of the payee, and specifically includes steps S1102 to S1108.

[0125] Step S1102, call the near field communication component to detect the payment device, and display a near field payment reminder when the first device of the payer is detected.

[0126] In practical applications, during an offline transaction, the user can establish a near field communication device with the merchant device through the user terminal to pay for goods. During the near field communication payment process, a payment animation for near field communication payment can be displayed on the screens of the user terminal and the merchant device through information interaction among all parties to enhance the interactive perception of near field communication payment and increase the functions of near field communication payment. In this embodiment, through the interaction of the user terminal, the merchant device, and the server, the user terminal and the server cooperate to synchronously display payment messages to enhance the perception degree of the merchant and the user during the near field communication payment process and increase the functionality of near field communication payment.

[0127] During specific implementation, the merchant device calls the near-field communication component to detect the user terminal. After detecting the user terminal, that is, after detecting the signal of the near-field communication component of the user terminal, a near-field payment reminder is displayed. During the specific detection process, the merchant device can call the near-field communication component to broadcast a request for establishing a near-field communication connection. When the user terminal is within the broadcast range of the merchant device, it can send a request confirmation message to the merchant device through the near-field communication component. After the merchant device detects the request confirmation message, a near-field payment reminder is displayed. In addition, the merchant device can also detect the user terminal through other communication methods, such as Bluetooth communication, infrared communication, radio frequency communication, etc. The purpose is to detect whether the user terminal is within the preset range of the merchant device. Specifically, the merchant device can call the communication component to detect the user terminal and display a near-field payment reminder when the user terminal is detected. In this embodiment, the near-field payment reminder can be a reminder message displayed on the merchant device to remind the user that the merchant device can perform near-field communication payment. As shown in the figure, when the merchant device detects that the user is within the preset range, a near-field communication payment reminder is displayed on the screen.

[0128] In addition, the merchant device can also interact with the server to implement the position detection of the user terminal. It can detect whether the position information of the user terminal is within the preset range of the merchant device through the server. Specifically, the merchant device performs user terminal detection and displays a near-field payment reminder when the position confirmation information submitted by the server is detected. Optionally, the merchant device calls the configured near-field communication component to detect the user terminal. If the user terminal is detected within the preset distance range, a near-field payment reminder is displayed.

[0129] It should be noted that the merchant device can use any one of the above methods, or a combination of any two or more methods to detect whether the user terminal is within the preset range of the merchant device. This embodiment does not make any limitations here.

[0130] Step S1104, call the near-field communication component to establish a near-field communication connection with the first device, and obtain the payment account information sent by the first device through the near-field communication connection.

[0131] During specific implementation, the user terminal calls the near-field communication component to cooperate with the merchant device to establish a near-field communication connection and sends user payment information to the merchant device through the near-field communication connection. The merchant device calls the near-field communication component to establish a near-field communication connection with the user terminal and obtains the user payment information.

[0132] In this embodiment, the user payment information is used to represent the user information required to create a payment order, which may be the user's identity information, the payment channel information opened by the user, or alternatively, the account information corresponding to the payment channel opened by the user, the rights and resources information of the user account, etc. In addition, the user payment information may also be any one of the above, or a combination of any two or more of them. This embodiment does not make any limitations here; the user payment information can be interactively transmitted through the near-field communication connection established between the merchant device and the user terminal. Optionally, the user payment information is sent from the user terminal to the merchant device through the near-field communication connection. Specifically, it can be that the merchant device reads the user payment information stored in the user terminal through the near-field communication connection, or the user terminal actively sends the user payment information to the merchant device through the near-field communication connection. Optionally, the user terminal can be in an online state or an offline state. In this embodiment, the order information refers to the order information of the commodity order for which the user purchases goods uploaded by the merchant device, which may be the commodity amount, or the commodity name, the commodity unit price, etc. In addition, the order information may also be any one of the above, or a combination of any two or more of them. This embodiment does not make any limitations here. The order information can be transmitted to the merchant device after the merchant cash register and / or the merchant's barcode scanning device scans the commodity identification code; in addition, the merchant can also interact with the merchant cash register to input the received payment amount and use the received payment amount as the order information. Optionally, there is a hardware connection between the merchant device and the merchant cash register.

[0133] It should be noted that the user terminal can call the near-field communication component to establish a near-field communication connection with the merchant device in the screen-locked state, or can also call the near-field communication component to establish a near-field communication connection with the merchant device in the screen-unlocked state. Specifically, the user can bring the user terminal close to the merchant device of the merchant in the screen-locked state and establish a near-field communication connection with the merchant device through the near-field communication component for information transmission. Optionally, the user terminal establishes a near-field communication connection with the merchant device through the near-field communication component. In addition, after the screen is unlocked, the user can also perform near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.

[0134] It should be noted that the establishment request for the near-field communication connection can be submitted by the user terminal to the merchant device, that is: the user terminal calls the near-field communication component to read the near-field communication information of the merchant device and establish a near-field communication connection, or it can also be submitted by the merchant device to the user terminal, that is: the merchant device calls the near-field communication component to read the near-field communication information of the user terminal and establish a near-field communication connection. This embodiment does not make any limitations here.

[0135] Step S1106: Upload the collection order information and the payment account information to the server to create a payment order, and receive the payment message of the payment order returned by the server and the second device display parameters of the payment message.

[0136] In practical applications, to enhance the perception of near-field communication payment and improve the interactive perception of both users and merchants, the server can generate the payment message of the payment order and the terminal display parameters of the payment message and send them to the user terminal and the merchant device, so as to perform synchronous display of the message through the cooperation of the user terminal and the merchant device. Specifically, the merchant device uploads the order information and the user payment information to the server; the server creates a payment order based on the order information and the user payment information uploaded by the merchant device, generates the payment message of the payment order, and sends the device display parameters of the payment message to the merchant device, and generates the terminal display parameters of the payment message and sends them to the user terminal; the user terminal obtains the payment message and the terminal display parameters. At the same time, the merchant device receives the payment message and the device display parameters. Optionally, the payment order is created based on the user payment information and the order information generated by the merchant device.

[0137] In this embodiment, the payment message refers to a reminder message generated by the server to represent the order information of the payment order, which can be displayed through the cooperation of the user terminal and the merchant device to display the order information of the payment order to the user and the merchant. Specifically, the payment message may include the order information of the payment order and the message material, so as to perform rendering and display processing through the user terminal and / or the merchant device. Correspondingly, the terminal display parameter refers to the display control parameter included in the payment message, which is used to control the display effect of the payment message of the user terminal and / or the merchant device. The device display parameter may be the device display time, or the page display position, or the device display parameter may also be the display special effect parameter, etc. It should be noted that the terminal display parameter may be any one of the above parameters, or a combination of the above two or more parameters. This embodiment does not make a limitation here.

[0138] In practical applications, the synchronous display of the user terminal and the merchant device requires a stable channel. By receiving the payment message and the terminal display parameters of the payment message through a stable channel, the synchronous display processing of the payment message can be stably performed to achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an optional implementation manner provided in this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters sent by the server, that is, the terminal display parameters of the user terminal are sent by the server.

[0139] In addition, to improve the stability of the synchronous display of payment messages, the server may first send the terminal display parameters of the payment message to the merchant device, and then the merchant device forwards the terminal display parameters to the user terminal. Specifically, the merchant device may forward the terminal display parameters to the user terminal through a near-field communication connection to improve the synchronization of the synchronous display through the high stability and high real-time performance of near-field communication. That is, step S1106 may be replaced with: uploading the collection order information and payment account information to the server to create a payment order, receiving the payment message of the payment order returned by the server, as well as the second device display parameters and the first device display parameters of the payment message, and sending the first device display parameters to the first device through a near-field communication connection.

[0140] Step S1108, perform display processing of the payment message according to the second device display parameters to cooperate with the first device for message synchronous display.

[0141] In specific implementation, the user terminal performs display processing of the payment message according to the obtained terminal display parameters of the payment message to cooperate with the merchant device for synchronous display of the payment message; the merchant device also performs display processing of the payment message according to the device display parameters of the payment message to cooperate with the user terminal for message synchronous display.

[0142] In practical applications, to improve the synchronization of the synchronous display of payment messages between the user terminal and the merchant device, the display time may be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal, so that the display times included in the device display parameters and the terminal display parameters are continuous in time to represent the display effect of the payment message "entering" the user terminal side from the merchant device side. For example, the payment message "flows out" from the merchant device side and "flows into" the user terminal side at the same time, realizing the synchronous display of the payment message. Optionally, the device display time included in the device display parameters included in the payment message has a time continuity relationship with the terminal display time included in the terminal display parameters.

[0143] In addition, to improve the synchronization of the synchronous display of payment messages between the user terminal and the merchant device, the page display area may also be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal, so that the page display areas included in the device display parameters and the terminal display parameters are adapted in position to represent the display effect of the payment message "entering" the user terminal side from the merchant device side. For example, the payment message "flows out" from above the merchant device side and "flows into" from above the user terminal side, realizing the synchronous display of the payment message. Optionally, the page display area included in the device display parameters included in the payment message has an area adaptation relationship with the page display area included in the terminal display parameters.

[0144] During the specific synchronous display process, the user terminal can perform display processing of payment messages on the user terminal page according to the terminal display time included in the terminal display parameters and the page display areas corresponding to each terminal display time. Correspondingly, the merchant device performs display processing of payment messages on the device page according to the display time included in the device display parameters of the payment message and the page display areas corresponding to each device display time. Among them, the payment messages displayed on the user terminal and the merchant device can be the same. In an optional implementation manner provided in this embodiment, the merchant device performs synchronous display, including:

[0145] Performing display processing of the payment message on the device page according to the device display time included in the device display parameters of the payment message and the page display areas corresponding to each device display time;

[0146] Correspondingly, the user terminal performs message synchronous display, including:

[0147] Performing display processing of the payment message on the terminal page according to the terminal display time included in the terminal display parameters and the page display areas corresponding to each terminal display time.

[0148] In practical applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant device side of the merchant and the payment messages on the user terminal side of the user can be distinguished, that is: the payment messages on the merchant terminal side are configured as payment reminder images, and the payment messages on the user terminal side are configured as message windows. The display contents of the two can be configured differently to improve the perception degree of near-field communication payment. In an optional implementation manner provided in this embodiment, the merchant device performs message synchronous display, including:

[0149] Performing image rendering according to the order information and message materials included in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image;

[0150] Performing display processing of the payment reminder image on the device page according to the device display time included in the payment reminder message and the image display areas corresponding to each device display time;

[0151] Correspondingly, the user terminal performs message synchronous display, including:

[0152] Generating a message window of the payment message according to the order information and payment channel information included in the payment message;

[0153] Performing display processing of the message window on the terminal page according to the terminal display time included in the payment message and / or the first device display parameters and the window display areas corresponding to each terminal display time.

[0154] Specifically, the merchant device performs image rendering based on the order information and message materials included in the payment reminder message of the received payment order to obtain a payment reminder image. The merchant device displays the payment reminder image on the device page of the merchant device at the corresponding device display time according to the device display time included in the device configuration parameters of the payment order and the image display area corresponding to each device display time. Correspondingly, the user terminal generates a message window of the payment message according to the order information included in the payment message and the payment channel information bound by the user, and performs display processing of the message window on the terminal page according to the terminal display time included in the terminal display parameters of the payment message and the window display area corresponding to each terminal display time. Among them, the display content of the payment reminder image and the message window may be different, and the message window can be configured with a payment confirmation interface to enable the user to perform payment confirmation processing.

[0155] In practical applications, to improve the synchronization of the display of payment messages on the user terminal and the merchant device, the server can send the device display parameters and terminal display parameters of the payment message to the merchant device. After the display of the payment message is completed on the merchant device, the merchant device forwards the terminal display parameters to the user terminal through a near-field communication connection, so that the user terminal displays the payment message after the display of the payment message on the merchant device is completed, so as to show the display effect of the payment message "synchronously transmitted" from the merchant device to the user terminal. Among them, the display content of the payment message displayed by the user terminal and the merchant device can be the same or different. In an optional implementation manner provided in this embodiment, the merchant device performs synchronous display of the payment message, including:

[0156] Performing display processing of the payment message on the device page according to the device display time included in the device display parameters of the payment message and the page display area corresponding to each device display time;

[0157] After detecting the completion of the display of the last display time among the device display times, sending a display instruction to the user terminal through the near-field communication connection;

[0158] Correspondingly, the user terminal performs message synchronous display, including:

[0159] Receiving and reading the terminal display parameters carried in the display instruction;

[0160] Performing display processing of the payment message on the terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time.

[0161] In addition, the server can also send the terminal display parameters and device display parameters of the payment message to the user terminal. The user terminal forwards the device display parameters to the merchant device through the near-field communication connection established with the merchant device, and interacts with the merchant device through commands to achieve synchronous display of the payment message.

[0162] In practical applications, to improve the synchronization of the payment message displayed on the user terminal and the merchant device, the payment message displayed on the merchant device can also be corresponding to the payment message displayed on the user terminal in terms of the display position dimension, that is: the page display area of the payment message displayed on the merchant device has a page adaptation relationship with the page display area of the payment message on the user terminal. When the terminal display parameters of the user terminal are sent through the near-field communication connection established with the merchant device, the position of the cooperating device can be determined according to the collected environmental image, and the page display area can be determined according to the position. Taking the sending of the terminal display parameters and device display parameters of the payment message to the merchant device as an example, the merchant device can collect the environmental image to determine the position of the user terminal relative to the merchant device, determine the adaptation direction between the merchant device and the user terminal according to this position, and determine the page display area included in the terminal display parameters according to the adaptation direction to achieve synchronous display of the payment message in the display area. Optionally, the page display area included in the device display parameters and the page display area included in the terminal display parameters are determined according to the message window parameters of the payment message and the adaptation direction between the merchant device and the user terminal. Optionally, the adaptation direction is determined according to the environmental image collected by the merchant device or the user terminal.

[0163] In addition, after the merchant device finishes displaying the payment message, there may be a situation where the user changes the payment channel, or there may be a situation where the user cancels the payment. For example: the user can submit a payment cancellation instruction by swiping the page on the message window of the payment message. In response to this, the user can submit a payment switching instruction to the user terminal. After detecting the payment switching instruction, the user terminal cooperates with the merchant device to perform a rollback process on the display of the payment message, that is: roll back the payment message displayed on the user terminal and the merchant device to show the effect of the payment message "rolling back" from the user terminal to the merchant device. In addition, to avoid repeated operations by the user, when the user switches the payment channel, after the rollback of the display operation of the payment message on the user terminal and the merchant device is completed, the merchant device can submit a device payment instruction to the server to enable the server to perform payment processing on the payment order. In an optional implementation manner provided in this embodiment, after cooperating with the user terminal to perform synchronous display of the payment message, it further includes:

[0164] Receiving a rollback instruction sent by the user terminal; the rollback instruction is sent after the rollback process of the message synchronous display operation is completed when the user terminal detects a payment switching instruction;

[0165] Perform rollback processing on the display processing operation of the payment message according to the device display parameters in response to the rollback instruction;

[0166] Submit the detected device payment instruction submitted by the user to the server to perform payment processing on the payment order according to the device payment instruction.

[0167] Specifically, the rollback processing can be reverse display according to the display time included in the terminal display parameters and the display areas corresponding to each display time, that is: display the display areas corresponding to each display time in the order from the latest to the earliest display time. After the rollback of the user terminal is completed, a rollback instruction can also be sent to the merchant device through the near-field communication connection, so that the merchant device performs rollback processing on the display processing operation of the payment message according to the device display parameters.

[0168] In addition, rollback processing of the display operation of the payment message can also be performed when the user is undergoing payment authentication. The user can be authenticated after submitting a payment confirmation instruction. Before the authentication processing, rollback processing of the display operation of the payment message is performed. After the authentication is passed, an authentication passed instruction is submitted to the merchant device, so that the merchant device generates a device payment instruction and sends it to the server, so that the server performs payment processing on the payment order.

[0169] In summary, one or more order payment methods based on device interaction provided in this embodiment are applied to merchant devices. During the near-field communication payment process, the near-field communication component is called to detect the user terminal. When the user terminal is detected, a near-field payment reminder is displayed. The near-field communication component is called to establish a near-field communication connection with the user terminal, and the user payment information sent by the user terminal through the near-field communication connection is obtained. The order information and user payment information are uploaded to the server to create a payment order. The payment message of the payment order and the device display parameters of the payment message returned by the server are received, and the display processing of the payment message is performed according to the device display parameters to cooperate with the user terminal for message synchronization display, so as to increase the function of near-field communication payment and enhance the interaction perception of near-field communication payment;

[0170] After the display processing of the payment message is completed, in the case where the user performs payment authentication, switches the payment channel and / or cancels the payment, a synchronous display rollback processing of the payment message display is also performed in cooperation with the user terminal, further enhancing the interaction perception of near-field communication payment. By means of display rollback, users and merchants can quickly perceive the changes in the payment order, increasing the functionality of near-field communication payment.

[0171] The following takes the application of an order payment method based on device interaction provided in this embodiment in a near-field communication payment scenario as an example to further illustrate the order payment method based on device interaction provided in this embodiment. SeeFigure 10 An order payment method based on device interaction for near - field communication payment scenarios, specifically including the following steps.

[0172] Step S1002: Invoke the near - field communication component to detect the payment device, and display a near - field communication payment reminder when the first device of the payer is detected.

[0173] Optionally, the payer can be a user; the first device can be a user terminal.

[0174] Step S1004: Invoke the near - field communication component to establish a near - field communication connection with the first device.

[0175] Step S1008: Obtain the payment account information sent by the first device through the near - field communication connection, and upload the collection order information and the payment account information to the server so that the server creates a payment order.

[0176] Step S1016: Receive the payment message of the payment order returned by the server, as well as the first - device display parameters and the second - device display parameters of the payment message.

[0177] Step S1018: According to the device display time included in the second - device display parameters of the payment message and the page display area corresponding to each device display time, perform display processing of the payment message on the device page.

[0178] Step S1020: After detecting that the display of the last display time among the device display times is completed, send the payment message of the payment order and the first - device display parameters of the payment message to the user terminal through the near - field communication connection.

[0179] Step S1030: Receive the rollback instruction sent by the first device, perform rollback processing on step S1018, that is, perform display processing of the payment message on the device page according to the device display time included in the second - device display parameters of the payment message and the page display area corresponding to each device display time, and submit a payment instruction to the server after the rollback processing is completed.

[0180] One or more embodiments of the third order payment method based on device interaction provided in this specification are as follows:

[0181] Refer to Figure 12 This embodiment provides an order payment method based on device interaction, which can be applied to a server, and specifically includes steps S1202 to S1208.

[0182] Step S1202: Create a payment order according to the collection order information and the payment account information uploaded by the second device of the payee.

[0183] In practical applications, during an offline transaction process, a user can establish a near-field communication device with a merchant device through a user terminal to make a payment for goods. During the near-field communication payment process, a payment animation for near-field communication payment can be displayed on the screens of the user terminal and the merchant device through information interaction among all parties, so as to enhance the interactive perception of near-field communication payment and increase the functions of near-field communication payment. In this embodiment, through the interaction among the user terminal, the merchant device, and the server, the user terminal and the server cooperate to synchronously display payment messages, so as to enhance the perception degree of the merchant and the user during the near-field communication payment process and increase the functionality of near-field communication payment.

[0184] During specific implementation, the user terminal calls a near-field communication component to cooperate with the merchant device to establish a near-field communication connection, and sends user payment information to the merchant device through the near-field communication connection; after receiving the user payment information, the merchant device uploads the order information of the commodity order and the user payment information to the server; the server receives the order information and the user payment information uploaded by the merchant device and creates a payment order. Optionally, the user payment information is sent by the user terminal to the merchant device through the near-field communication connection.

[0185] In this embodiment, the user payment information is used to represent the user information required to create a payment order, which can be the user's identity information, the payment channel information opened by the user, or, it can also be the account information corresponding to the payment channel opened by the user, the rights and resources information of the user account, etc. In addition, the user payment information can also be any one of the above, or a combination of any two or more of them. This embodiment does not make any limitations here; the user payment information can be interactively transmitted through the near-field communication connection established between the merchant device and the user terminal. Optionally, the user payment information is sent by the user terminal to the merchant device through the near-field communication connection. Specifically, it can be that the merchant device reads the user payment information stored in the user terminal through the near-field communication connection, or it can be that the user terminal actively sends the user payment information to the merchant device through the near-field communication connection. Optionally, the user terminal can be in an online state or an offline state. In this embodiment, the order information refers to the order information of the commodity order purchased by the user uploaded by the merchant device, which can be the commodity amount, or, the commodity name, the commodity unit price, etc. In addition, the order information can also be any one of the above, or a combination of any two or more of them. This embodiment does not make any limitations here. The order information can be transmitted to the merchant device after scanning the commodity identification code through the merchant cash register and / or the merchant scanning device; in addition, the merchant can also interact with the merchant cash register to input the received payment amount and use the received payment amount as the order information. Optionally, there is a hardware connection between the merchant device and the merchant cash register.

[0186] It should be noted that the user terminal can call the near-field communication component to establish a near-field communication connection with the merchant device in the screen locked state, or can also call the near-field communication component to establish a near-field communication connection with the merchant device in the screen unlocked state. Specifically, the user can bring the user terminal close to the merchant device of the merchant in the screen locked state, and establish a near-field communication connection with the merchant device through the near-field communication component for information transmission. Optionally, the user terminal establishes a near-field communication connection with the merchant device through the near-field communication component. In addition, after the screen is unlocked, the user can also perform near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.

[0187] It should be noted that the establishment request for the near-field communication connection can be submitted by the user terminal to the merchant device, that is: the user terminal calls the near-field communication component to read the near-field communication information of the merchant device and establish a near-field communication connection, or it can also be submitted by the merchant device to the user terminal, that is: the merchant device calls the near-field communication component to read the near-field communication information of the user terminal and establish a near-field communication connection. This embodiment does not make a limitation here.

[0188] Step S1204, generate a payment message for the payment order, as well as a first device display parameter and a second device display parameter for the payment message.

[0189] In practical applications, to enhance the perception degree of near-field communication payment and improve the interactive perception of both users and merchants, the server can generate a payment message for the payment order, as well as a terminal display parameter for the payment message and send them to the user terminal and the merchant device, so as to perform message synchronous display through the cooperation of the user terminal and the merchant device. Specifically, when implemented, the server generates a payment message for the payment order, as well as a device display parameter for the payment message and a terminal display parameter for the payment message

[0190] In this embodiment, the payment message refers to a reminder message generated by the server for presenting the order information of the payment order, which can be displayed through the cooperation of the user terminal and the merchant device to present the order information of the payment order to the user and the merchant. Specifically, the payment message can include the order information of the payment order and message materials for rendering and display processing through the user terminal and / or the merchant device. Correspondingly, the terminal display parameter and the device display parameter refer to the display control parameters included in the payment message for controlling the display effect of the payment message of the user terminal and / or the merchant device. The specific parameters included can be the device display time, or the page display position, or display special effect parameters, etc. It should be noted that the terminal display parameter and / or the device display parameter can be any one of the above parameters, or a combination of the above two or more parameters. This embodiment does not make a limitation here. It should be noted that the terminal display parameter is applied to the first device of the payer, and the device display parameter is applied to the merchant device.

[0191] In practical applications, the synchronous display of the user terminal and the merchant device requires a stable channel. Through the stable channel, the payment message and the terminal display parameters of the payment message are received simultaneously to stably perform the synchronous display process of the payment message and achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an alternative implementation provided in this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters sent by the server, that is, the terminal display parameters of the user terminal are sent through the server.

[0192] In addition, to improve the stability of the synchronous display of the payment message, the server can first send the terminal display parameters of the payment message to the merchant device, and then the merchant device forwards the terminal display parameters to the user terminal. Specifically, the merchant device can forward the terminal display parameters to the user terminal through a near-field communication connection to improve the synchronization of the synchronous display through the high stability and high real-time performance of near-field communication. In another alternative implementation provided in this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters sent by the merchant device through the near-field communication connection, that is, the terminal display parameters of the merchant device are sent through the server, and the terminal display parameters of the user terminal are forwarded by the merchant device through the near-field communication connection.

[0193] Step S1206, send the payment message and the second device display parameters to the second device, and send the payment message and the first device display parameters to the first device, so that the second device and the first device cooperate to perform message synchronous display.

[0194] In specific implementation, the server sends a payment message and device display parameters to the merchant device, and sends a payment message and terminal display parameters to the user terminal, so that the merchant device and the user terminal cooperate to perform synchronized display of the message; the user terminal performs display processing of the payment message according to the terminal display parameters of the obtained payment message to cooperate with the merchant device to perform synchronized display of the payment message; the merchant device also performs display processing of the payment message according to the device display parameters of the payment message to cooperate with the user terminal to perform synchronized display of the message. During the specific display process, it can be displayed in the payment application and enter the payment application after detecting the user access instruction. Optionally, enter the payment application according to the user access instruction. Optionally, the operation of performing display processing of the payment message according to the terminal display parameters is based on the application page of the payment application. Further, when the user terminal receives a payment message in the screen-locked state, it can generate a message notification of the payment message and display it, and jump to the payment application to display the payment message after the message notification is triggered. Optionally, when it is detected that the screen state is in the locked state, a message notification of the payment message is generated, and it jumps to the payment application after the message notification is triggered.

[0195] It should be noted that to improve the synchronization of the synchronized display of the payment message between the user terminal and the merchant device, the payment message of the payment order, as well as the first device display parameter and the second device display parameter of the payment message, can be sent to the merchant device, so that the merchant device transmits them to the user terminal through a near-field communication connection, so as to perform transmission of the display parameters and synchronized display of the payment message through a highly stable and fast near-field communication method, that is: step S1206 can be replaced by: sending a payment message, a second device display parameter, and a first device display parameter to the second device, so that the second device sends the payment message and the first device display parameter to the first device through a near-field communication connection to perform synchronized display of the payment message.

[0196] In actual application, to improve the synchronization of the synchronized display of the payment message between the user terminal and the merchant device, the display time can be configured in the device display parameter of the merchant device and the terminal display parameter of the user terminal, so that the display time included in the device display parameter and the terminal display parameter is continuous in time, so as to show the display effect of the payment message "entering" the user terminal side from the merchant device side. For example: the payment message "flows out" from the merchant device side and "flows into" the user terminal side while "flowing out", realizing the synchronized display of the payment message. Optionally, the device display time included in the device display parameter included in the payment message has a time continuous relationship with the terminal display time included in the terminal display parameter.

[0197] In addition, to improve the synchronization of the display of payment messages on the user terminal and the merchant device, a page display area can also be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal, so that the page display areas included in the device display parameters and the terminal display parameters are adapted in position to show the display effect of the payment message "flowing in" from the merchant device side to the user terminal side. For example, the payment message "flows out" from the upper part of the merchant device side and "flows in" from the upper part of the user terminal side to achieve the synchronous display of the payment message. Optionally, the page display area included in the device display parameters of the payment message has a regional adaptation relationship with the page display area included in the terminal display parameters.

[0198] It should be noted that the device display parameters of the merchant device and the terminal display parameters of the user terminal can simultaneously have a time continuity relationship of the display time and a regional adaptation relationship. For example, the device display time included in the device display parameters of the payment message has a time continuity relationship with the terminal display time included in the terminal display parameters; the page display area corresponding to the device display time has a regional adaptation relationship with the page display area corresponding to the terminal display time.

[0199] During the specific synchronous display process, the user terminal can perform the display process of the payment message on the user terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time. Correspondingly, the merchant device performs the display process of the payment message on the device page according to the display time included in the device display parameters of the payment message and the page display area corresponding to each device display time. Among them, the payment message displayed on the user terminal and the payment message displayed on the merchant device can be the same. In an optional implementation manner provided in this embodiment, the merchant device and the user terminal cooperate to perform message synchronous display, including:

[0200] The merchant device performs the display process of the payment message on the device page according to the device display time included in the device display parameters of the payment message and the page display area corresponding to each device display time;

[0201] The user terminal performs the display process of the payment message on the terminal page according to the terminal display time included in the terminal display parameters and the page display area corresponding to each terminal display time.

[0202] In practical applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant device side of the merchant and the payment messages on the user terminal side of the user can be distinguished, that is: the payment messages on the merchant terminal side are configured as payment reminder images, and the payment messages on the user terminal side are configured as message windows. The display contents of the two can be configured differently to improve the perception of near-field communication payment. In an optional implementation provided in this embodiment, the merchant device and the user terminal cooperate to perform message synchronous display, including:

[0203] The merchant device performs image rendering according to the order information and message materials included in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image;

[0204] According to the device display time included in the payment reminder message and the image display area corresponding to each device display time, perform display processing of the payment reminder image on the device page;

[0205] The user terminal generates a message window of the payment message according to the order information and payment channel information included in the payment message;

[0206] According to the terminal display time included in the payment message and / or the first device display parameter and the window display area corresponding to each terminal display time, perform display processing of the message window on the terminal page.

[0207] Specifically, the merchant device performs image rendering according to the order information and message materials included in the payment reminder message of the received payment order to obtain a payment reminder image. The merchant device displays the payment reminder image at the corresponding device display time on the device page of the merchant device according to the device display time included in the device configuration parameters of the payment order and the image display area corresponding to each device display time; correspondingly, the user terminal generates a message window of the payment message according to the order information included in the payment message and the payment channel information bound by the user, and performs display processing of the message window on the terminal page according to the terminal display time included in the terminal display parameters of the payment message and the window display area corresponding to each terminal display time; among them, the display contents of the payment reminder image and the message window may be different, and the message window may be configured with a payment confirmation interface to enable the user to perform payment confirmation processing.

[0208] In practical applications, the user terminal can also perform cooperative display of payment messages when the screen is locked. The message generation interface can be called in the screen locked state to generate a message window of the payment message, and according to the display time included in the terminal display parameters and the window display area corresponding to each display time, perform display processing of the message window in the locked screen state. In an optional implementation provided in this embodiment, performing display processing of the payment message according to the terminal display parameters includes:

[0209] If it is detected that the screen state is in the locked state, a message window for generating the payment message is generated by calling an input call message generation interface with the order information and payment channel information included in the payment message as the interface call input;

[0210] According to the terminal display time included in the payment message and / or the first device display parameter, and the window display area corresponding to each terminal display time, the display process of the message window is performed on the screen lock page.

[0211] Furthermore, the above message window can also be configured with a payment confirmation interface, and the user can submit a payment confirmation instruction by triggering the payment confirmation interface to complete the payment confirmation process of the payment order.

[0212] In practical applications, to improve the synchronization of the payment message display between the user terminal and the merchant device, the server can send the device display parameter and terminal display parameter of the payment message to the merchant device. After the payment message is displayed, the merchant device forwards the terminal display parameter to the user terminal through a near-field communication connection, so that the user terminal displays the payment message after the payment message of the merchant device is displayed, so as to show the display effect of the payment message "synchronously transmitted" from the merchant device to the user terminal. Among them, the display content of the payment message displayed by the user terminal and the merchant device can be the same or different. In an optional implementation manner provided in this embodiment, the merchant device and the user terminal cooperate to perform message synchronization display, including:

[0213] The merchant device performs the display process of the payment message on the device page according to the device display time included in the device display parameter of the payment message and the page display area corresponding to each device display time;

[0214] After detecting the completion of the display of the last display time among the device display times, a display instruction is sent to the user terminal through the near-field communication connection;

[0215] The user terminal receives and reads the terminal display parameter carried by the display instruction;

[0216] According to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time, the display process of the payment message is performed on the terminal page.

[0217] In addition, the server can also send the terminal display parameter and device display parameter of the payment message to the user terminal. The user terminal forwards the device display parameter to the merchant device through the established near-field communication connection with the merchant device, and interacts with the merchant device through instructions to achieve synchronous display of the payment message.

[0218] In practical applications, to improve the synchronization of the payment message displayed on the user terminal and the merchant device, the payment message displayed on the merchant device can also be corresponding to the payment message displayed on the user terminal in terms of the display position dimension, that is: the page display area of the payment message displayed on the merchant device has a page adaptation relationship with the page display area of the payment message on the user terminal. When the terminal display parameters of the user terminal are sent through the near-field communication connection established with the merchant device, the position of the cooperating device can be determined according to the collected environmental image, and the page display area can be determined according to the position. Taking the terminal display parameters and device display parameters of the payment message sent to the merchant device as an example, the merchant device can collect the environmental image to determine the position of the user terminal relative to the merchant device, determine the adaptation direction between the merchant device and the user terminal according to this position, and determine the page display area included in the terminal display parameters according to the adaptation direction, so as to realize the synchronous display of the payment message in the display area. Optionally, the page display area included in the device display parameters and the page display area included in the terminal display parameters are determined according to the message window parameters of the payment message and the adaptation direction between the merchant device and the user terminal. Optionally, the adaptation direction is determined according to the environmental image collected by the merchant device or the user terminal.

[0219] Step S1208, if a payment instruction submitted by the first device is detected, perform payment processing on the payment order according to the payment account information.

[0220] In this embodiment, through the three-terminal interaction of the server, the user terminal, and the merchant device during the near-field communication payment process, the synchronous display processing of the payment message on the user terminal and the merchant device is realized. The perception degree of the near-field communication payment is improved through the synchronous display of the payment message, and the functionality of the near-field communication payment is increased.

[0221] Specifically, after the user terminal detects the user payment instruction input by the user, it submits the user payment instruction to the server so that the server performs payment processing on the payment order; after receiving the user payment instruction, the server performs payment processing on the payment order. In addition, there is also a situation where the user device does not detect the user payment instruction, that is: the payment instruction is not submitted to the server through the user terminal. In this regard, the payment instruction can also be submitted to the server through the merchant device, so that the server performs payment processing on the payment order. Step S1208 can be replaced with: if a payment instruction submitted by the merchant device is detected, perform payment processing on the payment order according to the payment account information.

[0222] In practical applications, after the user terminal displays the payment message, there are still cases where the user changes the payment channel, or there are cases where the user cancels the payment. For example: the user can submit a payment cancellation instruction by swiping the page on the message window of the payment message. In response to this, the user can submit a payment switching instruction to the user terminal. After detecting the payment switching instruction, the user terminal cooperates with the merchant device to perform a rollback process on the display of the payment message, that is: roll back the display of the payment message shown on the user terminal and the merchant device to show the effect of the payment message "rolling back" from the user terminal to the merchant device. In an optional implementation provided in this embodiment, before detecting the user payment instruction, it further includes:

[0223] If a payment switching instruction is detected, perform a rollback process on the display process operation of the payment message according to the terminal display parameters, and send a rollback instruction to the merchant device so that the merchant device performs a rollback process on the message synchronous display according to the rollback instruction.

[0224] Optionally, the message window of the payment message is configured with a payment switching control and / or a payment cancellation control.

[0225] Specifically, the rollback process can be a reverse display according to the display time included in the terminal display parameters and the display area corresponding to each display time, that is: display the display area corresponding to each display time in the order from the latest to the earliest display time. After the user terminal completes the rollback, it can also send a rollback instruction to the merchant device through a near-field communication connection so that the merchant device performs a rollback process on the display process operation of the payment message according to the device display parameters.

[0226] Furthermore, after the rollback of the display process operations of the user terminal and the merchant device is completed, in the case where the user switches the payment channel, the server can update the payment order and update the payment message, so that the merchant device and the user terminal synchronously display the updated payment message. In an optional implementation provided in this embodiment, after the merchant device performs a rollback process on the message synchronous display according to the rollback instruction, it further includes:

[0227] The merchant device receives the terminal configuration parameters and device configuration parameters for updating the payment message sent by the server, performs a display process on the payment message according to the device configuration parameters for updating the payment message, and sends a display instruction to the user terminal through a near-field communication connection after the display is completed;

[0228] The user terminal receives and reads the terminal configuration parameters for updating the payment message carried in the display instruction, and performs a synchronous display process on the payment message according to the terminal configuration parameters for updating the payment message.

[0229] Specifically, in the case where the user switches the payment channel, the payment order is updated through the server according to the switched payment channel by the user, and the payment message is updated. According to the configuration parameters of the updated payment message, the user terminal and the merchant device are subjected to secondary synchronous display processing.

[0230] In addition, to avoid repeated operations by the user, in the case where the user switches the payment channel, after the rollback of the display operation of the payment message on the user terminal and the merchant device is completed, a device payment instruction is submitted to the server through the merchant device, so that the server performs payment processing on the payment order; optionally, after the merchant device performs rollback processing on message synchronous display according to the rollback instruction, it further includes: performing payment processing on the payment order through the device payment instruction submitted by the merchant device. It should be noted that in the case of performing rollback processing on the display processing operation of the payment message, payment processing on the payment order can be performed through the device payment instruction submitted by the merchant device, that is: in the case of performing rollback processing on the display processing operation of the payment message, the user payment instruction does not need to be submitted to the server through the user terminal.

[0231] In addition, rollback processing of the display operation of the payment message can also be performed in the case of performing payment identity verification on the user. The user can be subjected to identity verification processing after submitting a payment confirmation instruction. Rollback processing of the display operation of the payment message is performed before the identity verification processing. After the identity verification is passed, an identity verification passed instruction is submitted to the merchant device, so that the merchant device generates a device payment instruction and sends it to the server, so that the server performs payment processing on the payment order. For example: after performing display processing of the payment message, it further includes: obtaining a trigger instruction submitted by a payment confirmation control configured for a message window of the payment message; performing rollback processing on the display processing operation of the payment message according to the terminal display parameters, and sending a rollback instruction to the merchant device, so that the merchant device performs rollback processing on message synchronous display according to the rollback instruction; calling an identity verification interface to perform identity verification processing on the user, and performing payment processing on the payment order through the device payment instruction submitted by the merchant device after the identity verification is passed. This is used to replace the step of the user terminal obtaining and submitting a user payment instruction to the server so that the server performs payment processing on the payment order.

[0232] In practical applications, during the process of near-field communication payment, the payment message can be displayed on the user terminal in the form of a message window. The message window can be configured with a payment confirmation control. The user can submit a user payment instruction by triggering the payment confirmation control. After the user payment instruction is submitted, to improve payment security, the user can be subjected to identity verification processing. After the identity verification is passed, the user payment instruction is submitted to the server so that the server performs payment processing on the payment order. In an optional implementation manner provided in this embodiment, before submitting the user payment instruction to the server, it further includes:

[0233] Obtain the trigger instruction submitted by the payment confirmation control configured for the message window, and use the trigger instruction as the user payment instruction;

[0234] Invoke the identity verification interface to perform identity verification on the user, and after the identity verification is passed, execute the step of submitting the user payment instruction to the server for payment processing of the payment order if a user payment instruction is detected.

[0235] Specifically, the user terminal displays a message window corresponding to the payment message. The user triggers the payment confirmation interface configured for the message window. The user terminal obtains the trigger instruction of the payment confirmation interface and uses this trigger instruction as the user payment instruction. After detecting the trigger instruction, it invokes the identity verification interface to perform identity verification on the user, and after the identity verification is passed, it executes the subsequent step S208; among them, the identity verification processing can be based on the user's biometric features for identity verification, or can be based on keys and one-time passwords for identity verification.

[0236] In summary, one or more order payment methods based on device interaction provided in this embodiment are applied to the server. According to the order information and user payment information uploaded by the merchant device, a payment order is created, a payment message for the payment order, as well as device display parameters and terminal display parameters for the payment message are generated. The payment message and device display parameters are sent to the merchant device, and the payment message and terminal display parameters are sent to the user terminal, so that the merchant device and the user terminal cooperate to synchronously display the message. When a payment instruction submitted by the user terminal is detected, the payment processing of the payment order is performed according to the user payment information, so as to improve the perception degree of near-field communication payment and increase the functions of near-field communication payment;

[0237] Before performing the payment processing of the payment order, when the user performs payment identity verification, switches the payment channel and / or cancels the payment, the user terminal and the merchant device can cooperate to perform a synchronous display rollback process of the payment message display, and the server updates the payment order and the payment message, further improving the interaction perception of near-field communication payment. By means of the display rollback, the user and the merchant can quickly perceive the changes in the payment order, increasing the functionality of near-field communication payment;

[0238] Furthermore, to avoid the user's repeated operations and the repeated exchange of interaction instructions, a payment instruction can also be submitted to the server through the merchant device after the synchronous display rollback is completed, so that the server performs the payment processing of the payment order, that is: the user terminal may not detect the user payment instruction, and the merchant device may generate a device payment instruction and submit it to the server to make the server perform the payment processing of the payment order, or the user payment instruction may be submitted to the server through the merchant device to make the server perform the payment processing of the payment order.

[0239] The following takes the application of an order payment method based on device interaction provided in this embodiment in the near - field communication payment scenario as an example to further illustrate the order payment method based on device interaction provided in this embodiment. Refer to Figure 10 The order payment method based on device interaction applied to the near - field communication payment scenario specifically includes the following steps.

[0240] Step S1010: Create a payment order according to the payment order information and payment account information uploaded by the second device of the payee.

[0241] Step S1012: Generate a payment message for the payment order, as well as the first - device display parameters and second - device display parameters of the payment message.

[0242] Step S1014: Send the payment message, as well as the first - device display parameters and second - device display parameters of the payment message, to the second device, so that the second device sends the payment message and the first - device display parameters of the payment message to the first device of the payer through a near - field communication connection.

[0243] Step S1034: Detect the payment instruction submitted by the second device, and perform payment processing on the payment order according to the payment account information.

[0244] The first embodiment of the order payment device based on device interaction provided in this specification is as follows:

[0245] In the above - mentioned embodiment, an order payment method based on device interaction applied to a server is provided. Correspondingly, an order payment device based on device interaction running on the server is also provided. The following is described with reference to the accompanying drawings.

[0246] Refer to Figure 13 which shows a schematic diagram of an embodiment of an order payment device based on device interaction provided in this embodiment.

[0247] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are merely illustrative.

[0248] This embodiment provides a first order payment device based on device interaction, which runs on the first device of the payer. The device includes:

[0249] A payment account information sending module 1302, configured to call a near - field communication component to cooperate with the second device of the payee to establish a near - field communication connection, and send payment account information to the second device through the near - field communication connection;

[0250] A display parameter acquisition module 1304, configured to receive a payment message of a payment order sent by a server and acquire first device display parameters of the payment message; the payment order is created based on the payment account information and the collection order information;

[0251] A payment message display module 1306, configured to perform display processing of the payment message according to the first device display parameters to cooperate with the second device for message synchronous display;

[0252] A payment instruction submission module 1308, configured to, if a user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order.

[0253] The second embodiment of the order payment device based on device interaction provided in this specification is as follows:

[0254] In the above embodiment, an order payment method based on device interaction for a first device of a payer is provided. Correspondingly, an order payment device based on device interaction running on a user terminal is also provided, which will be described below with reference to the accompanying drawings.

[0255] Refer to Figure 14 , which shows a schematic diagram of an embodiment of an order payment device based on device interaction provided in this embodiment.

[0256] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are only illustrative.

[0257] This embodiment provides a second order payment device based on device interaction, running on a second device of a payee. The device includes:

[0258] A near-field payment reminder display module 1402, configured to call a near-field communication component to detect a payment device, and display a near-field payment reminder when a first device of a payer is detected;

[0259] A payment account information acquisition module 1404, configured to call the near-field communication component to establish a near-field communication connection with the first device, and acquire payment account information sent by the first device through the near-field communication connection;

[0260] A display parameter receiving module 1406, configured to upload collection order information and the payment account information to a server to create a payment order, and receive a payment message of the payment order and second device display parameters of the payment message returned by the server;

[0261] A payment message display module 1408, configured to perform display processing of the payment message according to the second device display parameters, so as to cooperate with the first device for synchronized message display.

[0262] The third embodiment of the order payment device based on device interaction provided in this specification is as follows:

[0263] In the above embodiment, a method for order payment based on device interaction applied to a first device of a payer is provided. Correspondingly, an order payment device based on device interaction running on the first device of the payer is also provided, which will be described below with reference to the accompanying drawings.

[0264] Refer to Figure 15 , which shows a schematic diagram of an embodiment of an order payment device based on device interaction provided in this embodiment.

[0265] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are only illustrative.

[0266] This embodiment provides a third order payment device based on device interaction, running on a server. The device includes:

[0267] A payment order creation module 1502, configured to create a payment order according to the payment order information and payment account information uploaded by the second device of the payee; the payment account information is sent from the first device of the payer to the second device through a near-field communication connection;

[0268] A display parameter generation module 1504, configured to generate a payment message of the payment order, and a first device display parameter and a second device display parameter of the payment message;

[0269] A display parameter sending module 1506, configured to send the payment message and the second device display parameter to the second device, and send the payment message and the first device display parameter to the first device, so that the second device and the first device cooperate for synchronized message display;

[0270] A payment order processing module 1508, configured to perform payment processing of the payment order according to the payment account information if a payment instruction submitted by the first device is detected.

[0271] An embodiment of a first device of a payer provided in this specification is as follows:

[0272] Corresponding to the first order payment method based on device interaction described above, based on the same technical concept, one or more embodiments of this specification also provide a first device of the payer, and this first device of the payer is used to execute the first order payment method based on device interaction provided above. Figure 16 It is a schematic structural diagram of a first device of the payer provided by one or more embodiments of this specification.

[0273] A first device of the payer provided in this embodiment includes:

[0274] As Figure 16 shown, the first device of the payer may have relatively large differences due to configuration or performance, and may include one or more processors 1601 and a memory 1602. One or more application programs or data may be stored in the memory 1602. Among them, the memory 1602 may be transient storage or persistent storage. The application programs stored in the memory 1602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the first device of the payer. Further, the processor 1601 may be set to communicate with the memory 1602 and execute a series of computer-executable instructions in the memory 1602 on the first device of the payer. The first device of the payer may also include one or more power supplies 1603, one or more wired or wireless network interfaces 1604, one or more input / output interfaces 1605, one or more keyboards 1606, etc.

[0275] In a specific embodiment, the first device of the payer includes a memory and one or more programs, where one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the first device of the payer, and is configured to be executed by one or more processors. The one or more programs include the following computer-executable instructions:

[0276] Call the near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, and send payment account information to the second device through the near-field communication connection;

[0277] Receive the payment message of the payment order sent by the server, and obtain the display parameters of the first device of the payment message; the payment order is created based on the payment account information and the collection order information;

[0278] Perform display processing of the payment message according to the display parameters of the first device to cooperate with the second device for synchronous display of the message;

[0279] If a user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order.

[0280] An embodiment of the second device of the payee provided in this specification is as follows:

[0281] Corresponding to the second order payment method based on device interaction described above, based on the same technical concept, one or more embodiments of this specification also provide a second device of the payee. This second device of the payee is used to execute the second order payment method based on device interaction provided above. Figure 17 It is a schematic structural diagram of a second device of the payee provided by one or more embodiments of this specification.

[0282] A second device of the payee provided in this embodiment includes:

[0283] As Figure 17 shown, the second device of the payee may vary greatly due to configuration or performance, and may include one or more processors 1701 and a memory 1702. One or more application programs or data may be stored in the memory 1702. Among them, the memory 1702 may be short-term storage or persistent storage. The application programs stored in the memory 1702 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the second device of the payee. Further, the processor 1701 may be set to communicate with the memory 1702 and execute a series of computer-executable instructions in the memory 1702 on the second device of the payee. The second device of the payee may also include one or more power supplies 1703, one or more wired or wireless network interfaces 1704, one or more input / output interfaces 1705, one or more keyboards 1706, etc.

[0284] In a specific embodiment, the second device of the payee includes a memory and one or more programs. One or more of the programs are stored in the memory, and one or more of the programs may include one or more modules, and each module may include a series of computer-executable instructions in the second device of the payee, and is configured to be executed by one or more processors. The one or more programs include the following computer-executable instructions:

[0285] Call the near field communication component to detect the payment device, and display a near field payment reminder when the first device of the payer is detected;

[0286] Invoke the near - field communication component to establish a near - field communication connection with the first device, and obtain the payment account information sent by the first device through the near - field communication connection;

[0287] Upload the collection order information and the payment account information to the server to create a payment order, and receive the payment message of the payment order returned by the server and the display parameters of the second device for the payment message;

[0288] Perform display processing of the payment message according to the display parameters of the second device to cooperate with the first device for synchronized message display.

[0289] An embodiment of a server provided in this specification is as follows:

[0290] Corresponding to the third order payment method based on device interaction described above, based on the same technical concept, one or more embodiments of this specification also provide a server, which is used to execute the third order payment method based on device interaction provided above. Figure 18 It is a schematic structural diagram of a server provided by one or more embodiments of this specification.

[0291] A server provided in this embodiment includes:

[0292] As Figure 18 shown, the server may have relatively large differences due to configuration or performance, and may include one or more processors 1801 and a memory 1802. One or more application programs or data may be stored in the memory 1802. Among them, the memory 1802 may be transient storage or persistent storage. The application programs stored in the memory 1802 may include one or more modules (not shown in the figure), and each module may include a series of computer - executable instructions in the server. Further, the processor 1801 may be set to communicate with the memory 1802 and execute a series of computer - executable instructions in the memory 1802 on the server. The server may also include one or more power supplies 1803, one or more wired or wireless network interfaces 1804, one or more input / output interfaces 1805, etc.

[0293] In a specific embodiment, the server includes a memory, and one or more programs, where one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer - executable instructions in the server, and is configured to be executed by one or more processors. The one or more programs include the following computer - executable instructions:

[0294] Create a payment order based on the payment order information and payment account information uploaded by the second device of the payee; the payment account information is sent by the first device of the payer to the second device through a near-field communication connection;

[0295] Generate a payment message for the payment order, as well as first-device display parameters and second-device display parameters for the payment message;

[0296] Send the payment message and the second-device display parameters to the second device, and send the payment message and the first-device display parameters to the first device, so that the second device and the first device cooperate to perform synchronized display of the message;

[0297] If a payment instruction submitted by the first device is detected, perform payment processing for the payment order according to the payment account information.

[0298] The following is the first storage medium embodiment provided in this specification:

[0299] Corresponding to the first order payment method based on device interaction described above, based on the same technical concept, one or more embodiments of this specification also provide a first storage medium.

[0300] The storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the following processes:

[0301] Call the near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, and send the payment account information to the second device through the near-field communication connection;

[0302] Receive the payment message of the payment order sent by the server, and obtain the first-device display parameters of the payment message; the payment order is created based on the payment account information and the payment order information;

[0303] Perform display processing of the payment message according to the first-device display parameters to cooperate with the second device for synchronized display of the message;

[0304] If a user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order.

[0305] It should be noted that the embodiment of the first storage medium in this specification and the embodiment of the first order payment method based on device interaction in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.

[0306] The following is the second storage medium embodiment provided in this specification:

[0307] For the second order payment method based on device interaction described above, based on the same inventive concept, one or more embodiments of this specification also provide a second storage medium.

[0308] The storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following processes are implemented:

[0309] Call the near-field communication component to detect the payment device, and display a near-field payment reminder when the first device of the payer is detected;

[0310] Call the near-field communication component to establish a near-field communication connection with the first device, and obtain the payment account information sent by the first device through the near-field communication connection;

[0311] Upload the collection order information and the payment account information to the server to create a payment order, and receive the payment message of the payment order returned by the server and the display parameters of the second device for the payment message;

[0312] Perform display processing of the payment message according to the display parameters of the second device to cooperate with the first device for synchronous display of the message.

[0313] It should be noted that the embodiment of the second storage medium in this specification and the embodiment of the second order payment method based on device interaction in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.

[0314] The following is the third storage medium embodiment provided in this specification:

[0315] For the third order payment method based on device interaction described above, based on the same inventive concept, one or more embodiments of this specification also provide a third storage medium.

[0316] The storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following processes are implemented:

[0317] Create a payment order according to the collection order information and payment account information uploaded by the second device of the payee; the payment account information is sent from the first device of the payer to the second device through a near-field communication connection;

[0318] Generate the payment message of the payment order, as well as the display parameters of the first device and the display parameters of the second device for the payment message;

[0319] Send the payment message and the second device display parameters to the second device, and send the payment message and the first device display parameters to the first device, so that the second device and the first device cooperate to perform message synchronous display;

[0320] If a payment instruction submitted by the first device is detected, perform payment processing for the payment order according to the payment account information.

[0321] It should be noted that the embodiment of the third storage medium in this specification and the embodiment of the third order payment method based on device interaction in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.

[0322] Each embodiment in this specification is described in a progressive manner. The same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, the equipment embodiment, and the storage medium embodiment are all similar to the method embodiment, so the description is relatively simple. Please refer to the corresponding part of the method embodiment for reading the relevant content in the device embodiment, the equipment embodiment, and the storage medium embodiment.

[0323] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be executed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain implementations, multitasking and parallel processing are also possible or may be advantageous.

[0324] In the 1930s, it was obvious to distinguish whether an improvement in a technology was a hardware improvement (e.g., improvement in circuit structures such as diodes, transistors, switches, etc.) or a software improvement (improvement in method flows). However, with the development of technology, many method flow improvements today can be regarded as direct improvements in hardware circuit structures. Almost all designers obtain the corresponding hardware circuit structures by programming the improved method flows into the hardware circuits. Therefore, it cannot be said that an improvement in a method flow cannot be implemented with hardware entity modules. For example, a programmable logic device (PLD) (e.g., 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 program themselves to "integrate" a digital system on a single PLD without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there is not only one kind of 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 currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply making a little logical programming of the method flow with the above-mentioned several hardware description languages and programming it into an integrated circuit, it is easy to obtain a hardware circuit that implements the logical method flow.

[0325] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 626D, Atmel AT151SAM, Microchip PIC18F26K20, and Silicone Labs C8061F320. 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 the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or the structures within the hardware component.

[0326] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can 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 any combination of these devices.

[0327] For the convenience of description, when describing the above devices, they are described separately as various units according to their functions. 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.

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

[0329] This specification is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.

[0330] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including instruction means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.

[0331] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.

[0332] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

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

[0334] A computer-readable medium includes permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer 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 technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transitory media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0335] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, commodity or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising the element.

[0336] One or more embodiments of this specification can 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 this specification can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0337] The above are only embodiments of this document and are not used to limit this document. For those skilled in the art, this document can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this document shall be included within the scope of the claims of this document.

Claims

1. A method for order payment based on device interaction, applied to a second device of a payee, the method comprising: Calling a near field communication component to perform payment device detection, and displaying a near field payment reminder when a first device of the payer is detected; Calling the near field communication component to establish a near field communication connection with the first device, and obtaining the identity information of the user sent by the first device through the near field communication connection; Uploading the payment amount and the identity information to the server to create a payment order, and receiving a payment message of the payment order returned by the server and a second device display control parameter of the payment message; The payment message is displayed and processed on the device page according to the second device display control parameters, so as to cooperate with the first device to synchronously display the payment message according to the first device display control parameters; the device display time included in the second device display control parameters is before the terminal display time included in the first device display control parameters.

2. The order payment method based on device interaction according to claim 1, wherein the display processing of the payment message on the device page according to the second device display control parameter comprises: Performing image rendering according to the order information and message materials contained in the payment message to obtain a payment reminder image; Displaying the payment reminder image on the device page according to the device display time and the image display area corresponding to each device display time included in the second device display control parameter of the payment message; Accordingly, the first device synchronously displays the payment message according to the first device display control parameter, including: generating a message window of the payment message according to the order information and payment channel information included in the payment message received by the first device; According to the terminal display time included in the first device display control parameter of the payment message and the window display area corresponding to each terminal display time, the message window is displayed on the terminal page.

3. The order payment method based on device interaction according to claim 1, after the step of displaying the payment message on the device page according to the display control parameters of the second device to cooperate with the first device to display the payment message synchronously according to the display control parameters of the first device is executed, it also includes: receiving a rollback instruction sent by the first device; The rollback instruction is sent after the rollback process of the payment message synchronous display operation is completed when the first device detects the payment switching instruction; In response to the rollback instruction, rollback the display processing operation of the payment message on the device page according to the second device display control parameter; The detected device payment instruction submitted by the user is submitted to the server to perform payment processing of the payment order according to the device payment instruction.

4. A method for order payment based on device interaction, applied to a first device of a payee, the method comprising: Invoke the near field communication component to cooperate with the second device of the payee to establish a near field communication connection, and send the user's identity information to the second device through the near field communication connection; Receiving a payment message of a payment order sent by a server, and acquiring a first device display control parameter of the payment message; the payment order is created based on the identity information and the payment amount; Performing display processing of the payment message according to the first device display control parameter, so as to cooperate with the second device to synchronously display the payment message on the device page according to the second device display control parameter; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.

5. According to the order payment method based on device interaction of claim 4, the second device synchronously displays the payment message on the device page according to the second device display control parameter, including: Displaying the payment message on the device page according to the device display time and the page display area corresponding to each device display time included in the second device display control parameter of the payment message; Correspondingly, performing display processing of the payment message according to the display control parameter of the first device includes: The payment message is displayed on the terminal page according to the terminal display time included in the first device display control parameter and the page display area corresponding to each terminal display time.

6. The order payment method based on device interaction according to claim 4, wherein the second device synchronously displays the payment message on the device page according to the second device display control parameter, including: Performing image rendering according to the order information and message material contained in the payment message of the payment order received by the second device to obtain a payment reminder image; Displaying the payment reminder image on the device page according to the device display time and the image display area corresponding to each device display time included in the second device display control parameter of the payment message; Correspondingly, performing display processing of the payment message according to the display control parameter of the first device includes: Generating a message window of the payment message according to the order information and payment channel information included in the payment message; According to the terminal display time included in the first device display control parameter of the payment message and the window display area corresponding to each terminal display time, the message window is displayed on the terminal page.

7. The order payment method based on device interaction according to claim 5, wherein the device display time included in the second device display control parameter has a time-continuous relationship with the terminal display time included in the first device display control parameter; The page display area corresponding to the device display time and the page display area corresponding to the terminal display time have a regional adaptation relationship.

8. The order payment method based on device interaction according to claim 4, wherein the second device synchronously displays the payment message on the device page according to the second device display control parameter, including: Displaying the payment message on the device page according to the device display time and the page display area corresponding to each device display time included in the second device display control parameter of the payment message; After detecting that the presentation of the last presentation time among the presentation times of each device is completed, the second device sends a presentation instruction to the first device through the near field communication connection; Correspondingly, performing display processing of the payment message according to the display control parameter of the first device includes: receiving and reading the first device display control parameter carried by the display instruction; The payment message is displayed on the terminal page according to the terminal display time included in the first device display control parameter and the page display area corresponding to each terminal display time.

9. The order payment method based on device interaction according to claim 8, wherein the page display area included in the display control parameter of the second device and the page display area included in the display control parameter of the first device are determined according to the message window parameter of the payment message and the adaptation direction of the second device and the first device; in, The adaptation direction is determined according to an environment image captured by the second device or the first device.

10. The order payment method based on device interaction according to claim 4, wherein the step of obtaining the first device display control parameter of the payment message comprises: The first device display control parameter is received from the server, or the first device display control parameter is received from the second device through the near field communication connection.

11. According to the order payment method based on device interaction according to claim 4, the second device calls the configured near-field communication component to perform payment device detection, and if the payer's first device is detected within a preset distance range, a near-field payment reminder is displayed.

12. The order payment method based on device interaction according to claim 6, after the step of displaying the payment message according to the first device display control parameter to cooperate with the second device to synchronously display the payment message on the device page according to the second device display control parameter is executed, and before the step of submitting the user payment instruction to the server to perform payment processing for the payment order if a user payment instruction is detected is executed, it also includes: Obtaining a trigger instruction submitted by a payment confirmation control configured in the message window, and using the trigger instruction as a user payment instruction; The authentication interface is called to authenticate the user, and after the authentication is passed, the user payment instruction is submitted to the server to perform payment processing for the payment order.

13. The order payment method based on device interaction according to claim 5, further comprising: If a payment switching instruction is detected, the display processing operation of the payment message performed according to the display control parameters of the first device is rolled back, and a rollback instruction is sent to the second device, so that the second device performs rollback processing of the synchronous display of the payment message according to the rollback instruction, and after the rollback processing is completed, the payment processing of the payment order is performed through the device payment instruction submitted by the second device.

14. The order payment method based on device interaction according to claim 4, further comprising: Enter the payment application according to the user's access instructions; Alternatively, when it is detected that the screen is in a locked state, a message notification of the payment message is generated, and the process jumps to the payment application after the message notification is triggered; The display processing operation of the payment message is performed according to the display control parameter of the first device and is performed based on the application page of the payment application.

15. The order payment method based on device interaction according to claim 4, wherein the display processing of the payment message according to the first device display control parameter comprises: If it is detected that the screen is in a locked state, a message generation interface is called using the order information and payment channel information included in the payment message as interface input to generate a message window for the payment message; According to the terminal display time included in the first device display control parameter of the payment message and the window display area corresponding to each terminal display time, the message window is displayed on the screen lock page.

16. An order payment method based on device interaction, applied to a server, the method comprising: Creating a payment order based on the payment amount and identity information uploaded by the payee's second device; the identity information is sent from the payee's first device to the second device via a near field communication connection; generating a payment message of the payment order, and a first device display control parameter and a second device display control parameter of the payment message; Sending the payment message and the second device display control parameter to the second device, and sending the payment message and the first device display control parameter to the first device, so that the second device cooperates with the first device to synchronously display the payment message; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the identity information.

17. An order payment device based on device interaction, running on a first device of a payer, the device comprising: The payment account information sending module is configured to call the near field communication component to cooperate with the second device of the payee to establish a near field communication connection, and send the user's identity information to the second device through the near field communication connection; a display parameter acquisition module, configured to receive a payment message of a payment order sent by a server, and acquire a first device display control parameter of the payment message; the payment order is created based on the identity information and the payment amount; a payment message display module configured to display the payment message according to the first device display control parameter, so as to cooperate with the second device to synchronously display the payment message on the device page according to the second device display control parameter; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; The payment instruction submission module is configured to submit the user payment instruction to the server to perform payment processing of the payment order if a user payment instruction is detected.

18. An order payment device based on device interaction, running on a second device of a payee, the device comprising: A near-field payment reminder display module is configured to call a near-field communication component to perform payment device detection, and display a near-field payment reminder when a first device of the payer is detected; a payment account information acquisition module, configured to call the near field communication component to establish a near field communication connection with the first device, and acquire the user's identity information sent by the first device through the near field communication connection; A display parameter receiving module, configured to upload the payment amount and the identity information to the server to create a payment order, and receive a payment message of the payment order returned by the server and a second device display control parameter of the payment message; The payment message display module is configured to display and process the payment message on the device page according to the second device display control parameters, so as to cooperate with the first device to synchronously display the payment message according to the first device display control parameters; the device display time included in the second device display control parameters is before the terminal display time included in the first device display control parameters.

19. An order payment device based on device interaction, running on a server, the device comprising: A payment order creation module, configured to create a payment order according to the payment amount uploaded by the payee's second device and the user's identity information; the identity information is sent from the payee's first device to the second device via a near field communication connection; a display parameter generating module, configured to generate a payment message of the payment order, and a first device display control parameter and a second device display control parameter of the payment message; a display parameter sending module, configured to send the payment message and the second device display control parameter to the second device, and to send the payment message and the first device display control parameter to the first device, so that the second device cooperates with the first device to synchronously display the payment message; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; The payment order processing module is configured to perform payment processing of the payment order according to the identity information if a submitted payment instruction is detected.

20. A first device of a payer, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Invoke the near field communication component to cooperate with the second device of the payee to establish a near field communication connection, and send the user's identity information to the second device through the near field communication connection; Receiving a payment message of a payment order sent by a server, and acquiring a first device display control parameter of the payment message; the payment order is created based on the identity information and the payment amount; Performing display processing of the payment message according to the first device display control parameter, so as to cooperate with the second device to synchronously display the payment message on the device page according to the second device display control parameter; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.

21. A second device of a payee, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Calling a near field communication component to perform payment device detection, and displaying a near field payment reminder when a first device of the payer is detected; Calling the near field communication component to establish a near field communication connection with the first device, and obtaining the identity information of the user sent by the first device through the near field communication connection; Uploading the payment amount and the identity information to the server to create a payment order, and receiving a payment message of the payment order returned by the server and a second device display control parameter of the payment message; The payment message is displayed and processed on the device page according to the second device display control parameters, so as to cooperate with the first device to synchronously display the payment message according to the first device display control parameters; the device display time included in the second device display control parameters is before the terminal display time included in the first device display control parameters.

22. A server, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Creating a payment order based on the payment amount and identity information uploaded by the payee's second device; the identity information is sent from the payee's first device to the second device via a near field communication connection; generating a payment message of the payment order, and a first device display control parameter and a second device display control parameter of the payment message; Sending the payment message and the second device display control parameter to the second device, and sending the payment message and the first device display control parameter to the first device, so that the second device cooperates with the first device to synchronously display the payment message; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the identity information.

23. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the following process: Invoke the near field communication component to cooperate with the second device of the payee to establish a near field communication connection, and send the user's identity information to the second device through the near field communication connection; Receiving a payment message of a payment order sent by a server, and acquiring a first device display control parameter of the payment message; the payment order is created based on the identity information and the payment amount; Performing display processing of the payment message according to the first device display control parameter, so as to cooperate with the second device to synchronously display the payment message on the device page according to the second device display control parameter; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.

24. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the following process: Calling a near field communication component to perform payment device detection, and displaying a near field payment reminder when a first device of the payer is detected; Calling the near field communication component to establish a near field communication connection with the first device, and obtaining the identity information of the user sent by the first device through the near field communication connection; Uploading the payment amount and the identity information to the server to create a payment order, and receiving a payment message of the payment order returned by the server and a second device display control parameter of the payment message; The payment message is displayed and processed on the device page according to the second device display control parameters, so as to cooperate with the first device to synchronously display the payment message according to the first device display control parameters; the device display time included in the second device display control parameters is before the terminal display time included in the first device display control parameters.

25. A storage medium for storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the following process: Creating a payment order based on the payment amount and identity information uploaded by the payee's second device; the identity information is sent from the payee's first device to the second device via a near field communication connection; generating a payment message of the payment order, and a first device display control parameter and a second device display control parameter of the payment message; Sending the payment message and the second device display control parameter to the second device, and sending the payment message and the first device display control parameter to the first device, so that the second device cooperates with the first device to synchronously display the payment message; the device display time included in the second device display control parameter is before the terminal display time included in the first device display control parameter; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the identity information.

Citation Information

Patent Citations

  • Offline payment, business processing and payment processing methods and apparatuses

    CN107665427A

  • Payment processing method and system

    CN112950219A

  • Off-line payment processing method and device based on Bluetooth headset

    CN114971622A

  • Payment processing method and device

    CN116308628A