Order payment method and device based on equipment interaction
By establishing a near-field communication connection between the user terminal and the merchant equipment, and using the display parameters generated by the server, synchronous display of payment messages is achieved, the problem of poor interaction in near-field communication payment is solved and the user experience is improved.
Patent Information
- Application Number
- CN202510731956.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-08-12
AI Technical Summary
The existing near-field communication payment technology lacks effective synchronous display and perception improvement in the interaction between users and merchants, resulting in poor user experience.
By establishing a near-field communication connection between the user terminal and the merchant device, the payment message is displayed synchronously, and the terminal and device display parameters generated by the server are used to realize the synchronous display of payment messages between the two, and payment processing is performed after the user instruction is detected.
It improves the interaction perception and functionality in the near-field communication payment process, and enhances the synchronous display experience between users and merchants.
Smart Images

Figure CN120471618A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application with the application date of January 23, 2024, application number CN202410096217.0, and name “Order payment method and device based on device interaction”. Technical Field
[0002] This document relates to the field of data processing technology, and in particular to an order payment method and device based on device interaction. Background Art
[0003] With the continuous development of Internet technology, the upgrading of hardware equipment 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 make payments through the NFC components configured in the terminal device, or through NFC interaction with the payment device. However, as more and more users use NFC payment and more and more merchants use NFC payment devices, all parties have put forward more demands on NFC payment, which is a focus of increasing attention for NFC providers. Summary of the Invention
[0004] One or more embodiments of this specification provide a first order payment method based on device interaction, which is applied to the first device of the payee, and the method includes: calling a near-field communication component to cooperate with the second device of the payee to establish a near-field communication connection, and sending payment account information to the second device through the near-field communication connection. Receive a payment message of a payment order issued by a 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 collection order information. The display processing of the payment message is performed according to the display parameters of the first device to cooperate with the second device to perform message synchronization display. If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing of the payment order.
[0005] One or more embodiments of this specification provide a second order payment method based on device interaction, which is applied to the second device of the payee, and the method includes: calling a near-field communication component to detect the payment device, and displaying a near-field payment reminder when the first device of the payee is detected. Calling the near-field communication component to establish a near-field communication connection with the first device, and obtaining the payment account information sent by the first device through the near-field communication connection. Uploading the collection order information and the payment account information to the server to create a payment order, receiving the payment message of the payment order returned by the server and the second device display parameters of the payment message. Performing display processing of the payment message according to the display parameters of the second device to cooperate with the first device to perform message synchronization display.
[0006] One or more embodiments of this specification provide a third method for order payment based on device interaction, which is applied to a server, and the method includes: creating a payment order based on the payment order information and payment account information uploaded by the payee's second device. The payment account information is sent from the payee's first device to the second device via a near-field communication connection. Generate a payment message for the payment order, as well as the first device display parameters and the second device display parameters 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 cooperates with the first device to display the message synchronously. If a payment instruction submitted by the first device is detected, perform payment processing for the payment order according to the payment account information.
[0007] One or more embodiments of this specification provide a first device-interaction-based order payment device, which runs on the payer's first device, and the device includes: a payment account information sending module, which is configured to call a near-field communication component to cooperate with the payee's second device to establish a near-field communication connection, and send the payment account information to the second device through the near-field communication connection. A display parameter acquisition module, which is configured to receive a payment message of a payment order issued by a server, and obtain the first device display parameter of the payment message. The payment order is created based on the payment account information and the collection order information. A payment message display module, which is configured to perform display processing of the payment message according to the first device display parameter, so as to cooperate with the second device to perform message synchronization display. A payment instruction submission module, which 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.
[0008] One or more embodiments of this specification provide a second device-interaction-based order payment device, which runs on the payee's second device, and the device includes: a near-field payment reminder display module, which is configured to call the near-field communication component to detect the payment device, and display the near-field payment reminder when the payee's first device is detected. A payment account information acquisition module, which is configured to 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. A display parameter receiving module, which is configured to upload the collection order information and the payment account information to the server to create a payment order, receive the payment message of the payment order returned by the server, and the second device display parameters of the payment message. A payment message display module, which is configured to perform display processing of the payment message according to the second device display parameters, to cooperate with the first device to perform message synchronization display.
[0009] One or more embodiments of this specification provide a third order payment device based on device interaction, which runs on a server, and the device includes: a payment order creation module, which is configured to create a payment order based on the payment order information and payment account information uploaded by the payee's second device. The payment account information is sent from the payee's first device to the second device via a near-field communication connection. A display parameter generation module, which is configured to generate a payment message for the payment order, as well as the first device display parameters and the second device display parameters of the payment message. A display parameter sending module, which is configured to send the payment message and the second device display parameters to the second device, and to send the payment message and the first device display parameters to the first device, so that the second device cooperates with the first device to perform message synchronization display. A payment order processing module, which is configured to perform payment processing for the payment order according to the payment account information if a payment instruction submitted by the first device is detected.
[0010] One or more embodiments of the present specification provide a first device of a payer, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to: 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 a payment message of a payment order issued by a 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 collection order information. The payment message is displayed and processed according to the first device display parameters to cooperate with the second device to display the message synchronously. If a user payment instruction is detected, the user payment instruction is submitted to the server for payment processing of the payment order.
[0011] One or more embodiments of this specification provide a second device of a payee, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to: call a near-field communication component to detect a payment device, and display a near-field payment reminder when the payer's first device 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 collection order information and the payment account information to the server to create a payment order, receive the payment message of the payment order returned by the server, and the second device display parameters of the payment message. Perform display processing of the payment message according to the second device display parameters to cooperate with the first device to perform message synchronization display.
[0012] One or more embodiments of the present specification provide a server, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to: create a payment order based on the payment order information and payment account information uploaded by the payee's second device. The payment account information is sent from the payee's first device to the second device via a near-field communication connection. A payment message for the payment order, as well as first-device display parameters and second-device display parameters for the payment message, is generated. The payment message and the second-device display parameters are sent to the second device, and the payment message and the first-device display parameters are sent to the first device, so that the second device cooperates with the first device to display messages synchronously. If a payment instruction submitted by the first device is detected, payment processing for the payment order is performed according to the payment account information.
[0013] One or more embodiments of this specification provide a first storage medium for storing computer-executable instructions, which implement the following process when executed by a processor: calling a near-field communication component to cooperate with the payee's second device to establish a near-field communication connection, and sending payment account information to the second device through the near-field communication connection. Receive a payment message for a payment order issued by a server, and obtain a first device display parameter for the payment message. The payment order is created based on the payment account information and the payment order information. The payment message is displayed and processed according to the first device display parameters to cooperate with the second device to display the message synchronously. If a user payment instruction is detected, submit the user payment instruction to the server for payment processing of the payment order.
[0014] One or more embodiments of this specification provide a second storage medium for storing computer-executable instructions, which implement the following process when executed by a processor: calling a near-field communication component to detect a payment device, 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 payment account information sent by the first device through the near-field communication connection. Uploading the collection order information and the payment account information to the server to create a payment order, receiving the payment message of the payment order returned by the server and the second device display parameters of the payment message. Performing display processing of the payment message according to the second device display parameters to cooperate with the first device to perform message synchronization display.
[0015] One or more embodiments of this specification provide a third storage medium for storing computer-executable instructions, which implement the following process when executed by a processor: creating a payment order based on the collection order information and payment account information uploaded by the payee's second device. The payment account information is sent from the payee's first device to the second device via a near-field communication connection. Generate a payment message for the payment order, as well as the first device display parameters and the second device display parameters 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 cooperates with the first device to display the message synchronously. If a payment instruction submitted by the first device is detected, perform payment processing for the payment order according to the payment account information. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate one or more embodiments of this specification or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments described in this specification. Those skilled in the art can derive other drawings based on these drawings without inventive effort. Figure 1 A schematic diagram of an implementation environment for an order payment method based on device interaction provided in one or more embodiments of this specification; Figure 2 A flow chart of a first device-interaction-based order payment method provided in one or more embodiments of this specification; Figure 3 A schematic diagram showing a near-field payment reminder provided in one or more embodiments of this specification; Figure 4A schematic diagram of displaying a payment message on a merchant device according to one or more embodiments of this specification; Figure 5 A schematic diagram of another payment message displayed on a merchant device according to one or more embodiments of this specification; Figure 6 A schematic diagram of displaying a payment message on a user terminal according to one or more embodiments of this specification; Figure 7 A schematic diagram of another payment message provided in one or more embodiments of this specification at a user terminal; Figure 8 A schematic diagram of synchronization of a payment message provided for one or more embodiments of this specification; Figure 9 A schematic diagram of a payment result page provided for one or more embodiments of this specification; Figure 10 A processing sequence diagram of an order payment method based on device interaction applied to a near-field communication payment scenario provided in one or more embodiments of this specification; Figure 11 A processing flow chart of a second method for order payment based on device interaction provided in one or more embodiments of this specification; Figure 12 A flowchart of a third method for order payment based on device interaction provided in one or more embodiments of this specification; Figure 13 A schematic diagram of a first embodiment of an order payment device based on device interaction provided in one or more embodiments of this specification; Figure 14 A schematic diagram of a second embodiment of an order payment device based on device interaction provided in one or more embodiments of this specification; Figure 15 A schematic diagram of a third embodiment of an order payment apparatus based on device interaction provided in one or more embodiments of this specification; Figure 16 A schematic diagram of the structure of a first device of a payer provided in one or more embodiments of this specification; Figure 17 A schematic diagram of the structure of a second device of a payee provided in one or more embodiments of this specification; Figure 18 A schematic diagram of the structure of a server provided in one or more embodiments of this specification. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this document.
[0018] The order payment method based on device interaction provided in one or more embodiments of this embodiment can be applied to the implementation environment of near field communication payment. Figure 1 The implementation environment includes at least a payment server 101, which can be one or more servers, a server cluster consisting of several servers, or a cloud server on a cloud computing platform. Payment server 101 is responsible for creating and processing payment orders, generating a payment message and terminal display parameters for the payment message and sending them to user terminal 102, and generating device display parameters for the payment message and sending them to merchant device 103.
[0019] The implementation environment also includes at least a user terminal 102, which can be a smartphone, tablet computer, e-book reader, wearable device, or device capable of information interaction based on AR (Augmented Reality) or VR (Virtual Reality). User terminal 102 is configured to establish a near-field communication connection with merchant device 103 to display payment messages and to synchronize payment messages with merchant device 103.
[0020] The implementation environment also includes at least a merchant device 103, which can be a point-of-sale (POS) terminal equipped with a near-field communication (NFC) component and may also be equipped with a screen. Merchant device 103 is used to upload user payment and order information to payment server 101 and collaborate with user terminal 102 to synchronously display payment information.
[0021] The implementation environment may also include a merchant server 104, which can cooperate with the product scanning device to obtain product information and generate product orders, and can also cooperate with the merchant device 103 to obtain user payment information and upload the order information and user payment information of the product order 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 checkout counter can also receive the payment order issued 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.
[0022] In this implementation environment, during the near-field communication payment process, 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 the 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. It generates terminal display parameters and device display parameters for the payment message and sends them 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 displays the payment message according to the terminal display parameters. The merchant device 103 cooperates with the user terminal 102 to synchronously display the message according to the device display parameters. After detecting the user payment instruction, the payment server 101 performs payment processing for the payment order.
[0023] One or more embodiments of the first device interaction-based order payment method provided in this specification are as follows: Reference Figure 2 The order payment method based on device interaction provided in this embodiment can be applied to the first device of the payer, and specifically includes steps S202 to S208.
[0024] Step S202: Invoke the near field communication component to cooperate with the payee's second device to establish a near field communication connection, and send payment account information to the second device through the near field communication connection.
[0025] In actual applications, during offline transactions, users can establish near-field communication devices with merchant devices through user terminals to pay for goods. During the near-field communication payment process, the payment animation of the 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 the near-field communication payment and increase the functionality of the near-field communication payment. This embodiment uses the interaction between the user terminal, the merchant device and the server to enable the user terminal and the server to cooperate in the synchronous display of 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 the near-field communication payment.
[0026] In this embodiment, the payer refers to the purchasing user, that is, the user who pays money 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 collects funds. Correspondingly, the second device of the payee refers to the merchant's merchant device, and the second device can be a merchant device. It should be noted that in this embodiment, the user refers to the payer, the merchant and / or the merchant refers to the payee, the user terminal refers to the payer's first device, and the merchant device refers to the second device. This does not impose any restrictions on the payer, the payee, the first device, and the second device, and this embodiment will not be repeated here.
[0027] In this embodiment, 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 the account information corresponding to the payment channel opened by the user, the rights and interests resource information of the user account, etc. In addition, user payment information can also be any one of the above, or any combination of two or more, which is not limited in this embodiment. In addition, payment account information can also be referred to as user payment information. In this embodiment, user payment information is used to refer to payment account information, which does not limit payment account information and is not further described in this embodiment.
[0028] In addition, user payment information can be transmitted interactively via a 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 via the near-field communication connection. Specifically, the merchant device can read the user payment information stored in the user terminal via the near-field communication connection, or the user terminal can proactively send the user payment information to the merchant device via the near-field communication connection. Optionally, the user terminal can be online or offline. In this embodiment, order information refers to the order information of a user's purchase order for goods uploaded by the merchant device. It can include the product amount, product name, unit price, etc. In addition, the order information can also be any one of the above, or a combination of any two or more, and this embodiment is not limited here. The order information can be transmitted to the merchant device by scanning the product identification code at the merchant's cash register and / or the merchant's code scanning device. In addition, the merchant can also interactively enter the payment amount with the merchant's cash register and use the payment amount as the order information. Optionally, the merchant device and the merchant's cash register have a hardware connection.
[0029] 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, and a near-field communication connection is established 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 product order and the user payment information to the server to create a payment order.
[0030] During the specific detection process, the merchant device can call the near-field communication component to broadcast a request to establish a near-field communication connection. When the user terminal is within the broadcast space of the merchant device, it can send back a request confirmation message to the merchant device through the near-field communication component. The merchant device will display a near-field payment reminder after detecting the request confirmation message. 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 of which 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, and displays a near-field payment reminder if the user terminal is detected within a preset distance range. 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; such as Figure 3 As shown, when the merchant device detects that the user terminal is within a preset range, it displays a near-field communication payment reminder on the screen.
[0031] In addition, the merchant device can also interact with the server to realize 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.
[0032] It should be noted that the merchant device may perform user terminal detection in any one of the above methods, or in combination of any two or more methods, to detect whether the user terminal is within a preset range of the merchant device, which is not limited in this embodiment.
[0033] 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 when the screen is locked, and can also call the near-field communication component to establish a near-field communication connection with the merchant device when the screen is unlocked. Specifically, the user can place the user terminal close to the merchant's merchant device when the screen is locked, 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 make a near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.
[0034] It should be noted that the request for establishing a 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 establishes a near-field communication connection, or it can 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 limit this.
[0035] Step S204: Receive a payment message for the payment order sent by the server, and obtain a first device display parameter of the payment message.
[0036] In actual applications, in order to enhance the perception 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 the terminal display parameters of the payment message, and send them to the user terminal and merchant device, so that the user terminal and merchant device can cooperate to display the message synchronously. In specific implementation, the server creates a payment order based on the collection order information and user payment information of the product order uploaded by the merchant device, generates a payment message for 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 to the user terminal; the user terminal obtains the payment message and terminal display parameters, and at the same time, the merchant device obtains the payment message and device display parameters. Optionally, the payment order is created based on the user payment information and collection order information.
[0037] In this embodiment, the payment message refers to a reminder message generated by the server for displaying the order information of the payment order, which can be displayed through 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 and message materials of the payment order, so as to be rendered and displayed 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 contained in the payment message, which are used to control 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, the page display position, or the 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 two or more of the above 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 payee, 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, and this embodiment will not be repeated here.
[0038] In actual applications, the synchronous display of user terminals and merchant devices requires a stable channel. The payment message and the terminal display parameters of the payment message are received simultaneously through the stable channel to stably perform synchronous display processing of the payment message and achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an optional implementation provided by this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters issued by the server, that is, the terminal display parameters of the user terminal are sent by the server.
[0039] In addition, in order to improve the stability of the synchronous display of payment messages, the server can first send the payment message and the terminal display parameters of the payment message to the merchant device, and the merchant device can then forward the terminal display parameters to the user terminal. Specifically, the merchant device can forward the terminal display parameters to the user terminal via 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 can be replaced by: receiving the payment message of the payment order sent by the second device via the near-field communication connection, and the device display parameters of the payment message.
[0040] Step S206: Display the payment message according to the display parameters of the first device to cooperate with the second device to display the message synchronously.
[0041] During specific implementation, the user terminal performs display processing of the payment message according to the terminal display parameters of the obtained payment message, so as to cooperate with the merchant device to perform 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, so as to cooperate with the user terminal to perform synchronous display of the message. During the specific display process, the display can be performed in the payment application, and the payment application can be entered after detecting the user access instruction. Optionally, the payment application is entered according to the user access instruction. Optionally, the display processing operation of the payment message according to the terminal display parameters is performed based on the application page of the payment application. Furthermore, the user terminal can also generate and display a message notification of the payment message after receiving the payment message when the screen is locked, 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 is in a locked state, a message notification of the payment message is generated, and jump to the payment application after the message notification is triggered.
[0042] In actual applications, in order to improve the synchronization of the synchronous display of payment messages on 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 contained in the device display parameters and the terminal display parameters are continuous in time, so as to show the display effect of the payment message "transmitted" from the merchant device side to the user terminal side, for example: the payment message "flows out" from the merchant device side, and "flows" into the user terminal side while "flowing out", so as to realize the synchronous display of the payment message. Optionally, the device display time contained in the device display parameters contained in the payment message has a temporal continuity relationship with the terminal display time contained in the terminal display parameters. Figures 4 to 7 As shown, the payment message is first displayed on the merchant device side, and then "moves" to the user terminal side. After the merchant device display is completed, it is displayed on the user terminal side to show the display effect of the payment message "flowing" from the merchant device to the user terminal.
[0043] In addition, to improve the synchronization of the synchronous 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 contained in the device display parameters and the terminal display parameters are adapted in position to show the display effect of the payment message "transmitted" from the merchant device side to the user terminal side. For example, the payment message "flows out" from the top of the merchant device side and "flows in" from the top of the user terminal side, realizing the synchronous display of the payment message. Optionally, the page display area contained in the device display parameters contained in the payment message and the page display area contained in the terminal display parameters have a regional adaptation relationship.
[0044] It should be noted that the device display parameters of the merchant device and the terminal display parameters of the user terminal may simultaneously have a time continuity relationship of display time and a regional adaptation relationship. For example, the device display time contained in the device display parameters contained in the payment message has a time continuity relationship with the terminal display time contained 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.
[0045] During the specific synchronous display process, the user terminal may display 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 may display 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. The payment message displayed by the user terminal and the payment message displayed by the merchant device may be the same. In an optional implementation provided by this embodiment, the merchant device performs synchronous display, 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 device display parameter of the payment message; Accordingly, the payment message display processing is performed according to the terminal display parameters, including: The payment message is displayed on the terminal page according to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time.
[0046] In actual applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant's device side and the payment messages on the user's terminal side can be differentiated. That is, the payment message on the merchant's terminal side is configured as a payment reminder image, and the payment message on the user's terminal side is configured as a message window. The display content 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 performs synchronous display of messages, including: Performing image rendering according to the order information and message material contained in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image; Displaying 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; Accordingly, the payment message display processing is performed according to the terminal display parameters, including: Generating a message window for the payment message according to the order information and payment channel information included in the payment message; The message window is displayed on the terminal page 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.
[0047] Specifically, the merchant device performs image rendering based on the order information and message materials contained 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; accordingly, the user terminal generates a message window for the payment message according to the order information contained in the payment message and the payment channel information bound to the user, and displays 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 content 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.
[0048] In actual applications, the user terminal can also display 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. According to the display time included in the terminal display parameters and the window display area corresponding to each display time, the message window is displayed in the locked screen state. In an optional implementation provided by this embodiment, the display processing of the payment message according to the terminal display parameters includes: If it is detected that the screen state is locked, the order information and payment channel information included in the payment message are used as interface call input to call a message generation interface to generate a message window for the payment message; The message window is displayed on the screen lock page 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.
[0049] Furthermore, the message window may also be configured with a payment confirmation interface, and the user may trigger the payment confirmation interface to submit a payment confirmation instruction to complete the payment confirmation process of the payment order.
[0050] In actual applications, to improve the synchronization of the synchronous 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 display is completed, 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 payment message display on the merchant device is completed, so as to show the display effect of the payment message being "synchronously transmitted" from the merchant device to the user terminal. 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 provided by this embodiment, the merchant device performs synchronous display of the payment message, 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 device display parameter of the payment message; After detecting that the presentation of the last presentation time among the presentation times of each device is completed, sending a presentation instruction to the user terminal through the near field communication connection; Accordingly, the payment message display processing is performed according to the terminal display parameters, including: Receive and read the terminal display parameters carried by the display instruction; The payment message is displayed on the terminal page according to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time.
[0051] like Figures 4 to 7 As 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 in each device display time is completed, the display instruction is sent through the near-field communication connection with the user terminal. The user terminal displays the payment message on the terminal page according to the terminal display time included in the terminal display parameters of the payment message included in the display instruction and the page display area corresponding to each terminal display time.
[0052] 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 for instructions to achieve synchronous display of the payment message.
[0053] In practical applications, to improve the synchronization of the display of payment messages on user terminals and merchant devices, the payment messages displayed by the merchant device and the payment messages displayed by the user terminal can also be aligned in the display position dimension. That is, the page display area of the payment message displayed by the merchant device and the page display area of the payment message displayed by the user terminal have a page adaptation relationship. When the terminal display parameters of the user terminal are sent via a near-field communication connection established with the merchant device, the location of the cooperating device can be determined based on the collected environmental image, and the page display area is determined based on the location. Taking the example of sending the terminal display parameters and device display parameters of the payment message to the merchant device, 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 of the merchant device and the user terminal based on the position, and determine the page display area included in the terminal display parameters based on the adaptation direction, so as 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 based on the message window parameters of the payment message and the adaptation direction of the merchant device and the user terminal. Optionally, the adaptation direction is determined based on the environment image collected by the merchant device or the user terminal. Figure 8 As shown, when half of the payment message is displayed on the merchant device side with a dynamic "outflow" effect, the other half of the payment message is also displayed on the user terminal side with a dynamic "inflow" effect, so as to improve the synchronization of the synchronous display of the payment message.
[0054] Step S208: If a user payment instruction is detected, submit the user payment instruction to the server to perform payment processing for the payment order.
[0055] This embodiment implements three-way interaction between the server, user terminal, and merchant device during the near-field communication payment process, thereby achieving simultaneous display and processing of payment messages on the user terminal and merchant device. The simultaneous display of payment messages enhances the perception of near-field communication payment and increases the functionality of near-field communication payment.
[0056] During specific implementation, 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 can process the payment for the payment order; after receiving the user payment instruction, the server processes the payment for the payment order. In addition, there are also cases 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 case, the payment instruction can also be submitted to the server through the merchant device, so that the server can process the payment for the payment order. This is not limited to this in this embodiment. After the payment processing is completed, the server can also return a payment confirmation page to the user terminal and / or merchant device to enhance the interactive perception of near-field communication payment.
[0057] In actual applications, after the user terminal displays the payment message, the user may change the payment channel or cancel the payment. For example, the user may submit a payment cancellation instruction by swiping the page on the message window of the payment message. In response to this, the user may 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 display rollback process of the payment message, that is, the payment message displayed by the user terminal and the merchant device is rolled back to show the effect of the payment message being "rolled back" from the user terminal to the merchant device. In an optional implementation manner provided by this embodiment, before detecting the user payment instruction, the following is further included: If a payment switching instruction is detected, the display processing operation of the payment message according to the terminal display parameters is rolled back, and a rollback instruction is sent to the merchant device, so that the merchant device rolls back the synchronous display of the message according to the rollback instruction.
[0058] Optionally, the message window of the payment message is configured with a payment switch control and / or a payment cancel control.
[0059] Specifically, the rollback processing 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: the display area corresponding to each display time is displayed in order from the back to the front. After the user terminal rolls back, it can also send a rollback instruction to the merchant device through the near-field communication connection, so that the merchant device can roll back the display processing operation of the payment message according to the device display parameters.
[0060] like Figures 4 to 7 As shown, the payment cancellation control configured in the message window of the user triggering the payment message is detected, and the display processing operation of the payment message is rolled back according to the terminal display parameters, that is, Figure 7 to Figure 6 The display effect is displayed, and a rollback instruction is sent to the merchant device to enable the merchant device to roll back the display processing operation of the payment message according to the device display parameters, that is: display Figure 5 to Figure 4 to show the synchronous display rollback operation of the user terminal and the merchant device.
[0061] Furthermore, after the rollback of the display processing operation of the user terminal and the merchant device is completed, if the user switches the payment channel, the server may update the payment order and the payment message, so that the merchant device and the user terminal synchronously display the updated payment message. In an optional implementation provided by this embodiment, after the merchant device performs the rollback processing of the synchronous display of the message according to the rollback instruction, the following is further included: The merchant device receives the terminal configuration parameters and device configuration parameters of the updated payment message sent by the server, displays the payment message according to the device configuration parameters of the updated payment message, and sends a display instruction to the user terminal via the near field communication connection after the display is completed; 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.
[0062] Specifically, when 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.
[0063] In addition, to avoid repeated user operations, when the user switches payment channels, after the rollback of the display operation of the payment message between the user terminal and the merchant device is completed, the merchant device can submit a device payment instruction to the server, so that the server can process the payment of the payment order. Optionally, after the merchant device performs the rollback process of the synchronous display of the message according to the rollback instruction, it also includes: performing the payment process of the payment order through the device payment instruction submitted by the merchant device. It should be noted that when the display processing operation of the payment message is rolled back, the payment process of the payment order can be performed through the device payment instruction submitted by the merchant device. That is, when the display processing operation of the payment message is rolled back, the user payment instruction can be submitted to the server without the user terminal.
[0064] In addition, the display operation of the payment message can be rolled back when the user is authenticated for payment. The user can be authenticated after the user submits the payment confirmation instruction. The display operation of the payment message can be rolled back before the authentication is performed. After the authentication is passed, the authentication pass 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 for the payment order. For example: after the display processing of the payment message, it also includes: obtaining the trigger instruction submitted by the payment confirmation control configured for the message window of the payment message; performing the rollback processing of the display processing operation of the payment message according to the terminal display parameters, and sending the rollback instruction to the merchant device so that the merchant device performs the rollback processing of the message synchronous display according to the rollback instruction; calling the authentication interface to authenticate the user, and performing payment processing for the payment order through the device payment instruction submitted by the merchant device after the authentication is passed. It is used to replace the step of obtaining and submitting the user payment instruction by the user terminal to the server so that the server performs payment processing for the payment order.
[0065] In actual applications, during the near-field communication payment process, 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 trigger the payment confirmation control to submit the user payment instruction. After the user payment instruction is submitted, in order to improve payment security, the user can be authenticated. After the authentication is passed, the user payment instruction is submitted to the server so that the server can process the payment order. In an optional implementation provided by this embodiment, before submitting the user payment instruction to the server, the following is also included: Obtaining a trigger instruction submitted by a payment confirmation control configured for the message window, and using the trigger instruction as the user payment instruction; The authentication interface is called to authenticate the user, and after the authentication is passed, if a user payment instruction is detected, the user payment instruction is submitted to the server to perform the payment processing step of the payment order.
[0066] Specifically, the user terminal displays the message window corresponding to the payment message, the user triggers the payment confirmation interface configured in 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, the authentication interface is called to authenticate the user, and the subsequent step S208 is executed after the authentication is passed; wherein, the authentication processing can be based on the user's biometrics or based on a key or password.
[0067] like Figure 7 and Figure 9 As shown, the user triggers the "Confirm Payment" button configured in the message window to submit the trigger instruction. The user terminal will use the trigger instruction as the user payment instruction. After detecting the user payment instruction, the fingerprint verification interface will be called to verify the user's fingerprint. After the verification is passed, the user payment instruction will be submitted to the server to enable the server to process the payment order and return after the payment processing is completed. Figure 9 The payment confirmation page is shown.
[0068] To sum up, the one or more order payment methods based on device interaction provided in this embodiment can be applied to the payer's first device. During the process of near-field communication payment, the near-field communication component is called to establish a near-field communication connection with the merchant device, and the user payment information is sent to the merchant device through the near-field communication connection. The payment message of the payment order issued by the server is received, and the terminal display parameters of the payment message are obtained. The payment message is displayed and processed according to the terminal display parameters to cooperate with the merchant device to display the message synchronously. If a user payment instruction is detected, the user payment instruction is submitted to the server to process the payment order, so as to enhance the interactive perception of users and merchants for near-field communication payment and increase the function of near-field communication payment.
[0069] Furthermore, when the user authenticates the payment, switches the payment channel, and / or cancels the payment, the payment message display can be synchronized and rolled back in cooperation with the merchant device, further improving the interactive perception of NFC payment. By displaying and rolling back, the user and the merchant can quickly perceive the changes in the payment order, thus increasing the functionality of NFC payment. Furthermore, in order to avoid repeated operations by users and repeated exchange of interactive instructions, a payment instruction can be submitted to the server through the merchant device after the synchronous display rollback is completed, so that the server can process the payment of 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 so that the server can process the payment of the payment order, or the user payment instruction can be submitted to the server through the merchant device so that the server can process the payment of the payment order.
[0070] The implementation process of the first device-interaction-based order payment method provided above can be executed by a user terminal, the implementation process of the second device-interaction-based order payment method provided in the following method embodiment can be executed by a merchant device, and the implementation process of the third device-interaction-based order payment method provided in the following method embodiment can be executed by a server. The three can cooperate with each other during the execution process. Therefore, when reading the above implementation process, you can refer to the corresponding content of the second and third device-interaction-based order payment method embodiments below. Correspondingly, when reading the second and third device-interaction-based order payment method embodiments below, you can also refer to the corresponding content of the above method embodiments.
[0071] The following is an example of an application of an order payment method based on device interaction provided in this embodiment in a near field communication payment scenario to further illustrate the order payment method based on device interaction provided in this embodiment. Figure 10 , an order payment method based on device interaction applied to near-field communication payment scenarios specifically includes the following steps.
[0072] Step S1004: calling the near field communication component to cooperate with the payee's second device to establish a near field communication connection.
[0073] Optionally, the payee includes: a merchant; and the second device includes: a merchant device.
[0074] Step S1006: Send payment account information to the second device via a near field communication connection.
[0075] Step S1022: Receive a payment message of the payment order sent by the second device through the near field communication connection, and obtain the first device display parameter of the payment message.
[0076] Step S1024: Generate a payment message window based on the order information and payment channel information included in the payment message.
[0077] Step S1026: Display the message window on the terminal page according to the terminal display time included in the first device display parameter and the window display area corresponding to each terminal display time.
[0078] Optionally, the terminal display time included in the first device display parameter has a time continuity relationship with the device display time included in the second device display parameter in the following embodiment; 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 embodiment.
[0079] Step S1028, detects the payment switching instruction, and proceeds to step S1026. According to the terminal display time included in the first device display parameters and the window display area corresponding to each terminal display time, the display processing of the message window is rolled back on the terminal page, and a rollback instruction is sent to the second device.
[0080] Previously, users submitted payment switching instructions by triggering the payment switching interface in the message window.
[0081] Optionally, steps S1024 to S1026 may be replaced by: displaying the payment message on the terminal page according to the terminal display time included in the first device display parameter and the page display area corresponding to each terminal display time; Correspondingly, step S1028 can be replaced by: detecting a payment switching instruction, rolling back the display processing of the payment message on the terminal page according to the terminal display time and the page display area corresponding to each terminal display time included in the display parameters of the first device, and sending a review instruction to the second device.
[0082] The above steps S1006 and steps S1022 to S1028 provided in this embodiment are executed by the first device of the payee. It should be noted that the above steps S1006 and steps S1022 to S1028 executed by the first device of the payee are different from the steps S1002 to S1004, step S1008, step S1016 to S1018 and step S1030 to S1032 executed by the second device of the payee in the following embodiment, and steps S1010 to S1014, S1016 to S1018 and step S1030 to S1032 executed by the server in the following embodiment. and step S1034, which can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S1002 to S1004, step S1008, step S1016 to S1018 and step S1030 to S1032 provided in the following method embodiment and the corresponding contents 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 contents of step S1006 and step S1022 to step S1028 provided in this embodiment.
[0083] One or more embodiments of the second device-interaction-based order payment method provided in this specification are as follows: Reference 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.
[0084] Step S1102: Call the near field communication component to perform payment device detection, and display a near field payment reminder when the payer's first device is detected.
[0085] In actual applications, during offline transactions, users can establish near-field communication devices with merchant devices through user terminals to pay for goods. During the near-field communication payment process, the payment animation of the 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 the near-field communication payment and increase the functionality of the near-field communication payment. This embodiment uses the interaction between the user terminal, the merchant device and the server to enable the user terminal and the server to cooperate in the synchronous display of 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 the near-field communication payment.
[0086] 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, the merchant device displays a near-field payment reminder. During the specific detection process, the merchant device can call the near-field communication component to broadcast a request to establish 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 back to the merchant device through the near-field communication component. The merchant device displays a near-field payment reminder after detecting the request confirmation message. 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 of which 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, the merchant device displays a near-field communication payment reminder on the screen after detecting that the user is within the preset range.
[0087] In addition, the merchant device can also interact with the server to detect the location of the user terminal. The server can detect whether the user terminal's location information is within a preset range of the merchant device. Specifically, the merchant device performs user terminal detection and displays a near-field payment reminder when it detects the location confirmation information submitted by the server. Optionally, the merchant device calls a configured near-field communication component to detect the user terminal and displays a near-field payment reminder if the user terminal is detected within a preset distance range.
[0088] It should be noted that the merchant device may perform user terminal detection in any one of the above methods, or in combination of any two or more methods, to detect whether the user terminal is within a preset range of the merchant device, which is not limited in this embodiment.
[0089] Step S1104: 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.
[0090] 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 the 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.
[0091] In this embodiment, user payment information is the user information required to create a payment order. It can be user identity information, user-activated payment channel information, or account information corresponding to the user-activated payment channel, user account equity resource information, etc. Furthermore, user payment information can be any one of the above, or a combination of any two or more, and this embodiment is not limited thereto. User payment information can be interactively transmitted via a near-field communication connection established between a merchant device and a user terminal. Optionally, user payment information is sent from the user terminal to the merchant device via the near-field communication connection. Specifically, the merchant device can read user payment information stored in the user terminal via the near-field communication connection, or the user terminal can proactively send user payment information to the merchant device via the near-field communication connection. Optionally, the user terminal can be online or offline. In this embodiment, order information refers to order information uploaded by the merchant device for a user's purchase of goods. It can be the amount of the goods, the name of the goods, the unit price of the goods, etc. Furthermore, order information can be any one of the above, or a combination of any two or more, and this embodiment is not limited thereto. The order information can be transmitted to the merchant device by scanning the product identification code through the merchant's cash register and / or the merchant's code scanning device. In addition, the merchant can also enter the payment amount through interaction with the merchant's cash register and use the payment amount as the order information. Optionally, the merchant device and the merchant's cash register have a hardware connection.
[0092] 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 when the screen is locked, and can also call the near-field communication component to establish a near-field communication connection with the merchant device when the screen is unlocked. Specifically, the user can place the user terminal close to the merchant's merchant device when the screen is locked, 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 make a near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.
[0093] It should be noted that the request for establishing a 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 establishes a near-field communication connection, or it can 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 limit this.
[0094] Step S1106: 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 second device display parameter of the payment message.
[0095] In actual applications, in order to enhance the perception 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 the terminal display parameters of the payment message, and send them to the user terminal and merchant device, so that the user terminal and merchant device can cooperate to display the message synchronously. In specific implementation, the merchant device uploads the order information and user payment information to the server; the server creates a payment order based on the order information and user payment information uploaded by the merchant device, generates a payment message for 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 to the user terminal; the user terminal obtains the payment message and terminal display parameters, and at the same time, the merchant device receives the payment message and device display parameters. Optionally, the payment order is created based on the user payment information and the order information generated by the merchant device.
[0096] In this embodiment, the payment message refers to a reminder message generated by the server for displaying the order information of the payment order, which can be displayed through 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 and message materials of the payment order, so as to be rendered and displayed by the user terminal and / or the merchant device. Correspondingly, the terminal display parameter refers to the display control parameter contained 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 can be the device display time, or the page display position, or the device display parameter can also be a display special effect parameter, etc. It should be noted that the terminal display parameter can be any one of the above parameters, or a combination of two or more of the above parameters, and this embodiment does not limit it here.
[0097] In actual applications, the synchronous display of user terminals and merchant devices requires a stable channel. The payment message and the terminal display parameters of the payment message are received simultaneously through the stable channel to stably perform synchronous display processing of the payment message and achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an optional implementation provided by this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters issued by the server, that is, the terminal display parameters of the user terminal are sent by the server.
[0098] In addition, in order to improve the stability of the synchronous display of payment messages, the server can first send the terminal display parameters of the payment message to the merchant device, and the merchant device then 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, so as 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 can be replaced by: 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 and 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 the near-field communication connection.
[0099] Step S1108: Process the display of the payment message according to the display parameters of the second device to cooperate with the first device to display the message synchronously.
[0100] During specific implementation, the user terminal displays and processes the payment message according to the terminal display parameters of the obtained payment message to cooperate with the merchant device to synchronously display the payment message; the merchant device also displays and processes the payment message according to the device display parameters of the payment message to cooperate with the user terminal to synchronously display the message.
[0101] In practical applications, to improve the synchronization of payment message display on user terminals and merchant devices, display times can be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal. This ensures that the display times included in the device display parameters and the terminal display parameters are temporally continuous. This creates the effect of a payment message "transmitting" from the merchant device to the user terminal. For example, a payment message "flows out" from the merchant device and simultaneously "flows" into the user terminal, achieving synchronous display of the payment message. Optionally, the device display time included in the device display parameters of the payment message is temporally continuous with the terminal display time included in the terminal display parameters.
[0102] In addition, to improve the synchronization of the synchronous 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 contained in the device display parameters and the terminal display parameters are adapted in position to show the display effect of the payment message "transmitted" from the merchant device side to the user terminal side. For example, the payment message "flows out" from the top of the merchant device side and "flows in" from the top of the user terminal side, realizing the synchronous display of the payment message. Optionally, the page display area contained in the device display parameters contained in the payment message and the page display area contained in the terminal display parameters have a regional adaptation relationship.
[0103] During the specific synchronous display process, the user terminal may display 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 may display 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. The payment message displayed by the user terminal and the payment message displayed by the merchant device may be the same. In an optional implementation provided by this embodiment, the merchant device performs synchronous display, 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 device display parameter of the payment message; Accordingly, the user terminal performs message synchronization display, including: The payment message is displayed on the terminal page according to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time.
[0104] In actual applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant's device side and the payment messages on the user's terminal side can be differentiated. That is, the payment message on the merchant's terminal side is configured as a payment reminder image, and the payment message on the user's terminal side is configured as a message window. The display content 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 performs synchronous display of messages, including: Performing image rendering according to the order information and message materials contained in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image; Displaying 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; Accordingly, the user terminal performs message synchronization display, including: Generating a message window for the payment message according to the order information and payment channel information included in the payment message; The message window is displayed on the terminal page according to the terminal display time and the window display area corresponding to each terminal display time included in the payment message and / or the first device display parameter.
[0105] Specifically, the merchant device performs image rendering based on the order information and message materials contained 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; accordingly, the user terminal generates a message window for the payment message according to the order information contained in the payment message and the payment channel information bound to the user, and displays 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 content 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.
[0106] In actual applications, to improve the synchronization of the synchronous 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 display is completed, 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 payment message display on the merchant device is completed, so as to show the display effect of the payment message being "synchronously transmitted" from the merchant device to the user terminal. 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 provided by this embodiment, the merchant device performs synchronous display of the payment message, 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 device display parameter of the payment message; After detecting that the presentation of the last presentation time among the presentation times of each device is completed, sending a presentation instruction to the user terminal through the near field communication connection; Accordingly, the user terminal performs message synchronization display, including: Receive and read the terminal display parameters carried by the display instruction; The payment message is displayed on the terminal page according to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time.
[0107] 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 for instructions to achieve synchronous display of the payment message.
[0108] In practical applications, to improve the synchronization of the display of payment messages on user terminals and merchant devices, the payment messages displayed by the merchant device and the payment messages displayed by the user terminal can also be aligned in the display position dimension. That is, the page display area of the payment message displayed by the merchant device and the page display area of the payment message displayed by the user terminal have a page adaptation relationship. When the terminal display parameters of the user terminal are sent via a near-field communication connection established with the merchant device, the location of the cooperating device can be determined based on the collected environmental image, and the page display area is determined based on the location. Taking the example of sending the terminal display parameters and device display parameters of the payment message to the merchant device, 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 of the merchant device and the user terminal based on the position, and determine the page display area included in the terminal display parameters based on the adaptation direction, so as 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 based on the message window parameters of the payment message and the adaptation direction of the merchant device and the user terminal. Optionally, the adaptation direction is determined according to an environment image captured by the merchant device or the user terminal.
[0109] In addition, after the merchant device completes displaying the payment message, there is a situation where the user changes the payment channel, or there is 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 display rollback process of the payment message, that is, the payment message displayed by the user terminal and the merchant device is rolled back 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 display operation of the payment message on the user terminal and the merchant device is rolled back, the merchant device submits a device payment instruction to the server, so that the server performs payment processing for the payment order. In an optional implementation manner provided by this embodiment, after cooperating with the user terminal to synchronously display the payment message, it also includes: receiving a rollback instruction sent by the user terminal; the rollback instruction is sent after completing the rollback processing of the message synchronization display operation when the user terminal detects the payment switching instruction; In response to the rollback instruction, rolling back the display processing operation of the payment message according to the device display 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.
[0110] Specifically, the rollback process can be reverse display according to the display time and the display area corresponding to each display time included in the terminal display parameters, that is, displaying the display area corresponding to each display time in order from the last to the first display time. After the user terminal completes the rollback, it can also send a rollback instruction to the merchant device through the near field communication connection, so that the merchant device rolls back the display processing operation of the payment message according to the device display parameters. In addition, the display operation of the payment message can be rolled back when the user's payment is authenticated. The user can be authenticated after the user submits a payment confirmation instruction. The display operation of the payment message can be rolled back before the authentication is performed. After the authentication is passed, the authentication pass 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 can process the payment of the payment order.
[0111] 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 the 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 are received from the server. The payment message is displayed and processed according to the device display parameters to cooperate with the user terminal to display the message synchronously, thereby increasing the function of near-field communication payment and improving the interactive perception of near-field communication payment. After the display processing of the payment message is completed, it can also cooperate with the user terminal to perform synchronous display rollback processing of the payment message display when the user performs payment authentication, switches payment channels and / or cancels payment, further improving the interactive perception of near-field communication payment, and enabling users and merchants to quickly perceive changes in payment orders through display rollback, thereby increasing the functionality of near-field communication payment.
[0112] The following is an example of an application of an order payment method based on device interaction provided in this embodiment in a near field communication payment scenario to further illustrate the order payment method based on device interaction provided in this embodiment. Figure 10 , an order payment method based on device interaction applied to near-field communication payment scenarios specifically includes the following steps.
[0113] Step S1002: Call the near field communication component to detect the payment device, and display the near field communication payment reminder when the payer's first device is detected.
[0114] Optionally, the payer may be a user; and the first device may be a user terminal.
[0115] Step S1004: Invoke a near field communication component to establish a near field communication connection with the first device.
[0116] 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 payment account information to the server so that the server creates a payment order.
[0117] Step S1016: Receive the payment message of the payment order returned by the server, as well as the first device display parameter and the second device display parameter of the payment message.
[0118] Step S1018: Display the payment message on the device page according to the device display time included in the second device display parameter of the payment message and the page display area corresponding to each device display time.
[0119] Step S1020: After detecting that the display of the last display time in each device display time is completed, a payment message of the payment order and a first device display parameter of the payment message are sent to the user terminal through a near field communication connection.
[0120] Step S1030, receive the rollback instruction sent by the first device, proceed to step S1018, roll back the display processing of the payment message on the device page according to the device display time included in the second device display parameter of the payment message and the page display area corresponding to each device display time, and submit the payment instruction to the server after the rollback processing is completed.
[0121] One or more embodiments of the third device-interaction-based order payment method provided in this specification are as follows: Reference Figure 12 The order payment method based on device interaction provided in this embodiment can be applied to a server, and specifically includes steps S1202 to S1208.
[0122] Step S1202: Create a payment order based on the payment order information and payment account information uploaded by the payee's second device.
[0123] In actual applications, during offline transactions, users can establish near-field communication devices with merchant devices through user terminals to pay for goods. During the near-field communication payment process, the payment animation of the 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 the near-field communication payment and increase the functionality of the near-field communication payment. This embodiment uses the interaction between the user terminal, the merchant device and the server to enable the user terminal and the server to cooperate in the synchronous display of 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 the near-field communication payment.
[0124] In specific implementations, the user terminal invokes the near-field communication component to establish an NFC connection with the merchant device, and then sends the user payment information to the merchant device via the NFC connection. After receiving the user payment information, the merchant device uploads the order information and user payment information for the product order to the server. The server receives the order information and user payment information uploaded by the merchant device and creates a payment order. Optionally, the user payment information is sent from the user terminal to the merchant device via the NFC connection.
[0125] In this embodiment, user payment information is the user information required to create a payment order. It can be user identity information, user-activated payment channel information, or account information corresponding to the user-activated payment channel, user account equity resource information, etc. Furthermore, user payment information can be any one of the above, or a combination of any two or more, and this embodiment is not limited thereto. User payment information can be interactively transmitted via a near-field communication connection established between a merchant device and a user terminal. Optionally, user payment information is sent from the user terminal to the merchant device via the near-field communication connection. Specifically, the merchant device can read user payment information stored in the user terminal via the near-field communication connection, or the user terminal can proactively send user payment information to the merchant device via the near-field communication connection. Optionally, the user terminal can be online or offline. In this embodiment, order information refers to order information uploaded by the merchant device for a user's purchase of goods. It can be the amount of the goods, the name of the goods, the unit price of the goods, etc. Furthermore, order information can be any one of the above, or a combination of any two or more, and this embodiment is not limited thereto. The order information can be transmitted to the merchant device by scanning the product identification code through the merchant's cash register and / or the merchant's code scanning device. In addition, the merchant can also enter the payment amount through interaction with the merchant's cash register and use the payment amount as the order information. Optionally, the merchant device and the merchant's cash register have a hardware connection.
[0126] 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 when the screen is locked, and can also call the near-field communication component to establish a near-field communication connection with the merchant device when the screen is unlocked. Specifically, the user can place the user terminal close to the merchant's merchant device when the screen is locked, 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 make a near-field communication payment after entering the payment application for payment. Optionally, the near-field communication component is called after entering the payment application.
[0127] It should be noted that the request for establishing a 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 establishes a near-field communication connection, or it can 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 limit this.
[0128] 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.
[0129] In actual applications, in order to enhance the perception 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 the terminal display parameters of the payment message, and send them to the user terminal and the merchant device, so that the user terminal and the merchant device can cooperate to display the message synchronously. In specific implementation, the server generates a payment message for the payment order, as well as the device display parameters of the payment message and the terminal display parameters of the payment message. In this embodiment, the payment message refers to a reminder message generated by the server for displaying the order information of the payment order, which can be displayed through 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 and message materials of the payment order, so as to be rendered and displayed by the user terminal and / or the merchant device. Correspondingly, the terminal display parameters and the device display parameters refer to the display control parameters contained in the payment message, which are used to control 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, the page display position, or the display special effect parameters, etc. It should be noted that the terminal display parameters and / or the device display parameters can be any one of the above parameters, or a combination of two or more of the above parameters, which is not limited in this embodiment. It should be noted that the terminal display parameters are applied to the first device of the payee, and the device display parameters are applied to the merchant device.
[0130] In actual applications, the synchronous display of user terminals and merchant devices requires a stable channel. The payment message and the terminal display parameters of the payment message are received simultaneously through the stable channel to stably perform synchronous display processing of the payment message and achieve the synchronous display effect of the payment message on the user terminal and the merchant device. In an optional implementation provided by this embodiment, obtaining the terminal display parameters of the payment message includes: receiving the terminal display parameters issued by the server, that is, the terminal display parameters of the user terminal are sent by the server.
[0131] In addition, in order 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 the merchant device then 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, so as to improve the synchronization of the synchronous display through the high stability and high real-time performance of near-field communication. In another optional implementation provided by 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 through the merchant device through the near-field communication connection.
[0132] 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 cooperates with the first device to perform message synchronous display.
[0133] In specific implementations, the server sends a payment message and device display parameters to the merchant device, and also sends the payment message and terminal display parameters to the user terminal, enabling the merchant device and user terminal to coordinate and display the message synchronously. The user terminal processes the payment message display according to the obtained terminal display parameters of the payment message, coordinating with the merchant device for synchronous display of the payment message. The merchant device also processes the payment message display according to the device display parameters of the payment message, coordinating with the user terminal for synchronous display of the message. The display process can be performed within a payment application, and the payment application can be entered upon detecting a user access instruction. Optionally, the payment application can be entered upon a user access instruction. Optionally, the display processing of the payment message according to the terminal display parameters is performed based on the application page of the payment application. Furthermore, upon receiving a payment message while the screen is locked, the user terminal can generate and display a payment message notification, and upon triggering the message notification, redirect to the payment application to display the payment message. Optionally, upon detecting that the screen is locked, a payment message notification is generated, and upon triggering the message notification, redirect to the payment application to display the payment message.
[0134] It should be noted that in order to improve the synchronization of the synchronous display of payment messages on the user terminal and the merchant device, the payment message of the payment order, as well as the first device display parameters and the second device display parameters of the payment message can be sent to the merchant device, so that the merchant device can transmit it to the user terminal through the near-field communication connection, so as to perform the transmission of display parameters and the synchronous display of payment messages through a highly stable and fast near-field communication method, that is: step S1206 can be replaced by: sending the payment message and the second device display parameters and the first device display parameters to the second device, so that the second device sends the payment message and the first device display parameters to the first device through the near-field communication connection for synchronous display of the payment message.
[0135] In practical applications, to improve the synchronization of payment message display on user terminals and merchant devices, display times can be configured in the device display parameters of the merchant device and the terminal display parameters of the user terminal. This ensures that the display times included in the device display parameters and the terminal display parameters are temporally continuous. This creates the effect of a payment message "transmitting" from the merchant device to the user terminal. For example, a payment message "flows out" from the merchant device and simultaneously "flows" into the user terminal, achieving synchronous display of the payment message. Optionally, the device display time included in the device display parameters of the payment message is temporally continuous with the terminal display time included in the terminal display parameters.
[0136] In addition, to improve the synchronization of the synchronous 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 contained in the device display parameters and the terminal display parameters are adapted in position to show the display effect of the payment message "transmitted" from the merchant device side to the user terminal side. For example, the payment message "flows out" from the top of the merchant device side and "flows in" from the top of the user terminal side, realizing the synchronous display of the payment message. Optionally, the page display area contained in the device display parameters contained in the payment message and the page display area contained in the terminal display parameters have a regional adaptation relationship.
[0137] It should be noted that the device display parameters of the merchant device and the terminal display parameters of the user terminal may simultaneously have a time continuity relationship of display time and a regional adaptation relationship. For example, the device display time contained in the device display parameters contained in the payment message has a time continuity relationship with the terminal display time contained 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.
[0138] During the specific synchronous display process, the user terminal may display 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 may display 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. The payment message displayed by the user terminal and the payment message displayed by the merchant device may be the same. In an optional implementation provided by this embodiment, the merchant device and the user terminal cooperate to perform synchronous message display, including: The merchant device displays 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; 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 parameter and the page display area corresponding to each terminal display time.
[0139] In actual applications, to improve the specificity of the synchronous display of payment messages, the payment messages on the merchant's merchant device side and the payment messages on the user's user terminal side can be differentiated, that is, the payment message on the merchant terminal side is configured as a payment reminder image, and the payment message on the user terminal side is configured as a message window. The display content of the two can be configured differently to improve the perception of near-field communication payment. In an optional implementation provided by this embodiment, the merchant device and the user terminal cooperate to perform synchronous message display, including: The merchant device performs image rendering according to the order information and message materials contained in the payment reminder message of the payment order received by the merchant device to obtain a payment reminder image; Displaying 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; The user terminal generates a message window for the payment message according to the order information and payment channel information included in the payment message; The message window is displayed on the terminal page according to the terminal display time and the window display area corresponding to each terminal display time included in the payment message and / or the first device display parameter.
[0140] Specifically, the merchant device performs image rendering based on the order information and message materials contained 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; accordingly, the user terminal generates a message window for the payment message according to the order information contained in the payment message and the payment channel information bound to the user, and displays 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 content 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.
[0141] In actual applications, the user terminal can also display 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. According to the display time included in the terminal display parameters and the window display area corresponding to each display time, the message window is displayed in the locked screen state. In an optional implementation provided by this embodiment, the display processing of the payment message according to the terminal display parameters includes: If it is detected that the screen state is locked, the order information and payment channel information included in the payment message are used as interface call input to call a message generation interface to generate a message window for the payment message; The message window is displayed on the screen lock page 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.
[0142] Furthermore, the message window may also be configured with a payment confirmation interface, and the user may trigger the payment confirmation interface to submit a payment confirmation instruction to complete the payment confirmation process of the payment order.
[0143] In actual applications, to improve the synchronization of the synchronous 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 display is completed, 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 payment message display on the merchant device is completed, so as to show the display effect of the payment message being "synchronously transmitted" from the merchant device to the user terminal. 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 provided by this embodiment, the merchant device and the user terminal cooperate to perform message synchronous display, including: The merchant device displays 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; After detecting that the presentation of the last presentation time among the presentation times of each device is completed, sending a presentation instruction to the user terminal through the near field communication connection; The user terminal receives and reads the terminal display parameter carried in the display instruction; The payment message is displayed on the terminal page according to the terminal display time included in the terminal display parameter and the page display area corresponding to each terminal display time.
[0144] 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 for instructions to achieve synchronous display of the payment message.
[0145] In practical applications, to improve the synchronization of the display of payment messages on user terminals and merchant devices, the payment messages displayed by the merchant device and the payment messages displayed by the user terminal can also be aligned in the display position dimension. That is, the page display area of the payment message displayed by the merchant device and the page display area of the payment message displayed by the user terminal have a page adaptation relationship. When the terminal display parameters of the user terminal are sent via a near-field communication connection established with the merchant device, the location of the cooperating device can be determined based on the collected environmental image, and the page display area is determined based on the location. Taking the example of sending the terminal display parameters and device display parameters of the payment message to the merchant device, 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 of the merchant device and the user terminal based on the position, and determine the page display area included in the terminal display parameters based on the adaptation direction, so as 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 based on the message window parameters of the payment message and the adaptation direction of the merchant device and the user terminal. Optionally, the adaptation direction is determined according to an environment image captured by the merchant device or the user terminal.
[0146] Step S1208: If a payment instruction submitted by the first device is detected, payment processing of the payment order is performed according to the payment account information.
[0147] This embodiment implements three-way interaction between the server, user terminal, and merchant device during the near-field communication payment process, thereby achieving simultaneous display and processing of payment messages on the user terminal and merchant device. The simultaneous display of payment messages enhances the perception of near-field communication payment and increases the functionality of near-field communication payment.
[0148] In specific implementations, after the user terminal detects a user-entered payment instruction, it submits the payment instruction to the server, allowing the server to process the payment for the payment order. Upon receiving the payment instruction, the server then processes the payment for the payment order. Alternatively, there may be situations where the user device fails to detect the payment instruction, meaning that the payment instruction is not submitted to the server via the user terminal. In such cases, the payment instruction can be submitted to the server via the merchant device, allowing the server to process the payment for the payment order. Step S1208 can be replaced with: If a payment instruction submitted by the merchant device is detected, the payment for the payment order is processed based on the payment account information.
[0149] In actual applications, after the user terminal displays the payment message, the user may change the payment channel or cancel the payment. For example, the user may submit a payment cancellation instruction by swiping the page on the message window of the payment message. In response to this, the user may 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 display rollback process of the payment message, that is, the payment message displayed by the user terminal and the merchant device is rolled back to show the effect of the payment message being "rolled back" from the user terminal to the merchant device. In an optional implementation manner provided by this embodiment, before detecting the user payment instruction, the following is further included: If a payment switching instruction is detected, the display processing operation of the payment message according to the terminal display parameters is rolled back, and a rollback instruction is sent to the merchant device, so that the merchant device rolls back the synchronous display of the message according to the rollback instruction.
[0150] Optionally, the message window of the payment message is configured with a payment switch control and / or a payment cancel control.
[0151] Specifically, the rollback processing 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: the display area corresponding to each display time is displayed in order from the back to the front. After the user terminal rolls back, it can also send a rollback instruction to the merchant device through the near-field communication connection, so that the merchant device can roll back the display processing operation of the payment message according to the device display parameters.
[0152] Furthermore, after the rollback of the display processing operation of the user terminal and the merchant device is completed, if the user switches the payment channel, the server may update the payment order and the payment message, so that the merchant device and the user terminal synchronously display the updated payment message. In an optional implementation provided by this embodiment, after the merchant device performs the rollback processing of the synchronous display of the message according to the rollback instruction, the following is further included: The merchant device receives the terminal configuration parameters and device configuration parameters of the updated payment message sent by the server, displays the payment message according to the device configuration parameters of the updated payment message, and sends a display instruction to the user terminal via the near field communication connection after the display is completed; The user terminal receives and reads the terminal configuration parameters for updating the payment message carried in the display instruction, and performs synchronous display processing of the payment message according to the terminal configuration parameters for updating the payment message.
[0153] Specifically, when 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.
[0154] In addition, to avoid repeated user operations, when the user switches payment channels, after the rollback of the display operation of the payment message between the user terminal and the merchant device is completed, the merchant device can submit a device payment instruction to the server, so that the server can process the payment of the payment order. Optionally, after the merchant device performs the rollback process of the synchronous display of the message according to the rollback instruction, it also includes: performing the payment process of the payment order through the device payment instruction submitted by the merchant device. It should be noted that when the display processing operation of the payment message is rolled back, the payment process of the payment order can be performed through the device payment instruction submitted by the merchant device. That is, when the display processing operation of the payment message is rolled back, the user payment instruction can be submitted to the server without the user terminal.
[0155] In addition, the display operation of the payment message can be rolled back when the user is authenticated for payment. The user can be authenticated after the user submits the payment confirmation instruction. The display operation of the payment message can be rolled back before the authentication is performed. After the authentication is passed, the authentication pass 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 for the payment order. For example: after the display processing of the payment message, it also includes: obtaining the trigger instruction submitted by the payment confirmation control configured for the message window of the payment message; performing the rollback processing of the display processing operation of the payment message according to the terminal display parameters, and sending the rollback instruction to the merchant device so that the merchant device performs the rollback processing of the message synchronous display according to the rollback instruction; calling the authentication interface to authenticate the user, and performing payment processing for the payment order through the device payment instruction submitted by the merchant device after the authentication is passed. It is used to replace the step of obtaining and submitting the user payment instruction by the user terminal to the server so that the server performs payment processing for the payment order.
[0156] In actual applications, during the near-field communication payment process, 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 trigger the payment confirmation control to submit the user payment instruction. After the user payment instruction is submitted, in order to improve payment security, the user can be authenticated. After the authentication is passed, the user payment instruction is submitted to the server so that the server can process the payment order. In an optional implementation provided by this embodiment, before submitting the user payment instruction to the server, the following is also included: Obtaining a trigger instruction submitted by a payment confirmation control configured for the message window, and using the trigger instruction as the user payment instruction; The authentication interface is called to authenticate the user, and after the authentication is passed, if a user payment instruction is detected, the user payment instruction is submitted to the server to perform the payment processing step of the payment order.
[0157] Specifically, the user terminal displays the message window corresponding to the payment message, the user triggers the payment confirmation interface configured in 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, the authentication interface is called to authenticate the user, and the subsequent step S208 is executed after the authentication is passed; wherein, the authentication processing can be based on the user's biometrics or based on a key or password.
[0158] In summary, one or more device-interaction-based order payment methods provided in this embodiment are applied to a server, which creates a payment order based on order information and user payment information uploaded by a merchant device, generates a payment message for the payment order, and device display parameters and terminal display parameters of the payment message, sends the payment message and device display parameters to the merchant device, and sends the payment message and terminal display parameters to the user terminal, so that the merchant device and the user terminal cooperate to synchronously display the messages. When a payment instruction submitted by the user terminal is detected, payment processing of the payment order is performed according to the user payment information, thereby improving the perception of near-field communication payment and increasing the functionality of near-field communication payment. Before processing the payment order, if the user authenticates the payment, switches the payment channel, and / or cancels the payment, the user terminal and the merchant device can cooperate to synchronize the display rollback of the payment message, and the server can update the payment order and payment message, further improving the interactive perception of NFC payment. By display rollback, users and merchants can quickly perceive the changes in the payment order, thereby increasing the functionality of NFC payment. Furthermore, in order to avoid repeated operations by users and repeated exchange of interactive instructions, a payment instruction can be submitted to the server through the merchant device after the synchronous display rollback is completed, so that the server can process the payment of 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 so that the server can process the payment of the payment order, or the user payment instruction can be submitted to the server through the merchant device so that the server can process the payment of the payment order.
[0159] The following is an example of an application of an order payment method based on device interaction provided in this embodiment in a near field communication payment scenario to further illustrate the order payment method based on device interaction provided in this embodiment. Figure 10 , an order payment method based on device interaction applied to near-field communication payment scenarios specifically includes the following steps.
[0160] Step S1010: Create a payment order based on the payment order information and payment account information uploaded by the payee's second device.
[0161] Step S1012: Generate a payment message for the payment order, as well as a first device display parameter and a second device display parameter of the payment message.
[0162] Step S1014, sending a payment message, as well as the first device display parameters and the second device display parameters of the payment message, to the second device, so as to send the payment message, as well as the first device display parameters of the payment message, to the payer's first device through the second device via a near field communication connection.
[0163] Step S1034: Detect the payment instruction submitted by the second device and perform payment processing for the payment order according to the payment account information.
[0164] The first embodiment of the order payment device based on device interaction provided in this specification is as follows: In the above embodiment, a device-interaction-based order payment method applied to a server is provided. Correspondingly, a device-interaction-based order payment device running on a server is also provided, which is described below with reference to the accompanying drawings.
[0165] Reference Figure 13 , which shows a schematic diagram of an order payment device embodiment based on device interaction provided by this embodiment.
[0166] 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 embodiment described below is only illustrative.
[0167] This embodiment provides a first device-interaction-based order payment device, which runs on a first device of a payer. The device includes: The payment account information sending module 1302 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 payment account information to the second device through the near field communication connection; The display parameter acquisition module 1304 is configured to receive a payment message of a payment order sent by the server and acquire 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; The payment message display module 1306 is configured to display the payment message according to the display parameters of the first device to cooperate with the second device to display the message synchronously; The payment instruction submission module 1308 is configured to submit the user payment instruction to the server for payment processing of the payment order if a user payment instruction is detected.
[0168] The second embodiment of the order payment device based on device interaction provided in this specification is as follows: In the above embodiment, a device-interaction-based order payment method applied to the payer's first device is provided. Correspondingly, a device-interaction-based order payment device running on a user terminal is also provided, which is described below with reference to the accompanying drawings.
[0169] Reference Figure 14 , which shows a schematic diagram of an order payment device embodiment based on device interaction provided by this embodiment.
[0170] 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 embodiment described below is only illustrative.
[0171] This embodiment provides a second device-interaction-based order payment device, which runs on a second device of the payee and includes: The near-field payment reminder display module 1402 is configured to call the near-field communication component to perform payment device detection, and display the near-field payment reminder when the first device of the payer is detected; The payment account information acquisition module 1404 is configured to 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; a display parameter receiving module 1406 configured to upload the payment order information and the payment account information to the server to create a payment order, and receive a payment message of the payment order and a second device display parameter of the payment message returned by the server; The payment message display module 1408 is configured to perform display processing of the payment message according to the display parameters of the second device to cooperate with the first device to perform message synchronous display.
[0172] The third embodiment of the order payment device based on device interaction provided in this specification is as follows: In the above embodiment, a device-interaction-based order payment method applied to the payer's first device is provided. Correspondingly, a device-interaction-based order payment device running on the payer's first device is also provided, which is described below with reference to the accompanying drawings.
[0173] Reference Figure 15 , which shows a schematic diagram of an order payment device embodiment based on device interaction provided by this embodiment.
[0174] 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 embodiment described below is only illustrative.
[0175] This embodiment provides a third device-interaction-based order payment device, which runs on a server and includes: The payment order creation module 1502 is configured to create a payment order based on the payment order information and payment account information uploaded by the payee's second device; the payment account information is sent from the payee's first device to the second device via a near field communication connection; a display parameter generating module 1504 configured to generate a payment message for the payment order, and a first device display parameter and a second device display parameter for the payment message; a display parameter sending module 1506 configured to send the payment message and the second device display parameter to the second device, and to send the payment message and the first device display parameter to the first device, so that the second device cooperates with the first device to perform message synchronous display; The payment order processing module 1508 is configured to, upon detecting a payment instruction submitted by the first device, perform payment processing for the payment order according to the payment account information.
[0176] An embodiment of a first device of a payer provided in this specification is as follows: 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 further provide a first device of a payee, which is used to execute the first order payment method based on device interaction provided above. Figure 16 A schematic diagram of the structure of a first device of a payer provided in one or more embodiments of this specification.
[0177] This embodiment provides a first device of a payer, including: like Figure 16 As shown, the payer's first device may vary significantly due to configuration or performance differences. It may include one or more processors 1601 and memory 1602. Memory 1602 may store one or more applications or data. Memory 1602 may be either ephemeral or persistent. The applications stored in memory 1602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in the payer's first device. Furthermore, processor 1601 may be configured to communicate with memory 1602 to execute the series of computer-executable instructions in memory 1602 on the payer's first device. The payer's first device 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, and the like.
[0178] In a specific embodiment, the payer's first device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the payer's first device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following: Invoking a near field communication component to cooperate with a second device of the payee to establish a near field communication connection, and sending payment account information to the second device via the near field communication connection; Receiving a payment message of a payment order sent by a server, and obtaining 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; Performing display processing of the payment message according to the display parameters of the first device to cooperate with the second device to perform synchronous display of the message; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.
[0179] An embodiment of a second device of a payee provided in this specification is as follows: 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 further provide a second device of the payee, which is used to execute the second order payment method based on device interaction provided above. Figure 17 A schematic diagram of the structure of a second device of a payee provided in one or more embodiments of this specification.
[0180] This embodiment provides a second device of a payee, including: like Figure 17As shown, the payee's second device may vary significantly due to different configurations or performance. It may include one or more processors 1701 and memory 1702. Memory 1702 may store one or more applications or data. Memory 1702 may be either transient or persistent. The applications stored in memory 1702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in the payee's second device. Furthermore, processor 1701 may be configured to communicate with memory 1702 to execute the series of computer-executable instructions in memory 1702 on the payee's second device. The payee's second device 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, and the like.
[0181] In a specific embodiment, the payee's second device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the payee's second device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following: Invoke the near field communication component to detect the payment device, and display a near field payment reminder if the payer's first device is detected; Invoking the near field communication component to establish a near field communication connection with the first device, and obtaining payment account information sent by the first device through the near field communication connection; Uploading the payment order information and the payment account information to the server to create a payment order, and receiving a payment message of the payment order and a second device display parameter of the payment message returned by the server; The payment message is displayed and processed according to the display parameters of the second device to cooperate with the first device to display the message synchronously.
[0182] A server embodiment provided in this specification is as follows: 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 further provide a server, which is used to execute the third order payment method based on device interaction provided above. Figure 18 A schematic diagram of the structure of a server provided in one or more embodiments of this specification.
[0183] This embodiment provides a server, including: like Figure 18 As shown, servers can vary significantly depending on their configuration or performance. They may include one or more processors 1801 and memory 1802. Memory 1802 may store one or more applications or data. Memory 1802 may be either ephemeral or persistent. Applications stored in memory 1802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions within the server. Furthermore, processor 1801 may be configured to communicate with memory 1802 to execute the series of computer-executable instructions within 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, and the like.
[0184] In a specific embodiment, the server includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the server, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following: Creating a payment order based on the payment order information and payment account information uploaded by the payee's second device; the payment account information is sent from the payee's first device to the second device via a near-field communication connection; generating a payment message for the payment order, and a first device presentation parameter and a second device presentation parameter of the payment message; Sending the payment message and the second-device display parameter to the second device, and sending the payment message and the first-device display parameter to the first device, so that the second device cooperates with the first device to synchronously display messages; If a payment instruction submitted by the first device is detected, payment processing of the payment order is performed according to the payment account information.
[0185] The first storage medium embodiment provided in this specification is as follows: 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.
[0186] The storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented: Invoking a near field communication component to cooperate with a second device of the payee to establish a near field communication connection, and sending payment account information to the second device via the near field communication connection; Receiving a payment message of a payment order sent by a server, and obtaining 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; Performing display processing of the payment message according to the display parameters of the first device to cooperate with the second device to perform synchronous display of the message; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.
[0187] 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 aforementioned corresponding method, and the repeated parts will not be repeated.
[0188] The second storage medium embodiment provided in this specification is as follows: 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 storage medium.
[0189] The storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented: Invoke the near field communication component to detect the payment device, and display a near field payment reminder if the payer's first device is detected; Invoking the near field communication component to establish a near field communication connection with the first device, and obtaining payment account information sent by the first device through the near field communication connection; Uploading the payment order information and the payment account information to the server to create a payment order, and receiving a payment message of the payment order and a second device display parameter of the payment message returned by the server; The payment message is displayed and processed according to the display parameters of the second device to cooperate with the first device to display the message synchronously.
[0190] 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 aforementioned corresponding method, and the repeated parts will not be repeated.
[0191] The third storage medium embodiment provided in this specification is as follows: 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 third storage medium.
[0192] The storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented: Creating a payment order based on the payment order information and payment account information uploaded by the payee's second device; the payment account information is sent from the payee's first device to the second device via a near-field communication connection; generating a payment message for the payment order, and a first device presentation parameter and a second device presentation parameter of the payment message; Sending the payment message and the second-device display parameter to the second device, and sending the payment message and the first-device display parameter to the first device, so that the second device cooperates with the first device to synchronously display messages; If a payment instruction submitted by the first device is detected, payment processing of the payment order is performed according to the payment account information.
[0193] 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 aforementioned corresponding method, and the repeated parts will not be repeated.
[0194] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, equipment embodiment and storage medium embodiment are similar to the method embodiment, so the description is relatively simple. To read the relevant content in the device embodiment, equipment embodiment and storage medium embodiment, please refer to the partial description of the method embodiment.
[0195] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0196] In the 1930s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using physical hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly performed using software called a "logic compiler." This is similar to the software compilers used during program development. Before compilation, the original code must be written in a specific programming language, called a Hardware Description Language (HDL). There are many types of HDL, including 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, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that simply by programming a method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.
[0197] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., 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 controllers 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 memory control logic. Those skilled in the art will also appreciate that, in addition to implementing the controller purely in computer-readable program code, the controller can also be implemented in the form of logic gates, switches, an application-specific integrated circuit, a programmable logic controller, an embedded microcontroller, etc. by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the means for implementing the various functions included therein can also be considered as structures within the hardware component. Alternatively, the means for implementing the various functions can be considered both a software module implementing the method and a structure within the hardware component.
[0198] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0199] For the convenience of description, the above devices are described as being divided into 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.
[0200] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as a method, system, or computer program product. Thus, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0201] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0202] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0203] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0204] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0205] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0206] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. 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 RAM (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 cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.
[0207] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0208] One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0209] The foregoing description is merely an example of the present invention and is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims herein.
Claims
1. A method for order payment based on device interaction, applied to a first device of a payer, the method comprising: Invoking a near field communication component to cooperate with a second device of the payee to establish a near field communication connection, and interactively transmitting user payment information through the near field communication connection; receiving a payment reminder message for the payment order sent by the second device through the near field communication connection; Performing display processing of a message window of the payment reminder message on a terminal page according to the first device display parameters included in the payment reminder message, so as to cooperate with the second device to perform synchronous display of the message; If a user payment instruction is detected, the user payment instruction is submitted to the server to perform payment processing for the payment order.
2. The order payment method based on device interaction according to claim 1, wherein the second device performs message synchronous display, including: Displaying the payment reminder 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 parameter of the payment reminder message; Accordingly, the display processing of the message window of the payment reminder message on the terminal page according to the first device display parameter included in the payment reminder message includes: The message window is displayed on the terminal page according to the terminal display time included in the first device display parameter and the page display area corresponding to each terminal display time.
3. The order payment method based on device interaction according to claim 1, wherein the second device performs message synchronous display, including: performing image rendering according to the order information and message materials contained in the payment reminder 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 parameter of the payment reminder message; Accordingly, the display processing of the message window of the payment reminder message on the terminal page according to the first device display parameter included in the payment reminder message includes: Generating the message window according to the order information and payment channel information included in the payment reminder message; The message window is displayed on the terminal page according to the terminal display time included in the first device display parameter and the window display area corresponding to each terminal display time.
4. The order payment method based on device interaction according to claim 2, wherein the device display time included in the second device display parameter is in a temporally continuous relationship with the terminal display time included in the first device display 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.
5. The order payment method based on device interaction according to claim 1, wherein the second device performs message synchronous display, comprising: Displaying the payment reminder 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 parameter of the payment reminder 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; Accordingly, the display processing of the message window of the payment reminder message on the terminal page according to the first device display parameter included in the payment reminder message includes: receiving and reading the first device display parameter carried in the display instruction; The message window is displayed on the terminal page according to the terminal display time included in the first device display parameter and the page display area corresponding to each terminal display time.
6. The order payment method based on device interaction according to claim 5, wherein the page display area included in the second device display parameters and the page display area included in the first device display parameters are determined according to the message window parameters of the payment reminder 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.
7. According to the order payment method based on device interaction according to claim 1, the payment reminder message is sent by the server to the second device.
8. According to the order payment method based on device interaction according to claim 1, the second device calls the configured near-field communication component to detect the payment device, and if the payer's first device is detected within a preset distance range, a near-field payment reminder is displayed.
9. The order payment method based on device interaction according to claim 1, after the step of displaying the message window of the payment reminder message on the terminal page according to the first device display parameter contained in the payment reminder message to cooperate with the second device to perform message synchronous display, 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, further comprising: Obtaining a trigger instruction submitted by a payment confirmation control configured for 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 process the payment of the payment order.
10. The order payment method based on device interaction according to claim 2, further comprising: If a payment switching instruction is detected, the display processing operation of the payment reminder message is rolled back according to the display parameters of the first device, and a rollback instruction is sent to the second device, so that the second device rolls back the synchronous display of the payment reminder 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.
11. The order payment method based on device interaction according to claim 1, 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 reminder message is generated, and the process of redirecting to the payment application is triggered after the message notification is triggered; The display processing operation of the message window of the payment reminder message is performed on the terminal page according to the first device display parameter included in the payment reminder message, and is performed based on the application page of the payment application.
12. The order payment method based on device interaction according to claim 1, wherein the displaying of the message window of the payment reminder message on the terminal page according to the first device display parameter included in the payment reminder message comprises: If it is detected that the screen state is locked, the message generation interface is called using the order information and payment channel information contained in the payment reminder message as interface input to generate a message window for the payment reminder message; The message window is displayed on the screen lock page according to the terminal display time included in the first device display parameter and the window display area corresponding to each terminal display time.
13. A method for order payment based on device interaction, applied to a second device of a payee, the method comprising: Invoking a near field communication component to establish a near field communication connection with a first device of the payer, and obtaining user payment information sent by the first device through the near field communication connection; Uploading the payment amount and the user's payment information to the server to create a payment order, and receiving a payment reminder message of the payment order returned by the server; The payment reminder message is displayed on the device page according to the second device display parameter included in the payment reminder message, so as to cooperate with the first device to display the message synchronously.
14. The order payment method based on device interaction according to claim 13, wherein displaying the payment reminder message on the device page according to the second device display parameter comprises: Performing image rendering based on the order information and message materials contained in the payment reminder 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 parameter included in the payment reminder message; Accordingly, the first device performs message synchronous display, including: generating a message window for the payment reminder message according to the order information and payment channel information included in the payment reminder message received by the first device; The message window is displayed on the terminal page according to the terminal display time included in the first device display parameter included in the payment reminder message and the window display area corresponding to each terminal display time.
15. The order payment method based on device interaction according to claim 13, further comprising: displaying the payment reminder message on the device page according to the second device display parameter included in the payment reminder message to cooperate with the first device to perform message synchronous display. receiving a rollback instruction sent by the first device; The rollback instruction is sent after the rollback process of the synchronous display operation of the payment reminder message is completed when the first device detects the payment switching instruction; In response to the rollback instruction, rolling back the display processing operation of the payment reminder message on the device page according to the second device display 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.
16. A method for order payment based on device interaction, applied to a server, the method comprising: Creating a payment order based on the payment amount and user payment information uploaded by the payee's second device; the user payment information is interactively transmitted via a near-field communication connection between the payee's first device and the second device; generating a payment reminder message for the payment order; Sending the payment reminder message to the second device, so that the second device cooperates with the first device to synchronously display the message; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the user payment information.
17. A device-interaction-based order payment apparatus, running on a first device of a payer, 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 interactively transmit the user payment information through the near field communication connection; a presentation parameter acquisition module, configured to receive a payment reminder message of a payment order sent by the second device via the near field communication connection; a payment message display module configured to display a message window of the payment reminder message on a terminal page according to the first device display parameters included in the payment reminder message, so as to cooperate with the second device to perform message synchronous display; The payment instruction submission module is configured to submit the user payment instruction to the server for 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 payment account information acquisition module configured to call a near field communication component to establish a near field communication connection with a first device of the payer, and obtain user payment information sent by the first device via the near field communication connection; a display parameter receiving module configured to upload the payment amount and the user payment information to a server to create a payment order, and receive a payment reminder message of the payment order returned by the server; The payment message display module is configured to display the payment reminder message on the device page according to the second device display parameter included in the payment reminder message, so as to cooperate with the first device to display the message synchronously.
19. An order payment device based on device interaction, running on a server, comprising: a payment order creation module, configured to create a payment order based on the payment amount and user payment information uploaded by the payee's second device; The user payment information is interactively transmitted via a near field communication connection between the first device of the payer and the second device; a display parameter generation module, configured to generate a payment reminder message for the payment order; a display parameter sending module, configured to send the payment reminder message to the second device, so that the second device cooperates with the first device to synchronously display the message; The payment order processing module is configured to, if a submitted payment instruction is detected, perform payment processing of the payment order according to the user payment information.
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: Invoking a near field communication component to cooperate with a second device of the payee to establish a near field communication connection, and interactively transmitting user payment information through the near field communication connection; receiving a payment reminder message for the payment order sent by the second device through the near field communication connection; Performing display processing of a message window of the payment reminder message on a terminal page according to the first device display parameters included in the payment reminder message, so as to cooperate with the second device to perform synchronous display of the message; 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: Invoking a near field communication component to establish a near field communication connection with a first device of the payer, and obtaining user payment information sent by the first device through the near field communication connection; Uploading the payment amount and the user's payment information to the server to create a payment order, and receiving a payment reminder message of the payment order returned by the server; The payment reminder message is displayed on the device page according to the second device display parameter included in the payment reminder message, so as to cooperate with the first device to display the message synchronously.
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 user payment information uploaded by the payee's second device; the user payment information is interactively transmitted via a near-field communication connection between the payee's first device and the second device; generating a payment reminder message for the payment order; Sending the payment reminder message to the second device, so that the second device cooperates with the first device to synchronously display the message; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the user payment information.
23. A storage medium for storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the following process: Invoking a near field communication component to cooperate with a second device of the payee to establish a near field communication connection, and interactively transmitting user payment information through the near field communication connection; receiving a payment reminder message for the payment order sent by the second device through the near field communication connection; Performing display processing of a message window of the payment reminder message on a terminal page according to the first device display parameters included in the payment reminder message, so as to cooperate with the second device to perform synchronous display of the message; 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: Invoking a near field communication component to establish a near field communication connection with a first device of the payer, and obtaining user payment information sent by the first device through the near field communication connection; Uploading the payment amount and the user's payment information to the server to create a payment order, and receiving a payment reminder message of the payment order returned by the server; The payment reminder message is displayed on the device page according to the second device display parameter included in the payment reminder message, so as to cooperate with the first device to display the message synchronously.
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 user payment information uploaded by the payee's second device; the user payment information is interactively transmitted via a near-field communication connection between the payee's first device and the second device; generating a payment reminder message for the payment order; Sending the payment reminder message to the second device, so that the second device cooperates with the first device to synchronously display the message; If a submitted payment instruction is detected, payment processing of the payment order is performed according to the user payment information.