Payment method, device, system and equipment based on near field communication
Through the wired connection between the near-field communication terminal and the cashier terminal, NFC payment is realized using payment page links and payment vouchers, which solves the information security risks and equipment compatibility problems in the existing technology, reduces the transformation cost, and promotes the popularization of NFC payments.
Patent Information
- Application Number
- CN202411477226.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2024-11-22
AI Technical Summary
The existing NFC-based mobile payment methods have information security risks and equipment compatibility issues, resulting in the failure to popularize on a large scale and the cost of transformation of offline cash register equipment.
Through the wired connection between the near-field communication terminal and the cash register terminal, NFC payment function is provided. The user terminal obtains the payment page link and sends an authorization request to the payment server, generates and passes the payment voucher to the cash register terminal, and completes the payment.
It has achieved low cost to give NFC payment capabilities to the existing cash register system, simplified user payment operations, reduced equipment transformation costs, and promoted the popularization of NFC payment technology.
Smart Images

Figure CN119005972A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile payment technology, and in particular to payment methods, devices, systems and equipment based on near field communication. Background Art
[0002] Near Field Communication (NFC) technology, as a short-range wireless communication protocol, has been widely used in many fields such as mobile payment, information interaction, smart home control, access control, identity authentication and recognition, electronic ticketing, anti-counterfeiting, etc.
[0003] When NFC technology is applied to mobile payment scenarios, the current mainstream NFC-based payment method is to use the cash register device as the payment end as a card reader to realize payment by reading the passively simulated information on the mobile device as the payment end. In practice, due to information security risks and other reasons, this NFC-based payment method has not been widely popularized and applied. To this end, it is necessary to use the cash register device as the payment end as a simulated card in the payment scenario. Considering that not all existing offline cash register devices support interaction with mobile devices in the form of card simulation, it is necessary to upgrade the functions of offline cash register devices, and the cost of the transformation is usually high.
[0004] In view of this, it is necessary to provide a solution for implementing NFC payment using the existing cash register system with low modification cost. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a payment method, device, system and equipment based on near field communication, and provide a solution for implementing NFC payment using an existing cash register system with low modification cost.
[0006] According to the first aspect of the embodiment of the present application, a payment method based on near field communication is provided, which is applied to a near field communication terminal; the near field communication terminal is connected to a cash register terminal by wired communication, and is used to provide a near field communication function for the cash register terminal; the method comprises: sending a payment page link to a user terminal by near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to a payment server; receiving a payment voucher sent by the payment server; the payment voucher is generated by the payment server in response to the payment authorization request; sending the payment voucher to the cash register terminal; the payment voucher is used to be sent by the cash register terminal together with the payment order information to the payment server to complete the payment.
[0007] According to a second aspect of an embodiment of the present application, a payment method based on near field communication is provided, which is applied to a user terminal; the method comprises: obtaining a payment page link from a near field communication terminal via near field communication; the near field communication terminal is connected to a cash register terminal via a wired communication method, so as to provide a near field communication function for the cash register terminal; based on the payment page link, a payment authorization request is sent to a payment server; the payment authorization request is used to authorize the payment server to send a payment voucher to the near field communication terminal; the payment voucher is used to be sent by the near field communication terminal together with payment order information to the cash register terminal to complete the payment.
[0008] According to the third aspect of the embodiment of the present application, a payment method based on near-field communication is provided, which is applied to a cash register terminal; the cash register terminal is connected to a near-field communication terminal by wired communication, and the near-field communication terminal is used to provide a near-field communication function for the cash register terminal; the method comprises: obtaining a payment voucher from the near-field communication terminal; the payment voucher is generated by the payment server in response to a payment authorization request sent by the user terminal; a payment request carrying the payment voucher and payment order information is generated; the payment request is sent to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0009] According to the fourth aspect of an embodiment of the present application, a payment method based on near field communication is provided, which is applied to a payment server; the method comprises: obtaining a payment authorization request sent by a user terminal and carrying a terminal identification of a near field communication terminal; the near field communication terminal is connected to a cash register terminal by wired communication, so as to provide a near field communication function for the cash register terminal; generating a payment voucher in response to the payment authorization request; sending the payment voucher to the near field communication terminal so that the near field communication terminal sends the payment voucher to the cash register terminal; receiving a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; based on the payment order information, operating resources in an account corresponding to the payment voucher to complete the payment.
[0010] According to the fifth aspect of the embodiment of the present application, a payment device based on near field communication is provided, which is applied to a near field communication terminal; the near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; the device includes: a payment page link sending module, which is used to send a payment page link to a user terminal by near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to a payment server; a payment voucher receiving module, which is used to receive the payment voucher sent by the payment server; the payment voucher is generated by the payment server in response to the payment authorization request; a first payment voucher sending module, which is used to send the payment voucher to the cash register terminal; the payment voucher is used to be sent by the cash register terminal together with the payment order information to the payment server to complete the payment.
[0011] According to the sixth aspect of the embodiment of the present application, a payment device based on near field communication is provided, which is applied to a user terminal; the device includes: a payment page link acquisition module, which is used to obtain a payment page link from a near field communication terminal via near field communication; the near field communication terminal is connected to a cash register terminal via a wired communication method, and is used to provide a near field communication function for the cash register terminal; a payment authorization request sending module, which is used to send a payment authorization request to a payment server based on the payment page link; the payment authorization request is used to authorize the payment server to send a payment voucher to the near field communication terminal; the payment voucher is used to be sent by the near field communication terminal together with payment order information to the cash register terminal to complete the payment.
[0012] According to the seventh aspect of the embodiment of the present application, a payment device based on near-field communication is provided, which is applied to a cash register terminal; the cash register terminal is connected to the near-field communication terminal by wired communication, and the near-field communication terminal is used to provide the cash register terminal with a near-field communication function; the device includes: a payment voucher acquisition module, which is used to acquire the payment voucher from the near-field communication terminal; the payment voucher is generated by the payment server in response to a payment authorization request sent by the user terminal; a payment request generation module, which is used to generate a payment request carrying the payment voucher and payment order information; a payment request sending module, which is used to send the payment request to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0013] According to the eighth aspect of the embodiment of the present application, a payment device based on near field communication is provided, which is applied to a payment server; the device includes: a payment authorization request receiving module, which is used to obtain a payment authorization request carrying a terminal identification of a near field communication terminal sent by a user terminal; the near field communication terminal is connected to a cash register terminal by wired communication, and is used to provide a near field communication function for the cash register terminal; a payment voucher generating module, which is used to generate a payment voucher in response to the payment authorization request; a second payment voucher sending module, which is used to send the payment voucher to the near field communication terminal so that the near field communication terminal sends the payment voucher to the cash register terminal; a payment request receiving module, which is used to receive a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; a payment module, which is used to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0014] According to the ninth aspect of an embodiment of the present application, a payment system based on near field communication is provided, comprising a near field communication terminal, a cash register terminal and a payment server; the near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; the near field communication terminal is used to send a payment page link to the user terminal by near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server; the payment server is used to receive the payment authorization request sent by the user terminal; generate a payment voucher in response to the payment authorization request; and send the payment voucher to the near field communication terminal; the near field communication terminal is also used to receive the payment voucher sent by the payment server; and send the payment voucher to the cash register terminal; the cash register terminal is used to generate a payment request carrying the payment voucher and payment order information; the payment server is also used to respond to the payment request of the cash register terminal and, based on the payment order information, operate the resources in the account corresponding to the payment voucher to complete the payment.
[0015] According to the tenth aspect of an embodiment of the present application, a computing device is provided, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the near-field communication-based payment method.
[0016] One embodiment of the present specification can at least achieve the following beneficial effects: by connecting the near-field communication terminal to the cash register terminal by wire to give the cash register system the ability to support near-field communication payment, the user terminal obtains the payment page link from the near-field communication terminal by near-field communication, and initiates a payment authorization request to the payment server based on the payment page link, the payment server sends the payment voucher to the near-field communication terminal in response to the payment authorization request, and the near-field communication terminal sends the payment voucher to the cash register terminal by wired communication to realize payment, thereby giving the existing cash register system the ability to support near-field communication payment at a relatively low cost, and providing users with a payment solution based on near-field communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of this specification or related technologies, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 A schematic diagram of an application scenario of a payment method based on near field communication provided in an embodiment of this specification; Figure 2 A schematic diagram of a flow chart of a payment method based on near field communication applied to a near field communication terminal provided in an embodiment of this specification; Figure 3 A schematic diagram of a payment method based on near field communication applied to a user terminal provided in an embodiment of this specification; Figure 4 A schematic diagram of a payment method based on near field communication applied to a cash register terminal provided in an embodiment of this specification; Figure 5 A schematic diagram of a process of a payment method based on near field communication applied to a payment server provided in an embodiment of this specification; Figure 6 A schematic diagram of a payment method based on near field communication in an actual application scenario provided in an embodiment of this specification; Figure 7 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a payment device based on near field communication applied to a near field communication terminal; Figure 8 The embodiments of this specification provide corresponding to Figure 3 A schematic diagram of a near field communication-based payment device applied to a user terminal; Fig. 9The embodiments of this specification provide corresponding to Figure 4 A schematic diagram of a payment device based on near field communication applied to a cash register terminal; Fig.10 The embodiments of this specification provide corresponding to Figure 5 A schematic diagram of the structure of a payment device based on near field communication applied to a payment server; Fig.11 A structural block diagram of a computing device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0019] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0020] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0021] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0022] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0023] NFC (Near Field Communication) is a short-range high-frequency radio communication technology. When NFC technology is applied to mobile payment scenarios, the current mainstream NFC-based payment method is to use the cash register device as the payment end as a card reader to realize payment by reading the passively simulated information on the mobile device as the payment end. In this application scenario, the user's payment account and other information are provided to the cash register device through NFC, which poses an information security risk. In addition, not all mobile device models currently support passive card simulation functions such as financial payment. Furthermore, the electronic wallets used by consumer users are all provided by mobile device manufacturers. In order to use the NFC payment function of the mobile device, the user needs to open various wallets according to the requirements of the mobile device manufacturer, which is inconvenient for the user to manage the account. Therefore, the large-scale popularization and application of NFC payment methods in which the mobile device works in passive mode are limited. In view of this, in the embodiments of this specification, a payment method, device, system and device based on NFC using a mobile device as a card reader are provided.
[0024] Furthermore, considering that not all existing offline cash registers support interaction with mobile devices in the form of card emulation, it is necessary to upgrade the functionality of the offline cash registers. In the embodiments of this specification, a payment solution based on NFC is provided, and the implementation of the solution requires little modification to the existing cash register system and has low modification cost.
[0025] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0026] Figure 1 A schematic diagram of an application scenario of a payment method based on near field communication provided in an embodiment of this specification.
[0027] like Figure 1 As shown, in this implementation scenario, a near field communication device 100, a payment server 200, a user terminal device 300, and a cash register device 400 may be included. In an actual payment scenario, a user to be paid may enable the near field communication function of the user terminal device 300 and bring the user terminal device 300 close to the near field communication device 100 to implement payment based on near field communication.
[0028] Specifically, in Figure 1In the scenario shown, the near field communication device 100 and the user terminal device 300 can be connected to each other by near field communication. The near field communication device 100 and the cash register device 400 can be connected to each other by wired communication. For example, the near field communication device 100 and the cash register device 400 can be connected by a universal serial bus. The near field communication device 100 and the payment server 200, the user terminal device 300 and the payment server 200, and the cash register device 400 and the payment server 200 can be connected to each other by wireless network communication. For example, the payment server 200 can be connected to the terminal devices including one or more near field communication devices 100, one or more user terminal devices 300, and one or more cash register devices 400 through a local area network connection, a wide area network connection, an Internet connection, or other types of data networks.
[0029] In practical application, Figure 1 The near field communication device 100 in the embodiment may be a device having an NFC chip, capable of supporting near field communication, and its specific form may not be specifically limited, for example, it may be in the form of a payment box. Figure 1 The payment server 200 may include but is not limited to any device, equipment, platform, equipment cluster or cloud computing service center with computing and processing capabilities. Figure 1 The user terminal device 300 may include but is not limited to a smart phone, a tablet computer, a laptop computer, a PDA, a smart wearable device, etc. Figure 1 The cash register device 400 may include but is not limited to self-service cash register equipment, manual cash register equipment, fixed cash register equipment, portable cash register equipment, etc.
[0030] Based on the solution of the embodiments of this specification, the near field communication device 100 can obtain a payment page link from the payment server 200 (S102); the user terminal device 300 can obtain the payment page link from the near field communication device 100 through near field communication (S104); the user terminal device 300 can send a payment authorization request to the payment server 200 based on the payment page link (S106); the payment server 200 can send a payment voucher to the near field communication device 100 in response to the payment authorization request (S108); the near field communication device 100 can send the payment voucher to the cash register device 400 through wired communication (S110); the cash register device 400 can send a payment request to the payment server 200 based on the payment voucher (S112); the payment server 200 can perform payment processing based on the payment voucher and payment order information carried in the payment request to complete the payment.
[0031] In such Figure 1In the payment scenario shown, the payment request is initiated by the cash register device 400 to the payment server 200. In the entire NFC-based payment process, the near field communication device 100 plays the role of transmitting relevant payment signaling. For example, the near field communication device 100 is used to transmit the payment page link obtained from the payment server 200 to the user terminal device 300, and to transmit the payment voucher sent by the payment server 200 to the cash register device 400. Since the payment request is still initiated by the payment server 200, the existing payment link of the cash register system can be reused, that is, the cash register device 400 can initiate a payment request for the user after obtaining the user's payment voucher.
[0032] In practical applications, Figure 1 The application scenarios of the payment scheme in the payment method may include but are not limited to supermarket cashier scenarios, bus ticketing scenarios, subway ticketing scenarios, scenic spot ticketing scenarios, etc. In various payment scenarios, the user only needs to bring the user terminal device 300 with the near-field communication function turned on close to the near-field communication device 100 to make payment, and the user does not need to perform other manual operations on the user terminal device 300, for example, the user does not need to unlock the mobile phone, the user does not need to find and open the application, and the user does not need to enter order-related information such as the order amount on the payment page, which greatly simplifies the manual operation of the payment user, is convenient to operate, and has a low threshold for use. In addition, in actual application, in the self-service payment scenario, the user can perform manual operations on the cash register device 400 to initiate or advance the payment process; in the manual cash register scenario, the cashier can perform manual operations at the cash register device 400 to initiate or advance the payment process.
[0033] like Figure 1 As shown in , by connecting the NFC device 100 supporting the NFC function to the cash register device 400 by wire, the existing cash register system is given the ability to support NFC payment. In this solution, the existing wired connection interface of the cash register device 400, such as the universal serial bus interface, can be directly used. Since the cash register device 400 usually has hardware supporting the universal serial bus, there is no need to modify the existing cash register system. Figure 1 Steps S102 to S110 shown in the figure realize conveniently providing the user's payment credentials to the cash register device 400 by means of NFC communication. The payment process after providing the payment credentials to the cash register device 400 can reuse the payment process of the existing cash register system, with low modification cost, which is very conducive to promoting the large-scale promotion and application of NFC payment technology.
[0034] In the present application, a payment method based on near field communication is provided. The present application also relates to a payment device based on near field communication, a payment system based on near field communication and a computing device, which are described in detail one by one in the following embodiments.
[0035] Figure 2 The present invention provides a flowchart of a payment method based on near field communication applied to a near field communication terminal provided in an embodiment of the present invention. From a program perspective, the execution subject of the process can be a program installed in the near field communication terminal.
[0036] In the embodiment of the present specification, the near field communication terminal is connected to the cash register terminal in a wired communication manner, so as to provide the cash register terminal with a near field communication function.
[0037] like Figure 2 As shown, the process may include the following steps: Step 202: Send a payment page link to the user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server.
[0038] In an embodiment of the present specification, a near field communication terminal can establish a near field communication connection with a user terminal device. Specifically, a user terminal with the near field communication function turned on can be brought close to the near field communication terminal, and the near field communication terminal can establish a near field communication connection with the user terminal when it senses that the radio frequency field of the user terminal is close. When performing near field communication, the user terminal acts as a card reader; the near field communication terminal acts as a simulated card. The user terminal reads preset tag information from the near field communication terminal. In an embodiment of the present specification, the tag information can specifically include a payment page link.
[0039] In actual application, the payment page link may also be referred to as a call-end link, which may be used to call up a payment application on the user terminal so that the user terminal can send a payment authorization request to the payment server through the payment application. A payment account may be logged in the payment application. Therefore, the payment authorization request sent by the user terminal device to the payment server may carry the payment account logged in the payment application.
[0040] In addition, in actual application, the user terminal can also obtain the terminal identification of the near field communication terminal communicating with the other end through the near field communication connection, and can carry the terminal identification of the near field communication terminal in the payment authorization request and send it to the payment server. Therefore, when the payment server generates the payment voucher, it can send the payment voucher to the near field communication terminal identified by the terminal identification according to the terminal identification.
[0041] Step 204: receiving the payment credential sent by the payment server; the payment credential is generated by the payment server in response to the payment authorization request.
[0042] The payment voucher generated by the payment server and sent to the near field communication terminal may be associated with the payment account carried in the payment authorization request, that is, associated with the payment account of the payment application integrated function logged in on the user terminal. Specifically, the payment voucher may be a voucher for operating (for example, freezing or transferring out) resources in the account corresponding to the payment account.
[0043] Step 206: Send the payment voucher to the cashier terminal; the payment voucher is used by the cashier terminal to send it together with the payment order information to the payment server to complete the payment.
[0044] Specifically, after the payment voucher is sent to the cashier terminal, the payment voucher is used to be carried by the cashier terminal in a payment request and sent to the payment server, and the payment request is used to request an operation on the resources in the account corresponding to the payment voucher to complete the payment. More specifically, the payment server can operate on the resources in the account represented by the payment account associated with the payment voucher based on the payment voucher to complete the payment. For example, if the payment order information indicates that a target amount of resources should be paid to a certain collection account, the target amount of resources can be transferred from the account represented by the payment account.
[0045] In the embodiments of this specification, the payment voucher can be in the form of a string, and its function is similar to the payment code in the related art. In the QR code payment scenario, a QR code with a payment function can be presented on the user terminal, and the payee can obtain a string after scanning the QR code through a code scanning device and parsing the QR code, and then realize payment based on the string obtained by parsing. In the embodiments of this specification, after the user terminal device "touches" the near-field communication terminal, it requests the payment server to send the payment voucher to the near-field communication terminal, so that the near-field communication terminal provides the payment voucher to the cashier terminal to realize payment.
[0046] In actual application, the payment link of the existing cash register system can be reused, that is, the cash register terminal can send a payment request to the payment server. It should be understood that in the payment request, not only the payment voucher can be carried so that the payment server knows which payment account to operate on; but also the payment order information can be carried so that the payment server knows which payment account to operate on, the amount of resources to be operated, etc. Specifically, the payment order information can include the order amount and the payee account number; in addition, the payment order information can also include one or more of the payee name, transaction content, and other information.
[0047] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.
[0048] Figure 2 The method in the invention provides a cash register system with the ability to support near-field communication payment by connecting a near-field communication terminal to a cash register terminal by wire. The near-field communication terminal sends a payment page link to a user terminal by near-field communication. The user terminal initiates a payment authorization request to a payment server based on the payment page link. The payment server sends a payment voucher to the near-field communication terminal in response to the payment authorization request. The near-field communication terminal sends the payment voucher to the cash register terminal by wired communication to realize payment. Thus, the ability to support near-field communication payment is provided to the existing cash register system at a relatively low cost, and a payment solution based on near-field communication is provided to users.
[0049] based on Figure 2 The present specification also provides some improved implementation methods of the method, which are described below.
[0050] In one or more embodiments of the present specification, for payment security considerations, the payment page link is time-sensitive. Therefore, the NFC terminal needs to continuously pull the latest payment page link from the payment server to ensure that the user terminal can successfully invoke the payment application, open the payment page, and send a payment authorization request through the NFC function.
[0051] Specifically, before sending the payment page link to the user terminal by means of near field communication, the method may further include: sending a payment page link acquisition request to the payment server; and receiving the payment page link returned by the payment server in response to the payment page link acquisition request.
[0052] In actual application, the payment page link acquisition request may carry a terminal identifier so that the near field communication terminal can determine the source of the payment page link acquisition request, so that when the payment server generates the payment page link, it can feed back to the near field communication terminal corresponding to the terminal identifier. Optionally, the terminal identifier may include a device identifier of the near field communication terminal, and may also include a payee identifier associated with the near field communication terminal.
[0053] The payment page link may carry a payment token. The transaction token may be a string generated by the payment server. The transaction token may be stored in the payment server in association with the terminal identifier of the near field communication terminal. In actual application, the transaction token may be generated based on at least part of the information such as the timestamp and the terminal identifier.
[0054] In an optional embodiment, the behavior of the near field communication terminal pulling the payment page link may be triggered periodically, or may be triggered after the previous payment is completed. Specifically, the sending of the payment page link acquisition request to the payment server may include: sending the payment page link acquisition request to the payment server according to a preset payment page link acquisition cycle or after the previous order payment is completed.
[0055] In an optional embodiment, the behavior of the near field communication terminal pulling the payment page link may be triggered by the cash register terminal. Specifically, the sending of the payment page link acquisition request to the payment server may include: receiving payment indication information sent by the cash register terminal; and then, in response to the payment indication information, sending the payment page link acquisition request to the payment server.
[0056] By the above-mentioned operation of pulling the payment page link, it is possible to avoid the situation where the user terminal cannot read the available payment page link and thus cannot open the corresponding payment page when performing NFC interaction with the near field communication terminal.
[0057] Alternatively, when the cash register terminal sends payment instruction information to the near field communication terminal, the payment instruction information may carry order information, so that the near field communication terminal may carry the order information in the payment page link acquisition request and send it to the payment server. The order information may include one or more of the following information: order amount, payee account number, payee name, transaction content, etc.
[0058] In the case where the order information is carried in the payment indication information, the payment page link may optionally carry at least part of the order information. For example, the order amount may be carried in the payment page link. Furthermore, if the payment page link carries the order amount, when the payment application is invoked based on the payment page link at the user terminal, the order amount may be displayed on the payment page of the payment application to inform the terminal user of the order amount, thereby improving the user's sense of interaction in the payment process and enhancing the payment experience.
[0059] In the case where the payment instruction information carries the order information, the payment server may optionally generate a transaction token based on at least part of the order information, the timestamp, and at least part of the terminal identification information, and the generated transaction token may be stored in association with the order information.
[0060] In one or more embodiments of the present specification, in order to enhance the user's interactive experience during the NFC-based payment process, the intermediate status information of the payment process may be displayed to the user by reusing the display screen of an existing cash register terminal.
[0061] In actual application, considering that some users may not be familiar with the operation process of NFC-based payment, in order to improve payment efficiency, prompt information about the NFC payment process can be appropriately displayed to users to help users complete the payment process efficiently.
[0062] In an optional embodiment, before sending the payment page link to the user terminal via near field communication, it may also include: determining whether the user terminal is detected within a preset time period after receiving the payment indication information sent by the cashier terminal; if the user terminal is not detected within the preset time period, sending first status information to the cashier terminal; the first status information is used to instruct the cashier terminal to display first prompt information; the first prompt information is used to prompt the user to use the user terminal to interact with the near field communication terminal via near field communication.
[0063] The first status information may be used to indicate that the user terminal is not detected. Optionally, the first prompt information may include information for prompting the user to enable the near field communication function of the user terminal; the first prompt information may also include information for prompting the user to bring the user terminal close to the near field communication terminal.
[0064] In an optional embodiment, the payment method based on near field communication may further include: obtaining device information of the user terminal; the device information includes at least one of device hardware information and device operating system information; sending second status information carrying the device information to the cashier terminal; the second status information is used to instruct the cashier terminal to display second prompt information; the second prompt information is used to prompt the user of the near field communication payment process corresponding to the device information. In actual application, the device information of the user terminal can be obtained through near field communication.
[0065] Regarding the near-field communication payment process involved in the prompt information, optionally, the near-field communication payment process may include prompting the user to turn on the near-field communication function of the user terminal, bringing the user terminal close to the near-field communication terminal, etc.; optionally, the near-field communication payment process may also include prompt information for clicking a control for confirming payment in the payment page of the payment application; optionally, the near-field communication payment process may also include prompt information for entering a payment password in the payment page of the payment application; optionally, the near-field communication payment process may also include displaying one or more payment pages in the user terminal. In actual application, the second prompt information about the near-field communication payment process may not be limited to the aforementioned examples.
[0066] In actual application, taking into account different models of user terminals and different types or versions of operating systems, the content displayed on the user terminal and the use and operation methods of the user terminal may be different. By displaying the second prompt information corresponding to the device information of the user terminal, it can help users understand the payment process, provide users with prompts or guidance for convenient payment, and enhance the user's payment experience.
[0067] Considering that existing cashier terminals (especially self-service cashier terminals) are usually equipped with a display screen for displaying information to users, the near-field communication terminal in the embodiments of this specification may not need to be equipped with a display screen, but may send relevant information about the user terminal to the cashier terminal through a wired connection with the cashier terminal, and the cashier terminal may provide information prompts to the user based on the received relevant information about the user terminal. That is to say, after entering the payment process and before completing the payment, the near-field communication terminal may send the various process status information obtained to the cashier terminal, so that the cashier terminal can display the process status to the user through the display screen. In this way, the user's payment experience based on NFC payment can be improved in a low-cost manner.
[0068] In one or more embodiments of this specification, in order to allow the paying user to conveniently obtain the payment result, the payment server may send the payment result information to the near field communication terminal, and the near field communication terminal may inform the user of the payment result through voice, light, etc. As a result, the user does not need to pay special attention to the payment result information displayed on the user terminal (for example, the user can put away the user terminal after "touching" the near field communication terminal without waiting to check the payment result), which facilitates the user to obtain the payment result. In particular, when the cash register terminal is specifically a manual cash register terminal without a display screen, the user may not be able to conveniently obtain the payment result from the cash register terminal, while the near field communication terminal provided in the embodiments of this specification can conveniently inform the user of the payment result.
[0069] Specifically, after the near-field communication terminal sends the payment voucher to the cashier terminal, it may also include: receiving the first payment result information sent by the payment server; the first payment result information specifically includes the first payment result first sub-information or the first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment failed; issuing a transaction result prompt information corresponding to the first payment result information; the display method of the transaction result prompt information includes at least one of a voice form and an indicator light form.
[0070] Optionally, a voice playback module may be installed on the near-field communication terminal. After receiving the payment result information, the voice playback module may be called to play the transaction result prompt information corresponding to the payment result information, specifically, to play the voice prompt information corresponding to the payment result information. For example, if the payment result information is specifically the first sub-information of the first payment result indicating a successful payment, then voices such as "Payment successful" and "Payment completed" may be played. For another example, if the payment result information is specifically the second sub-information of the first payment result indicating a failed payment, then voices such as "Payment failed" and "Please pay again" may be played. The content of the voice prompt information given herein is only an example and does not constitute a limitation on the technical solution of the present application.
[0071] Optionally, an indicator light module may be installed on the near field communication terminal. When the payment result information is received, the indicator light module may be called to display the transaction result prompt information corresponding to the payment result information, specifically, to display the indicator light information corresponding to the payment result information. For example, if the payment result information is specifically the first payment result first sub-information indicating a successful payment, then green indicator light information may be displayed. For another example, if the payment result information is specifically the first payment result second sub-information indicating a failed payment, then red indicator light information may be displayed. The content of the indicator light information given here is only an example and does not constitute a limitation on the technical solution of the present application.
[0072] Optionally, the near field communication terminal may be equipped with a voice playback module and an indicator light module at the same time. Then, after receiving the payment result information, the voice playback module may be called to play the transaction result prompt information corresponding to the payment result information, specifically, to play the voice prompt information corresponding to the payment result information; and the indicator light module may be called to display the transaction result prompt information corresponding to the payment result information, specifically, to display the indicator light information corresponding to the payment result information.
[0073] In one or more embodiments of the present specification, the near field communication terminal is connected to the cash register terminal via a universal serial bus.
[0074] Specifically, universal serial bus (ie, USB) communication includes two different specific transmission modes: Human Interface Devices (HID) transmission and BULK transmission.
[0075] Among them, HID transmission usually uses the Interrupt Transfer mode, which allows the device to send data to the host when needed without the host continuously polling. HID devices follow the standard HID class specification and usually do not require a driver to work properly on the host. HID transmission usually uses specific interrupt endpoints (InterruptEndpoint) for data transmission. These endpoints have a fixed polling interval and low data throughput. Generally, HID transmission is mainly used for human-computer interface devices such as keyboards, mice, game controllers, etc.
[0076] In the embodiments of this specification, HID transmission can be used between the near field communication terminal and the cashier terminal. In this case, the near field communication terminal and the cashier terminal can communicate by connecting them via USB, without installing a driver on the cashier terminal, that is, without any modification of the cashier terminal. In the scheme of the embodiments of this specification, when HID transmission is used, the near field communication terminal can send information to the cashier terminal unidirectionally.
[0077] When actually used, the NFC terminal can be in HID mode by default, and enter the working state of HID mode after being connected to the cash register terminal via USB. In the working state of HID mode, the NFC terminal can pull the payment page link from the payment server according to a preset cycle or after the previous order payment is completed.
[0078] BULK transmission is mainly used for bulk data transmission and provides a higher data transmission bandwidth, but the transmission process usually requires the cooperation of the host and the device. Specifically, BULK transmission requires the host and the device to schedule and coordinate data transmission through the driver. BULK transmission usually uses bulk endpoints for data transmission, which have a higher data transmission rate and a larger data buffer; at the same time, BULK transmission provides a higher data transmission rate, but there may be a certain delay. Generally, BULK transmission is suitable for devices that need to transmit large amounts of data and are not very sensitive to delays, such as printers, scanners, external hard drives, etc.
[0079] In the embodiments of this specification, BULK transmission can be used between the near field communication terminal and the cashier terminal. In this case, it is necessary to install a driver on the cashier terminal, and then connect the near field communication terminal and the cashier terminal via USB to achieve communication. That is, the cashier terminal needs to be modified in terms of software. In the solution of the embodiments of this specification, when BULK transmission is used, bidirectional communication can be achieved between the near field communication terminal and the cashier terminal.
[0080] When actually used, the NFC terminal can be in HID mode by default. After being connected to the cash register terminal via USB, if the cash register terminal is installed with a driver, mode switching information can be sent to the NFC terminal, so that the NFC terminal switches from HID mode to BULK mode and enters a working state. In the working state of BULK mode, the NFC terminal can pull a payment page link from the payment server in response to the payment instruction information of the cash register terminal.
[0081] In at least some embodiments of this specification, the cashier terminal and the near-field communication terminal can be connected via a universal serial bus communication. In the related art, when the cashier terminal is functionally improved, the newly added device is connected to the existing cashier device through a serial port (i.e., COM port). However, based on the characteristics of the serial port, the existing cashier device needs to be modified for serial port communication, and it involves hardware modification and software modification, which makes it impossible to apply to some existing cashier systems that are difficult to modify. The solution of the embodiment of this specification can use the universal serial bus interface of the cashier terminal itself, without any hardware modification of the existing cashier terminal. And in actual application, it can be selected whether to perform adaptive modification of the software of the cashier terminal according to the situation. For example, it can be determined whether to implement USB HID communication or USB BULK communication based on factors such as whether the cashier terminal is easy to modify and the modification cost.
[0082] In actual application, the near field communication terminal provided in the embodiments of this specification can be compatible with two modes: USB HID communication and USBBULK communication.
[0083] Optionally, when the near-field communication terminal is connected to a cashier terminal that supports USB HID communication via USB, it can communicate in USB HID mode. For example, if the cashier equipment that has been laid offline does not support software modification or the modification cost is high, the near-field communication terminal can be operated in USB HID communication mode to interact with the cashier equipment in a one-way manner (supporting the near-field communication terminal to send information to the cashier terminal in a one-way manner). As a result, the existing cashier system can be given the ability to support NFC payment (specifically, the user terminal device implements NFC payment in card reader mode) at a very low cost. In practice, the near-field communication terminal can be connected to the cashier terminal via a USB cable, that is, the modification of the existing cashier system to give it NFC payment capabilities is achieved, presenting a plug-and-play effect.
[0084] Optionally, when the near-field communication terminal is connected to a cash register terminal that supports USB BULK communication via USB, it can communicate in USB BULK mode. For example, if the cash register equipment that has been laid offline is easy to modify, you can choose to let the near-field communication terminal work in USB BULK communication mode to perform dual interaction with the cash register equipment, thereby enabling the existing cash register system to support NFC payment (specifically, the user terminal device implements NFC payment in card reader mode) at a relatively low cost. In practice, when a driver that supports USB BULK communication is installed on the cash register terminal, the near-field communication terminal can be connected to the cash register terminal via a USB cable to achieve the modification of the existing cash register system to be given NFC payment capabilities.
[0085] It can be seen that the near-field communication terminal provided in the embodiments of this specification can enable the vast majority of cash register terminal devices (regardless of whether the cash register terminal device supports USB HID communication or USB BULK communication) to have NFC payment function, which is low-cost and universal, and is conducive to the large-scale offline promotion and application of NFC payment.
[0086] The various technical features in the above embodiments can be combined arbitrarily as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.
[0087] and Figure 2 Correspondingly, Figure 3 The present invention provides a flowchart of a payment method based on near field communication applied to a user terminal provided in an embodiment of the present invention. From a program perspective, the execution subject of the process can be a program installed in the user terminal.
[0088] like Figure 3 As shown, the process may include the following steps: Step 302: Obtain a payment page link from a near field communication terminal via near field communication; the near field communication terminal is connected to the cash register terminal via a wired communication method to provide the cash register terminal with a near field communication function.
[0089] Step 304: Based on the payment page link, a payment authorization request is sent to the payment server; the payment authorization request is used to authorize the payment server to send a payment voucher to the near field communication terminal; the payment voucher is used to be sent by the near field communication terminal together with the payment order information to the cashier terminal to complete the payment.
[0090] Specifically, the payment credential may be sent by the near field communication terminal to the cash register terminal via a universal serial bus.
[0091] The payment page link may be obtained by the near field communication terminal from the payment server.
[0092] The payment authorization request may carry a payment account. The payment voucher generated by the payment server and sent to the near field communication terminal may be associated with the payment account. Specifically, the payment voucher may be a voucher for operating (for example, freezing or transferring) resources in the account corresponding to the payment account. The payment server may perform operations corresponding to the payment order information on the resources in the account corresponding to the payment account based on the payment voucher to complete the payment. For example, if the payment order information indicates that a target amount of resources should be paid to the collection account, the target amount of resources is transferred from the account corresponding to the payment account.
[0093] because Figure 3 Payment method and method applied to user terminal in Figure 2 Corresponding to the payment method applied to the near field communication terminal, the relevant parts can refer to the above description and will not be repeated here.
[0094] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.
[0095] Figure 3 The method in the invention provides a cash register system with the ability to support near-field communication payment by connecting a near-field communication terminal to a cash register terminal by wire. The near-field communication terminal sends a payment page link to a user terminal by near-field communication. The user terminal initiates a payment authorization request to a payment server based on the payment page link. The payment server sends a payment voucher to the near-field communication terminal in response to the payment authorization request. The near-field communication terminal sends the payment voucher to the cash register terminal by wired communication to realize payment. Thus, the ability to support near-field communication payment is provided to the existing cash register system at a relatively low cost, and a payment solution based on near-field communication is provided to users.
[0096] based on Figure 3 The present specification also provides some improved implementation methods of the method, which are described below.
[0097] In one or more embodiments of the present specification, sending a payment authorization request to a payment server based on the payment page link may specifically include: invoking a payment application corresponding to the payment page link; and sending a payment authorization request to a payment server corresponding to the payment application.
[0098] In actual application, after the payment application on the user terminal is awakened, the payment page can be displayed. By displaying the payment page, the user can be informed of the payment progress, thereby improving the overall interactivity of the payment solution and enhancing the user's payment experience.
[0099] Optionally, if the user has pre-authorized payment via near-field communication and has pre-authorized password-free payment (for example, small-amount password-free payment), the user can complete the payment without any additional operation after "touching" the user terminal to the near-field communication device. Specifically, after the user terminal invokes the payment application, it can automatically send a payment authorization request to the payment server after confirming that the payment account in the payment application is logged in, thereby making the payment process more convenient. In this case, the content displayed on the payment page is only used to inform the user of the payment process.
[0100] Optionally, a payment confirmation control may be displayed to the user through the payment page. Furthermore, the user's confirmation operation on the payment confirmation control may be obtained, and a payment authorization request may be sent to the payment server in response to the user's confirmation operation, thereby improving the user's sense of interaction during the payment process and enhancing the payment experience.
[0101] Optionally, as in the embodiment described above, when the cash register terminal sends a payment instruction message carrying the order amount to the near field communication terminal, the payment page link can carry the order amount, and the order amount can be displayed on the payment page after the payment application is invoked. The order amount can be used to inform the user to improve the user's sense of interaction during the payment process and enhance the payment experience.
[0102] Optionally, if the user does not authorize password-free payment, a payment password input control can be displayed on the payment page so that the user can enter the payment password. Then, after the password is verified locally on the user terminal, a payment authorization request is sent to the payment server, or a payment authorization request carrying encrypted information of the payment password is sent to the payment server.
[0103] In addition, in an embodiment of the present specification, after sending a payment authorization request to the payment server based on the payment page link, it may also include: receiving second payment result information sent by the payment server; the second payment result information specifically includes second payment result first sub-information or second payment result second sub-information, the second payment result first sub-information indicates that the payment is successful, and the second payment result second sub-information indicates that the payment failed; displaying the payment result page containing the second payment result information.
[0104] The various technical features in the above embodiments can be combined arbitrarily as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.
[0105] and Figure 2 and Figure 3 Correspondingly, Figure 4 The present invention provides a flowchart of a payment method based on near field communication applied to a cash register terminal. From the program perspective, the execution subject of the process can be a program installed in the cash register terminal.
[0106] In an embodiment of the present specification, the cash register terminal is connected to the near field communication terminal by wired communication, and the near field communication terminal is used to provide the cash register terminal with a near field communication function.
[0107] like Figure 4 As shown, the process may include the following steps: Step 402: Acquire payment credentials from the near field communication terminal; the payment credentials are generated by the payment server in response to the payment authorization request sent by the user terminal.
[0108] Step 404: Generate a payment request carrying the payment voucher and payment order information.
[0109] Step 406: Send the payment request to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0110] Among them, the payment authorization request may carry a payment account. The payment voucher generated by the payment server and sent to the near-field communication terminal may be associated with the payment account. Specifically, the payment voucher may be a voucher for operating (for example, freezing or transferring) resources in the account corresponding to the payment account. The payment server may perform operations corresponding to the payment order information on the resources in the account corresponding to the payment account based on the payment voucher to complete the payment. For example, if the payment order information indicates that a target amount of resources should be paid to the collection account, the target amount of resources may be transferred out from the account corresponding to the payment account.
[0111] The payment account may be an account logged in to the payment application on the user terminal. The payment authorization request may be sent by the user terminal through the payment application. The payment application may be invoked based on a payment page link obtained by the user terminal from the near field communication terminal via near field communication.
[0112] because Figure 4 Payment methods and Figure 3 Payment method applied to user terminal and Figure 2 Corresponding to the payment method applied to the near field communication terminal, the relevant parts can refer to the above description and will not be repeated here.
[0113] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.
[0114] Figure 4 The method in the invention provides a cash register system with the ability to support near-field communication payment by connecting a near-field communication terminal to a cash register terminal by wire. The near-field communication terminal sends a payment page link to a user terminal by near-field communication. The user terminal initiates a payment authorization request to a payment server based on the payment page link. The payment server sends a payment voucher to the near-field communication terminal in response to the payment authorization request. The near-field communication terminal sends the payment voucher to the cash register terminal by wired communication to realize payment. Thus, the ability to support near-field communication payment is provided to the existing cash register system at a relatively low cost, and a payment solution based on near-field communication is provided to users.
[0115] based on Figure 4 The present specification also provides some improved implementation methods of the method, which are described below.
[0116] In one or more embodiments of the present specification, before obtaining the payment voucher from the near field communication terminal, the method may further include: sending payment indication information to the near field communication terminal; the payment indication information is used to instruct the near field communication terminal to obtain a payment page link from the payment server; the payment page link is used to trigger the user terminal to send the payment authorization request to the payment server. Specifically, the payment indication information may be sent to the near field communication terminal via a universal serial bus.
[0117] In actual application, optionally, in the case of manual cashiering, the cashier can send the payment instruction information to the near field communication terminal in response to the cashier's operation on the cashier terminal. Alternatively, in the case of self-service cashiering, the payment instruction information can be sent to the near field communication terminal in response to the payment user's operation on the cashier terminal.
[0118] In one or more embodiments of the present specification, before obtaining the payment credential from the near-field communication terminal, it may also include: obtaining first status information sent by the near-field communication terminal; the first status information is generated by the near-field communication terminal when no user terminal is detected within a preset time after receiving the payment indication information sent by the cashier terminal; generating first prompt information based on the first status information; the first prompt information is used to prompt the user to use the user terminal to interact with the near-field communication terminal through near-field communication; and displaying the first prompt information.
[0119] In one or more embodiments of the present specification, the near-field communication-based payment method applied to a cash register terminal may also include: obtaining second status information sent by the near-field communication terminal; the second status information carries device information of a user terminal that establishes a near-field communication connection with the near-field communication terminal; the device information includes at least one of device hardware information and device operating system information; generating second prompt information based on the second status information; the second prompt information is used to prompt the user of the near-field communication payment process corresponding to the device information; and displaying the second prompt information.
[0120] In one or more embodiments of this specification, the payment server is a server corresponding to the payment application in the user terminal. In actual application, the cash register device can interact directly with the payment server through settings, and the payment settlement efficiency is higher; or, the cash register device can interact with the payment server indirectly through its corresponding cash register server, thereby, the cost of the merchant as the cash register to access the solution of the embodiment of this specification is lower. In the latter case, the cash register terminal sends the payment request to the payment server, which may specifically include: sending a first payment request carrying the payment voucher and payment order information to the cash register server corresponding to the cash register terminal; the first payment request is used to request the cash register server to send a second payment request to the payment server corresponding to the payment voucher; the second payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0121] In one or more embodiments of the present specification, after the cash register terminal sends the payment request to the payment server, it may also include: receiving third payment result information sent by the payment server; the third payment result information specifically includes third payment result first sub-information or third payment result second sub-information, the third payment result first sub-information indicates that the payment is successful, and the third payment result second sub-information indicates that the payment failed; displaying a payment result page containing the third payment result information.
[0122] In one or more embodiments of the present specification, the near field communication terminal is connected to the cash register terminal via a universal serial bus.
[0123] The various technical features in the above embodiments can be combined arbitrarily as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.
[0124] and Figure 2 , Figure 3 and Figure 4 Correspondingly, Figure 5 The present invention provides a schematic diagram of a process flow of a payment method based on near field communication applied to a payment server provided in an embodiment of the present invention. From a program perspective, the execution subject of the process may be a program installed on the payment server.
[0125] like Figure 5 As shown, the process may include the following steps: Step 502: obtaining a payment authorization request sent by a user terminal and carrying a terminal identification of a near field communication terminal; the near field communication terminal is connected to a cash register terminal in a wired communication manner to provide a near field communication function for the cash register terminal.
[0126] Step 504: Generate a payment credential in response to the payment authorization request.
[0127] Step 506: Send the payment voucher to the near field communication terminal, so that the near field communication terminal sends the payment voucher to the cash register terminal.
[0128] Step 508: receiving a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information.
[0129] Step 510: Based on the payment order information, operate the resources in the account corresponding to the payment voucher to complete the payment.
[0130] The terminal identification carried in the payment authorization request may be obtained by the user terminal from the near field communication terminal via near field communication.
[0131] The payment authorization request may carry a payment account. The payment voucher generated by the payment server and sent to the near-field communication terminal may be associated with the payment account. The account corresponding to the payment voucher is the account represented by the payment account. Specifically, the payment voucher may be a voucher for operating (for example, freezing or transferring) resources in the account corresponding to the payment account. The payment server may perform operations corresponding to the payment order information on the resources in the account corresponding to the payment account based on the payment voucher to complete the payment. For example, if the payment order information indicates that a target amount of resources should be paid to the collection account, the target amount of resources may be transferred from the account corresponding to the payment account.
[0132] because Figure 5 The payment method applied to the payment server in Figure 4 Payment methods used in cash register terminals, Figure 3 A payment method applied to a user terminal and Figure 2 Corresponding to the payment method applied to the near field communication terminal, the relevant parts can refer to the above description and will not be repeated here.
[0133] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.
[0134] Figure 5 The method in the invention provides a cash register system with the ability to support near-field communication payment by connecting a near-field communication terminal to a cash register terminal by wire. The near-field communication terminal sends a payment page link to a user terminal by near-field communication. The user terminal initiates a payment authorization request to a payment server based on the payment page link. The payment server sends a payment voucher to the near-field communication terminal in response to the payment authorization request. The near-field communication terminal sends the payment voucher to the cash register terminal by wired communication to realize payment. Thus, the ability to support near-field communication payment is provided to the existing cash register system at a relatively low cost, and a payment solution based on near-field communication is provided to users.
[0135] based on Figure 5 The present specification also provides some improved implementation methods of the method, which are described below.
[0136] In one or more embodiments of the present specification, before obtaining the payment authorization request sent by the user terminal and carrying the terminal identification of the near field communication terminal, it may also include: obtaining a payment page link acquisition request sent by the near field communication terminal; generating a payment page link in response to the payment page link acquisition request; and sending the payment page link to the near field communication terminal.
[0137] In one or more embodiments of the present specification, after operating the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment, the method may further include: Sending first payment result information to the near-field communication terminal; the first payment result information specifically includes first payment result first sub-information or first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment failed; the first payment result information is used to instruct the near-field communication terminal to issue a transaction result prompt information corresponding to the first payment result information.
[0138] In one or more embodiments of the present specification, after operating the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment, it may also include: sending second payment result information to the user terminal; the second payment result information specifically includes second payment result first sub-information or second payment result second sub-information, the second payment result first sub-information indicates that the payment is successful, and the second payment result second sub-information indicates that the payment failed; the second payment result information is used to be displayed on the payment result page of the user terminal.
[0139] In one or more embodiments of the present specification, after operating the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment, it may also include sending third payment result information to the cashier terminal. The third payment result information specifically includes third payment result first sub-information or third payment result second sub-information, the third payment result first sub-information indicates that the payment is successful, and the third payment result second sub-information indicates that the payment failed.
[0140] The payment result information may include payment success result information or payment failure result information. The first payment result information, the second payment result information and the third payment result information may contain payment results that are consistent with each other. For example, if the first payment result information is specifically the first sub-information of the first payment result indicating a successful payment, then the second payment result information is specifically the first sub-information of the second payment result indicating a successful payment, and the third payment result information is specifically the first sub-information of the third payment result indicating a successful payment. The first, second and third in the naming of the first payment result information, the second payment result information and the third payment result information are only to distinguish the payment result information received by the near field communication terminal, the user terminal and the cash register terminal.
[0141] In one or more embodiments of the present specification, receiving the payment request sent by the cashier terminal may specifically include: receiving a second payment request carrying the payment voucher sent by the cashier server corresponding to the cashier terminal; the second payment request is generated by the cashier server in response to the first payment request carrying the payment voucher sent by the cashier terminal.
[0142] The various technical features in the above embodiments can be combined arbitrarily as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.
[0143] Figure 6 A flow chart of a payment method based on near field communication in an actual application scenario provided by an embodiment of this specification is shown.
[0144] exist Figure 6 In the first stage, ie, the payment credential acquisition stage, through S602 to S622, the near field communication terminal obtains the payment credential used for payment.
[0145] S602, optionally, the cashier terminal may send payment indication information to the NFC terminal. Optionally, the payment indication information may be sent via USB. Specifically, when the cashier terminal is in USB BULK communication mode, the payment indication information may be sent to the NFC terminal.
[0146] S604, corresponding to S602, optionally, the NFC terminal can receive payment indication information sent by the cash register terminal.
[0147] S606: The NFC terminal sends a payment page link acquisition request to the payment server.
[0148] Optionally, if the NFC terminal and the cash register terminal are in USB BULK communication mode, a payment page link acquisition request may be sent to the payment server after receiving the payment instruction information.
[0149] Optionally, if the NFC terminal and the cash register terminal are in USB HID communication mode, a payment page link acquisition request can be sent to the payment server according to a preset payment page link acquisition cycle or after the previous order payment is completed.
[0150] S608, corresponding to S606, the payment server receives the payment page link acquisition request sent by the NFC terminal device, generates a payment page link and sends it to the NFC terminal.
[0151] S610, corresponding to S608, the NFC terminal receives the payment page link sent by the payment server.
[0152] S612, the NFC terminal sends a payment page link and a terminal identifier of the NFC terminal to the user terminal via NFC.
[0153] S614, corresponding to S612, the user terminal obtains the payment page link and the terminal identification of the NFC terminal from the NFC terminal via NFC.
[0154] S616: The user terminal sends a payment authorization request carrying the terminal identification of the NFC terminal to the payment server based on the payment page link.
[0155] S618: The payment server generates a payment voucher in response to the payment authorization request sent by the user terminal.
[0156] S620: The payment server sends the payment credential to the NFC terminal corresponding to the terminal identifier.
[0157] S622, corresponding to S620, the NFC terminal receives the payment certificate sent by the payment server.
[0158] Next, in the second stage, ie, the payment stage based on the payment voucher, through S624 to S638, the cashier side implements payment based on the payment voucher obtained from the near field communication terminal.
[0159] S624, the NFC terminal sends the payment voucher to the cash register terminal. Optionally, the payment voucher can be sent to the cash register terminal via USB.
[0160] S626, corresponding to S624, the cash register terminal receives the payment certificate sent by the NFC terminal via USB.
[0161] S628, the cash register terminal sends a payment request carrying the payment voucher to the payment server.
[0162] S630, corresponding to S628, the payment server responds to the payment request sent by the cash register terminal, performs resource processing operations, and obtains a payment result.
[0163] S632, optionally, the payment server may send payment result information to at least one of the user terminal, the NFC terminal and the cash register terminal.
[0164] S634, corresponding to S632, the user terminal receives payment result information from the payment server.
[0165] S636, corresponding to S632, the NFC terminal receives payment result information from the payment server.
[0166] S638, corresponding to S632, the cash register terminal receives payment result information from the payment server.
[0167] Understandably, Figure 6 The steps shown in the figure are only a specific form of implementing the scheme of the embodiment of this specification. In actual application, the order of the steps can be adjusted, steps can be added or steps can be deleted as needed.
[0168] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.
[0169] Figure 7 The embodiments of this specification provide corresponding to Figure 2 A structural schematic diagram of a near field communication-based payment device applied to a near field communication terminal.
[0170] In the embodiment of the present specification, the near field communication terminal is connected to the cash register terminal in a wired communication manner, so as to provide the cash register terminal with a near field communication function.
[0171] like Figure 7 As shown, the payment device based on near field communication applied to the near field communication terminal may include: The payment page link sending module 702 is used to send a payment page link to the user terminal through near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server; The payment voucher receiving module 704 is used to receive the payment voucher sent by the payment server; the payment voucher is generated by the payment server in response to the payment authorization request; The first payment voucher sending module 706 is used to send the payment voucher to the cashier terminal; the payment voucher is used to be sent by the cashier terminal together with the payment order information to the payment server to complete the payment.
[0172] based on Figure 7 The present specification also provides some specific implementation schemes of the method, which are described below.
[0173] Optionally, the payment device further comprises a payment page link acquisition module, which is used to: send a payment page link acquisition request to the payment server; and receive a payment page link returned by the payment server in response to the payment page link acquisition request.
[0174] Optionally, sending the payment page link acquisition request to the payment server may specifically include: sending the payment page link acquisition request to the payment server according to a preset payment page link acquisition cycle or after the payment of a previous order is completed.
[0175] Optionally, sending a payment page link acquisition request to a payment server may specifically include: receiving payment receipt instruction information sent by a cash register terminal; and sending a payment page link acquisition request to a payment server in response to the payment receipt instruction information.
[0176] Optionally, the payment device also includes a first status detection module, which is used to: determine whether a user terminal is detected within a preset time after receiving the payment indication information sent by the cashier terminal; if the user terminal is not detected within the preset time, send first status information to the cashier terminal; the first status information is used to instruct the cashier terminal to display first prompt information; the first prompt information is used to prompt the user to use the user terminal to interact with the near-field communication terminal through near-field communication.
[0177] Optionally, the payment device also includes a second status detection module, which is used to: obtain device information of the user terminal; the device information includes at least one of device hardware information and device operating system information; send second status information carrying the device information to the cashier terminal; the second status information is used to instruct the cashier terminal to display second prompt information; the second prompt information is used to prompt the user of the near-field communication payment process corresponding to the device information.
[0178] Optionally, the payment device also includes a payment result information processing module, which is used to: receive first payment result information sent by the payment server; the first payment result information specifically includes first payment result first sub-information or first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment failed; issue transaction result prompt information corresponding to the first payment result information; the display method of the transaction result prompt information includes at least one of voice form and indicator light form.
[0179] Optionally, the near field communication terminal is connected to the cash register terminal via a universal serial bus.
[0180] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.
[0181] The above is a schematic scheme of a payment device based on near field communication applied to a near field communication terminal of this embodiment. It should be noted that the technical scheme of the payment device based on near field communication applied to a near field communication terminal and the technical scheme of the payment method based on near field communication applied to a near field communication terminal mentioned above belong to the same concept, and the details of the technical scheme of the payment device based on near field communication applied to a near field communication terminal that are not described in detail can all be referred to the description of the technical scheme of the payment method based on near field communication applied to a near field communication terminal mentioned above.
[0182] Figure 8 The embodiments of this specification provide corresponding to Figure 3 A structural diagram of a payment device based on near field communication applied to a user terminal.
[0183] like Figure 8 As shown, the device may include: The payment page link acquisition module 802 is used to acquire the payment page link from the near field communication terminal through the near field communication mode; the near field communication terminal is connected to the cash register terminal through a wired communication mode, and is used to provide the cash register terminal with a near field communication function; The payment authorization request sending module 804 is used to send a payment authorization request to the payment server based on the payment page link; the payment authorization request is used to authorize the payment server to send a payment voucher to the near-field communication terminal; the payment voucher is used to be sent by the near-field communication terminal together with the payment order information to the cashier terminal to complete the payment.
[0184] based on Figure 8 The present specification also provides some specific implementation schemes of the method, which are described below.
[0185] Optionally, the payment authorization request sending module 804 is specifically used to: invoke a payment application corresponding to the payment page link; and send a payment authorization request to a payment server corresponding to the payment application.
[0186] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.
[0187] The above is a schematic scheme of a payment device based on near field communication applied to a user terminal of this embodiment. It should be noted that the technical scheme of the payment device based on near field communication applied to the user terminal and the technical scheme of the payment method based on near field communication applied to the user terminal mentioned above belong to the same concept, and the details of the technical scheme of the payment device based on near field communication applied to the user terminal that are not described in detail can all be referred to the description of the technical scheme of the payment method based on near field communication applied to the user terminal mentioned above.
[0188] Fig. 9 The embodiments of this specification provide corresponding to Figure 4 A schematic diagram of the structure of a payment device based on near field communication applied to a cash register terminal.
[0189] In an embodiment of the present specification, the cash register terminal is connected to the near field communication terminal by wired communication, and the near field communication terminal is used to provide the cash register terminal with a near field communication function.
[0190] like Fig. 9 As shown, the device may include: The payment voucher acquisition module 902 is used to acquire a payment voucher from a near field communication terminal; the payment voucher is generated by the payment server in response to a payment authorization request sent by the user terminal; A payment request generating module 904, used to generate a payment request carrying the payment voucher and payment order information; The payment request sending module 906 is used to send the payment request to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0191] based on Fig. 9 The present specification also provides some specific implementation schemes of the method, which are described below.
[0192] Optionally, the device may also include a payment collection indication information sending module, which is used to send payment collection indication information to the near field communication terminal; the payment collection indication information is used to instruct the near field communication terminal to obtain a payment page link from the payment server; the payment page link is used to trigger the user terminal to send the payment authorization request to the payment server.
[0193] Optionally, the method also includes a first status information processing module, which is used to: obtain first status information sent by the near-field communication terminal; the first status information is generated by the near-field communication terminal when no user terminal is detected within a preset time after receiving the payment indication information sent by the cashier terminal; generate first prompt information based on the first status information; the first prompt information is used to prompt the user to use the user terminal to interact with the near-field communication terminal through near-field communication; and display the first prompt information.
[0194] Optionally, the method also includes a second status information processing module, which is used to: obtain second status information sent by the near-field communication terminal; the second status information carries device information of a user terminal that establishes a near-field communication connection with the near-field communication terminal; the device information includes at least one of device hardware information and device operating system information; generate second prompt information based on the second status information; the second prompt information is used to prompt the user of the near-field communication payment process corresponding to the device information; and display the second prompt information.
[0195] Optionally, the near field communication terminal is connected to the cash register terminal via a universal serial bus.
[0196] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.
[0197] The above is a schematic scheme of a payment device based on near field communication applied to a cash register terminal of this embodiment. It should be noted that the technical scheme of the payment device based on near field communication applied to a cash register terminal and the technical scheme of the payment method based on near field communication applied to a cash register terminal are of the same concept, and the details of the technical scheme of the payment device based on near field communication applied to a cash register terminal that are not described in detail can all be referred to the description of the technical scheme of the payment method based on near field communication applied to a cash register terminal.
[0198] Fig.10 The embodiments of this specification provide corresponding to Figure 5 A structural diagram of a payment device based on near field communication applied to a payment server.
[0199] like Fig.10 As shown, the device may include: The payment authorization request receiving module 1002 is used to obtain a payment authorization request sent by a user terminal and carrying a terminal identification of a near field communication terminal; the near field communication terminal is connected to the cash register terminal in a wired communication manner, and is used to provide the cash register terminal with a near field communication function; A payment voucher generation module 1004, configured to generate a payment voucher in response to the payment authorization request; A second payment voucher sending module 1006, configured to send the payment voucher to the near field communication terminal, so that the near field communication terminal sends the payment voucher to the cash register terminal; The payment request receiving module 1008 is used to receive the payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; The payment module 1010 is used to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0200] based on Fig.10 The present specification also provides some specific implementation schemes of the method, which are described below.
[0201] Optionally, the device also includes a payment page link generation module, which is used to: obtain a payment page link acquisition request sent by the near field communication terminal; generate a payment page link in response to the payment page link acquisition request; and send the payment page link to the near field communication terminal.
[0202] Optionally, the device also includes a payment result information sending module, which is used to send first payment result information to the near-field communication terminal after operating the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment; the first payment result information specifically includes first payment result first sub-information or first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment failed; the first payment result information is used to instruct the near-field communication terminal to issue a transaction result prompt information corresponding to the first payment result information.
[0203] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.
[0204] The above is a schematic scheme of a payment device based on near field communication applied to a payment server in this embodiment. It should be noted that the technical scheme of the payment device based on near field communication applied to the payment server and the technical scheme of the payment method based on near field communication applied to the payment server mentioned above belong to the same concept, and the details of the technical scheme of the payment device based on near field communication applied to the payment server that are not described in detail can all be referred to the description of the technical scheme of the payment method based on near field communication applied to the payment server mentioned above.
[0205] Corresponding to the above-mentioned payment method and payment device based on near field communication, in the embodiments of this specification, a payment system based on near field communication is also provided, and the schematic diagram of the payment system can be partially referred to in Figure 1 .
[0206] The payment system may include a near field communication terminal, a cash register terminal and a payment server; the near field communication terminal is connected to the cash register terminal in a wired communication manner to provide the cash register terminal with a near field communication function.
[0207] The near field communication terminal is used to send a payment page link to the user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server.
[0208] The payment server is used to receive a payment authorization request sent by the user terminal; generate a payment voucher in response to the payment authorization request; and send the payment voucher to the near field communication terminal.
[0209] The near field communication terminal is also used to receive the payment certificate sent by the payment server; and send the payment certificate to the cash register terminal.
[0210] The cash register terminal is used to generate a payment request carrying the payment voucher and payment order information.
[0211] The payment server is further configured to, in response to the payment request of the cash register terminal, operate resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
[0212] Optionally, the near field communication terminal is connected to the cash register terminal via a universal serial bus.
[0213] Based on the same idea, the embodiments of this specification also provide a computing device corresponding to a payment method based on near field communication.
[0214] Fig.11 A schematic diagram of the structure of a computing device provided in an embodiment of this specification.
[0215] like Fig.11 As shown, the device 1100 may include: at least one processor 1110; and, A memory 1130 is communicatively connected to the at least one processor; wherein, The memory 1130 stores instructions 1120 that can be executed by the at least one processor 1110, and the instructions 1120 are executed by the at least one processor 1110 so that the at least one processor 1110 can: send a payment page link to a user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server; receive a payment credential sent by the payment server; the payment credential is generated by the payment server in response to the payment authorization request; send the payment credential to the cash register terminal; the payment credential is used by the cash register terminal to send it together with the payment order information to complete the payment.
[0216] Alternatively, the at least one processor 1110 can: obtain a payment page link from a near field communication terminal via near field communication; the near field communication terminal is connected to a cash register terminal via a wired communication method to provide a near field communication function for the cash register terminal; based on the payment page link, a payment authorization request is sent to a payment server; the payment authorization request is used to authorize the payment server to send a payment voucher to the near field communication terminal; the payment voucher is used to be sent by the near field communication terminal together with the payment order information to the cash register terminal to complete the payment.
[0217] Alternatively, the at least one processor 1110 is capable of: obtaining payment credentials from a near-field communication terminal; the payment credentials are generated by the payment server in response to a payment authorization request sent by the user terminal; generating a payment request carrying the payment credentials and payment order information; sending the payment request to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment credentials based on the payment order information to complete the payment.
[0218] Alternatively, the at least one processor 1110 is capable of: obtaining a payment authorization request sent by a user terminal and carrying a terminal identification of a near-field communication terminal; the near-field communication terminal is connected to a cash register terminal by wired communication to provide a near-field communication function for the cash register terminal; generating a payment voucher in response to the payment authorization request; sending the payment voucher to the near-field communication terminal so that the near-field communication terminal sends the payment voucher to the cash register terminal; receiving a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; based on the payment order information, operating on resources in the account corresponding to the payment voucher to complete the payment.
[0219] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the payment method based on near field communication described above are of the same concept, and the details not described in detail in the technical scheme of the computing device can be found in the description of the technical scheme of the payment method based on near field communication described above.
[0220] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device, system, and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The devices, systems, equipment and methods provided in the embodiments of this specification correspond to each other, so the devices, systems, and equipment also have beneficial technical effects similar to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding devices, systems, and equipment will not be repeated here.
[0221] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0222] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0223] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0224] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0225] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. 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.
[0226] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0227] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0228] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0229] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0230] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A payment method based on near field communication, applied to a near field communication terminal; The near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; the method includes: Sending a payment page link to a user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to a payment server; receiving a payment credential sent by the payment server; the payment credential is generated by the payment server in response to the payment authorization request; The payment voucher is sent to the cashier terminal; the payment voucher is used by the cashier terminal to send it together with the payment order information to the payment server to complete the payment.
2. The method according to claim 1, before sending the payment page link to the user terminal via near field communication, further comprising: Send a request to the payment server to obtain the payment page link; Receive the payment page link returned by the payment server in response to the payment page link acquisition request.
3. The method according to claim 2, wherein sending a payment page link acquisition request to a payment server specifically comprises: According to the preset payment page link acquisition cycle or after the previous order payment is completed, a payment page link acquisition request is sent to the payment server.
4. The method according to claim 2, wherein sending a payment page link acquisition request to a payment server specifically comprises: Receiving payment instruction information sent by the cash register terminal; In response to the payment collection instruction information, a payment page link acquisition request is sent to the payment server.
5. The method according to claim 1, before sending the payment page link to the user terminal via near field communication, further comprising: Determining whether a user terminal is detected within a preset time period after receiving the payment instruction information sent by the cash register terminal; If the user terminal is not detected within the preset time period, sending first status information to the cashier terminal; The first status information is used to instruct the cash register terminal to display first prompt information; The first prompt information is used to prompt the user to use the user terminal to interact with the near field communication terminal through the near field communication method.
6. The method of claim 1, further comprising: Acquire device information of the user terminal; The device information includes at least one of device hardware information and device operating system information; Sending second status information carrying the device information to the cash register terminal; The second status information is used to instruct the cash register terminal to display second prompt information; The second prompt information is used to prompt the user of the near field communication payment process corresponding to the device information.
7. The method according to claim 1, after sending the payment voucher to the cashier terminal, further comprising: receiving first payment result information sent by the payment server; the first payment result information specifically includes first payment result first sub-information or first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment fails; Sending transaction result prompt information corresponding to the first payment result information; the display method of the transaction result prompt information includes at least one of voice form and indicator light form.
8. The method according to any one of claims 1 to 7, wherein the near field communication terminal is connected to the cash register terminal via a universal serial bus.
9. A payment method based on near field communication, applied to a user terminal; the method comprises: Obtaining a payment page link from a near field communication terminal through near field communication; the near field communication terminal is connected to the cash register terminal through wired communication, and is used to provide the cash register terminal with a near field communication function; Based on the payment page link, a payment authorization request is sent to the payment server; the payment authorization request is used to authorize the payment server to send a payment voucher to the near field communication terminal; the payment voucher is used to be sent by the near field communication terminal together with the payment order information to the cashier terminal to complete the payment.
10. The method according to claim 9, wherein sending a payment authorization request to a payment server based on the payment page link specifically comprises: Invoking a payment application corresponding to the payment page link; Send a payment authorization request to the payment server corresponding to the payment application.
11. A payment method based on near field communication, applied to cash register terminals; The cash register terminal is connected to the near field communication terminal by wired communication, and the near field communication terminal is used to provide the cash register terminal with a near field communication function; the method includes: Acquiring a payment credential from a near field communication terminal; the payment credential is generated by a payment server in response to a payment authorization request sent by the user terminal; Generate a payment request carrying the payment voucher and payment order information; The payment request is sent to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
12. The method according to claim 11, before obtaining the payment credential from the near field communication terminal, further comprising: Sending payment instruction information to the near field communication terminal; The payment collection instruction information is used to instruct the near field communication terminal to obtain a payment page link from the payment server; The payment page link is used to trigger the user terminal to send the payment authorization request to the payment server.
13. The method according to claim 11, before obtaining the payment credential from the near field communication terminal, further comprising: Acquire first status information sent by the near field communication terminal; The first status information is generated when the near field communication terminal fails to detect the user terminal within a preset time after receiving the payment instruction information sent by the cash register terminal; Generate first prompt information according to the first status information; The first prompt information is used to prompt the user to use the user terminal to interact with the near field communication terminal through the near field communication mode; The first prompt information is displayed.
14. The method of claim 11, further comprising: Acquire second status information sent by the near field communication terminal; The second state information carries device information of a user terminal that establishes a near field communication connection with the near field communication terminal; The device information includes at least one of device hardware information and device operating system information; generating second prompt information according to the second state information; The second prompt information is used to prompt the user of the near field communication payment process corresponding to the device information; The second prompt information is displayed.
15. The method according to any one of claims 11 to 14, wherein the near field communication terminal is connected to the cash register terminal via a universal serial bus.
16. A payment method based on near field communication, applied to a payment server; the method comprising: Obtaining a payment authorization request sent by a user terminal that carries a terminal identification of a near field communication terminal; The near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; generating a payment credential in response to the payment authorization request; sending the payment voucher to the near field communication terminal so that the near field communication terminal sends the payment voucher to the cash register terminal; Receiving a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; Based on the payment order information, operations are performed on resources in the account corresponding to the payment voucher to complete the payment.
17. The method according to claim 16, before obtaining the payment authorization request sent by the user terminal and carrying the terminal identification of the near field communication terminal, further comprising: Obtaining a payment page link acquisition request sent by the near field communication terminal; In response to the payment page link acquisition request, generating a payment page link; The payment page link is sent to the near field communication terminal.
18. The method according to claim 16, after operating the resources in the account corresponding to the payment voucher to complete the payment based on the payment order information, further comprising: Sending first payment result information to the near-field communication terminal; the first payment result information specifically includes first payment result first sub-information or first payment result second sub-information, the first payment result first sub-information indicates that the payment is successful, and the first payment result second sub-information indicates that the payment failed; the first payment result information is used to instruct the near-field communication terminal to issue a transaction result prompt information corresponding to the first payment result information.
19. A payment device based on near field communication, applied to a near field communication terminal; The near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; the device includes: A payment page link sending module, used to send a payment page link to a user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to a payment server; a payment credential receiving module, configured to receive a payment credential sent by the payment server; the payment credential is generated by the payment server in response to the payment authorization request; The first payment voucher sending module is used to send the payment voucher to the cashier terminal; the payment voucher is used to be sent by the cashier terminal together with the payment order information to the payment server to complete the payment.
20. A payment device based on near field communication, applied to a user terminal; the device comprises: A payment page link acquisition module is used to acquire a payment page link from a near field communication terminal via near field communication; The near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; A payment authorization request sending module is used to send a payment authorization request to a payment server based on the payment page link; the payment authorization request is used to authorize the payment server to send a payment voucher to the near-field communication terminal; the payment voucher is used to be sent by the near-field communication terminal together with the payment order information to the cashier terminal to complete the payment.
21. A payment device based on near field communication, applied to a cash register terminal; the cash register terminal is connected to a near field communication terminal by wired communication, and the near field communication terminal is used to provide a near field communication function for the cash register terminal; the device comprises: A payment credential acquisition module, used to acquire payment credentials from a near field communication terminal; The payment credential is generated by the payment server in response to a payment authorization request sent by the user terminal; A payment request generation module, used to generate a payment request carrying the payment voucher and payment order information; A payment request sending module is used to send the payment request to the payment server; the payment request is used to request the payment server to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
22. A payment device based on near field communication, applied to a payment server; the device comprises: A payment authorization request receiving module, used to obtain a payment authorization request sent by a user terminal and carrying a terminal identification of a near field communication terminal; The near field communication terminal is connected to the cash register terminal by wired communication, and is used to provide the cash register terminal with a near field communication function; A payment voucher generation module, configured to generate a payment voucher in response to the payment authorization request; a second payment voucher sending module, configured to send the payment voucher to the near field communication terminal, so that the near field communication terminal sends the payment voucher to the cash register terminal; A payment request receiving module, used to receive a payment request sent by the cash register terminal; the payment request carries the payment voucher and payment order information; The payment module is used to operate the resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
23. A payment system based on near field communication, comprising a near field communication terminal, a cashier terminal and a payment server; the near field communication terminal is connected to the cashier terminal in a wired communication manner, and is used to provide the cashier terminal with a near field communication function; The near field communication terminal is used to send a payment page link to the user terminal via near field communication; the payment page link is used to trigger the user terminal to send a payment authorization request to the payment server; The payment server is used to receive a payment authorization request sent by the user terminal; generate a payment voucher in response to the payment authorization request; and send the payment voucher to the near field communication terminal; The near field communication terminal is also used to receive the payment certificate sent by the payment server; and send the payment certificate to the cashier terminal; The cash register terminal is used to generate a payment request carrying the payment voucher and payment order information; The payment server is further configured to, in response to the payment request of the cash register terminal, operate resources in the account corresponding to the payment voucher based on the payment order information to complete the payment.
24. The system according to claim 23, wherein the near field communication terminal is connected to the cash register terminal via a universal serial bus.
25. A computing device comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 18.
Citation Information
Patent Citations
Mobile payment method, device and system
CN106897874A
A pre-authorized transaction processing method and a pre-authorized transaction processing system
CN109598499A
Authorization processing method and device and settlement processing method and device
CN112216362A
Mobile payment method, device and system
CN115471226A
Payment method and device based on near field communication, equipment and medium
CN116911843A
Cited By
Member payment method and device, equipment and medium
CN121391252A
Payment processing method and device, equipment, medium and product
CN121684907A
A method, apparatus, device, medium and product of payment processing
CN121684907B
Near field payment method, device and equipment
CN121961558A
Payment method and device, equipment and medium
CN122367462A
