WO2021109694A1 - Payment result acquisition method and apparatus, payment device, and cash register device - Google Patents

Payment result acquisition method and apparatus, payment device, and cash register device Download PDF

Info

Publication number
WO2021109694A1
WO2021109694A1 PCT/CN2020/118656 CN2020118656W WO2021109694A1 WO 2021109694 A1 WO2021109694 A1 WO 2021109694A1 CN 2020118656 W CN2020118656 W CN 2020118656W WO 2021109694 A1 WO2021109694 A1 WO 2021109694A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
cash register
voucher
bluetooth
broadcast signal
Prior art date
Application number
PCT/CN2020/118656
Other languages
French (fr)
Chinese (zh)
Inventor
张垒垒
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021109694A1 publication Critical patent/WO2021109694A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/206Point-of-sale [POS] network systems comprising security or operator identification provisions, e.g. password entry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/209Specified transaction journal output feature, e.g. printed receipt or voice output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • This specification relates to the field of Internet technology, and in particular to a method, device, payment device, and cash register device for obtaining payment results.
  • Offline payment is a transaction method in which a user's payment voucher is transmitted to the payment device through a certain data interaction method.
  • the payment device transmits the payment voucher to the cash register device, and the cash register device accesses the server to complete the payment transaction.
  • Bluetooth devices especially wearable devices
  • the payment device Since the payment device is offline at the time of payment, the payment result cannot reach the payment device. Therefore, the user who uses the above payment device to pay cannot perceive the payment result, and the experience is relatively better. difference. In addition, it is difficult for users to find out when the amount is stolen or the payment amount is wrong, and the security is poor. There is a need to provide a solution for obtaining transaction results by payment devices when completing offline payments.
  • the embodiments of this specification provide a method, device, payment device, and cash register device for obtaining payment results, so as to achieve the acquisition of transaction results by the payment device during offline payment, improve user experience, and when the payment is stolen or the payment amount is wrong, Users can quickly find out through payment results and improve security.
  • the embodiment of this specification provides a method for obtaining payment results, including: sending the payment voucher of the payment device to the cash register device, and turning on the Bluetooth broadcast scan of the payment device; after scanning the Bluetooth device of the cash register device After the broadcast signal, if the Bluetooth broadcast signal includes a payment certificate, and the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, a Bluetooth connection with the cash register device is established; The payment result of this payment sent by the cash register device through the Bluetooth connection and displayed to the user using the payment device, the payment result of the current payment is the payment certificate of the cash register device using the payment device and The server interacts and obtains it from the server after the payment is completed.
  • the sending the payment voucher of the payment device to the cash register device includes: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method.
  • the payment certificate of the payment device is sent to the cash register device, and the Bluetooth broadcast scan of the payment device is turned on. After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes the payment certificate And the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, then a Bluetooth connection with the cash register device is established, and then the payment result of this payment sent by the cash register device through the Bluetooth connection is received and displayed
  • the payment device can obtain the transaction result during offline payment and improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly find out through the payment result and improve security.
  • the embodiments of this specification provide a method for obtaining payment results, including: the cash register device receives the payment certificate of the payment device sent by the payment device; and performs a Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the The payment voucher of the payment device; after the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher stored by the payment device itself, it is established with the The Bluetooth connection of the payment device; the payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device , Obtained from the server after completing this payment.
  • the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device; or, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device. Payment voucher after deformation.
  • the sending the payment result of the current payment to the payment device through the Bluetooth connection includes: performing identity authentication on the payment device through the Bluetooth connection; After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  • the cash register device performs Bluetooth broadcasting after receiving the payment voucher of the payment device sent by the payment device, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
  • the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, the cash register device establishes a Bluetooth connection with the payment device, and then transfers the payment certificate to the payment device.
  • the payment result of the second payment is sent to the payment device through the Bluetooth connection, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
  • the embodiment of this specification provides a method for obtaining payment results, including: a payment device sends the payment certificate of the payment device to a cash register device, and starts Bluetooth broadcast scanning of the payment device; the cash register device receives The payment voucher of the payment device and perform Bluetooth broadcast, the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device; the payment device scans the Bluetooth broadcast signal of the cash register device, and determines the After the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, a Bluetooth connection with the cash register device is established; the cash register device sends the payment result of this payment to the cash register via the Bluetooth connection A payment device, the payment result of the current payment is that the cash register device interacts with the server using the payment voucher of the payment device, and obtains it from the server after completing the payment; the payment device receives the current payment The payment result of the payment is displayed to the user who uses the payment device.
  • the embodiments of this specification provide a method for obtaining payment results, including: sending the payment certificate of the payment device to the cash register device and performing Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment device's Payment certificate; after the cash register device scans the Bluetooth broadcast signal of the payment device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, establish a connection with the cash register device Bluetooth connection; receiving the payment result of this payment sent by the cash register device through the Bluetooth connection, and showing it to the user who uses the payment device, the payment result of the current payment is that the cash register device uses the payment
  • the payment voucher of the device interacts with the server, and is obtained from the server after the payment is completed.
  • the sending the payment voucher of the payment device to the cash register device includes: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method.
  • the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself; or, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself. Payment voucher after deformation.
  • the payment device sends the payment voucher of the payment device to the cash register device and performs Bluetooth broadcasting.
  • the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device, and the payment device is scanned by the cash register device.
  • Bluetooth broadcast signal of the device and after confirming that the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, establish a Bluetooth connection with the cash register device, and then receive this time sent by the cash register device through the Bluetooth connection
  • the payment result of the payment is displayed to the user who uses the above payment device, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
  • the embodiments of the present specification provide a method for obtaining payment results, including: a cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device; After the Bluetooth broadcast signal of the payment device is paid, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, the Bluetooth broadcast signal with the payment device is established. Connection; the payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server to complete this time Obtained from the server after payment.
  • the sending the payment result of the current payment to the payment device through the Bluetooth connection includes: performing identity authentication on the payment device through the Bluetooth connection; After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  • the cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device. After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal is Including the payment voucher, and the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established, and then the payment result of this payment is sent to the payment via the Bluetooth connection.
  • the payment device can obtain the transaction result during offline payment, which improves the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly discover through the payment result to improve security.
  • the embodiments of this specification provide a method for obtaining payment results, including: the payment device sends the payment voucher of the payment device to the cash register device, and performs Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes all The payment certificate of the payment device; the cash register device receives the payment certificate of the payment device and starts the Bluetooth broadcast scan of the cash register device; after the cash register device scans the Bluetooth broadcast signal of the payment device, if If the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established; the cash register device will make this payment The payment result of the payment device is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server. Obtained; the payment device receives the payment result of the current payment and displays it to the user who uses the payment device.
  • an embodiment of the present specification provides an apparatus for obtaining payment results, including: a sending module, configured to send a payment certificate of a payment device to a cash register device; and a scanning module, configured to enable Bluetooth broadcast scanning of the payment device;
  • the establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal is saved with the payment device itself If the payment voucher matches, the Bluetooth connection with the cash register device is established; the receiving module is used to receive the payment result of the current payment sent by the cash register device through the Bluetooth connection, and the payment result of the current payment is all
  • the cash register device uses the payment voucher of the payment device to interact with the server, and obtains it from the server after the payment is completed; the display module is used to display the payment result received by the receiving module to the user who uses the payment device user.
  • the sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  • an embodiment of this specification provides an apparatus for obtaining payment results, which is set in a cash register device, and the apparatus includes: a receiving module for receiving the payment voucher of the payment device sent by the payment device; and a broadcasting module for using When performing Bluetooth broadcasting, the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment certificate of the payment device; the establishment module is used to scan the Bluetooth broadcasting signal of the cash register device on the payment device and determine the Bluetooth broadcasting After the payment voucher in the signal matches the payment voucher saved by the payment device itself, a Bluetooth connection with the payment device is established; a sending module is used to send the payment result of this payment to the payment via the Bluetooth connection Device, the payment result of the current payment is obtained by the cash register device using the payment voucher of the payment device to interact with the server, and obtained from the server after completing the payment.
  • the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device; or, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device. Payment voucher after deformation.
  • the sending module includes: an authentication sub-module, which is used to authenticate the payment device through the Bluetooth connection; and the result sending sub-module, which is used to verify the identity of the payment device when the payment device passes After the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  • an embodiment of this specification provides an apparatus for obtaining payment results, including: a sending module, used to send the payment voucher of the payment device to the cash register device; a broadcasting module, used to perform Bluetooth broadcasting, the Bluetooth of the Bluetooth broadcasting
  • the broadcast signal includes the payment voucher of the payment device; the establishment module is used to scan the Bluetooth broadcast signal of the payment device on the cash register device, and determine that the payment voucher in the Bluetooth broadcast signal and the cash register device are working After the used payment vouchers match, a Bluetooth connection with the cash register device is established; the receiving module is used to receive the payment result of the current payment sent by the cash register device through the Bluetooth connection, and the payment result of the current payment is
  • the cash register device uses the payment certificate of the payment device to interact with the server, and obtains it from the server after the payment is completed; the display module is used to display the payment result received by the receiving module to the payment device User.
  • the sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  • the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself; or, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself. Payment voucher after deformation.
  • an embodiment of this specification provides an apparatus for obtaining payment results, which is set in a cash register device.
  • the apparatus includes: a receiving module for receiving the payment voucher of the payment device sent by the payment device; and a scanning module for using The Bluetooth broadcast scan of the cash register device is turned on; the establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the Bluetooth broadcast signal If the payment voucher in the checkout device matches the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established; a sending module is used to send the payment result of this payment to the payment device through the Bluetooth connection
  • the payment result of the current payment is that the cash register device interacts with the server using the payment voucher of the payment device, and is obtained from the server after the payment is completed.
  • the sending module includes: an authentication sub-module, which is used to authenticate the payment device through the Bluetooth connection; and the result sending sub-module, which is used to verify the identity of the payment device when the payment device passes After the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  • an embodiment of the present specification provides a payment device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the Program instructions, the processor can invoke the program instructions to execute the method described in the first aspect.
  • an embodiment of the present specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the memory that can be executed by the processor Program instructions, the processor can execute the method described in the second aspect by invoking the program instructions.
  • an embodiment of this specification provides a payment device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the Program instructions, the processor can invoke the program instructions to execute the method described in the fourth aspect.
  • an embodiment of the present specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the memory that can be executed by the processor Program instructions, the processor can invoke the program instructions to execute the method described in the fifth aspect.
  • embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the first aspect method.
  • embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the second aspect method.
  • the embodiments of this specification provide a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the fourth aspect method.
  • embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the fifth aspect method.
  • Figure 1 is a flowchart of an embodiment of the method for obtaining payment results in this specification
  • FIG. 2 is a flowchart of another embodiment of the method for obtaining payment results in this specification
  • FIG. 3 is a flowchart of another embodiment of the method for obtaining payment results in this specification.
  • Figure 4 is a flowchart of another embodiment of the method for obtaining payment results in this manual
  • FIG. 5 is a flowchart of another embodiment of the method for obtaining payment results in this specification.
  • FIG. 6 is a flowchart of another embodiment of the method for obtaining payment results in this specification.
  • FIG. 7 is a flowchart of another embodiment of the method for obtaining payment results in this specification.
  • FIG. 8 is a flowchart of another embodiment of the method for obtaining payment results in this specification.
  • FIG. 9 is a schematic structural diagram of an embodiment of an apparatus for obtaining payment results in this specification.
  • FIG. 10 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification.
  • FIG. 11 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification.
  • FIG. 12 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification.
  • FIG. 13 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification.
  • FIG. 14 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification.
  • Figure 15 is a schematic structural diagram of an embodiment of a payment device in this specification.
  • the above payment device has a network function, such as a 4G watch, then the above payment device needs to be equipped with a network module, such as: 2G, 3G or Mobile network modules such as 4G, or communication modules such as wireless fidelity (Wireless Widelity; hereinafter referred to as WiFi) modules, have high costs.
  • a network module such as: 2G, 3G or Mobile network modules such as 4G, or communication modules such as wireless fidelity (Wireless Widelity; hereinafter referred to as WiFi) modules, have high costs.
  • the power consumption of the network module is relatively high, which greatly increases the power consumption of the payment device.
  • the embodiment of this specification provides a method for obtaining payment results, which can complete the obtaining of the transaction results by the payment device during offline payment.
  • FIG. 1 is a flowchart of an embodiment of a method for obtaining payment results in this specification. As shown in FIG. 1, the method for obtaining payment results may include steps 102 to 106.
  • Step 102 Send the payment certificate of the payment device to the cash register device, and start the Bluetooth broadcast scan of the payment device.
  • sending the payment voucher of the payment device to the cash register device may be: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method; wherein, the above-mentioned short-distance transmission method may include: QR code, Bluetooth, near field Communication (Near Field Communication; hereinafter referred to as NFC) or Radio Frequency Identification (hereinafter referred to as: RFID) and other short-range data transmission methods.
  • NFC Near Field Communication
  • RFID Radio Frequency Identification
  • the above activation operation process may include: first, after the payment device detects the operation information for the payment application installed in the payment device, it displays the information of the payment application. Bind the QR code; then, the smart phone and other authentication devices scan the above-mentioned bound QR code through the same payment application installed on the above-mentioned smart phone to complete the binding with the above-mentioned payment device, and then the above-mentioned smart phone will use the above-mentioned smart phone’s
  • the user's payment voucher is transmitted to the payment device, and after the payment device saves the payment voucher, the payment voucher can be used for offline payment.
  • the payment application is an application with a payment function
  • the authentication device is a device that has passed the identity authentication of the server corresponding to the payment application.
  • Step 104 After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, establish a connection with the cash register Bluetooth connection of the device.
  • the payment voucher includes the identity information of the user who uses the aforementioned payment device. Therefore, after scanning the Bluetooth broadcast signal of the aforementioned cash register device, the payment device can detect and obtain the identity information included in the payment voucher in the aforementioned Bluetooth broadcast signal, and The identity information contained in the payment vouchers stored by the payment device itself is compared, and if they are consistent, it can be determined that the payment vouchers in the Bluetooth broadcast signal are consistent with the payment vouchers stored by the payment device itself.
  • Step 106 Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and display it to the user who uses the payment device.
  • the payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device. , Obtained from the above server after completing this payment.
  • the payment certificate of the payment device is sent to the cash register device, and the Bluetooth broadcast scan of the payment device is turned on. After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes the payment certificate And the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, then a Bluetooth connection with the cash register device is established, and then the payment result of this payment sent by the cash register device through the Bluetooth connection is received and displayed
  • the payment device can obtain the transaction result during offline payment and improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly find out through the payment result and improve security.
  • FIG. 2 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 2, the method for obtaining payment results described above may include step 202 to step 208.
  • Step 202 The cash register device receives the payment certificate of the above payment device sent by the payment device.
  • Step 204 Perform Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment certificate of the payment device.
  • the payment voucher in the Bluetooth broadcast signal may include the payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal may include a payment voucher obtained by transforming the payment voucher sent by the payment device.
  • the cash register device can directly broadcast the payment voucher sent by the payment device through the Bluetooth broadcast signal, or it can transform the payment voucher sent by the payment device and then broadcast it through the Bluetooth broadcast signal.
  • the deformation method may include one or a combination of the following: intercepting part of the payment certificate, encrypting the payment certificate, using the hash value of the payment certificate, and splicing predetermined data into the payment certificate.
  • Step 206 After the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establish a Bluetooth connection with the payment device.
  • Step 208 Send the payment result of this payment to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Acquired.
  • the cash register device can use the payment voucher of the payment device to interact with the server to complete this payment.
  • the cash register device uses the payment certificate of the payment device to interact with the server.
  • the process of completing this payment can be executed in parallel with step 204 to step 206, or can be executed sequentially, which is not limited in this embodiment.
  • the cash register device performs Bluetooth broadcasting after receiving the payment voucher of the payment device sent by the payment device, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
  • the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, the cash register device establishes a Bluetooth connection with the payment device, and then transfers the payment certificate to the payment device.
  • the payment result of the second payment is sent to the payment device through the Bluetooth connection, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
  • FIG. 3 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 3, in the embodiment shown in FIG. 2 of this specification, step 208 may include step 302 to step 304.
  • Step 302 Perform identity authentication on the payment device through the Bluetooth connection.
  • the above-mentioned identity authentication may adopt an identity authentication method of asymmetric encryption.
  • the payment device can encrypt its own identity information with a public key, and then send the encrypted identity information to the cash register device through the Bluetooth connection.
  • the cash register device After the cash register device receives the encrypted identity information, the cash register device The aforementioned identity information can be sent to the server, and the server decrypts the aforementioned encrypted identity information with a private key, performs identity authentication on the aforementioned payment device based on the identity information obtained by decryption, and then the aforementioned server sends the identity authentication result of the aforementioned payment device to the aforementioned
  • the cash register device, the cash register device receives the identity authentication result of the payment device.
  • Step 304 After the payment device passes the identity authentication, the payment result of this payment is sent to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cashier device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
  • the cash register device first authenticates the payment device before sending the payment result of this payment to the aforementioned payment device, which improves the security of sending the payment result.
  • FIG. 4 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 4, the method for obtaining payment results may include steps 402 to 410.
  • Step 402 The payment device sends the payment certificate of the payment device to the cash register device, and starts the Bluetooth broadcast scan of the payment device.
  • Step 404 The cash register device receives the payment voucher of the payment device and performs Bluetooth broadcasting.
  • the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
  • Step 406 The payment device scans the Bluetooth broadcast signal of the cash register device, and after determining that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establishes a Bluetooth connection with the cash register device.
  • Step 408 The cash register device sends the payment result of this payment to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Obtained by the above server.
  • Step 410 The payment device receives the payment result of this payment, and displays it to the user who uses the aforementioned payment device.
  • the user can obtain the payment result of the server on the payment device with only Bluetooth function, which enriches the functions of the payment device, optimizes the user experience, and improves transaction security.
  • FIG. 5 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 5, the above method for obtaining payment results may include step 502 to step 506.
  • Step 502 Send the payment voucher of the payment device to the cash register device and perform Bluetooth broadcast.
  • the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
  • sending the payment voucher of the payment device to the cash register device may be: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method; wherein, the above-mentioned short-distance transmission method may include: QR code, Bluetooth, NFC or Various short-distance data transmission methods such as RFID.
  • the above activation operation process may include: First, after the payment device detects the operation information for the payment application installed in the payment device, it displays the information of the payment application. Bind the QR code; then, the smart phone and other authentication devices scan the above-mentioned bound QR code through the same payment application installed on the above-mentioned smart phone to complete the binding with the above-mentioned payment device, and then the above-mentioned smart phone will use the above-mentioned smart phone’s
  • the user's payment voucher is transmitted to the payment device, and after the payment device saves the payment voucher, the payment voucher can be used for offline payment.
  • the payment application is an application with a payment function
  • the authentication device is a device that has passed the identity authentication of the server corresponding to the payment application.
  • the payment voucher in the Bluetooth broadcast signal may include the payment voucher of the payment device itself; or, the payment voucher in the Bluetooth broadcast signal may include a payment voucher obtained by transforming the payment voucher of the payment device itself.
  • the payment device can directly broadcast the payment voucher of the payment device itself through the Bluetooth broadcast signal, or it can transform the payment voucher of the payment device itself and then broadcast it through the Bluetooth broadcast signal.
  • the deformation method may include one or a combination of the following: intercepting part of the payment certificate, encrypting the payment certificate, using the hash value of the payment certificate, and splicing predetermined data into the payment certificate.
  • Step 504 After the cash register device scans the Bluetooth broadcast signal of the payment device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, establish a Bluetooth connection with the cash register device.
  • the payment certificate being used by the cash register device is the payment certificate used by the cash register device to interact with the server to complete this payment.
  • Step 506 Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and display it to the user who uses the payment device.
  • the payment result of the current payment is that the cash register device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
  • the payment device sends the payment voucher of the payment device to the cash register device and performs Bluetooth broadcasting.
  • the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device, and the payment device is scanned by the cash register device.
  • Bluetooth broadcast signal of the device and after confirming that the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, establish a Bluetooth connection with the cash register device, and then receive this time sent by the cash register device through the Bluetooth connection
  • the payment result of the payment is displayed to the user who uses the above payment device, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
  • FIG. 6 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 6, the method for obtaining payment results described above may include step 602 to step 606.
  • Step 602 The cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device.
  • Step 604 After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, then establish the payment Bluetooth connection of the device.
  • the payment certificate being used by the cash register device is the payment certificate used by the cash register device to interact with the server to complete this payment.
  • the payment voucher includes the identity information of the user who uses the aforementioned payment device. Therefore, after scanning the Bluetooth broadcast signal of the aforementioned payment device, the cash register device can detect and obtain the identity information included in the payment voucher in the aforementioned Bluetooth broadcast signal, and The identity information included in the payment voucher being used by the cash register device is compared, and if they are consistent, it can be determined that the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device.
  • Step 606 The payment result of this payment is sent to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server. After the payment is completed, the payment result is from the server. Acquired.
  • the cash register device can use the payment voucher of the payment device to interact with the server to complete this payment.
  • the cash register device uses the payment certificate of the above payment device to interact with the server, and the process of completing this payment can be performed in parallel with step 604, or can be performed sequentially, which is not limited in this embodiment.
  • the cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device. After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal is Including the payment voucher, and the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established, and then the payment result of this payment is sent to the payment via the Bluetooth connection.
  • the payment device can obtain the transaction result during offline payment, which improves the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly discover through the payment result to improve security.
  • FIG. 7 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 7, in the embodiment shown in FIG. 6 of this specification, step 606 may include step 702 to step 704.
  • Step 702 Perform identity authentication on the payment device through the Bluetooth connection.
  • the above-mentioned identity authentication may adopt an identity authentication method of asymmetric encryption.
  • the payment device can encrypt its own identity information with a public key, and then send the encrypted identity information to the cash register device through the Bluetooth connection.
  • the cash register device After the cash register device receives the encrypted identity information, the cash register device The aforementioned identity information can be sent to the server, and the server decrypts the aforementioned encrypted identity information with a private key, performs identity authentication on the aforementioned payment device based on the identity information obtained by decryption, and then the aforementioned server sends the identity authentication result of the aforementioned payment device to the aforementioned
  • the cash register device, the cash register device receives the identity authentication result of the payment device.
  • Step 704 After the payment device passes the identity authentication, the payment result of this payment is sent to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cashier device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
  • the cash register device first authenticates the payment device before sending the payment result of this payment to the aforementioned payment device, which improves the security of sending the payment result.
  • FIG. 8 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 8, the method for obtaining payment results may include step 802 to step 810.
  • Step 802 The payment device sends the payment voucher of the payment device to the cash register device, and performs Bluetooth broadcasting.
  • the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
  • step 804 the cash register device receives the payment certificate of the payment device, and starts the Bluetooth broadcast scan of the cash register device.
  • Step 806 After the cash register device scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, then establish and Bluetooth connection of the aforementioned payment device.
  • Step 808 The cash register device sends the payment result of this payment to the payment device through the Bluetooth connection.
  • the payment result of this payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Acquired.
  • step 810 the payment device receives the payment result of this payment, and displays it to the user who uses the aforementioned payment device.
  • the user can obtain the payment result of the server on the payment device with only Bluetooth function, which enriches the functions of the payment device, optimizes the user experience, and improves transaction security.
  • Fig. 9 is a schematic structural diagram of an embodiment of an apparatus for obtaining payment results in this specification.
  • the apparatus for obtaining payment results in this embodiment can be used as a payment device, or a part of a payment device, to realize the payment results provided by the embodiment shown in Fig. 1 of this specification Method of obtaining.
  • the foregoing means for obtaining payment results may include: a sending module 91, a scanning module 92, an establishment module 93, a receiving module 94, and a display module 95.
  • the sending module 91 is used to send the payment voucher of the payment device to the cash register device.
  • the scanning module 92 is used to start the Bluetooth broadcast scanning of the aforementioned payment device.
  • the establishment module 93 is configured to, after the scanning module 92 scans the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself , The Bluetooth connection with the above cash register device is established.
  • the receiving module 94 is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
  • the display module 95 is used to display the payment result received by the receiving module 94 to the user who uses the aforementioned payment device.
  • the sending module 91 is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  • the apparatus for obtaining payment results provided by the embodiment shown in FIG. 9 can be used to implement the technical solution of the method embodiment shown in FIG. 1 of the present application. For its implementation principles and technical effects, further reference may be made to the relevant description in the method embodiment.
  • Fig. 10 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification.
  • the foregoing means for obtaining payment results may be set in a cash register device.
  • the foregoing means for obtaining payment results may include: a receiving module 1001, a broadcasting module 1002, a establishing module 1003, and a sending module 1004.
  • the receiving module 1001 is configured to receive the payment voucher of the aforementioned payment device sent by the payment device.
  • the broadcasting module 1002 is used to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the above-mentioned Bluetooth broadcasting includes the payment certificate of the above-mentioned payment device.
  • the establishment module 1003 is used to establish a Bluetooth connection with the payment device after the payment device scans the Bluetooth broadcast signal of the cash register device and determines that the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself .
  • the sending module 1004 is configured to send the payment result of this payment to the payment device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
  • the payment voucher in the Bluetooth broadcast signal includes the payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal includes the payment after the payment voucher sent by the payment device is transformed. certificate.
  • the apparatus for obtaining payment results provided by the embodiment shown in FIG. 10 can be used to implement the technical solution of the method embodiment shown in FIG. 2 of the present application. For its implementation principles and technical effects, further reference may be made to the relevant description in the method embodiment.
  • FIG. 11 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification. Compared with the payment result obtaining device shown in FIG. 10, the difference is that the sending module 1004 may include: an authentication submodule 10041 and result sending Submodule 10042.
  • the authentication sub-module 10041 is used to perform identity authentication on the payment device through the Bluetooth connection.
  • the result sending sub-module 10042 is configured to send the payment result of this payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
  • the payment result obtaining device provided by the embodiment shown in FIG. 11 can be used to implement the technical solutions of the method embodiments shown in FIG. 2 and FIG. 3 of this application, and the implementation principles and technical effects can be further referred to related descriptions in the method embodiments.
  • FIG 12 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification.
  • the above payment result obtaining device may include: a sending module 1201, a broadcasting module 1202, a establishing module 1203, a receiving module 1204, and a display Module 1205.
  • the sending module 1201 is used to send the payment voucher of the payment device to the cash register device.
  • the broadcasting module 1202 is used to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the above-mentioned Bluetooth broadcasting includes the payment certificate of the above-mentioned payment device.
  • the establishment module 1203 is configured to establish a Bluetooth connection with the cash register device after the cash register device scans the Bluetooth broadcast signal of the payment device and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device .
  • the receiving module 1204 is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection.
  • the payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
  • the display module 1205 is used to display the payment result received by the receiving module 1204 to the user who uses the aforementioned payment device.
  • the sending module 1201 is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  • the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device itself; or, the payment voucher in the Bluetooth broadcast signal includes the payment after the payment voucher of the payment device itself is transformed. certificate.
  • the apparatus for obtaining payment results provided by the embodiment shown in FIG. 12 can be used as a payment device, or a part of a payment device, to implement the technical solution of the method embodiment shown in FIG. 5 of this application.
  • a payment device or a part of a payment device, to implement the technical solution of the method embodiment shown in FIG. 5 of this application.
  • FIG. 5 of this application For its implementation principles and technical effects, please refer to the method embodiment. Related description in.
  • FIG. 13 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification.
  • the apparatus for obtaining payment results is set in a cash register device.
  • the apparatus may include: a receiving module 1301, a scanning module 1302, and an establishment Module 1303 and sending module 1304.
  • the receiving module 1301 is configured to receive the payment certificate of the aforementioned payment device sent by the payment device.
  • the scanning module 1302 is used to start the Bluetooth broadcast scanning of the above-mentioned cash register device.
  • the establishment module 1303 is configured to, after the scanning module 1302 scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device , Then establish a Bluetooth connection with the aforementioned payment device.
  • the sending module 1304 is used to send the payment result of this payment to the payment device through the Bluetooth connection.
  • the payment result of this payment is that the cash register device uses the payment voucher of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
  • the apparatus for obtaining payment results provided by the embodiment shown in FIG. 13 can be used as a cash register device, or a part of a cash register device, to implement the technical solution of the method embodiment shown in FIG. 6 of this application.
  • a cash register device or a part of a cash register device, to implement the technical solution of the method embodiment shown in FIG. 6 of this application.
  • FIG. 6 of this application For its implementation principles and technical effects, please refer to the method embodiment. Related description in.
  • FIG 14 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification. Compared with the payment result obtaining device shown in Fig. 13, the difference is that the payment result obtaining device shown in Fig. 14 sends
  • the module 1304 may include: an authentication sub-module 13041 and a result sending sub-module 13042.
  • the authentication sub-module 13041 is used to perform identity authentication on the payment device through the Bluetooth connection.
  • the result sending submodule 13042 is configured to send the payment result of this payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
  • the apparatus for obtaining payment results provided by the embodiment shown in FIG. 14 can be used as a cash register device, or a part of a cash register device, to implement the technical solutions of the method embodiments shown in FIGS. 6 and 7 of this application.
  • the implementation principles and technical effects can be further referred to Relevant description in the method embodiment.
  • Figure 15 is a schematic structural diagram of an embodiment of a payment device in this specification.
  • the above payment device may include at least one processor; and at least one memory communicatively connected with the above processor, wherein:
  • the program instructions executed by the processor, the above-mentioned processor can invoke the above-mentioned program instructions to execute the method for obtaining payment results provided in the embodiment shown in FIG. 1 of this specification.
  • the foregoing payment device may be a wearable device such as a smart bracelet or a smart watch, and this embodiment does not limit the form of the foregoing payment device.
  • FIG. 15 shows a block diagram of an exemplary payment device suitable for implementing embodiments of the present specification.
  • the payment device shown in FIG. 15 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of this specification.
  • the payment device takes the form of a general-purpose computing device.
  • the components of the payment device may include, but are not limited to: one or more processors 410, a memory 430, and a communication bus 440 connecting different system components (including the memory 430 and the processing unit 410).
  • the communication bus 440 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
  • these architectures include but are not limited to industry standard architecture (Industry Standard Architecture; hereinafter referred to as ISA) bus, Micro Channel Architecture (hereinafter referred to as MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as PCI) bus.
  • Industry Standard Architecture hereinafter referred to as ISA
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnection
  • Payment devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the payment device, including volatile and non-volatile media, removable and non-removable media.
  • the memory 430 may include a computer system readable medium in the form of a volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as RAM) and/or cache memory.
  • RAM random access memory
  • the payment device may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • the memory 430 may include at least one program product, and the program product has a set of (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present specification.
  • a program/utility tool having a set of (at least one) program modules may be stored in the memory 430.
  • Such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples or some combination may include the implementation of a network environment.
  • the program module usually executes the functions and/or methods in the embodiments described in this specification.
  • the processor 410 executes various functional applications and data processing by running programs stored in the memory 430, such as implementing the method for obtaining payment results provided in the embodiment shown in FIG. 1 of this specification.
  • the embodiment of this specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program
  • the instruction can execute the method for obtaining payment results provided in the embodiments shown in Figures 2 and 3 of this specification.
  • the above-mentioned cash register device can be implemented by adopting the structure shown in FIG. 15, which will not be repeated here.
  • the embodiment of this specification provides a payment device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein: the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program
  • the instruction can execute the method for obtaining payment results provided in the embodiment shown in FIG. 5 of this specification.
  • the foregoing payment device may be implemented using the structure shown in FIG. 15, which will not be repeated here.
  • the embodiment of this specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program
  • the instruction can execute the method for obtaining payment results provided in the embodiments shown in Figs. 6 and 7 of this specification.
  • the above-mentioned cash register device can be implemented by adopting the structure shown in FIG. 15, which will not be repeated here.
  • the embodiment of this specification provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the payment provided by the embodiment shown in Figure 1 of this specification. How to obtain the results.
  • the embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the embodiments shown in FIGS. 2 and 3 of this specification Provide the method of obtaining the payment result.
  • the embodiment of this specification provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the payment provided by the embodiment shown in FIG. 5 of this specification How to obtain the results.
  • the embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the embodiments shown in FIGS. 6 and 7 of this specification Provide the method of obtaining the payment result.
  • the aforementioned non-transitory computer-readable storage medium may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) ;Hereinafter referred to as: ROM), Erasable Programmable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic memory Pieces, or any suitable combination of the above.
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of this specification can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including local area network (Local Area Network; hereinafter referred to as: LAN) or Wide Area Network (hereinafter referred to as: WAN), or Connect to an external computer (for example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • an external computer for example, use an Internet service provider to connect via the Internet.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include at least one of the features. In the description of this specification, "a plurality of” means at least two, such as two, three, etc., unless otherwise specifically defined.
  • the word “if” as used herein can be interpreted as “when” or “when” or “in response to determination” or “in response to detection”.
  • the phrase “if determined” or “if detected (statement or event)” can be interpreted as “when determined” or “in response to determination” or “when detected (statement or event) )” or “in response to detection (statement or event)”.
  • terminals involved in the embodiments of this specification may include, but are not limited to, personal computers (Personal Computer; hereinafter referred to as PC), Personal Digital Assistants (Personal Digital Assistant; hereinafter referred to as PDA), wireless handheld devices, and tablets.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • Computer Tablett Computer
  • mobile phone MP3 player, MP4 player, etc.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the functional units in the various embodiments of this specification may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) execute the method described in each embodiment of this specification Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disks or optical disks, etc.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

A payment result acquisition method and apparatus, a payment device, and a cash register device. The payment result acquisition method comprises: a payment device sending a payment credential of the payment device to a cash register device, and performing Bluetooth broadcast, wherein a Bluetooth broadcast signal of the Bluetooth broadcast comprises the payment credential of the payment device; and after the cash register device scans the Bluetooth broadcast signal of the payment device, and determines that the payment credential in the Bluetooth broadcast signal conforms to a payment credential currently used by the cash register device, establishing a Bluetooth connection with the cash register device, then receiving a payment result of the present payment sent by the cash register device by means of the Bluetooth connection, and presenting the payment result to a user using the payment device.

Description

支付结果的获取方法、装置、支付设备和收银设备Method, device, payment device and cash register device for obtaining payment result 技术领域Technical field
本说明书涉及互联网技术领域,尤其涉及一种支付结果的获取方法、装置、支付设备和收银设备。This specification relates to the field of Internet technology, and in particular to a method, device, payment device, and cash register device for obtaining payment results.
背景技术Background technique
离线支付是通过某种数据交互方式将一个用户的支付凭证传递到支付设备,在不连接互联网的情况下,支付设备将支付凭证传递给收银设备,由收银设备访问服务端完成支付的交易方式。Offline payment is a transaction method in which a user's payment voucher is transmitted to the payment device through a certain data interaction method. When the payment device is not connected to the Internet, the payment device transmits the payment voucher to the cash register device, and the cash register device accesses the server to complete the payment transaction.
目前,蓝牙设备尤其是可穿戴设备的离线支付方案,在支付时由于支付设备是离线的,支付结果无法触达支付设备,那么使用上述支付设备进行支付的用户是无法感知支付结果的,体验较差。另外,被盗刷或支付金额错误时,用户也难以发现,安全性较差。需要提供一种方案完成离线支付时支付设备对交易结果的获取。Currently, Bluetooth devices, especially wearable devices, are offline payment solutions. Since the payment device is offline at the time of payment, the payment result cannot reach the payment device. Therefore, the user who uses the above payment device to pay cannot perceive the payment result, and the experience is relatively better. difference. In addition, it is difficult for users to find out when the amount is stolen or the payment amount is wrong, and the security is poor. There is a need to provide a solution for obtaining transaction results by payment devices when completing offline payments.
发明内容Summary of the invention
本说明书实施例提供了一种支付结果的获取方法、装置、支付设备和收银设备,以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。The embodiments of this specification provide a method, device, payment device, and cash register device for obtaining payment results, so as to achieve the acquisition of transaction results by the payment device during offline payment, improve user experience, and when the payment is stolen or the payment amount is wrong, Users can quickly find out through payment results and improve security.
第一方面,本说明书实施例提供一种支付结果的获取方法,包括:将支付设备的支付凭证发送给收银设备,并开启所述支付设备的蓝牙广播扫描;在扫描到所述收银设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符,则建立与所述收银设备的蓝牙连接;接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,并展示给使用所述支付设备的用户,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In the first aspect, the embodiment of this specification provides a method for obtaining payment results, including: sending the payment voucher of the payment device to the cash register device, and turning on the Bluetooth broadcast scan of the payment device; after scanning the Bluetooth device of the cash register device After the broadcast signal, if the Bluetooth broadcast signal includes a payment certificate, and the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, a Bluetooth connection with the cash register device is established; The payment result of this payment sent by the cash register device through the Bluetooth connection and displayed to the user using the payment device, the payment result of the current payment is the payment certificate of the cash register device using the payment device and The server interacts and obtains it from the server after the payment is completed.
其中一种可能的实现方式中,所述将支付设备的支付凭证发送给收银设备包括:通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one possible implementation manner, the sending the payment voucher of the payment device to the cash register device includes: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method.
上述支付结果的获取方法中,将支付设备的支付凭证发送给收银设备,并开启上 述支付设备的蓝牙广播扫描,在扫描到上述收银设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符,则建立与上述收银设备的蓝牙连接,然后接收上述收银设备通过蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the method for obtaining the payment result, the payment certificate of the payment device is sent to the cash register device, and the Bluetooth broadcast scan of the payment device is turned on. After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes the payment certificate And the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, then a Bluetooth connection with the cash register device is established, and then the payment result of this payment sent by the cash register device through the Bluetooth connection is received and displayed For users who use the above payment device, the payment device can obtain the transaction result during offline payment and improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly find out through the payment result and improve security.
第二方面,本说明书实施例提供一种支付结果的获取方法,包括:收银设备接收支付设备发送的所述支付设备的支付凭证;进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;在所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述支付设备的蓝牙连接;将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In a second aspect, the embodiments of this specification provide a method for obtaining payment results, including: the cash register device receives the payment certificate of the payment device sent by the payment device; and performs a Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the The payment voucher of the payment device; after the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher stored by the payment device itself, it is established with the The Bluetooth connection of the payment device; the payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device , Obtained from the server after completing this payment.
其中一种可能的实现方式中,所述蓝牙广播信号中的支付凭证包括所述支付设备发送的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备发送的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device; or, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device. Payment voucher after deformation.
其中一种可能的实现方式中,所述将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备包括:通过所述蓝牙连接,对所述支付设备进行身份认证;在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。In one possible implementation manner, the sending the payment result of the current payment to the payment device through the Bluetooth connection includes: performing identity authentication on the payment device through the Bluetooth connection; After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
上述支付结果的获取方法中,收银设备接收支付设备发送的上述支付设备的支付凭证之后,进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。在上述支付设备扫描到上述收银设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符之后,收银设备建立与上述支付设备的蓝牙连接,然后将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the method for obtaining the payment result, the cash register device performs Bluetooth broadcasting after receiving the payment voucher of the payment device sent by the payment device, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device. After the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, the cash register device establishes a Bluetooth connection with the payment device, and then transfers the payment certificate to the payment device. The payment result of the second payment is sent to the payment device through the Bluetooth connection, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
第三方面,本说明书实施例提供一种支付结果的获取方法,包括:支付设备将所述支付设备的支付凭证发送给收银设备,并开启所述支付设备的蓝牙广播扫描;所述收银设备接收所述支付设备的支付凭证,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号 中包括所述支付设备的支付凭证;所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述收银设备的蓝牙连接;所述收银设备将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;所述支付设备接收所述本次支付的支付结果,并展示给使用所述支付设备的用户。In a third aspect, the embodiment of this specification provides a method for obtaining payment results, including: a payment device sends the payment certificate of the payment device to a cash register device, and starts Bluetooth broadcast scanning of the payment device; the cash register device receives The payment voucher of the payment device and perform Bluetooth broadcast, the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device; the payment device scans the Bluetooth broadcast signal of the cash register device, and determines the After the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, a Bluetooth connection with the cash register device is established; the cash register device sends the payment result of this payment to the cash register via the Bluetooth connection A payment device, the payment result of the current payment is that the cash register device interacts with the server using the payment voucher of the payment device, and obtains it from the server after completing the payment; the payment device receives the current payment The payment result of the payment is displayed to the user who uses the payment device.
第四方面,本说明书实施例提供一种支付结果的获取方法,包括:将支付设备的支付凭证发送给收银设备,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;在所述收银设备扫描到所述支付设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符之后,建立与所述收银设备的蓝牙连接;接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,并展示给使用所述支付设备的用户,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In a fourth aspect, the embodiments of this specification provide a method for obtaining payment results, including: sending the payment certificate of the payment device to the cash register device and performing Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment device's Payment certificate; after the cash register device scans the Bluetooth broadcast signal of the payment device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, establish a connection with the cash register device Bluetooth connection; receiving the payment result of this payment sent by the cash register device through the Bluetooth connection, and showing it to the user who uses the payment device, the payment result of the current payment is that the cash register device uses the payment The payment voucher of the device interacts with the server, and is obtained from the server after the payment is completed.
其中一种可能的实现方式中,所述将支付设备的支付凭证发送给收银设备包括:通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one possible implementation manner, the sending the payment voucher of the payment device to the cash register device includes: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method.
其中一种可能的实现方式中,所述蓝牙广播信号中的支付凭证包括所述支付设备自身的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备自身的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself; or, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself. Payment voucher after deformation.
上述支付结果的获取方法中,支付设备将支付设备的支付凭证发送给收银设备,并进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证,在上述收银设备扫描到上述支付设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符之后,建立与上述收银设备的蓝牙连接,然后接收上述收银设备通过上述蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the above method for obtaining payment results, the payment device sends the payment voucher of the payment device to the cash register device and performs Bluetooth broadcasting. The Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device, and the payment device is scanned by the cash register device. Bluetooth broadcast signal of the device, and after confirming that the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, establish a Bluetooth connection with the cash register device, and then receive this time sent by the cash register device through the Bluetooth connection The payment result of the payment is displayed to the user who uses the above payment device, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
第五方面,本说明书实施例提供一种支付结果的获取方法,包括:收银设备接收支付设备发送的所述支付设备的支付凭证,并开启所述收银设备的蓝牙广播扫描;在扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备, 所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In a fifth aspect, the embodiments of the present specification provide a method for obtaining payment results, including: a cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device; After the Bluetooth broadcast signal of the payment device is paid, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, the Bluetooth broadcast signal with the payment device is established. Connection; the payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server to complete this time Obtained from the server after payment.
其中一种可能的实现方式中,所述将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备包括:通过所述蓝牙连接,对所述支付设备进行身份认证;在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。In one possible implementation manner, the sending the payment result of the current payment to the payment device through the Bluetooth connection includes: performing identity authentication on the payment device through the Bluetooth connection; After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
上述支付结果的获取方法中,收银设备接收支付设备发送的上述支付设备的支付凭证,并开启上述收银设备的蓝牙广播扫描,在扫描到上述支付设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符,则建立与上述支付设备的蓝牙连接,然后将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the above method for obtaining payment results, the cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device. After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal is Including the payment voucher, and the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established, and then the payment result of this payment is sent to the payment via the Bluetooth connection In this way, the payment device can obtain the transaction result during offline payment, which improves the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly discover through the payment result to improve security.
第六方面,本说明书实施例提供一种支付结果的获取方法,包括:支付设备将所述支付设备的支付凭证发送给收银设备,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;所述收银设备接收所述支付设备的支付凭证,并开启所述收银设备的蓝牙广播扫描;所述收银设备在扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;所述收银设备将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;所述支付设备接收所述本次支付的支付结果,并展示给使用所述支付设备的用户。In a sixth aspect, the embodiments of this specification provide a method for obtaining payment results, including: the payment device sends the payment voucher of the payment device to the cash register device, and performs Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes all The payment certificate of the payment device; the cash register device receives the payment certificate of the payment device and starts the Bluetooth broadcast scan of the cash register device; after the cash register device scans the Bluetooth broadcast signal of the payment device, if If the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established; the cash register device will make this payment The payment result of the payment device is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server. Obtained; the payment device receives the payment result of the current payment and displays it to the user who uses the payment device.
第七方面,本说明书实施例提供一种支付结果的获取装置,包括:发送模块,用于将支付设备的支付凭证发送给收银设备;扫描模块,用于开启所述支付设备的蓝牙广播扫描;建立模块,用于在所述扫描模块扫描到所述收银设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符,则建立与所述收银设备的蓝牙连接;接收模块,用于接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后 从所述服务器获取的;展示模块,用于将所述接收模块接收的支付结果展示给使用所述支付设备的用户。In a seventh aspect, an embodiment of the present specification provides an apparatus for obtaining payment results, including: a sending module, configured to send a payment certificate of a payment device to a cash register device; and a scanning module, configured to enable Bluetooth broadcast scanning of the payment device; The establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal is saved with the payment device itself If the payment voucher matches, the Bluetooth connection with the cash register device is established; the receiving module is used to receive the payment result of the current payment sent by the cash register device through the Bluetooth connection, and the payment result of the current payment is all The cash register device uses the payment voucher of the payment device to interact with the server, and obtains it from the server after the payment is completed; the display module is used to display the payment result received by the receiving module to the user who uses the payment device user.
其中一种可能的实现方式中,所述发送模块,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one of the possible implementation manners, the sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
第八方面,本说明书实施例提供一种支付结果的获取装置,设置在收银设备中,所述装置包括:接收模块,用于接收支付设备发送的所述支付设备的支付凭证;广播模块,用于进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;建立模块,用于在所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述支付设备的蓝牙连接;发送模块,用于将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In an eighth aspect, an embodiment of this specification provides an apparatus for obtaining payment results, which is set in a cash register device, and the apparatus includes: a receiving module for receiving the payment voucher of the payment device sent by the payment device; and a broadcasting module for using When performing Bluetooth broadcasting, the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment certificate of the payment device; the establishment module is used to scan the Bluetooth broadcasting signal of the cash register device on the payment device and determine the Bluetooth broadcasting After the payment voucher in the signal matches the payment voucher saved by the payment device itself, a Bluetooth connection with the payment device is established; a sending module is used to send the payment result of this payment to the payment via the Bluetooth connection Device, the payment result of the current payment is obtained by the cash register device using the payment voucher of the payment device to interact with the server, and obtained from the server after completing the payment.
其中一种可能的实现方式中,所述蓝牙广播信号中的支付凭证包括所述支付设备发送的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备发送的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device; or, the payment credential in the Bluetooth broadcast signal includes a payment credential sent by the payment device. Payment voucher after deformation.
其中一种可能的实现方式中,所述发送模块包括:认证子模块,用于通过所述蓝牙连接,对所述支付设备进行身份认证;结果发送子模块,用于在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。In one possible implementation manner, the sending module includes: an authentication sub-module, which is used to authenticate the payment device through the Bluetooth connection; and the result sending sub-module, which is used to verify the identity of the payment device when the payment device passes After the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
第九方面,本说明书实施例提供一种支付结果的获取装置,包括:发送模块,用于将支付设备的支付凭证发送给收银设备;广播模块,用于进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;建立模块,用于在所述收银设备扫描到所述支付设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符之后,建立与所述收银设备的蓝牙连接;接收模块,用于接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;展示模块,用于将所述接收模块接收的支付结果展示给使用所述支付设备的用户。In a ninth aspect, an embodiment of this specification provides an apparatus for obtaining payment results, including: a sending module, used to send the payment voucher of the payment device to the cash register device; a broadcasting module, used to perform Bluetooth broadcasting, the Bluetooth of the Bluetooth broadcasting The broadcast signal includes the payment voucher of the payment device; the establishment module is used to scan the Bluetooth broadcast signal of the payment device on the cash register device, and determine that the payment voucher in the Bluetooth broadcast signal and the cash register device are working After the used payment vouchers match, a Bluetooth connection with the cash register device is established; the receiving module is used to receive the payment result of the current payment sent by the cash register device through the Bluetooth connection, and the payment result of the current payment is The cash register device uses the payment certificate of the payment device to interact with the server, and obtains it from the server after the payment is completed; the display module is used to display the payment result received by the receiving module to the payment device User.
其中一种可能的实现方式中,所述发送模块,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one of the possible implementation manners, the sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
其中一种可能的实现方式中,所述蓝牙广播信号中的支付凭证包括所述支付设备自身的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备自身的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself; or, the payment certificate in the Bluetooth broadcast signal includes the payment certificate of the payment device itself. Payment voucher after deformation.
第十方面,本说明书实施例提供一种支付结果的获取装置,设置在收银设备中,所述装置包括:接收模块,用于接收支付设备发送的所述支付设备的支付凭证;扫描模块,用于开启所述收银设备的蓝牙广播扫描;建立模块,用于在所述扫描模块扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;发送模块,用于将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。In a tenth aspect, an embodiment of this specification provides an apparatus for obtaining payment results, which is set in a cash register device. The apparatus includes: a receiving module for receiving the payment voucher of the payment device sent by the payment device; and a scanning module for using The Bluetooth broadcast scan of the cash register device is turned on; the establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the Bluetooth broadcast signal If the payment voucher in the checkout device matches the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established; a sending module is used to send the payment result of this payment to the payment device through the Bluetooth connection The payment result of the current payment is that the cash register device interacts with the server using the payment voucher of the payment device, and is obtained from the server after the payment is completed.
其中一种可能的实现方式中,所述发送模块包括:认证子模块,用于通过所述蓝牙连接,对所述支付设备进行身份认证;结果发送子模块,用于在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。In one possible implementation manner, the sending module includes: an authentication sub-module, which is used to authenticate the payment device through the Bluetooth connection; and the result sending sub-module, which is used to verify the identity of the payment device when the payment device passes After the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
第十一方面,本说明书实施例提供一种支付设备,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中:所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行第一方面所述的方法。In an eleventh aspect, an embodiment of the present specification provides a payment device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the Program instructions, the processor can invoke the program instructions to execute the method described in the first aspect.
第十二方面,本说明书实施例提供一种收银设备,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中:所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行第二方面所述的方法。In a twelfth aspect, an embodiment of the present specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the memory that can be executed by the processor Program instructions, the processor can execute the method described in the second aspect by invoking the program instructions.
第十三方面,本说明书实施例提供一种支付设备,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中:所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行第四方面所述的方法。In a thirteenth aspect, an embodiment of this specification provides a payment device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the Program instructions, the processor can invoke the program instructions to execute the method described in the fourth aspect.
第十四方面,本说明书实施例提供一种收银设备,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中:所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行第五方面所述的方法。In a fourteenth aspect, an embodiment of the present specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores the memory that can be executed by the processor Program instructions, the processor can invoke the program instructions to execute the method described in the fifth aspect.
第十五方面,本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行第一方面所述的方法。In a fifteenth aspect, embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the first aspect method.
第十六方面,本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行第二方面所述的方法。In a sixteenth aspect, embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the second aspect method.
第十七方面,本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行第四方面所述的方法。In the seventeenth aspect, the embodiments of this specification provide a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the fourth aspect method.
第十八方面,本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行第五方面所述的方法。In an eighteenth aspect, embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the computer-readable storage medium described in the fifth aspect method.
应当理解的是,本说明书的第七和第十一方面与本说明书的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述;It should be understood that the seventh and eleventh aspects of this specification are consistent with the technical solutions of the first aspect of this specification, and the beneficial effects achieved by all aspects and corresponding feasible implementations are similar, and will not be repeated;
本说明书的第八和第十二方面与本说明书的第二方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述;The eighth and twelfth aspects of this specification are consistent with the technical solutions of the second aspect of this specification, and the beneficial effects achieved by all aspects and corresponding feasible implementations are similar, and will not be repeated;
本说明书的第九和第十三方面与本说明书的第四方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述;The ninth and thirteenth aspects of this specification are consistent with the technical solutions of the fourth aspect of this specification, and the beneficial effects achieved by all aspects and corresponding feasible implementations are similar, and will not be repeated;
本说明书的第十和第十四方面与本说明书的第五方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。The tenth and fourteenth aspects of this specification are consistent with the technical solutions of the fifth aspect of this specification, and the beneficial effects achieved by each aspect and the corresponding feasible implementation manners are similar, and will not be repeated.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of this specification more clearly, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the specification. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1为本说明书支付结果的获取方法一个实施例的流程图;Figure 1 is a flowchart of an embodiment of the method for obtaining payment results in this specification;
图2为本说明书支付结果的获取方法另一个实施例的流程图;Figure 2 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图3为本说明书支付结果的获取方法再一个实施例的流程图;Figure 3 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图4为本说明书支付结果的获取方法再一个实施例的流程图;Figure 4 is a flowchart of another embodiment of the method for obtaining payment results in this manual;
图5为本说明书支付结果的获取方法再一个实施例的流程图;FIG. 5 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图6为本说明书支付结果的获取方法再一个实施例的流程图;FIG. 6 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图7为本说明书支付结果的获取方法再一个实施例的流程图;FIG. 7 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图8为本说明书支付结果的获取方法再一个实施例的流程图;FIG. 8 is a flowchart of another embodiment of the method for obtaining payment results in this specification;
图9为本说明书支付结果的获取装置一个实施例的结构示意图;FIG. 9 is a schematic structural diagram of an embodiment of an apparatus for obtaining payment results in this specification;
图10为本说明书支付结果的获取装置另一个实施例的结构示意图;FIG. 10 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification;
图11为本说明书支付结果的获取装置再一个实施例的结构示意图;FIG. 11 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification;
图12为本说明书支付结果的获取装置再一个实施例的结构示意图;FIG. 12 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification;
图13为本说明书支付结果的获取装置再一个实施例的结构示意图;FIG. 13 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification;
图14为本说明书支付结果的获取装置再一个实施例的结构示意图;FIG. 14 is a schematic structural diagram of another embodiment of the device for obtaining payment results in this specification;
图15为本说明书支付设备一个实施例的结构示意图。Figure 15 is a schematic structural diagram of an embodiment of a payment device in this specification.
具体实施方式Detailed ways
为了更好的理解本说明书的技术方案,下面结合附图对本说明书实施例进行详细描述。In order to better understand the technical solutions of this specification, the following describes the embodiments of this specification in detail with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本说明书保护的范围。It should be clear that the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this specification.
在本说明书实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本说明书实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit the specification. The singular forms of "a", "said" and "the" used in the embodiments of the specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
现有相关技术中,对于支付设备来说,如果上述支付设备不具有联网功能,例如:手环,那么上述支付设备在支付时是离线的,支付结果无法触达上述支付设备,使用上述支付设备的用户无法感知结果,只能通过收款商户确认结果,体验较差。同时被盗刷或支付金额错误时用户不容易发现,安全性较差;而如果上述支付设备具有联网功能,例如:4G手表,这时上述支付设备中需要配备网络模块,例如:2G、3G或4G等移动网络模块,或者无线保真(Wireless Widelity;以下简称:WiFi)模块等通信模块,成本较高。同时网络模块的功耗也比较高,大大提高支付设备的耗电量。In the related art of the prior art, for payment devices, if the payment device does not have a network function, such as a bracelet, then the payment device is offline during payment, and the payment result cannot reach the payment device, so use the payment device Users of users cannot perceive the result, and can only confirm the result through the receiving merchant, which has a poor experience. At the same time, it is not easy for users to find out if the payment amount is stolen or the payment amount is wrong, and the security is poor; and if the above payment device has a network function, such as a 4G watch, then the above payment device needs to be equipped with a network module, such as: 2G, 3G or Mobile network modules such as 4G, or communication modules such as wireless fidelity (Wireless Widelity; hereinafter referred to as WiFi) modules, have high costs. At the same time, the power consumption of the network module is relatively high, which greatly increases the power consumption of the payment device.
本说明书实施例提供一种支付结果的获取方法,可以完成离线支付时支付设备对交易结果的获取。The embodiment of this specification provides a method for obtaining payment results, which can complete the obtaining of the transaction results by the payment device during offline payment.
图1为本说明书支付结果的获取方法一个实施例的流程图,如图1所示,上述支付结果的获取方法可以包括步骤102-步骤106。FIG. 1 is a flowchart of an embodiment of a method for obtaining payment results in this specification. As shown in FIG. 1, the method for obtaining payment results may include steps 102 to 106.
步骤102,将支付设备的支付凭证发送给收银设备,并开启上述支付设备的蓝牙广播扫描。Step 102: Send the payment certificate of the payment device to the cash register device, and start the Bluetooth broadcast scan of the payment device.
具体地,将支付设备的支付凭证发送给收银设备可以为:通过近距离传输方式将支付设备的支付凭证发送给收银设备;其中,上述近距离传输方式可以包括:二维码、蓝牙、近场通信(Near Field Communication;以下简称:NFC)或射频识别(Radio Frequency Identification;以下简称:RFID)等各种近距离数据传输手段。Specifically, sending the payment voucher of the payment device to the cash register device may be: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method; wherein, the above-mentioned short-distance transmission method may include: QR code, Bluetooth, near field Communication (Near Field Communication; hereinafter referred to as NFC) or Radio Frequency Identification (hereinafter referred to as: RFID) and other short-range data transmission methods.
需要说明的是,在步骤102之前,支付设备需要进行激活操作,上述激活操作的过程可以包括:首先,支付设备检测到针对上述支付设备中安装的支付应用的操作信息之后,展示上述支付应用的绑定二维码;然后,智能手机等认证设备通过上述智能手机上安装的相同的支付应用扫描上述绑定二维码,与上述支付设备完成绑定,然后上述智能手机将使用上述智能手机的用户的支付凭证传送到上述支付设备,支付设备保存上述支付凭证后,就可以使用上述支付凭证进行离线支付。It should be noted that before step 102, the payment device needs to perform an activation operation. The above activation operation process may include: first, after the payment device detects the operation information for the payment application installed in the payment device, it displays the information of the payment application. Bind the QR code; then, the smart phone and other authentication devices scan the above-mentioned bound QR code through the same payment application installed on the above-mentioned smart phone to complete the binding with the above-mentioned payment device, and then the above-mentioned smart phone will use the above-mentioned smart phone’s The user's payment voucher is transmitted to the payment device, and after the payment device saves the payment voucher, the payment voucher can be used for offline payment.
其中,上述支付应用为具有支付功能的应用,上述认证设备为已通过上述支付应用对应的服务器的身份认证的设备。Wherein, the payment application is an application with a payment function, and the authentication device is a device that has passed the identity authentication of the server corresponding to the payment application.
步骤104,在扫描到上述收银设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符,则建立与上述收银设备的蓝牙连接。Step 104: After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, establish a connection with the cash register Bluetooth connection of the device.
具体地,支付凭证中包括使用上述支付设备的用户的身份信息,因此在扫描到上述收银设备的蓝牙广播信号之后,支付设备可以检测获得上述蓝牙广播信号中的支付凭证所包括的身份信息,与上述支付设备自身保存的支付凭证所包括的身份信息进行对比,如果一致,则可以确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符。Specifically, the payment voucher includes the identity information of the user who uses the aforementioned payment device. Therefore, after scanning the Bluetooth broadcast signal of the aforementioned cash register device, the payment device can detect and obtain the identity information included in the payment voucher in the aforementioned Bluetooth broadcast signal, and The identity information contained in the payment vouchers stored by the payment device itself is compared, and if they are consistent, it can be determined that the payment vouchers in the Bluetooth broadcast signal are consistent with the payment vouchers stored by the payment device itself.
步骤106,接收上述收银设备通过蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 106: Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and display it to the user who uses the payment device. The payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device. , Obtained from the above server after completing this payment.
上述支付结果的获取方法中,将支付设备的支付凭证发送给收银设备,并开启上述支付设备的蓝牙广播扫描,在扫描到上述收银设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符,则建立与上述收银设备的蓝牙连接,然后接收上述收银设备通过蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the method for obtaining the payment result, the payment certificate of the payment device is sent to the cash register device, and the Bluetooth broadcast scan of the payment device is turned on. After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes the payment certificate And the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself, then a Bluetooth connection with the cash register device is established, and then the payment result of this payment sent by the cash register device through the Bluetooth connection is received and displayed For users who use the above payment device, the payment device can obtain the transaction result during offline payment and improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly find out through the payment result and improve security.
图2为本说明书支付结果的获取方法另一个实施例的流程图,如图2所示,上述支付结果的获取方法可以包括步骤202-步骤208。FIG. 2 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 2, the method for obtaining payment results described above may include step 202 to step 208.
步骤202,收银设备接收支付设备发送的上述支付设备的支付凭证。Step 202: The cash register device receives the payment certificate of the above payment device sent by the payment device.
步骤204,进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。Step 204: Perform Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment certificate of the payment device.
具体地,上述蓝牙广播信号中的支付凭证可以包括上述支付设备发送的支付凭证;或者,上述蓝牙广播信号中的支付凭证包括对上述支付设备发送的支付凭证进行变形之后的支付凭证。Specifically, the payment voucher in the Bluetooth broadcast signal may include the payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal may include a payment voucher obtained by transforming the payment voucher sent by the payment device.
也就是说,收银设备可以直接将上述支付设备发送的支付凭证通过蓝牙广播信号广播出去,也可以对上述支付设备发送的支付凭证进行变形之后再通过蓝牙广播信号广播出去,其中,对支付凭证进行变形的方式可以包括以下之一或组合:截取部分支付凭证、加密支付凭证、使用支付凭证的散列值和拼接预定数据到支付凭证。That is to say, the cash register device can directly broadcast the payment voucher sent by the payment device through the Bluetooth broadcast signal, or it can transform the payment voucher sent by the payment device and then broadcast it through the Bluetooth broadcast signal. The deformation method may include one or a combination of the following: intercepting part of the payment certificate, encrypting the payment certificate, using the hash value of the payment certificate, and splicing predetermined data into the payment certificate.
步骤206,在上述支付设备扫描到上述收银设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符之后,建立与上述支付设备的蓝牙连接。Step 206: After the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establish a Bluetooth connection with the payment device.
步骤208,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 208: Send the payment result of this payment to the payment device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Acquired.
应当可以理解,收银设备在接收到支付设备的支付凭证之后,即可使用上述支付设备的支付凭证与服务器进行交互,完成本次支付。收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付的过程可以与步骤204~步骤206并行执行,也可以先后执行,本实施例对此不作限定。It should be understood that after receiving the payment voucher of the payment device, the cash register device can use the payment voucher of the payment device to interact with the server to complete this payment. The cash register device uses the payment certificate of the payment device to interact with the server. The process of completing this payment can be executed in parallel with step 204 to step 206, or can be executed sequentially, which is not limited in this embodiment.
上述支付结果的获取方法中,收银设备接收支付设备发送的上述支付设备的支付凭证之后,进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。在上述支付设备扫描到上述收银设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符之后,收银设备建立与上述支付设备的蓝牙连接,然后将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the method for obtaining the payment result, the cash register device performs Bluetooth broadcasting after receiving the payment voucher of the payment device sent by the payment device, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device. After the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, the cash register device establishes a Bluetooth connection with the payment device, and then transfers the payment certificate to the payment device. The payment result of the second payment is sent to the payment device through the Bluetooth connection, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
图3为本说明书支付结果的获取方法再一个实施例的流程图,如图3所示,本说明书图2所示实施例中,步骤208可以包括步骤302-步骤304。FIG. 3 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 3, in the embodiment shown in FIG. 2 of this specification, step 208 may include step 302 to step 304.
步骤302,通过上述蓝牙连接,对上述支付设备进行身份认证。Step 302: Perform identity authentication on the payment device through the Bluetooth connection.
其中,上述身份认证可以采用非对称加密的身份认证方式。在具体实现时,上述支付设备可以将自身的身份信息用公钥进行加密,然后通过上述蓝牙连接将加密后的身份信息发送给收银设备,收银设备接收到上述加密的身份信息之后,上述收银设备可以将上述身份信息发送到服务器,服务器用私钥对上述加密的身份信息进行解密,根据解密获得的身份信息对上述支付设备进行身份认证,然后上述服务器将上述支付设备的身份认证结果发送给上述收银设备,上述收银设备接收上述支付设备的身份认证结果。Among them, the above-mentioned identity authentication may adopt an identity authentication method of asymmetric encryption. In specific implementation, the payment device can encrypt its own identity information with a public key, and then send the encrypted identity information to the cash register device through the Bluetooth connection. After the cash register device receives the encrypted identity information, the cash register device The aforementioned identity information can be sent to the server, and the server decrypts the aforementioned encrypted identity information with a private key, performs identity authentication on the aforementioned payment device based on the identity information obtained by decryption, and then the aforementioned server sends the identity authentication result of the aforementioned payment device to the aforementioned The cash register device, the cash register device receives the identity authentication result of the payment device.
步骤304,在上述支付设备通过上述身份认证之后,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 304: After the payment device passes the identity authentication, the payment result of this payment is sent to the payment device through the Bluetooth connection. The payment result of the payment is that the cashier device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
本实施例中,收银设备在向上述支付设备发送本次支付的支付结果之前,先对支付设备进行身份认证,提高了支付结果发送的安全性。In this embodiment, the cash register device first authenticates the payment device before sending the payment result of this payment to the aforementioned payment device, which improves the security of sending the payment result.
图4为本说明书支付结果的获取方法再一个实施例的流程图,如图4所示,上述支付结果的获取方法可以包括步骤402-步骤410。FIG. 4 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 4, the method for obtaining payment results may include steps 402 to 410.
步骤402,支付设备将上述支付设备的支付凭证发送给收银设备,并开启上述支付设备的蓝牙广播扫描。Step 402: The payment device sends the payment certificate of the payment device to the cash register device, and starts the Bluetooth broadcast scan of the payment device.
步骤404,收银设备接收上述支付设备的支付凭证,并进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。Step 404: The cash register device receives the payment voucher of the payment device and performs Bluetooth broadcasting. The Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
步骤406,支付设备扫描到上述收银设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符之后,建立与上述收银设备的 蓝牙连接。Step 406: The payment device scans the Bluetooth broadcast signal of the cash register device, and after determining that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establishes a Bluetooth connection with the cash register device.
步骤408,收银设备将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 408: The cash register device sends the payment result of this payment to the payment device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Obtained by the above server.
步骤410,支付设备接收本次支付的支付结果,并展示给使用上述支付设备的用户。Step 410: The payment device receives the payment result of this payment, and displays it to the user who uses the aforementioned payment device.
通过上述流程,用户即可在只有蓝牙功能的支付设备上,获取到服务端的支付结果,丰富了支付设备的功能,优化用户的体验,提高了交易安全性。Through the above process, the user can obtain the payment result of the server on the payment device with only Bluetooth function, which enriches the functions of the payment device, optimizes the user experience, and improves transaction security.
图5为本说明书支付结果的获取方法再一个实施例的流程图,如图5所示,上述支付结果的获取方法可以包括步骤502-步骤506。FIG. 5 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 5, the above method for obtaining payment results may include step 502 to step 506.
步骤502,将支付设备的支付凭证发送给收银设备,并进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。Step 502: Send the payment voucher of the payment device to the cash register device and perform Bluetooth broadcast. The Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
具体地,将支付设备的支付凭证发送给收银设备可以为:通过近距离传输方式将支付设备的支付凭证发送给收银设备;其中,上述近距离传输方式可以包括:二维码、蓝牙、NFC或RFID等各种近距离数据传输手段。Specifically, sending the payment voucher of the payment device to the cash register device may be: sending the payment voucher of the payment device to the cash register device through a short-distance transmission method; wherein, the above-mentioned short-distance transmission method may include: QR code, Bluetooth, NFC or Various short-distance data transmission methods such as RFID.
需要说明的是,在步骤502之前,支付设备需要进行激活操作,上述激活操作的过程可以包括:首先,支付设备检测到针对上述支付设备中安装的支付应用的操作信息之后,展示上述支付应用的绑定二维码;然后,智能手机等认证设备通过上述智能手机上安装的相同的支付应用扫描上述绑定二维码,与上述支付设备完成绑定,然后上述智能手机将使用上述智能手机的用户的支付凭证传送到上述支付设备,支付设备保存上述支付凭证后,就可以使用上述支付凭证进行离线支付。It should be noted that before step 502, the payment device needs to perform an activation operation. The above activation operation process may include: First, after the payment device detects the operation information for the payment application installed in the payment device, it displays the information of the payment application. Bind the QR code; then, the smart phone and other authentication devices scan the above-mentioned bound QR code through the same payment application installed on the above-mentioned smart phone to complete the binding with the above-mentioned payment device, and then the above-mentioned smart phone will use the above-mentioned smart phone’s The user's payment voucher is transmitted to the payment device, and after the payment device saves the payment voucher, the payment voucher can be used for offline payment.
其中,上述支付应用为具有支付功能的应用,上述认证设备为已通过上述支付应用对应的服务器的身份认证的设备。Wherein, the payment application is an application with a payment function, and the authentication device is a device that has passed the identity authentication of the server corresponding to the payment application.
具体地,上述蓝牙广播信号中的支付凭证可以包括上述支付设备自身的支付凭证;或者,上述蓝牙广播信号中的支付凭证可以包括对上述支付设备自身的支付凭证进行变形之后的支付凭证。Specifically, the payment voucher in the Bluetooth broadcast signal may include the payment voucher of the payment device itself; or, the payment voucher in the Bluetooth broadcast signal may include a payment voucher obtained by transforming the payment voucher of the payment device itself.
也就是说,支付设备可以直接将上述支付设备自身的支付凭证通过蓝牙广播信号广播出去,也可以对上述支付设备自身的支付凭证进行变形之后再通过蓝牙广播信号广播出去,其中,对支付凭证进行变形的方式可以包括以下之一或组合:截取部分支付凭 证、加密支付凭证、使用支付凭证的散列值和拼接预定数据到支付凭证。In other words, the payment device can directly broadcast the payment voucher of the payment device itself through the Bluetooth broadcast signal, or it can transform the payment voucher of the payment device itself and then broadcast it through the Bluetooth broadcast signal. The deformation method may include one or a combination of the following: intercepting part of the payment certificate, encrypting the payment certificate, using the hash value of the payment certificate, and splicing predetermined data into the payment certificate.
步骤504,在上述收银设备扫描到上述支付设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符之后,建立与上述收银设备的蓝牙连接。Step 504: After the cash register device scans the Bluetooth broadcast signal of the payment device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, establish a Bluetooth connection with the cash register device.
其中,上述收银设备正在使用的支付凭证即为收银设备用来与服务器进行交互,完成本次支付的支付凭证。Among them, the payment certificate being used by the cash register device is the payment certificate used by the cash register device to interact with the server to complete this payment.
步骤506,接收上述收银设备通过上述蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 506: Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and display it to the user who uses the payment device. The payment result of the current payment is that the cash register device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
上述支付结果的获取方法中,支付设备将支付设备的支付凭证发送给收银设备,并进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证,在上述收银设备扫描到上述支付设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符之后,建立与上述收银设备的蓝牙连接,然后接收上述收银设备通过上述蓝牙连接发送的本次支付的支付结果,并展示给使用上述支付设备的用户,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the above method for obtaining payment results, the payment device sends the payment voucher of the payment device to the cash register device and performs Bluetooth broadcasting. The Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device, and the payment device is scanned by the cash register device. Bluetooth broadcast signal of the device, and after confirming that the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, establish a Bluetooth connection with the cash register device, and then receive this time sent by the cash register device through the Bluetooth connection The payment result of the payment is displayed to the user who uses the above payment device, so that the payment device can obtain the transaction result during offline payment, improve the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly use the payment result Discovery and improve safety.
图6为本说明书支付结果的获取方法再一个实施例的流程图,如图6所示,上述支付结果的获取方法可以包括步骤602-步骤606。FIG. 6 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 6, the method for obtaining payment results described above may include step 602 to step 606.
步骤602,收银设备接收支付设备发送的上述支付设备的支付凭证,并开启上述收银设备的蓝牙广播扫描。Step 602: The cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device.
步骤604,在扫描到上述支付设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符,则建立与上述支付设备的蓝牙连接。Step 604: After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, then establish the payment Bluetooth connection of the device.
其中,上述收银设备正在使用的支付凭证即为收银设备用来与服务器进行交互,完成本次支付的支付凭证。Among them, the payment certificate being used by the cash register device is the payment certificate used by the cash register device to interact with the server to complete this payment.
具体地,支付凭证中包括使用上述支付设备的用户的身份信息,因此在扫描到上述支付设备的蓝牙广播信号之后,收银设备可以检测获得上述蓝牙广播信号中的支付凭证所包括的身份信息,与上述收银设备正在使用的支付凭证所包括的身份信息进行对比,如果一致,则可以确定上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付 凭证相符。Specifically, the payment voucher includes the identity information of the user who uses the aforementioned payment device. Therefore, after scanning the Bluetooth broadcast signal of the aforementioned payment device, the cash register device can detect and obtain the identity information included in the payment voucher in the aforementioned Bluetooth broadcast signal, and The identity information included in the payment voucher being used by the cash register device is compared, and if they are consistent, it can be determined that the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device.
步骤606,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 606: The payment result of this payment is sent to the payment device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server. After the payment is completed, the payment result is from the server. Acquired.
应当可以理解,收银设备在接收到支付设备的支付凭证之后,即可使用上述支付设备的支付凭证与服务器进行交互,完成本次支付。收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付的过程可以与步骤604并行执行,也可以先后执行,本实施例对此不作限定。It should be understood that after receiving the payment voucher of the payment device, the cash register device can use the payment voucher of the payment device to interact with the server to complete this payment. The cash register device uses the payment certificate of the above payment device to interact with the server, and the process of completing this payment can be performed in parallel with step 604, or can be performed sequentially, which is not limited in this embodiment.
上述支付结果的获取方法中,收银设备接收支付设备发送的上述支付设备的支付凭证,并开启上述收银设备的蓝牙广播扫描,在扫描到上述支付设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符,则建立与上述支付设备的蓝牙连接,然后将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,从而可以实现离线支付时支付设备对交易结果的获取,提高用户体验,并且在被盗刷或支付金额错误时,用户可以通过支付结果快速发现,提高安全性。In the above method for obtaining payment results, the cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device. After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal is Including the payment voucher, and the payment voucher in the Bluetooth broadcast signal is consistent with the payment voucher being used by the cash register device, a Bluetooth connection with the payment device is established, and then the payment result of this payment is sent to the payment via the Bluetooth connection In this way, the payment device can obtain the transaction result during offline payment, which improves the user experience, and when the payment is stolen or the payment amount is wrong, the user can quickly discover through the payment result to improve security.
图7为本说明书支付结果的获取方法再一个实施例的流程图,如图7所示,本说明书图6所示实施例中,步骤606可以包括步骤702-步骤704。FIG. 7 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 7, in the embodiment shown in FIG. 6 of this specification, step 606 may include step 702 to step 704.
步骤702,通过上述蓝牙连接,对上述支付设备进行身份认证。Step 702: Perform identity authentication on the payment device through the Bluetooth connection.
其中,上述身份认证可以采用非对称加密的身份认证方式。在具体实现时,上述支付设备可以将自身的身份信息用公钥进行加密,然后通过上述蓝牙连接将加密后的身份信息发送给收银设备,收银设备接收到上述加密的身份信息之后,上述收银设备可以将上述身份信息发送到服务器,服务器用私钥对上述加密的身份信息进行解密,根据解密获得的身份信息对上述支付设备进行身份认证,然后上述服务器将上述支付设备的身份认证结果发送给上述收银设备,上述收银设备接收上述支付设备的身份认证结果。Among them, the above-mentioned identity authentication may adopt an identity authentication method of asymmetric encryption. In specific implementation, the payment device can encrypt its own identity information with a public key, and then send the encrypted identity information to the cash register device through the Bluetooth connection. After the cash register device receives the encrypted identity information, the cash register device The aforementioned identity information can be sent to the server, and the server decrypts the aforementioned encrypted identity information with a private key, performs identity authentication on the aforementioned payment device based on the identity information obtained by decryption, and then the aforementioned server sends the identity authentication result of the aforementioned payment device to the aforementioned The cash register device, the cash register device receives the identity authentication result of the payment device.
步骤704,在上述支付设备通过上述身份认证之后,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 704: After the payment device passes the identity authentication, the payment result of this payment is sent to the payment device through the Bluetooth connection. The payment result of the payment is that the cashier device uses the payment voucher of the payment device to perform the payment with the server. Interactive, obtained from the above-mentioned server after completing this payment.
本实施例中,收银设备在向上述支付设备发送本次支付的支付结果之前,先对支付设备进行身份认证,提高了支付结果发送的安全性。In this embodiment, the cash register device first authenticates the payment device before sending the payment result of this payment to the aforementioned payment device, which improves the security of sending the payment result.
图8为本说明书支付结果的获取方法再一个实施例的流程图,如图8所示,上述支付结果的获取方法可以包括步骤802-步骤810。FIG. 8 is a flowchart of another embodiment of the method for obtaining payment results in this specification. As shown in FIG. 8, the method for obtaining payment results may include step 802 to step 810.
步骤802,支付设备将上述支付设备的支付凭证发送给收银设备,并进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。Step 802: The payment device sends the payment voucher of the payment device to the cash register device, and performs Bluetooth broadcasting. The Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device.
步骤804,收银设备接收上述支付设备的支付凭证,并开启上述收银设备的蓝牙广播扫描。In step 804, the cash register device receives the payment certificate of the payment device, and starts the Bluetooth broadcast scan of the cash register device.
步骤806,收银设备在扫描到上述支付设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符,则建立与上述支付设备的蓝牙连接。Step 806: After the cash register device scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, then establish and Bluetooth connection of the aforementioned payment device.
步骤808,收银设备将本次支付的支付结果通过上述蓝牙连接发送给支付设备,本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。Step 808: The cash register device sends the payment result of this payment to the payment device through the Bluetooth connection. The payment result of this payment is that the cash register device uses the payment certificate of the payment device to interact with the server. Acquired.
步骤810,支付设备接收本次支付的支付结果,并展示给使用上述支付设备的用户。In step 810, the payment device receives the payment result of this payment, and displays it to the user who uses the aforementioned payment device.
通过上述流程,用户即可在只有蓝牙功能的支付设备上,获取到服务端的支付结果,丰富了支付设备的功能,优化用户的体验,提高了交易安全性。Through the above process, the user can obtain the payment result of the server on the payment device with only Bluetooth function, which enriches the functions of the payment device, optimizes the user experience, and improves transaction security.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
图9为本说明书支付结果的获取装置一个实施例的结构示意图,本实施例中的支付结果的获取装置可以作为支付设备,或支付设备的一部分实现本说明书图1所示实施例提供的支付结果的获取方法。如图9所示,上述支付结果的获取装置可以包括:发送模块91、扫描模块92、建立模块93、接收模块94和展示模块95。Fig. 9 is a schematic structural diagram of an embodiment of an apparatus for obtaining payment results in this specification. The apparatus for obtaining payment results in this embodiment can be used as a payment device, or a part of a payment device, to realize the payment results provided by the embodiment shown in Fig. 1 of this specification Method of obtaining. As shown in FIG. 9, the foregoing means for obtaining payment results may include: a sending module 91, a scanning module 92, an establishment module 93, a receiving module 94, and a display module 95.
发送模块91,用于将支付设备的支付凭证发送给收银设备。The sending module 91 is used to send the payment voucher of the payment device to the cash register device.
扫描模块92,用于开启上述支付设备的蓝牙广播扫描。The scanning module 92 is used to start the Bluetooth broadcast scanning of the aforementioned payment device.
建立模块93,用于在扫描模块92扫描到上述收银设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述支付设 备自身保存的支付凭证相符,则建立与上述收银设备的蓝牙连接。The establishment module 93 is configured to, after the scanning module 92 scans the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself , The Bluetooth connection with the above cash register device is established.
接收模块94,用于接收上述收银设备通过上述蓝牙连接发送的本次支付的支付结果,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。The receiving module 94 is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
展示模块95,用于将接收模块94接收的支付结果展示给使用上述支付设备的用户。The display module 95 is used to display the payment result received by the receiving module 94 to the user who uses the aforementioned payment device.
其中一种可能的实现方式中,发送模块91,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one of the possible implementation manners, the sending module 91 is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
图9所示实施例提供的支付结果的获取装置可用于执行本申请图1所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The apparatus for obtaining payment results provided by the embodiment shown in FIG. 9 can be used to implement the technical solution of the method embodiment shown in FIG. 1 of the present application. For its implementation principles and technical effects, further reference may be made to the relevant description in the method embodiment.
图10为本说明书支付结果的获取装置另一个实施例的结构示意图。上述支付结果的获取装置可以设置在收银设备中,如图10所示,上述支付结果的获取装置可以包括:接收模块1001、广播模块1002、建立模块1003和发送模块1004。Fig. 10 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification. The foregoing means for obtaining payment results may be set in a cash register device. As shown in FIG. 10, the foregoing means for obtaining payment results may include: a receiving module 1001, a broadcasting module 1002, a establishing module 1003, and a sending module 1004.
其中,接收模块1001,用于接收支付设备发送的上述支付设备的支付凭证。Wherein, the receiving module 1001 is configured to receive the payment voucher of the aforementioned payment device sent by the payment device.
广播模块1002,用于进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。The broadcasting module 1002 is used to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the above-mentioned Bluetooth broadcasting includes the payment certificate of the above-mentioned payment device.
建立模块1003,用于在上述支付设备扫描到上述收银设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述支付设备自身保存的支付凭证相符之后,建立与上述支付设备的蓝牙连接。The establishment module 1003 is used to establish a Bluetooth connection with the payment device after the payment device scans the Bluetooth broadcast signal of the cash register device and determines that the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself .
发送模块1004,用于将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。The sending module 1004 is configured to send the payment result of this payment to the payment device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
其中一种可能的实现方式中,上述蓝牙广播信号中的支付凭证包括上述支付设备发送的支付凭证;或者,上述蓝牙广播信号中的支付凭证包括对上述支付设备发送的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment voucher in the Bluetooth broadcast signal includes the payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal includes the payment after the payment voucher sent by the payment device is transformed. certificate.
图10所示实施例提供的支付结果的获取装置可用于执行本申请图2所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The apparatus for obtaining payment results provided by the embodiment shown in FIG. 10 can be used to implement the technical solution of the method embodiment shown in FIG. 2 of the present application. For its implementation principles and technical effects, further reference may be made to the relevant description in the method embodiment.
图11为本说明书支付结果的获取装置再一个实施例的结构示意图,与图10所示的支付结果的获取装置相比,不同之处在于,发送模块1004可以包括:认证子模块10041 和结果发送子模块10042。FIG. 11 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification. Compared with the payment result obtaining device shown in FIG. 10, the difference is that the sending module 1004 may include: an authentication submodule 10041 and result sending Submodule 10042.
认证子模块10041,用于通过上述蓝牙连接,对上述支付设备进行身份认证。The authentication sub-module 10041 is used to perform identity authentication on the payment device through the Bluetooth connection.
结果发送子模块10042,用于在上述支付设备通过上述身份认证之后,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备。The result sending sub-module 10042 is configured to send the payment result of this payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
图11所示实施例提供的支付结果的获取装置可用于执行本申请图2和图3所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The payment result obtaining device provided by the embodiment shown in FIG. 11 can be used to implement the technical solutions of the method embodiments shown in FIG. 2 and FIG. 3 of this application, and the implementation principles and technical effects can be further referred to related descriptions in the method embodiments.
图12为本说明书支付结果的获取装置再一个实施例的结构示意图,如图12所示,上述支付结果的获取装置可以包括:发送模块1201、广播模块1202、建立模块1203、接收模块1204和展示模块1205。Figure 12 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification. As shown in Figure 12, the above payment result obtaining device may include: a sending module 1201, a broadcasting module 1202, a establishing module 1203, a receiving module 1204, and a display Module 1205.
其中,发送模块1201,用于将支付设备的支付凭证发送给收银设备。Among them, the sending module 1201 is used to send the payment voucher of the payment device to the cash register device.
广播模块1202,用于进行蓝牙广播,上述蓝牙广播的蓝牙广播信号中包括上述支付设备的支付凭证。The broadcasting module 1202 is used to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the above-mentioned Bluetooth broadcasting includes the payment certificate of the above-mentioned payment device.
建立模块1203,用于在上述收银设备扫描到上述支付设备的蓝牙广播信号,并确定上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符之后,建立与上述收银设备的蓝牙连接。The establishment module 1203 is configured to establish a Bluetooth connection with the cash register device after the cash register device scans the Bluetooth broadcast signal of the payment device and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device .
接收模块1204,用于接收上述收银设备通过上述蓝牙连接发送的本次支付的支付结果,上述本次支付的支付结果是收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。The receiving module 1204 is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection. The payment result of the payment is that the cash register device uses the payment certificate of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
展示模块1205,用于将接收模块1204接收的支付结果展示给使用上述支付设备的用户。The display module 1205 is used to display the payment result received by the receiving module 1204 to the user who uses the aforementioned payment device.
其中一种可能的实现方式中,发送模块1201,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设备。In one of the possible implementation manners, the sending module 1201 is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
其中一种可能的实现方式中,上述蓝牙广播信号中的支付凭证包括上述支付设备自身的支付凭证;或者,上述蓝牙广播信号中的支付凭证包括对上述支付设备自身的支付凭证进行变形之后的支付凭证。In one possible implementation manner, the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device itself; or, the payment voucher in the Bluetooth broadcast signal includes the payment after the payment voucher of the payment device itself is transformed. certificate.
图12所示实施例提供的支付结果的获取装置可以作为支付设备,或者支付设备的一部分,实现本申请图5所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The apparatus for obtaining payment results provided by the embodiment shown in FIG. 12 can be used as a payment device, or a part of a payment device, to implement the technical solution of the method embodiment shown in FIG. 5 of this application. For its implementation principles and technical effects, please refer to the method embodiment. Related description in.
图13为本说明书支付结果的获取装置再一个实施例的结构示意图,上述支付结果的获取装置设置在收银设备中,如图13所示,上述装置可以包括:接收模块1301、扫描模块1302、建立模块1303和发送模块1304。FIG. 13 is a schematic structural diagram of another embodiment of an apparatus for obtaining payment results in this specification. The apparatus for obtaining payment results is set in a cash register device. As shown in FIG. 13, the apparatus may include: a receiving module 1301, a scanning module 1302, and an establishment Module 1303 and sending module 1304.
其中,接收模块1301,用于接收支付设备发送的上述支付设备的支付凭证。Wherein, the receiving module 1301 is configured to receive the payment certificate of the aforementioned payment device sent by the payment device.
扫描模块1302,用于开启上述收银设备的蓝牙广播扫描。The scanning module 1302 is used to start the Bluetooth broadcast scanning of the above-mentioned cash register device.
建立模块1303,用于在扫描模块1302扫描到上述支付设备的蓝牙广播信号之后,如果上述蓝牙广播信号中包括支付凭证,并且上述蓝牙广播信号中的支付凭证与上述收银设备正在使用的支付凭证相符,则建立与上述支付设备的蓝牙连接。The establishment module 1303 is configured to, after the scanning module 1302 scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device , Then establish a Bluetooth connection with the aforementioned payment device.
发送模块1304,用于将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备,本次支付的支付结果是上述收银设备使用上述支付设备的支付凭证与服务器进行交互,完成本次支付之后从上述服务器获取的。The sending module 1304 is used to send the payment result of this payment to the payment device through the Bluetooth connection. The payment result of this payment is that the cash register device uses the payment voucher of the payment device to interact with the server, and after the payment is completed Obtained from the above server.
图13所示实施例提供的支付结果的获取装置可以作为收银设备,或者收银设备的一部分,实现本申请图6所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The apparatus for obtaining payment results provided by the embodiment shown in FIG. 13 can be used as a cash register device, or a part of a cash register device, to implement the technical solution of the method embodiment shown in FIG. 6 of this application. For its implementation principles and technical effects, please refer to the method embodiment. Related description in.
图14为本说明书支付结果的获取装置再一个实施例的结构示意图,与图13所示的支付结果的获取装置相比,不同之处在于,图14所示的支付结果的获取装置中,发送模块1304可以包括:认证子模块13041和结果发送子模块13042。Figure 14 is a schematic structural diagram of another embodiment of the payment result obtaining device in this specification. Compared with the payment result obtaining device shown in Fig. 13, the difference is that the payment result obtaining device shown in Fig. 14 sends The module 1304 may include: an authentication sub-module 13041 and a result sending sub-module 13042.
认证子模块13041,用于通过上述蓝牙连接,对上述支付设备进行身份认证。The authentication sub-module 13041 is used to perform identity authentication on the payment device through the Bluetooth connection.
结果发送子模块13042,用于在上述支付设备通过上述身份认证之后,将本次支付的支付结果通过上述蓝牙连接发送给上述支付设备。The result sending submodule 13042 is configured to send the payment result of this payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
图14所示实施例提供的支付结果的获取装置可以作为收银设备,或者收银设备的一部分,实现本申请图6和图7所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The apparatus for obtaining payment results provided by the embodiment shown in FIG. 14 can be used as a cash register device, or a part of a cash register device, to implement the technical solutions of the method embodiments shown in FIGS. 6 and 7 of this application. The implementation principles and technical effects can be further referred to Relevant description in the method embodiment.
图15为本说明书支付设备一个实施例的结构示意图,如图15所示,上述支付设备可以包括至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被处理器执行的程序指令,上述处理器调用上述程序指令能够执行本说明书图1所示实施例提供的支付结果的获取方法。Figure 15 is a schematic structural diagram of an embodiment of a payment device in this specification. As shown in Figure 15, the above payment device may include at least one processor; and at least one memory communicatively connected with the above processor, wherein: The program instructions executed by the processor, the above-mentioned processor can invoke the above-mentioned program instructions to execute the method for obtaining payment results provided in the embodiment shown in FIG. 1 of this specification.
其中,上述支付设备可以为智能手环或智能手表等可穿戴设备,本实施例对上述 支付设备的形态不作限定。Wherein, the foregoing payment device may be a wearable device such as a smart bracelet or a smart watch, and this embodiment does not limit the form of the foregoing payment device.
图15示出了适于用来实现本说明书实施方式的示例性支付设备的框图。图15显示的支付设备仅仅是一个示例,不应对本说明书实施例的功能和使用范围带来任何限制。Figure 15 shows a block diagram of an exemplary payment device suitable for implementing embodiments of the present specification. The payment device shown in FIG. 15 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of this specification.
如图15所示,支付设备以通用计算设备的形式表现。支付设备的组件可以包括但不限于:一个或者多个处理器410,存储器430,连接不同系统组件(包括存储器430和处理单元410)的通信总线440。As shown in Figure 15, the payment device takes the form of a general-purpose computing device. The components of the payment device may include, but are not limited to: one or more processors 410, a memory 430, and a communication bus 440 connecting different system components (including the memory 430 and the processing unit 410).
通信总线440表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及外围组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。The communication bus 440 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures. For example, these architectures include but are not limited to industry standard architecture (Industry Standard Architecture; hereinafter referred to as ISA) bus, Micro Channel Architecture (hereinafter referred to as MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as PCI) bus.
支付设备典型地包括多种计算机系统可读介质。这些介质可以是任何能够被支付设备访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Payment devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the payment device, including volatile and non-volatile media, removable and non-removable media.
存储器430可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)和/或高速缓存存储器。支付设备可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。存储器430可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本说明书各实施例的功能。The memory 430 may include a computer system readable medium in the form of a volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as RAM) and/or cache memory. The payment device may further include other removable/non-removable, volatile/non-volatile computer system storage media. The memory 430 may include at least one program product, and the program product has a set of (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present specification.
具有一组(至少一个)程序模块的程序/实用工具,可以存储在存储器430中,这样的程序模块包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块通常执行本说明书所描述的实施例中的功能和/或方法。A program/utility tool having a set of (at least one) program modules may be stored in the memory 430. Such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples or some combination may include the implementation of a network environment. The program module usually executes the functions and/or methods in the embodiments described in this specification.
处理器410通过运行存储在存储器430中的程序,从而执行各种功能应用以及数据处理,例如实现本说明书图1所示实施例提供的支付结果的获取方法。The processor 410 executes various functional applications and data processing by running programs stored in the memory 430, such as implementing the method for obtaining payment results provided in the embodiment shown in FIG. 1 of this specification.
本说明书实施例提供一种收银设备,包括:至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被上述处理器执行的程序指令,上述处理器调用上述程序指令能够执行本说明书图2和图3所示实施例提供的支付结果的 获取方法。在具体实现时,上述收银设备可以采用图15所示的结构实现,在此不再赘述。The embodiment of this specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program The instruction can execute the method for obtaining payment results provided in the embodiments shown in Figures 2 and 3 of this specification. In the specific implementation, the above-mentioned cash register device can be implemented by adopting the structure shown in FIG. 15, which will not be repeated here.
本说明书实施例提供一种支付设备,包括:至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被上述处理器执行的程序指令,上述处理器调用上述程序指令能够执行本说明书图5所示实施例提供的支付结果的获取方法。在具体实现时,上述支付设备可以采用图15所示的结构实现,在此不再赘述。The embodiment of this specification provides a payment device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein: the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program The instruction can execute the method for obtaining payment results provided in the embodiment shown in FIG. 5 of this specification. In specific implementation, the foregoing payment device may be implemented using the structure shown in FIG. 15, which will not be repeated here.
本说明书实施例提供一种收银设备,包括:至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被上述处理器执行的程序指令,上述处理器调用上述程序指令能够执行本说明书图6和图7所示实施例提供的支付结果的获取方法。在具体实现时,上述收银设备可以采用图15所示的结构实现,在此不再赘述。The embodiment of this specification provides a cash register device, including: at least one processor; and at least one memory communicatively connected with the above-mentioned processor, wherein the memory stores program instructions executable by the above-mentioned processor, and the above-mentioned processor calls the above-mentioned program The instruction can execute the method for obtaining payment results provided in the embodiments shown in Figs. 6 and 7 of this specification. In the specific implementation, the above-mentioned cash register device can be implemented by adopting the structure shown in FIG. 15, which will not be repeated here.
本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行本说明书图1所示实施例提供的支付结果的获取方法。The embodiment of this specification provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the payment provided by the embodiment shown in Figure 1 of this specification. How to obtain the results.
本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行本说明书图2和图3所示实施例提供的支付结果的获取方法。The embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the embodiments shown in FIGS. 2 and 3 of this specification Provide the method of obtaining the payment result.
本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行本说明书图5所示实施例提供的支付结果的获取方法。The embodiment of this specification provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the payment provided by the embodiment shown in FIG. 5 of this specification How to obtain the results.
本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行本说明书图6和图7所示实施例提供的支付结果的获取方法。The embodiments of this specification provide a non-transitory computer-readable storage medium that stores computer instructions that cause the computer to execute the embodiments shown in FIGS. 6 and 7 of this specification Provide the method of obtaining the payment result.
上述非暂态计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读 存储器(Erasable Programmable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The aforementioned non-transitory computer-readable storage medium may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media (non-exhaustive list) include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) ;Hereinafter referred to as: ROM), Erasable Programmable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic memory Pieces, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network;以下简称:LAN)或广域网(Wide Area Network;以下简称:WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of this specification can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including local area network (Local Area Network; hereinafter referred to as: LAN) or Wide Area Network (hereinafter referred to as: WAN), or Connect to an external computer (for example, use an Internet service provider to connect via the Internet).
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本说明书的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互 矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean specific features described in conjunction with the embodiment or example , Structure, materials or features are included in at least one embodiment or example in this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples and the features of the different embodiments or examples described in this specification without conflicts with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本说明书的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this specification, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本说明书的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本说明书的实施例所属技术领域的技术人员所理解。Any process or method description described in the flowchart or described in other ways herein can be understood as a module, segment or part of code that includes one or more executable instructions for implementing custom logic functions or steps of the process , And the scope of the preferred embodiments of this specification includes additional implementations, which may not be in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. This should It is understood by those skilled in the art to which the embodiments of this specification belong.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to determination" or "in response to detection". Similarly, depending on the context, the phrase "if determined" or "if detected (statement or event)" can be interpreted as "when determined" or "in response to determination" or "when detected (statement or event) )" or "in response to detection (statement or event)".
需要说明的是,本说明书实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer;以下简称:PC)、个人数字助理(Personal Digital Assistant;以下简称:PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of this specification may include, but are not limited to, personal computers (Personal Computer; hereinafter referred to as PC), Personal Digital Assistants (Personal Digital Assistant; hereinafter referred to as PDA), wireless handheld devices, and tablets. Computer (Tablet Computer), mobile phone, MP3 player, MP4 player, etc.
在本说明书所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this specification, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
另外,在本说明书各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of this specification may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存 储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本说明书各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) execute the method described in each embodiment of this specification Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disks or optical disks, etc. A medium that can store program codes.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above are only the preferred embodiments of this specification and are not intended to limit this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in this specification. Within the scope of protection.

Claims (30)

  1. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    将支付设备的支付凭证发送给收银设备,并开启所述支付设备的蓝牙广播扫描;Send the payment voucher of the payment device to the cash register device, and start the Bluetooth broadcast scan of the payment device;
    在扫描到所述收银设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符,则建立与所述收银设备的蓝牙连接;After scanning the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher stored by the payment device itself, then the establishment is consistent with the payment voucher saved by the payment device itself. The Bluetooth connection of the cash register device;
    接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,并展示给使用所述支付设备的用户,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and show it to the user who uses the payment device, the payment result of the current payment is the payment made by the cash register device using the payment device The voucher interacts with the server and is obtained from the server after the payment is completed.
  2. 根据权利要求1所述的方法,其特征在于,所述将支付设备的支付凭证发送给收银设备包括:The method according to claim 1, wherein the sending the payment voucher of the payment device to the cash register device comprises:
    通过近距离传输方式将支付设备的支付凭证发送给收银设备。The payment voucher of the payment device is sent to the cash register device by means of short-distance transmission.
  3. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    收银设备接收支付设备发送的所述支付设备的支付凭证;The cash register device receives the payment certificate of the payment device sent by the payment device;
    进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;Performing Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment credential of the payment device;
    在所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述支付设备的蓝牙连接;After the payment device scans the Bluetooth broadcast signal of the cash register device, and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establish a Bluetooth connection with the payment device;
    将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。The payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server, and after the payment is completed Obtained from the server.
  4. 根据权利要求3所述的方法,其特征在于,所述蓝牙广播信号中的支付凭证包括所述支付设备发送的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备发送的支付凭证进行变形之后的支付凭证。The method according to claim 3, wherein the payment voucher in the Bluetooth broadcast signal includes a payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal includes a payment voucher sent to the payment device. The payment voucher is transformed into the payment voucher.
  5. 根据权利要求3或4所述的方法,其特征在于,所述将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备包括:The method according to claim 3 or 4, wherein the sending the payment result of the current payment to the payment device via the Bluetooth connection comprises:
    通过所述蓝牙连接,对所述支付设备进行身份认证;Perform identity authentication on the payment device through the Bluetooth connection;
    在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  6. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    支付设备将所述支付设备的支付凭证发送给收银设备,并开启所述支付设备的蓝牙 广播扫描;The payment device sends the payment certificate of the payment device to the cash register device, and starts the Bluetooth broadcast scan of the payment device;
    所述收银设备接收所述支付设备的支付凭证,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;The cash register device receives the payment voucher of the payment device and performs Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device;
    所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述收银设备的蓝牙连接;After the payment device scans the Bluetooth broadcast signal of the cash register device and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate saved by the payment device itself, establishes a Bluetooth connection with the cash register device;
    所述收银设备将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;The cash register device sends the payment result of the current payment to the payment device through the Bluetooth connection, and the payment result of the current payment is that the cash register device uses the payment certificate of the payment device to interact with the server to complete Obtained from the server after this payment;
    所述支付设备接收所述本次支付的支付结果,并展示给使用所述支付设备的用户。The payment device receives the payment result of the current payment, and displays it to the user who uses the payment device.
  7. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    将支付设备的支付凭证发送给收银设备,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;Sending the payment voucher of the payment device to the cash register device and perform Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device;
    在所述收银设备扫描到所述支付设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符之后,建立与所述收银设备的蓝牙连接;After the cash register device scans the Bluetooth broadcast signal of the payment device and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, establishing a Bluetooth connection with the cash register device;
    接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,并展示给使用所述支付设备的用户,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。Receive the payment result of this payment sent by the cash register device through the Bluetooth connection, and show it to the user who uses the payment device, the payment result of the current payment is the payment made by the cash register device using the payment device The voucher interacts with the server and is obtained from the server after the payment is completed.
  8. 根据权利要求7所述的方法,其特征在于,所述将支付设备的支付凭证发送给收银设备包括:The method according to claim 7, wherein the sending the payment voucher of the payment device to the cash register device comprises:
    通过近距离传输方式将支付设备的支付凭证发送给收银设备。The payment voucher of the payment device is sent to the cash register device by means of short-distance transmission.
  9. 根据权利要求7或8所述的方法,其特征在于,所述蓝牙广播信号中的支付凭证包括所述支付设备自身的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备自身的支付凭证进行变形之后的支付凭证。The method according to claim 7 or 8, wherein the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device itself; or, the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device. The payment voucher of the device itself after transformation.
  10. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    收银设备接收支付设备发送的所述支付设备的支付凭证,并开启所述收银设备的蓝牙广播扫描;The cash register device receives the payment certificate of the payment device sent by the payment device, and starts the Bluetooth broadcast scan of the cash register device;
    在扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;After scanning the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal matches the payment voucher being used by the cash register device, then the establishment is The Bluetooth connection of the payment device;
    将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。The payment result of this payment is sent to the payment device through the Bluetooth connection, and the payment result of the payment is that the cash register device uses the payment voucher of the payment device to interact with the server, and after the payment is completed Obtained from the server.
  11. 根据权利要求10所述的方法,其特征在于,所述将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备包括:The method according to claim 10, wherein the sending the payment result of the current payment to the payment device via the Bluetooth connection comprises:
    通过所述蓝牙连接,对所述支付设备进行身份认证;Perform identity authentication on the payment device through the Bluetooth connection;
    在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。After the payment device passes the identity authentication, the payment result of the current payment is sent to the payment device through the Bluetooth connection.
  12. 一种支付结果的获取方法,其特征在于,包括:A method for obtaining payment results, which is characterized in that it includes:
    支付设备将所述支付设备的支付凭证发送给收银设备,并进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;The payment device sends the payment voucher of the payment device to the cash register device and performs a Bluetooth broadcast, and the Bluetooth broadcast signal of the Bluetooth broadcast includes the payment voucher of the payment device;
    所述收银设备接收所述支付设备的支付凭证,并开启所述收银设备的蓝牙广播扫描;The cash register device receives the payment certificate of the payment device, and starts the Bluetooth broadcast scan of the cash register device;
    所述收银设备在扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;After the cash register device scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment certificate, and the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device, Then establish a Bluetooth connection with the payment device;
    所述收银设备将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;The cash register device sends the payment result of the current payment to the payment device through the Bluetooth connection, and the payment result of the current payment is that the cash register device uses the payment certificate of the payment device to interact with the server to complete Obtained from the server after this payment;
    所述支付设备接收所述本次支付的支付结果,并展示给使用所述支付设备的用户。The payment device receives the payment result of the current payment, and displays it to the user who uses the payment device.
  13. 一种支付结果的获取装置,其特征在于,包括:A device for obtaining payment results, which is characterized in that it comprises:
    发送模块,用于将支付设备的支付凭证发送给收银设备;The sending module is used to send the payment voucher of the payment device to the cash register device;
    扫描模块,用于开启所述支付设备的蓝牙广播扫描;Scanning module, used to start Bluetooth broadcast scanning of the payment device;
    建立模块,用于在所述扫描模块扫描到所述收银设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符,则建立与所述收银设备的蓝牙连接;The establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the cash register device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal is saved with the payment device itself If the payment voucher matches, the Bluetooth connection with the cash register device is established;
    接收模块,用于接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;The receiving module is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection, where the payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device, Obtained from the server after completing this payment;
    展示模块,用于将所述接收模块接收的支付结果展示给使用所述支付设备的用户。The display module is used to display the payment result received by the receiving module to the user who uses the payment device.
  14. 根据权利要求13所述的装置,其特征在于,The device according to claim 13, wherein:
    所述发送模块,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设 备。The sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  15. 一种支付结果的获取装置,其特征在于,设置在收银设备中,所述装置包括:A device for obtaining payment results is characterized in that it is set in a cash register device, and the device includes:
    接收模块,用于接收支付设备发送的所述支付设备的支付凭证;A receiving module for receiving the payment voucher of the payment device sent by the payment device;
    广播模块,用于进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;A broadcasting module, configured to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment voucher of the payment device;
    建立模块,用于在所述支付设备扫描到所述收银设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述支付设备自身保存的支付凭证相符之后,建立与所述支付设备的蓝牙连接;The establishment module is used to establish a connection with the payment device after the payment device scans the Bluetooth broadcast signal of the cash register device and determines that the payment voucher in the Bluetooth broadcast signal matches the payment voucher saved by the payment device itself. Bluetooth connection of the device;
    发送模块,用于将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。The sending module is configured to send the payment result of this payment to the payment device through the Bluetooth connection, and the payment result of this payment is that the cash register device uses the payment certificate of the payment device to interact with the server, Obtained from the server after completing this payment.
  16. 根据权利要求15所述的装置,其特征在于,所述蓝牙广播信号中的支付凭证包括所述支付设备发送的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备发送的支付凭证进行变形之后的支付凭证。The apparatus according to claim 15, wherein the payment voucher in the Bluetooth broadcast signal includes a payment voucher sent by the payment device; or, the payment voucher in the Bluetooth broadcast signal includes a payment voucher sent to the payment device. The payment voucher is transformed into the payment voucher.
  17. 根据权利要求15或16所述的装置,其特征在于,所述发送模块包括:The device according to claim 15 or 16, wherein the sending module comprises:
    认证子模块,用于通过所述蓝牙连接,对所述支付设备进行身份认证;An authentication sub-module, configured to perform identity authentication on the payment device through the Bluetooth connection;
    结果发送子模块,用于在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。The result sending submodule is configured to send the payment result of the current payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
  18. 一种支付结果的获取装置,其特征在于,包括:A device for obtaining payment results, which is characterized in that it comprises:
    发送模块,用于将支付设备的支付凭证发送给收银设备;The sending module is used to send the payment voucher of the payment device to the cash register device;
    广播模块,用于进行蓝牙广播,所述蓝牙广播的蓝牙广播信号中包括所述支付设备的支付凭证;A broadcasting module, configured to perform Bluetooth broadcasting, and the Bluetooth broadcasting signal of the Bluetooth broadcasting includes the payment voucher of the payment device;
    建立模块,用于在所述收银设备扫描到所述支付设备的蓝牙广播信号,并确定所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符之后,建立与所述收银设备的蓝牙连接;The establishment module is used to establish a connection with the cash register after the cash register device scans the Bluetooth broadcast signal of the payment device and determines that the payment certificate in the Bluetooth broadcast signal matches the payment certificate being used by the cash register device. Bluetooth connection of the device;
    接收模块,用于接收所述收银设备通过所述蓝牙连接发送的本次支付的支付结果,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的;The receiving module is configured to receive the payment result of this payment sent by the cash register device through the Bluetooth connection, where the payment result of the current payment is that the cash register device interacts with the server using the payment certificate of the payment device, Obtained from the server after completing this payment;
    展示模块,用于将所述接收模块接收的支付结果展示给使用所述支付设备的用户。The display module is used to display the payment result received by the receiving module to the user who uses the payment device.
  19. 根据权利要求18所述的装置,其特征在于,The device of claim 18, wherein:
    所述发送模块,具体用于通过近距离传输方式将支付设备的支付凭证发送给收银设 备。The sending module is specifically configured to send the payment voucher of the payment device to the cash register device by means of short-distance transmission.
  20. 根据权利要求18或19所述的装置,其特征在于,所述蓝牙广播信号中的支付凭证包括所述支付设备自身的支付凭证;或者,所述蓝牙广播信号中的支付凭证包括对所述支付设备自身的支付凭证进行变形之后的支付凭证。The device according to claim 18 or 19, wherein the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device; or, the payment voucher in the Bluetooth broadcast signal includes the payment voucher of the payment device. The payment voucher of the device itself is transformed into the payment voucher.
  21. 一种支付结果的获取装置,其特征在于,设置在收银设备中,所述装置包括:A device for obtaining payment results is characterized in that it is set in a cash register device, and the device includes:
    接收模块,用于接收支付设备发送的所述支付设备的支付凭证;A receiving module for receiving the payment voucher of the payment device sent by the payment device;
    扫描模块,用于开启所述收银设备的蓝牙广播扫描;Scanning module, used to start Bluetooth broadcast scanning of the cash register device;
    建立模块,用于在所述扫描模块扫描到所述支付设备的蓝牙广播信号之后,如果所述蓝牙广播信号中包括支付凭证,并且所述蓝牙广播信号中的支付凭证与所述收银设备正在使用的支付凭证相符,则建立与所述支付设备的蓝牙连接;The establishment module is configured to, after the scanning module scans the Bluetooth broadcast signal of the payment device, if the Bluetooth broadcast signal includes a payment voucher, and the payment voucher in the Bluetooth broadcast signal is in use with the cash register device If the payment voucher matches, the Bluetooth connection with the payment device is established;
    发送模块,用于将本次支付的支付结果通过所述蓝牙连接发送给所述支付设备,所述本次支付的支付结果是所述收银设备使用所述支付设备的支付凭证与服务器进行交互,完成本次支付之后从所述服务器获取的。The sending module is configured to send the payment result of this payment to the payment device through the Bluetooth connection, and the payment result of this payment is that the cash register device uses the payment certificate of the payment device to interact with the server, Obtained from the server after completing this payment.
  22. 根据权利要求21所述的装置,其特征在于,所述发送模块包括:The device according to claim 21, wherein the sending module comprises:
    认证子模块,用于通过所述蓝牙连接,对所述支付设备进行身份认证;An authentication sub-module, configured to perform identity authentication on the payment device through the Bluetooth connection;
    结果发送子模块,用于在所述支付设备通过所述身份认证之后,将所述本次支付的支付结果通过所述蓝牙连接发送给所述支付设备。The result sending submodule is configured to send the payment result of the current payment to the payment device through the Bluetooth connection after the payment device passes the identity authentication.
  23. 一种支付设备,其特征在于,包括:A payment device, characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述处理器通信连接的至少一个存储器,其中:At least one memory communicatively connected with the processor, wherein:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至2中任一所述的方法。The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the method according to any one of claims 1 to 2.
  24. 一种收银设备,其特征在于,包括:A cash register device is characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述处理器通信连接的至少一个存储器,其中:At least one memory communicatively connected with the processor, wherein:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求3至5中任一所述的方法。The memory stores program instructions that can be executed by the processor, and the processor can execute the method according to any one of claims 3 to 5 by invoking the program instructions.
  25. 一种支付设备,其特征在于,包括:A payment device, characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述处理器通信连接的至少一个存储器,其中:At least one memory communicatively connected with the processor, wherein:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令 能够执行如权利要求7至9中任一所述的方法。The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the method according to any one of claims 7-9.
  26. 一种收银设备,其特征在于,包括:A cash register device is characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述处理器通信连接的至少一个存储器,其中:At least one memory communicatively connected with the processor, wherein:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求10至11中任一所述的方法。The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the method according to any one of claims 10 to 11.
  27. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至2中任一所述的方法。A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute any one of claims 1 to 2 method.
  28. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求3至5中任一所述的方法。A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions that cause the computer to execute any one of claims 3 to 5 method.
  29. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求7至9中任一所述的方法。A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute any one of claims 7 to 9 method.
  30. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求10至11中任一所述的方法。A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions that cause the computer to execute any one of claims 10 to 11 method.
PCT/CN2020/118656 2019-12-03 2020-09-29 Payment result acquisition method and apparatus, payment device, and cash register device WO2021109694A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911221031.9A CN110942304A (en) 2019-12-03 2019-12-03 Payment result acquisition method and device, payment equipment and cash register equipment
CN201911221031.9 2019-12-03

Publications (1)

Publication Number Publication Date
WO2021109694A1 true WO2021109694A1 (en) 2021-06-10

Family

ID=69909437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/118656 WO2021109694A1 (en) 2019-12-03 2020-09-29 Payment result acquisition method and apparatus, payment device, and cash register device

Country Status (3)

Country Link
CN (1) CN110942304A (en)
TW (1) TWI748458B (en)
WO (1) WO2021109694A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110942304A (en) * 2019-12-03 2020-03-31 支付宝(杭州)信息技术有限公司 Payment result acquisition method and device, payment equipment and cash register equipment
CN111144865B (en) * 2020-04-02 2020-07-14 支付宝(杭州)信息技术有限公司 Information processing method, device, equipment and storage medium
CN114372797A (en) * 2021-12-10 2022-04-19 深圳市飞科笛系统开发有限公司 Payment method, device, system, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010148A1 (en) * 2006-06-13 2008-01-10 Ebay Inc. Targeted messaging based on attributes
CN108564363A (en) * 2018-02-28 2018-09-21 阿里巴巴集团控股有限公司 A kind of transaction processing method, server, client and system
CN110322238A (en) * 2019-08-28 2019-10-11 深圳市融纳海川科技有限公司 A kind of method, apparatus and system receiving merchant payment information
CN110414960A (en) * 2019-05-24 2019-11-05 腾讯科技(深圳)有限公司 A kind of payment processing method and device
CN110942304A (en) * 2019-12-03 2020-03-31 支付宝(杭州)信息技术有限公司 Payment result acquisition method and device, payment equipment and cash register equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103824185B (en) * 2014-03-05 2017-08-08 平安壹钱包电子商务有限公司 A kind of mobile intelligent terminal method of payment and system based on low-power consumption bluetooth
US11481750B2 (en) * 2015-06-30 2022-10-25 Block, Inc. Pairing a payment object reader with a point-of-sale terminal
CN106845973B (en) * 2015-12-03 2021-01-08 北京数码视讯科技股份有限公司 Payment method, collection terminal, payment platform and system
CN106372897A (en) * 2016-09-06 2017-02-01 努比亚技术有限公司 Payment apparatus and method, and mobile terminal
CN107665427A (en) * 2017-08-22 2018-02-06 阿里巴巴集团控股有限公司 A kind of offline electronic payment, business processing, the method and device of payment processes
CN108564359B (en) * 2018-02-24 2020-10-16 创新先进技术有限公司 Data processing method, terminal equipment and data processing system
CN108900490B (en) * 2018-06-21 2021-04-20 咪付(广西)网络技术有限公司 Safety authentication method based on Bluetooth and sound wave

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010148A1 (en) * 2006-06-13 2008-01-10 Ebay Inc. Targeted messaging based on attributes
CN108564363A (en) * 2018-02-28 2018-09-21 阿里巴巴集团控股有限公司 A kind of transaction processing method, server, client and system
CN110414960A (en) * 2019-05-24 2019-11-05 腾讯科技(深圳)有限公司 A kind of payment processing method and device
CN110322238A (en) * 2019-08-28 2019-10-11 深圳市融纳海川科技有限公司 A kind of method, apparatus and system receiving merchant payment information
CN110942304A (en) * 2019-12-03 2020-03-31 支付宝(杭州)信息技术有限公司 Payment result acquisition method and device, payment equipment and cash register equipment

Also Published As

Publication number Publication date
TWI748458B (en) 2021-12-01
TW202123121A (en) 2021-06-16
CN110942304A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
WO2021109694A1 (en) Payment result acquisition method and apparatus, payment device, and cash register device
US9799029B2 (en) Securely receiving data input at a computing device without storing the data locally
WO2014142617A1 (en) Secure mobile payment using media binding
US11424930B2 (en) Systems and methods for providing account information
WO2021036877A1 (en) Information processing method, device, and computer storage medium
US9686245B2 (en) System and method for secure authentication
US20150143543A1 (en) Scalable secure execution
CN104954126B (en) Sensitive operation verification method, device and system
JP7286770B2 (en) Authentication for third-party digital wallet provisioning
US10102402B2 (en) Mobile device-based keypad for enhanced security
CN113661699B (en) System and method for pre-authentication of customer support calls
JP6929883B2 (en) Data transmission methods, data transmitters, data receivers, and systems
WO2017076270A1 (en) Smart card having function of one time password (otp), and work method therefor
WO2017035799A1 (en) Payment authentication method and device for mobile terminal, and mobile terminal
CN111832005A (en) Application authorization method, application authorization device and electronic equipment
US20180025344A1 (en) Communicating authentication information between mobile devices
CN111461726B (en) Secret payment-free signing method and device and electronic equipment
TWI657389B (en) Mobile terminal and its transaction confirmation method and device
CN110602700A (en) Seed key processing method and device and electronic equipment
KR20170029940A (en) Payment service providing apparatus and method for assisting in selection of plural limit amount based on web, system and computer readable medium having computer program recorded thereon
EP3686827A1 (en) Information display method and apparatus, storage medium and electronic device
US10192041B2 (en) Methods and systems for authentication using zero-knowledge code
KR102468789B1 (en) Payment service providing apparatus and method using authentication based on web, system and computer readable medium having computer program recorded thereon
CN114697956B (en) Secure communication method and device based on double links
KR20150021833A (en) Method and system for paying on online

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20895988

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20895988

Country of ref document: EP

Kind code of ref document: A1