WO2020228563A1 - 二维码的展示方法及装置 - Google Patents

二维码的展示方法及装置 Download PDF

Info

Publication number
WO2020228563A1
WO2020228563A1 PCT/CN2020/088642 CN2020088642W WO2020228563A1 WO 2020228563 A1 WO2020228563 A1 WO 2020228563A1 CN 2020088642 W CN2020088642 W CN 2020088642W WO 2020228563 A1 WO2020228563 A1 WO 2020228563A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
payment
display
user
merchant client
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2020/088642
Other languages
English (en)
French (fr)
Inventor
彭瑶玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2020228563A1 publication Critical patent/WO2020228563A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/18Payment architectures involving self-service terminals [SST], vending machines, kiosks or multimedia terminals
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Definitions

  • the embodiments of this specification relate to the field of computer technology, and in particular, to a method and device for displaying a two-dimensional code.
  • QR codes can show a dynamic QR code for users to scan the code to pay.
  • the merchant may generate a payment QR code carrying product price information according to the product purchased by the user, so that the user can scan the code for payment.
  • This manual describes a QR code display method. After the user scans the payment QR code displayed in the merchant client through the user client, the display timing interface for the payment QR code is displayed in the merchant client. At least it is used to remind the user that he needs to complete the payment before the end of the display timer to assist the user in successfully completing the payment operation.
  • a method for displaying a QR code the execution subject of the method is a merchant client, and the method includes: displaying a payment receipt QR code, the payment receipt QR code carrying at least the The identification information of the merchant client; receiving a scan code success notification from the server, and the scan code success notification is based on the response after the server receives the serial number sent by the user client by scanning the payment QR code The identification information obtained by the analysis of the serial number is sent to the merchant client; based on the scan code success notification, the display timing interface for the payment QR code is displayed, at least for prompting the user to end the display timing Complete payment before.
  • a method for displaying a QR code includes: receiving from a user client by scanning the payment QR code displayed in the merchant client.
  • the sent serial number, the payment QR code carries at least the identification information of the merchant client; the serial number is parsed to obtain the identification information; based on the identification information, the merchant client is sent
  • the code scanning success notification allows the merchant client to display a display timing interface for the payment QR code based on the scanning code success notification, at least for prompting the user to complete payment before the display timing ends.
  • a method for displaying a two-dimensional code wherein the execution subject of the method is a user client, and the method includes: scanning the payment receiving QR code displayed in the merchant client to obtain a connection with the receiving The serial number corresponding to the QR code, the receiving QR code carries at least the identification information of the merchant client; the serial number is sent to the server so that the server can parse the serial number to obtain The identification information, based on the identification information, sends a scan code success notification to the merchant client, so that the merchant client displays a display of the payment QR code based on the scan code success notification
  • the timing interface is at least used to prompt the user to complete the payment before the display timing ends.
  • a method for displaying a two-dimensional code includes: displaying a two-dimensional code for payment, and the two-dimensional code for receiving at least carries the The identification information of the merchant client; receiving a scan code success notification from the server, and the scan code success notification is based on the response after the server receives the serial number sent by the user client by scanning the payment QR code
  • the identification information obtained by the analysis of the serial number is sent to the merchant client; based on the scan code success notification, a weakened display interface for the payment QR code is displayed, so that other user clients cannot successfully scan
  • the payment collection two-dimensional code wherein the weakened display includes at least one of the following: display with a mask added, display with reduced transparency, and display with superimposed pictures.
  • a method for displaying a QR code includes: receiving from a user client by scanning the payment QR code displayed in the merchant client.
  • the sent serial number, the payment QR code carries at least the identification information of the merchant client; the serial number is parsed to obtain the identification information; based on the identification information, the merchant client is sent Scanning the code success notification, so that the merchant client displays a weakened display interface for the payment QR code based on the scanning success notification, so that other user clients cannot successfully scan the payment QR code;
  • the weakened display includes at least one of the following: display with a mask added, display with reduced transparency, and display with superimposed pictures.
  • a method for displaying a QR code The execution body of the method is a merchant client.
  • the method includes: displaying the first payment receipt QR code, specifically including displaying the first QR code in the corresponding display interface.
  • the set display time of the QR code is displayed at a time to remind the user to complete the payment before the end of the time; wherein, the first payment receipt QR code carries at least the order information of the order to be paid;
  • a payment failure interface is displayed to remind the user that payment has failed, and the payment failure interface includes a repayment icon; in response to the click operation on the repayment icon, the 2.
  • the payment receipt QR code, where the second payment receipt QR code carries the order information of the pending order.
  • a two-dimensional code display device the display device is integrated in a merchant client, and the device includes: a first display unit configured to display a payment receipt QR code, the payment receipt QR code The code carries at least the identification information of the merchant client; the receiving unit is configured to receive a notification of successful scanning of the code from the server, and the notification of the successful scanning of the code is received by the server upon receiving the user client by scanning the second After the serial number sent by the dimension code, it is sent to the merchant client based on the identification information obtained by parsing the serial number; the second display unit is configured to display the target for the receiving The display timing interface of this QR code is at least used to prompt the user to complete the payment before the display timing ends.
  • a two-dimensional code display device the generating device is integrated in the server, and the device includes: a receiving unit configured to receive from the user client the payment displayed by scanning the merchant client The serial number sent by the QR code, the receiving QR code carries at least the identification information of the merchant client; the parsing unit is configured to parse the serial number to obtain the identification information; the sending unit, configured In order to send a scan code success notification to the merchant client based on the identification information, so that the merchant client terminal displays the display timing interface for the payment QR code based on the scan code success notification, at least with To prompt the user to complete the payment before the end of the display timer.
  • a device for displaying a QR code is provided, the device is integrated in a user client, and the device includes: a scanning unit configured to scan the payment QR code displayed in the merchant client to obtain information The serial number corresponding to the payment QR code, the payment QR code carries at least the identification information of the merchant client; the sending unit is configured to send the serial number to the server so that the server can pair The serial number is parsed to obtain the identification information, and then based on the identification information, a notification of a successful scanning code is sent to the merchant client, so that the merchant client displays the target address based on the notification of successful scanning.
  • the display timing interface of the payment QR code is at least used to prompt the user to complete the payment before the display timing ends.
  • a two-dimensional code display device the display device is integrated in a merchant client, the device includes: the device is integrated in the merchant client, the device includes: a first display unit, configured In order to display the payment QR code, the payment QR code carries at least the identification information of the merchant client; the receiving unit is configured to receive a notification of successful scanning of the code from the server, and the notification of the successful scanning of the code is sent by the service After receiving the serial number sent by the user client by scanning the payment QR code, the terminal sends to the merchant client based on the identification information obtained by analyzing the serial number; the second display unit is configured In order to display a weakened display interface for the payment QR code based on the notification of the successful scanning of the code, so that other user clients cannot successfully scan the payment QR code; wherein the weakened display includes the following At least one: add mask display, reduce transparency display, overlay picture display.
  • a two-dimensional code display device the display device is integrated with the server, and the device includes: a receiving unit configured to receive from the user client the receipt displayed by scanning the merchant client The serial number sent by the QR code of the payment, the QR code for receiving at least carries the identification information of the merchant client; the parsing unit is configured to parse the serial number to obtain the identification information; the sending unit, It is configured to send a scan code success notification to the merchant client based on the identification information, so that the merchant client displays a weakened display interface for the payment QR code based on the scan code success notification, so that Other user clients cannot successfully scan the payment QR code; wherein the weakened display includes at least one of the following: display with a mask added, display with reduced transparency, and display with superimposed pictures.
  • a two-dimensional code display device the display device is integrated in a merchant client, the device includes: a first display unit configured to display the first payment two-dimensional code, specifically including: The corresponding display interface displays the preset display duration of the QR code at a time to remind the user to complete the payment before the end of the timer; wherein the first payment receipt QR code carries at least the order information of the order to be paid;
  • the second display unit is configured to display a payment failure interface to remind the user that payment has failed without receiving a payment success notification from the server before the display timing ends, and the payment failure interface includes a repayment icon
  • the third display unit is configured to display a second payment QR code in response to a click operation on the repayment icon, and the second payment QR code carries the order information of the pending payment order.
  • a computer-readable storage medium with a computer program stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the first aspect or the second aspect or the third aspect or the third aspect.
  • a computing device including a memory and a processor, the memory stores executable code, and when the processor executes the executable code, the first aspect or the second aspect or The method of the third or fourth or fifth or sixth aspect.
  • the timing for the payment QR code can be displayed in the merchant client
  • the interface prompts the user to complete the payment before the end of the display timer, which can assist the user in completing the payment operation smoothly, and can avoid the following situations: the user cannot perceive the failure of the QR code and continue to pay if the QR code fails. Payment failed, and at the same time mistakenly thought that the payment system was unstable and other reasons caused the poor experience. Further, the QR code for the payment can be displayed weakly in the display timing interface, so that other user clients cannot scan the QR code for the payment, thereby ensuring payment security.
  • Figure 1 shows one of the schematic diagrams of interaction among merchant client, user client and server disclosed in the embodiment of this specification
  • Figure 2 shows one of the display interfaces in the merchant client disclosed in the embodiment of this specification
  • FIG. 3 shows the payment interface in the user client disclosed in the embodiment of this specification
  • Figure 4 shows the second display interface in the merchant client disclosed in the embodiment of this specification
  • FIG. 5 shows the third display interface in the merchant client disclosed in the embodiment of this specification
  • FIG. 6 shows the fourth display interface in the merchant client disclosed in the embodiment of this specification.
  • FIG. 7 shows the fifth display interface in the merchant client disclosed in the embodiment of this specification.
  • FIG. 8 shows the sixth display interface in the merchant client disclosed in the embodiment of this specification.
  • Figure 9 shows the seventh display interface in the merchant client disclosed in the embodiment of this specification.
  • Figure 10 shows the eighth display interface in the merchant client disclosed in the embodiment of this specification.
  • FIG. 11 shows the second schematic diagram of the interaction between the merchant client, the user client and the server disclosed in the embodiment of this specification
  • FIG. 12 shows a flowchart of a two-dimensional code display method disclosed in an embodiment of this specification
  • Figure 13 shows the eighth display interface in the merchant client disclosed in the embodiment of this specification.
  • FIG. 14 shows one of the structural diagrams of the two-dimensional code display device disclosed in the embodiment of this specification.
  • FIG. 16 shows the third structural diagram of the two-dimensional code display device disclosed in the embodiment of this specification.
  • Figure 17 shows the third structural diagram of the two-dimensional code display device disclosed in the embodiment of this specification.
  • FIG. 19 shows the fifth structural diagram of the two-dimensional code display device disclosed in the embodiment of this specification.
  • the embodiment of this specification provides a method for displaying the QR code.
  • the user's scanning operation on the payment QR code will trigger the merchant client to display the timing interface for the payment QR code. In this way, the user can be prompted at the specified time Complete the payment operation within.
  • FIG. 1 shows one of the schematic diagrams of interaction among the merchant client, the user client, and the server disclosed in the embodiment of this specification.
  • the merchant client can be a merchant APP provided by the service platform (such as a payment platform) to the merchant (or seller), and the user client can be the service platform for consumers (or buyers).
  • the server can be a server cluster in the service platform, in which the registration information of merchants and users and the usage records of the service platform are pre-stored, and so on.
  • the interaction process includes the following steps: Step S102, the merchant client displays a payment QR code, the payment QR code carries at least the identification information of the merchant client; Step S104, the user The client scans the payment QR code; step S106, the user client reads the serial number corresponding to the scanned payment QR code; step S108, the user client sends the serial number to the server Step S110, the server parses the serial number to obtain the identification information; Step S112, the server sends a scan code success notification to the merchant client based on the identification information; Step S114, the merchant client based The notification of the successful scanning of the code displays the display timing interface for the two-dimensional code of the payment.
  • the above steps are as follows:
  • step S102 the merchant client displays a payment receipt QR code, and the payment receipt QR code carries at least the identification information of the merchant client.
  • step S102 it may further include: the merchant client generates a payment collection QR code.
  • the merchant client generates the above-mentioned payment QR code based on at least the identification information of the merchant client.
  • the generated two-dimensional code for receiving at least carries the identification information.
  • the identification information is used to uniquely identify the merchant client. More specifically, the identification information may be an ID (for example, a character string) allocated by the server in advance to the merchant client.
  • the merchant client may also generate a corresponding payment QR code based on the order information of the order to be paid.
  • the generated payment QR code also carries the order information.
  • the order information includes merchant information and/or product information of the product purchased by the user (or called the product to be paid).
  • the merchant information includes the name of the merchant, the address of the merchant, and so on.
  • the product information may include the name, category, and price of the product, and so on.
  • an existing algorithm can be used to generate the corresponding payment QR code, which will not be repeated here.
  • the merchant client can display the payment QR code for users to scan the QR code for payment.
  • FIG. 2 it shows the payment QR code displayed in the merchant client. At this time, the user has not scanned the payment QR code.
  • step S104 the user client scans the payment QR code. And, in step S106, the user client reads the serial number corresponding to the scanned two-dimensional code for receiving payment. And, in step S108, the user client sends the serial number to the server.
  • step S104 may include: scanning the payment QR code in response to a code scanning instruction sent by the user based on the user client.
  • the scan code instruction corresponds to a click instruction on the scan code icon in the user client.
  • the scan code instruction is a voice control instruction.
  • the user client can read it to obtain the corresponding serial number.
  • the serial number may consist of letters and/or numbers.
  • the serial number may also include special characters.
  • step S108 the user client sends the serial number to the server.
  • step S110 the server parses the serial number to obtain the identification information.
  • the server can use an existing algorithm to analyze the serial number to obtain the information carried in the payment QR code.
  • at least the identification information of the merchant client is carried in the payment two-dimensional code, and accordingly, at least the identification information can be parsed here. In this way, the server can communicate with the corresponding merchant client according to the identification information.
  • the generated payment QR code can also carry merchant information and/or product information of the product to be paid.
  • the merchant information and product information can also be parsed here. / Or product information of the product to be paid.
  • the server can send the parsed merchant information, such as the name of the merchant and the icon of the merchant, to the user client, so that the user client generates a corresponding payment interface.
  • the payment interface can Including merchant information for the user to confirm, an input box for the user to enter the payment amount, an input keyboard, and a submit button for confirming the payment.
  • the server can send the parsed merchant information and the product information of the product to be paid, such as the name of the merchant and the total amount of the product to be paid, to the user client, so that the user client generates the corresponding payment Interface
  • the payment interface may include merchant information for the user to confirm, product information of the commodity to be paid for, and a submit button for confirming payment.
  • step S108 it may further include: the user client sends the user identification of the corresponding login user to the server.
  • step S109 it may also include: the server inquires whether the user has activated the lending service according to the user ID. More specifically, in an example, in the case that the user has opened the debit service, the payment details corresponding to the debit are determined according to the payment amount analyzed above, including the installment amount and reference interest. Correspondingly, the determined payment details are sent to the user client, so that the user client generates the corresponding payment interface, which includes the order amount to be confirmed, reference interest, installment payment amount, and agreement to the service agreement, confirm installment button, such as , Can refer to Figure 3.
  • a related message is sent to the user client to guide the user to activate the borrowing service, and then the above-mentioned business process under the user having activated the borrowing service is executed.
  • the server can obtain the identification information of the merchant client by analyzing the serial number. Then, in step S112, the server sends a code scan success notification to the merchant client based on the identification information.
  • step S112 may include: the server generates the code scan success notification based on the identification information, and then sends the code scan success notification to the merchant client.
  • step S114 the merchant client displays a display timing interface for the payment QR code based on the received notification of successful scanning of the code.
  • the timing mode in the display timing interface may be forward timing or countdown. In a specific embodiment, the timing mode in the display timing interface is forward timing. At this time, the initial value of the timing value in the display timing interface can be 0. At the same time, the timing time limit can also be displayed in the display timing interface. That is, when the timing value reaches the timing time limit, the timing ends. In another specific embodiment, the timing mode in the display timing interface is countdown. At this time, the starting value of the timing value in the display timing interface may be the timing time limit, that is, when the timing value reaches 0, the timing ends. . Regarding the above time limit, it involves the validity period of the QR code. It should be noted that at present, based on different needs, the QR code itself may have different validity periods, specifically, the validity period can be 60s, or 5min; or, permanent validity (this situation can also be understood as no validity period), etc. Wait.
  • the merchant client can generate only one collection code for an order, and this collection code can be permanently valid, that is, no matter when the user scans the collection code, the order can be completed Paid.
  • the merchant client can generate multiple collection codes for an order. Specifically, assuming that the validity period is 60s, correspondingly, if the user does not complete the payment within the first 60s when the collection code is displayed, then The displayed QR code is invalid (that is, even if the user performs a payment operation based on this QR code, the payment cannot be successful), and the merchant client displays another QR code for the same order within the second 60s. At this point, the user can perform a complete payment operation such as scanning another QR code within the second 60s before the payment is successful.
  • the above timing time limit may correspond to a preset acceptable payment time period.
  • the payment QR code is permanently valid. Accordingly, the above-mentioned acceptable payment duration can be set to any value according to time requirements, such as 70s or 90s, etc.
  • the two-dimensional code for receiving payment has a validity period, and accordingly, the foregoing acceptable payment duration may be set to a value less than the foregoing validity period. In a specific embodiment, it is assumed that the duration of the validity period is 10 minutes or 2 days. Accordingly, the acceptable payment duration can be set to 5 minutes, and so on.
  • the above-mentioned timing time limit corresponding to different payment two-dimensional codes may be different.
  • the payment receipt QR code has a limited validity period, and accordingly, the timing time limit can be set as the remaining validity period in the validity period. More specifically, in an example, the time corresponding to the display of the QR code for receiving the payment is the first time, and the time corresponding to the reception of the successful notification of the scan code from the server is the second time, so that the remaining time can be valid The duration is determined as: valid period-(second moment-first moment). According to a specific example, assuming that the validity period is 2 minutes, the first moment is 10:10:20, and the second moment is 10:10:50. Accordingly, it can be determined that the remaining validity period is 90s.
  • the timing mode in the display timing interface shown in FIG. 4 is countdown, and the initial countdown duration is 60s. Furthermore, after 10s has passed, the remaining countdown time displayed therein is 50s.
  • the timing mode in the display timing interface shown in FIG. 5 is forward timing, where the timing time limit is 65s, the initial value of the timing value is 0, and the timing value displayed after 15s has elapsed is 15s. Above, by displaying the timing in the display timing interface, the user can be prompted to complete the payment before the display countdown, so as to successfully complete the payment of the order, thereby improving the user experience.
  • step S114 may further include: performing a voice announcement on the display timing while displaying the timing in the display timing interface.
  • the timing mode of the display timing is countdown, and the content of the voice broadcast may be "there are xx seconds", such as “there are 55 seconds", “there are 54 seconds” and so on.
  • the timing mode of the display timing is forward timing, and the content of the voice broadcast may be "XX seconds", for example, "5 seconds", “10 seconds” and so on.
  • the voice broadcast may also include timing sound effects, such as "tick to tick” and so on.
  • a synchronized timing display can be performed on the payment interface of the user client.
  • the above-mentioned payment QR code also carries order information of the order to be paid
  • step S110 may further include: the server obtains the order information when the serial number is analyzed by the server.
  • step S110 it may further include: sending the order information to the user client, and the user terminal displays the corresponding payment interface based on the order information, including displaying the timing interface in the payment interface
  • the display timing in is displayed synchronously.
  • FIG. 6 shows the payment interface displayed in the user client, which includes synchronously displaying the countdown in the display timing interface shown in FIG. 4.
  • the above step S114 may further include: weakly displaying the payment QR code in the display timing interface, so that other user clients cannot successfully scan the payment Two-dimensional code. In this way, the user's payment security can be guaranteed.
  • other users refer to users other than the users corresponding to the aforementioned user client.
  • a vending machine displays a payment QR code for a certain order, and the certain order is placed by user A. After that, user A and user B will receive The QR code of the payment is scanned, but user B completes the subsequent payment operation before user A. Accordingly, the server first receives the payment request of user B, and then receives the payment request of user A, but user A is completing the payment operation Later, I put my mobile phone in my pocket and saw the goods rolled down from the vending machine. I thought it was a successful payment and took the goods away, but the actual payment was made by user B. At this time, user B's economic loss is caused. Further, if the above weakened display solution disclosed in the embodiments of this specification is adopted, it can be ensured that only one user can successfully scan and obtain the payment QR code, thereby ensuring payment security and avoiding other users' economic losses.
  • the aforementioned weakened display includes any of the following: display with a mask added, display with reduced transparency, and display with superimposed pictures.
  • the display interface shown in FIG. 7 includes the payment collection QR code after the process of reducing transparency and superimposing pictures. Obviously, other user clients cannot successfully scan the weakened QR code for receiving payment.
  • the weakened display of the payment QR code in the display timing interface can prevent other user clients from successfully scanning the payment QR code, thereby ensuring the user's payment security.
  • the method may further include: the merchant client does not receive a payment success notification for the user client from the server before the display timing ends.
  • a payment failure interface is displayed to prompt the user that payment has failed.
  • the above step S114 may further include: the merchant client performs a round-robin of the payment result based on the notification of the successful scanning of the code.
  • the display timing ends for example, the display countdown displayed in the interface is 0
  • the payment result is not queried
  • the payment failure interface is displayed.
  • FIG. 8 shows a payment failure interface, in which the user is prompted to pay overtime and the payment fails.
  • the method may further include: if the server determines that the payment fails before the display timing ends, further, the server sends a payment failure notification to the merchant client .
  • the merchant client displays the payment failure interface based on the payment failure notification.
  • the payment failure notification includes the reason for the payment failure.
  • displaying the payment failure interface may include: displaying the reason for the payment failure in the payment failure interface. In an example, the payment failure interface is shown in FIG. 9, and the reason for the payment failure displayed is: insufficient balance of the buyer.
  • the method may further include: if the server determines that the payment is successful before the display timing ends, further, the server sends a payment success notification to the merchant client .
  • the merchant client displays the payment success interface based on the payment success notification to remind the user that the payment is successful.
  • the payment success interface is shown in FIG. 10.
  • step S114 can be replaced with: based on the scan code success notification, perform a voice timing broadcast on the first payment code to prompt the user to complete the payment before the timing ends .
  • FIG. 11 shows the second schematic diagram of the interaction among the merchant client, the user client, and the server disclosed in the embodiment of this specification.
  • the interaction process includes the following steps: step S1101, the merchant client displays a payment QR code, and the payment QR code carries at least the identification information of the merchant client; step S1103, the user The client scans the payment QR code; step S1105, the user client reads the serial number corresponding to the scanned payment QR code; step S1107, the user client sends the serial number to the server Step S1109, the server parses the serial number to obtain the identification information; Step S1111, the server sends a code scan success notification to the merchant client based on the identification information; Step S1113, based on the scan Code success notification, displaying a weakened display interface for the payment QR code so that other user clients cannot successfully scan the payment QR code, wherein the weakened display includes at least one of the following: add Mask display, display with reduced transparency, display with
  • steps S1101 to S1111 please refer to the above introduction of steps S102 to S112, which will not be repeated here.
  • step S1113 reference may be made to the related description of the weakened display in step S114, which is not repeated here.
  • the embodiment of this specification also provides a method for displaying the QR code, so that the user does not need to repeat the previous order operation, or does not need to call the original order for payment, but directly based on the redisplayed order for the original order. QR code directly completes the payment operation.
  • FIG. 12 shows a flowchart of a QR code display method disclosed in an embodiment of this specification.
  • the execution body of the display method is a merchant client, and the method specifically includes the following steps: Step S1210, displaying the first payment collection 2
  • the dimension code specifically includes the timing display of the preset QR code display duration in the corresponding display interface to prompt the user to complete the payment before the end of the timer; wherein, the first payment receipt QR code carries at least Order information of the payment order; step S1220, if the payment success notification is not received from the server before the display timing ends, display the payment failure interface to remind the user that the payment has failed; step S1230, respond to the payment based on the
  • the repayment instruction issued by the payment failure interface displays the second payment receipt QR code, and the second payment receipt QR code carries at least the order information of the pending order.
  • step S1210 displaying the first payment collection QR code specifically includes displaying the preset QR code display duration in the corresponding display interface to remind the user to complete the payment before the end of the timer.
  • first payment collection two-dimensional code please refer to the description of the payment collection two-dimensional code in the foregoing embodiment, which will not be repeated here.
  • first in the first payment collection QR code is used to distinguish the description from the following "second payment collection QR code”.
  • the above-mentioned first payment two-dimensional code is permanently valid. Accordingly, the preset two-dimensional code display duration can be any pre-set duration according to actual needs. The description of the duration of the payment is not repeated here.
  • the first payment receipt QR code has a validity period, and the display duration of the QR code is preset to be equal to the duration corresponding to the validity period. In an example, the validity period is 90s, and accordingly, the display duration of the QR code can be set to 90s.
  • FIG. 13 shows a display interface for the first payment two-dimensional code, and the remaining countdown time shown therein is 50s.
  • step S1220 if the payment success notification is not received from the server before the end of the timing, a payment failure interface is displayed to prompt the user that the payment has failed.
  • the displayed payment failure interface is shown in Figure 8.
  • Step S1230 in response to the repayment instruction issued based on the payment failure interface, display a second payment receipt QR code, where the second payment receipt QR code carries at least the order information of the pending order.
  • the repayment instruction may be a voice control instruction or a click instruction, and so on.
  • the payment failure interface includes a re-payment icon, and accordingly, the re-payment instruction corresponds to a click instruction on the re-payment icon. In an example, it may be a click instruction to the repayment icon shown in FIG. 7.
  • the first payment receipt QR code is permanently valid.
  • the second payment QR code is the same QR code as the first payment QR code; in another specific embodiment, the second payment QR code The code can also be a two-dimensional code different from the first payment two-dimensional code. Similarly, the second payment two-dimensional code is also permanently valid.
  • the first payment collection QR code has a validity period.
  • the second payment collection two-dimensional code is a two-dimensional code different from the first payment collection two-dimensional code.
  • the first payment receipt QR code also carries the identification information of the merchant client; between step S1210 and step S1220, it may also include: receiving from the server Scanning success notification, the scanning success notification is based on all the serial numbers obtained by analyzing the serial number after receiving the serial number sent by the user client by scanning the first payment QR code.
  • the identification information is sent to the merchant client; based on the scan code success notification, the first payment QR code is displayed in a weakened manner in the display interface, so that other user clients cannot successfully scan the Receiving a two-dimensional code; wherein the weakened display includes at least one of the following: display with a mask added, display with reduced transparency, and display with superimposed pictures.
  • FIG. 14 shows one of the structural diagrams of the two-dimensional code display device disclosed in the embodiment of this specification.
  • the device is integrated in the merchant client, and the device 1400 includes:
  • the first display unit 1410 is configured to display a payment receipt QR code, the payment receipt QR code carrying at least the identification information of the merchant client.
  • the receiving unit 1420 is configured to receive a scan code success notification from the server.
  • the scan code success notification is sent by the server after receiving the serial number sent by the user client by scanning the payment QR code.
  • the identification information obtained by analyzing the serial number is sent to the merchant client.
  • the second display unit 1430 is configured to display a display timing interface for the payment QR code based on the notification of the successful scanning of the code, at least for prompting the user to complete payment before the display timing ends.
  • the payment collection QR code also carries order information of the payment order, and the order information includes merchant information and/or product information of the product to be paid.
  • the timing mode of the display timing is forward timing or countdown.
  • the second display unit 1430 is specifically configured to: in the display timing interface, time display the preset acceptable payment duration.
  • the time corresponding to the display of the payment collection QR code is the first time
  • the time corresponding to the receiving the notification of successful scanning of the code from the server is the second time.
  • the second display unit 1430 is specifically configured to: in the display timing interface, time display the remaining valid duration of the payment QR code, and the remaining valid duration is based on the validity period of the payment QR code , And the first moment and the second moment.
  • the second display unit 1430 is specifically configured to: weakly display the payment QR code in the display timing interface, so that other user clients cannot successfully scan the payment second Dimension code; wherein the weakened display includes at least one of the following: adding a mask display, reducing the transparency display, and superimposing a picture display.
  • the device further includes: a third display unit 1440 configured to display a payment failure interface to prompt the user if the payment success notification is not received from the server before the display timing ends Payment failed.
  • a third display unit 1440 configured to display a payment failure interface to prompt the user if the payment success notification is not received from the server before the display timing ends Payment failed.
  • the device further includes:
  • the fourth display unit 1450 is configured to display a second payment receipt QR code in response to a repayment instruction issued based on the payment failure interface, and the second payment receipt QR code carries at least the identification information of the merchant client .
  • the payment failure interface includes a repayment icon, and the repayment instruction corresponds to a click instruction on the repayment icon.
  • the first payment receipt two-dimensional code is permanently valid, and the second payment receipt two-dimensional code is the same two-dimensional code as the first payment receipt two-dimensional code; or,
  • the first payment receipt two-dimensional code has a validity period
  • the second payment receipt two-dimensional code is a two-dimensional code different from the first payment receipt two-dimensional code.
  • the first payment QR code and the second payment QR code carry the same order information of the pending payment order, and the order information includes merchant information and/or pending payment.
  • the product information of the payment product is not limited to the payment product.
  • the device further includes a broadcasting unit 1460 configured to perform a voice announcement on the timing of the display.
  • the device 1500 includes: a receiving unit 1510 configured to receive from the user client by scanning merchant customers The serial number sent by the receipt QR code displayed in the terminal, the receipt QR code carries at least the identification information of the merchant client; the parsing unit 1520 is configured to parse the serial number to obtain the Identification information; the sending unit 1530 is configured to send a scan code success notification to the merchant client based on the identification information, so that the merchant client displays the QR code for the payment based on the scan code success notification The display timing interface of the code is at least used to prompt the user to complete the payment before the display timing ends.
  • FIG. 16 shows the third structural diagram of the two-dimensional code display device disclosed in the embodiment of this specification.
  • the device is integrated in the user client.
  • the device 1600 includes a scanning unit 1610 configured to scan the payment collection displayed in the merchant client. QR code to obtain the serial number corresponding to the payment QR code, the payment QR code carrying at least the identification information of the merchant client; the sending unit 1620 is configured to send the serial number to the server , So that the server parses the serial number to obtain the identification information, and then based on the identification information, sends a notification of successful scanning to the merchant client, so that the merchant client is based on the The notification of the successful scanning of the code, displaying the display timing interface for the payment QR code, is used at least to prompt the user to complete the payment before the display timing ends.
  • the payment QR code also carries order information of the order to be paid, and the order information includes merchant information and/or product information of the product to be paid;
  • the device further includes: a receiving unit 1630, Configured to receive the order information from the server, where the order information is obtained by analyzing the serial number by the server;
  • the display unit 1640 is configured to display the corresponding payment interface based on the order information, It includes synchronously displaying the display timing in the display timing interface in the payment interface.
  • FIG. 17 shows the third structural diagram of the QR code display device disclosed in the embodiment of this specification.
  • the device is integrated in the merchant client.
  • the device 1700 includes: a first display unit 1710 configured to display the payment QR code;
  • the payment QR code carries at least the identification information of the merchant client;
  • the receiving unit 1720 is configured to receive a notification of a successful scan code from the server, and the notification of the successful scan is received by the server after receiving the user client.
  • the second display unit 1730 is configured to be based on the scan code A successful notification, displaying a weakened display interface for the payment QR code so that other user clients cannot successfully scan the payment QR code; wherein the weakened display includes at least one of the following: Layer display, lower transparency display, superimpose picture display.
  • the device 1800 includes: a receiving unit 1810 configured to receive from the user client by scanning merchant customers The serial number sent by the receipt QR code displayed in the terminal, the receipt QR code carries at least the identification information of the merchant client; the parsing unit 1820 is configured to parse the serial number to obtain the Identification information; the sending unit 1830 is configured to send a scan code success notification to the merchant client based on the identification information, so that the merchant client displays the QR code for the payment based on the scan code success notification
  • the weakened display interface of the code prevents other user clients from successfully scanning the payment QR code; wherein the weakened display includes at least one of the following: adding a mask display, reducing the transparency display, and superimposing a picture display.
  • FIG. 19 shows the fifth structural diagram of the QR code display device disclosed in the embodiment of this specification.
  • the device is integrated in the merchant client.
  • the device 1900 includes: a first display unit 1910, configured to display the first payment collection two-dimensional
  • the code specifically includes the timing display of the preset QR code display duration in the corresponding display interface to prompt the user to complete the payment before the end of the timing; wherein, the first payment receipt QR code carries at least the pending payment Order information of the order.
  • the second display unit 1920 is configured to display a payment failure interface to prompt the user that the payment has failed if the payment success notification is not received from the server before the timing ends.
  • the third display unit 1930 is configured to display a second payment receipt QR code in response to a repayment instruction issued based on the payment failure interface, and the second payment receipt QR code carries at least the order of the pending payment order information.
  • the payment failure interface includes a repayment icon, and the repayment instruction corresponds to a click instruction on the repayment icon.
  • the first payment receipt QR code also carries identification information of the merchant client; after the first payment receipt QR code is displayed, the device further includes:
  • the receiving unit 1940 is configured to receive a scan code success notification from the server, and the scan code success notification is sent by the server after receiving the serial number sent by the user client by scanning the first payment QR code.
  • the identification information obtained based on the analysis of the serial number is sent to the merchant client.
  • the weakening unit 1950 is configured to weaken the display of the first payment QR code in the display interface based on the notification of the successful scanning of the code, so that other user clients cannot successfully scan the payment QR code
  • the weakened display includes at least one of the following: adding a mask display, reducing the transparency display, and superimposing a picture display.
  • the first payment receipt two-dimensional code is permanently valid
  • the second payment receipt two-dimensional code is the same two-dimensional code as the first payment receipt two-dimensional code.
  • the first payment receipt QR code has a validity period
  • the display duration of the QR code is preset to be equal to the duration corresponding to the validity period
  • the second payment receipt QR code is The two-dimensional code that is different from the two-dimensional code of the first collection.
  • the order information includes merchant information and/or product information of the product to be paid.
  • a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed in a computer, the computer is executed in conjunction with FIG. 1, or FIG. 10, or Figure 12 describes the method.
  • a computing device including a memory and a processor, the memory stores executable code, and when the processor executes the executable code, a combination of FIG. 1 or FIG. 10. Or the method described in Figure 12.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • User Interface Of Digital Computer (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

一种二维码的展示方法及装置,所述方法的执行主体为商户客户端,所述方法包括:展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。

Description

二维码的展示方法及装置
本申请要求2019年05月14日递交的申请号为201910398098.3、发明名称为“二维码的展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本说明书实施例涉及计算机技术领域,具体地,涉及一种二维码的展示方法及装置。
背景技术
随着互联网技术的发展,二维码在人们生活中的应用越来越广泛。例如,商户可以出示动态二维码,供用户扫码支付。具体地,商户可以根据用户购买的商品,生成携带商品价格信息的收款二维码,以供用户扫码支付。
然而,目前商户展示收款二维码的方式过于单一,无法满足用户的多种需求。因此,需要一种针对二维码展示的改进方案,以满足用户的多种需求,进而提高用户体验。
发明内容
本说明书描述一种二维码的展示方法,在用户通过用户客户端扫描到商户客户端中展示的收款二维码以后,在商户客户端中展示针对收款二维码的展示计时界面,至少用于提示用户其需要在展示计时结束之前完成付款,以辅助用户顺利完成付款操作。
根据第一方面,提供一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第二方面,提供一种二维码的展示方法,所述方法的执行主体为服务端,所述方法包括:从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;对所述序列号进行解析,得到所述标识信息;基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第三方面,提供一种二维码的展示方法,所述方法的执行主体为用户客户端,所述方法包括:扫描商户客户端中展示的收款二维码,得到与所述收款二维码对应的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;向服务端发送所述序列号,以使所述服务端对所述序列号进行解析,得到所述标识信息,再基于所述标识信息,向所述商户客户端发送扫码成功通知,从而使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第四方面,提供一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
根据第五方面,提供一种二维码的展示方法,所述方法的执行主体为服务端,所述方法包括:从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;对所述序列号进行解析,得到所述标识信息;基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,使得其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
根据第六方面,提供一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息;在所述计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败,所述支付失败界面中包括重新支付图标;响应于针对所述重新支付图标的点击操作,展示第二收款二维码,所述第二收款二维码中携带所述待支付订单的订单信息。
根据第七方面,提供一种二维码的展示装置,所述展示装置集成于商户客户端,所述装置包括:第一展示单元,配置为展示收款二维码,所述收款二维码中至少携带所述 商户客户端的标识信息;接收单元,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;第二展示单元,配置为基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第八方面,提供一种二维码的展示装置,所述生成装置集成于服务端,所述装置包括:接收单元,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;解析单元,配置为对所述序列号进行解析,得到所述标识信息;发送单元,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第九方面,提供一种二维码的展示装置,所述装置集成于用户客户端,所述装置包括:扫描单元,配置为扫描商户客户端中展示的收款二维码,得到与所述收款二维码对应的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;发送单元,配置为向服务端发送所述序列号,以使所述服务端对所述序列号进行解析,得到所述标识信息,再基于所述标识信息,向所述商户客户端发送扫码成功通知,从而使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
根据第十方面,提供一种二维码的展示装置,所述展示装置集成于商户客户端,所述装置包括:所述装置集成于商户客户端,所述装置包括:第一展示单元,配置为展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;接收单元,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;第二展示单元,配置为基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
根据第十一方面,提供一种二维码的展示装置,所述展示装置集成于服务端,所述装置包括:接收单元,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二 维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;解析单元,配置为对所述序列号进行解析,得到所述标识信息;发送单元,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,使得其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
根据第十二方面,提供一种二维码的展示装置,所述展示装置集成于商户客户端,所述装置包括:第一展示单元,配置为展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息;第二展示单元,配置为在所述展示计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败,所述支付失败界面中包括重新支付图标;第三展示单元,配置为响应于针对所述重新支付图标的点击操作,展示第二收款二维码,所述第二收款二维码中携带所述待支付订单的订单信息。
根据第十三方面,提供了一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行第一方面或第二方面或第三方面或第四方面或第五方面或第六方面的方法。
根据第十四方面,提供了一种计算设备,包括存储器和处理器,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现第一方面或第二方面或第三方面或第四方面或第五方面或第六方面的方法。
采用本说明书实施例披露的二维码的展示方法,在用户通过用户客户端扫描到商户客户端中展示的收款二维码以后,可以在商户客户端中展示针对收款二维码的计时界面,以提示用户在展示计时结束之前完成付款,如此可以辅助用户顺利完成付款操作,并且,可以避免以下情况:用户因无法感知二维码失效,在二维码失效的情况下继续支付而使得支付失败,同时误以为是支付系统不稳定等其他原因而造成体验不佳。进一步地,还可以在展示计时界面中对收款二维码进行弱化显示,以使其他用户客户端无法扫描收款二维码,进而保证支付安全。更进一步地,还可以在当前展示的收款二维码失效以后,通过选择重新支付而查看针对同一订单的收款二维码,进而直接根据新展示的收款二维码完成支付操作,而无需重复之前的下单操作或无需进行调取订单操作,如此,进一步提高了用户体验。
附图说明
为了更清楚地说明本说明书披露的多个实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书披露的多个实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1示出本说明书实施例披露的商户客户端、用户客户端和服务端之间的交互示意图之一;
图2示出本说明书实施例披露的商户客户端中的展示界面之一;
图3示出本说明书实施例披露的用户客户端中的支付界面;
图4示出本说明书实施例披露的商户客户端中的展示界面之二;
图5示出本说明书实施例披露的商户客户端中的展示界面之三;
图6示出本说明书实施例披露的商户客户端中的展示界面之四;
图7示出本说明书实施例披露的商户客户端中的展示界面之五;
图8示出本说明书实施例披露的商户客户端中的展示界面之六;
图9示出本说明书实施例披露的商户客户端中的展示界面之七;
图10示出本说明书实施例披露的商户客户端中的展示界面之八;
图11示出本说明书实施例披露的商户客户端、用户客户端和服务端之间的交互示意图之二;
图12示出本说明书实施例披露的二维码展示方法流程图;
图13示出本说明书实施例披露的商户客户端中的展示界面之八;
图14示出本说明书实施例披露的二维码展示装置结构图之一;
图15示出本说明书实施例披露的二维码展示装置结构图之二;
图16示出本说明书实施例披露的二维码展示装置结构图之三;
图17示出本说明书实施例披露的二维码展示装置结构图之三;
图18示出本说明书实施例披露的二维码展示装置结构图之四;
图19示出本说明书实施例披露的二维码展示装置结构图之五。
具体实施方式
下面结合附图,对本说明书披露的多个实施例进行描述。
本说明书实施例提供一种二维码的展示方法,用户对收款二维码进行的扫描操作,将触发商户客户端展示针对收款二维码的计时界面,如此,可以提示用户在规定时间内完成支付操作。下面,结合具体的实施例,描述所述方法的实施步骤。
具体地,图1示出本说明书实施例披露的商户客户端、用户客户端和服务端之间的交互示意图之一。需要说明的是,其中商户客户端可以为服务平台(如,支付平台)提供给商户(或者说卖家)使用的商户APP,用户客户端可以为服务平台提供给消费者(或者说买家)使用的买家APP,服务端可以为服务平台中的服务器集群,其中预先存储有商户和用户的注册信息和对服务平台的使用记录,等等。
如图1所示,所述交互的过程包括以下步骤:步骤S102,商户客户端展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;步骤S104,用户客户端扫描所述收款二维码;步骤S106,用户客户端读取扫描到的所述收款二维码所对应的序列号;步骤S108,用户客户端将所述序列号发送至服务端;步骤S110,服务端对所述序列号进行解析,得到所述标识信息;步骤S112,服务端基于所述标识信息,向所述商户客户端发送扫码成功通知;步骤S114,商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面。以上步骤具体如下:
首先,在步骤S102,商户客户端展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息。
在一个实施例中,在步骤S102之前,还可以包括:商户客户端生成收款二维码。在一个具体的实施例中,商户客户端至少基于商户客户端的标识信息,生成上述收款二维码。如此,生成的收款二维码中至少携带所述标识信息。在一个例子中,其中标识信息用于唯一标识所述商户客户端,更具体地,标识信息可以为服务端预先为所述商户客户端分配的ID(例如,可以为字符串)。
在另一个具体的实施例中,商户客户端还可以基于待支付订单的订单信息,生成对应的收款二维码。如此,生成的收款二维码中还携带所述订单信息。在一个例子中,其中订单信息包括商户信息和/或用户所购买商品(或称为待支付商品)的商品信息。在一个具体的例子中,其中商户信息包括商户的名称,商户的地址,等等。在一个具体的例子中,其中商品信息可以包括商品的名称、类别和价格,等等。在一个具体的例子中,可以采用已有的算法,生成对应的收款二维码,在此不作赘述。
基于以上生成的二维码,商户客户端可以对收款二维码进行展示,以供用户进行扫 码支付。在一个例子中,如图2所示,其中示出商户客户端中展示的收款二维码,此时,用户尚未对收款二维码进行扫描。
接着,在步骤S104,用户客户端扫描所述收款二维码。以及,在步骤S106,用户客户端读取扫描到的所述收款二维码所对应的序列号。以及,在步骤S108,用户客户端将所述序列号发送至服务端。
在一个实施例中,步骤S104可以包括:响应于用户基于所述用户客户端发出的扫码指令,扫描所述收款二维码。在一个具体的实施例中,其中扫码指令对应于对所述用户客户端中扫码图标的点击指令。在另一个具体的实施例中,其中扫码指令为声控指令。
基于以上扫描到的收款二维码,在步骤S106中,用户客户端可以对其进行读取,得到对应的序列号。在一个实施例中,其中序列号可以由字母和/或数字组成。在另一个实施例中,其中序列号还可以包括特殊字符。
在读取到序列号以后,在步骤S108,用户客户端将序列号发送至服务端。再接着,在步骤S110,服务端对所述序列号进行解析,得到所述标识信息。
在一个实施例中,服务端可以采用现有的算法对序列号进行解析,以得到收款二维码中携带的信息。在一个具体的实施例中,收款二维码中至少携带商户客户端的标识信息,相应地,此处至少可以解析得到所述标识信息。如此,服务端可以根据标识信息与对应的商户客户端进行通信。
在另一个具体的实施例中,如前所述,生成的收款二维码还可以携带商户信息和/或待支付商品的商品信息,相应地,此处还可以解析得到所述商户信息和/或待支付商品的商品信息。进一步地,在一个实施例中,服务端可以将解析出的商户信息,如商户名称和商户图标等,发送至用户客户端,以使用户客户端生成对应的付款界面,所述付款界面中可以包括供用户进行确认的商户信息,供用户输入付款金额的输入框、输入键盘,以及,用于确认支付的提交按钮。在另一个实施例中,服务端可以将解析出的商户信息和待支付商品的商品信息,如商户名称和待支付商品的总金额,发送至用户客户端,以使用户客户端生成对应的付款界面,所述付款界面中可以包括供用户进行确认的商户信息和待支付商品的商品信息,以及,用于确认支付的提交按钮。
根据一个具体的例子,在上述步骤S108中,还可以包括:用户客户端将对应的登录用户的用户标识发送至服务端。相应地,在步骤S109中,还可以包括:服务端根据 用户标识查询用户是否开通了借呗业务。更具体地,在一个例子中,在用户已开通借呗业务的情况下,根据上述解析出的付款金额,确定对应于借呗的付款详情,具体包括分期付款的金额和参考利息等。相应地,将确定出的付款详情发送至用户客户端,以使用户客户端生成对应的付款界面,其中包括待确认的订单金额、参考利息、分期付款金额以及同意服务协议,确认分期按钮,例如,可以参见图3。在另一个例子中,在用户未开头借呗业务的情况下,向用户客户端发送相关的消息,以引导用户开通借呗业务,再执行上述在用户已开通借呗业务下的业务流程。
以上,服务端通过对序列号进行解析,可以得到商户客户端的标识信息。然后,在步骤S112,服务端基于所述标识信息,向所述商户客户端发送扫码成功通知。在一个实施例中,步骤S112可以包括:服务端基于所述标识信息,生成所述扫码成功通知,再向商户客户端发送所述扫码成功通知。
基于此,在步骤S114,商户客户端基于接收到的扫码成功通知,展示针对所述收款二维码的展示计时界面。
在一个实施例中,展示计时界面中的计时方式可以为正向计时或倒计时。在一个具体的实施例中,展示计时界面中的计时方式为正向计时,此时,展示计时界面中计时数值的起始值可以为0,同时,展示计时界面中还可以显示计时时限,也就是说,当计时数值达到计时时限时,计时结束。在另一个具体的实施例中,展示计时界面中的计时方式为倒计时,此时,展示计时界面中计时数值的起始值可以为计时时限,也就是说,当计时数值达到0时,计时结束。关于上述计时时限,涉及到二维码的有效期。需要说明的是,目前基于不同的需求,二维码本身可能具有不同的有效期,具体地,有效期可以为60s,或者5min;或者,永久有效(这种情况也可以理解为不存在有效期),等等。
为了帮助理解,下面通过举例对有效期进行进一步说明。在一个例子中,商户客户端可以针对一个订单仅生成一个收款码,这个收款码可以是永久有效的,也就是说,无论用户什么时候对收款码进行扫描,都可以完成对订单的支付。在另一个例子中,商户客户端可以针对一个订单生成多个收款码,具体地,假定有效期是60s,相应地,若用户在收款码展示的第一个60s内未完成付款,则已展示的二维码失效(也就是说,即时用户基于此二维码进行支付操作,也不能支付成功),并且,商户客户端在第二个60s内展示针对同一订单的另一个二维码,此时,用户在第二个60s内针对另一个二维码进行扫描等完整的付款操作,才能支付成功。
基于此,在一个实施例中,上述计时时限可以对应于预先设定的可接受支付时长。在一个具体的实施例中,收款二维码永久有效,相应地,上述可接受支付时长可以根据时间需要而设定为任何值,如70s或90s,等等。在另一个实施例中,收款二维码具有有效期,相应地,可以将上述可接受支付时长设定为小于上述有效期的值。在一个具体的实施例中,假定有效期的时长为10min或2天,相应地,可以将可接受的支付时长设定为5min,等等。
在另一个实施例中,不同的收款二维码所对应的上述计时时限可以是不同的。在一个具体的实施例中,收款二维码存在有限的有效期,相应地,可以将计时时限设定为有效期中的剩余有效时长。更具体地,在一个例子中,上述展示收款二维码所对应的时刻为第一时刻,上述从服务端接收扫码成功通知所对应的时刻为第二时刻,由此,可以将剩余有效时长确定为:有效期-(第二时刻-第一时刻)。根据一个具体的例子,假定有效期为2min,第一时刻为10:10:20,第二时刻为10:10:50,相应地,可以确定出剩余有效时长为90s。
根据一个具体的例子,图4中示出的展示计时界面中的计时方式为倒计时,其中的起始倒计时时长为60s。进一步地,在过去10s后,其中显示的剩余倒计时时长为50s。根据另一个例子,图5中示出的展示计时界面中计时方式为正向计时,其中的计时时限为65s,计时数值的初始值为0,在过去15s以后显示的计时数值为15s。以上,通过在展示计时界面中进行计时显示,可以提示用户在展示倒计时之前完成付款,以顺利完成订单的支付,进而提高用户体验。
需要说明的是,第一方面,在一个实施例中,步骤S114中还可以包括:在展示计时界面中进行计时显示的同时,对展示计时进行语音播报。在一个具体的实施例中,展示计时的计时方式为倒计时,则语音播报的内容可以为“还有xx秒”,例如“还有55秒”、“还有54秒”等。在另一个具体的实施例中,展示计时的计时方式为正向计时,则语音播报的内容可以为“XX秒”,例如,“5秒啦”、“10秒啦”等等。在一个具体的例子中,语音播报中还可以包括计时音效,如“滴答滴答”等等。
第二方面,在一个实施例中,在执行上述步骤S114的同时,可以在用户客户端的支付界面中进行同步的计时显示。具体地,在一个实施例中,上述收款二维码中还携带待支付订单的订单信息,在步骤S110中还可以包括:服务端对所述序列号进行解析时得到所述订单信息。此时,在步骤S110之后还可以包括:并将所述订单信息发送至用 户客户端,用户端基于所述订单信息,展示对应的支付界面,包括在所述支付界面中对所述展示计时界面中的展示计时进行同步显示。在一个例子中,图6中示出用户客户端中展示的支付界面,其中包括对图4示出的展示计时界面中的倒计时进行同步显示。
第三方面,在一个实施例中,在上述步骤S114中还可以包括:在所述展示计时界面中对所述收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述收款二维码。如此,可以保障用户的支付安全。其中,其他用户是指上述用户客户端所对应用户以外的用户。
比如说,在一种可能的情况下,例如,一个自动贩卖机上显示针对某个订单的收款二维码,所述某个订单是用户A下单,之后,用户A和用户B先后对收款二维码进行扫描,但是用户B在用户A之前完成了后续的支付操作,相应地,服务器先接收到用户B的支付请求,后接收到用户A的支付请求,但是用户A在完成支付操作以后直接把手机揣在兜里,看到自动贩卖机中滚落的商品,以为是自己支付成功,并且把商品拿走了,但实际是用户B支付成功。此时,造成了用户B的经济损失。进一步地,如果采用本说明书实施例中披露的上述弱化显示的方案,可以保证只有一个用户能够成功扫描取到收款二维码,进而保证支付安全,避免其他用户的经济损失。
在一个具体的实施例中,上述弱化显示包括以下中的任意几种:添加蒙层显示,降低透明度显示,叠加图片显示。在一个例子中,图7示出的展示界面中包括经过降低透明度和叠加图片处理后的收款二维码。显然,其他用户客户端无法成功扫描到其中弱化显示后的收款二维码。
以上,在展示计时界面中对所述收款二维码进行弱化显示,可以使其他用户客户端无法成功扫描所述收款二维码,进而保障用户的支付安全。
第四方面,在一个实施例中,在上述步骤S114之后,所述方法还可以包括:商户客户端在所述展示计时结束之前,未从服务端接收到针对所述用户客户端的支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败。在一个具体的实施例中,在上述步骤S114中还可以包括:商户客户端基于所述扫码成功通知,对支付结果进行轮巡。相应地,当展示计时结束(例如,界面中显示的展示倒计时为0),且未查询到支付结果的情况下,展示支付失败界面。在一个例子中,图8中示出支付失败界面,其中提示用户支付超时而导致支付失败。
第五方面,在一个实施例中,在上述步骤S114之后,所述方法还可以包括:若在 上述展示计时结束之前,服务端判定支付失败,进一步地,服务端向商户客户端发送支付失败通知。相应地,商户客户端基于支付失败通知,展示支付失败界面。在一个具体的实施例中,支付失败通知中包括支付失败的原因。相应地,展示支付失败界面可以包括:在支付失败界面中展示支付失败原因。在一个例子中,图9中示出支付失败界面,其中显示的支付失败原因为:买家余额不足。
第六方面,在一个实施例中,在上述步骤S114之后,所述方法还可以包括:若在上述展示计时结束之前,服务端判定支付成功,进一步地,服务端向商户客户端发送支付成功通知。相应地,商户客户端基于支付成功通知,展示支付成功界面,以提示用户支付成功。在一个例子中,图10中示出支付成功界面。
第七方面,在一种实施方式中,上述步骤S114可以被替换为:基于所述扫码成功通知,对所述第一收款码进行语音计时播报,用于提示用户在计时结束之前完成付款。
根据另一方面的实施例,还提供另一种二维码的展示方法。具体地,图11示出本说明书实施例披露的商户客户端、用户客户端和服务端之间的交互示意图之二。如图11所示,所述交互的过程包括以下步骤:步骤S1101,商户客户端展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;步骤S1103,用户客户端扫描所述收款二维码;步骤S1105,用户客户端读取扫描到的所述收款二维码所对应的序列号;步骤S1107,用户客户端将所述序列号发送至服务端;步骤S1109,服务端对所述序列号进行解析,得到所述标识信息;步骤S1111,服务端基于所述标识信息,向所述商户客户端发送扫码成功通知;步骤S1113,基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码,其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
对以上步骤,需要说明的是,对步骤S1101-步骤S1111的介绍,可以参见上述对步骤S102-步骤S112的介绍,在此不作赘述。
此外,对步骤S1113的描述,可以参见对上述步骤S114中弱化显示的相关描述,在此不作赘述。
根据再一方面的实施例,考虑到商户客户端中针对当前收款二维码的展示结束以后,例如,上述展示计时界面中的展示计时结束以后,用户能仍然希望完成针对原有订 单的支付操作,以获得对应的商品。目前,通常需要用户重复之前的下单操作,再次下单,也就是生成相同的新订单,这无疑使得用户体验不佳。基于此,本说明书实施例还提供一种二维码的展示方法,使用户无需重复之前的下单操作,或者无需调取原有订单进行支付,而是直接根据再次展示的针对原有订单的二维码直接完成支付操作。
具体地,图12示出本说明书实施例披露的二维码展示方法流程图,所述展示方法的执行主体为商户客户端,所述方法具体包括以下步骤:步骤S1210,展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息;步骤S1220,在所述展示计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败;步骤S1230,响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述待支付订单的订单信息。以上步骤具体如下:
首先,在步骤S1210,展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款。
需要说明的是,对第一收款二维码的介绍,可以参见上述实施例中对收款二维码的描述,在此不作赘述。此外,第一收款二维码中的“第一”用于与下文中的“第二收款二维码”进行区分描述。
在一个实施例中,上述第一收款二维码永久有效,相应地,其中预先设定的二维码展示时长可以为根据实际需要预先设定的任意时长,具体地,可以参见上述对可接受支付时长的描述,在此不作赘述。在另一个实施例中,上述第一收款二维码具有有效期,所述二维码展示时长预先设定为与所述有效期对应的时长相等。在一个例子中,有效期为90s,相应地,可以将二维码展示时长设定为90s。
根据一个具体的例子,图13中示出针对第一收款二维码的展示界面,其中示出的剩余倒计时时长为50s。
接着,在步骤S1220,在所述计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败。
在一个例子中,展示出的支付失败界面如图8所示。
需要说明的是,对本步骤的描述可以参见上述实施例中,对于因展示计时结束而展示支付失败界面的描述,在此不作赘述。
步骤S1230,响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述待支付订单的订单信息。
在一个实施例中,重新支付指令可以为声控指令或点击指令,等等。在一个具体的实施例中,支付失败界面中包括重新支付图标,相应地,重新支付指令对应于对重新支付图标的点击指令。在一个例子中,可以为对图7中示出的重新支付图标的点击指令。
在一个实施例中,如上所述,其中第一收款二维码永久有效。相应地,在一个具体的实施例中,其中第二收款二维码为与第一收款二维码相同的二维码;在另一个具体的实施例中,其中第二收款二维码也可以为与第一收款二维码不同的二维码,同样地,第二收款二维码也永久有效。
在另一个实施例中,如上所述,所述第一收款二维码具有有效期。相应地,在一个具体的实施例中,第二收款二维码为与所述第一收款二维码不同的二维码。
以上,通过再次展示收款二维码,可以使用户无需重复之前的下单操作,而是直接根据再次展示的针对原有订单的二维码直接完成支付操作。
此外,需要说明的是,在一个实施例中,上述第一收款二维码中还携带所述商户客户端的标识信息;在上述步骤S1210和步骤S1220之间,还可以包括:从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述第一收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;基于所述扫码成功通知,在所述展示界面中对所述第一收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。对此,可以参见前述实施例中的相关描述,在此不作赘述。
上述对二维码的展示方法进行了介绍。根据又一方面的实施例,还提供一种展示装置。图14示出本说明书实施例披露的二维码展示装置结构图之一,所述装置集成于商户客户端,所述装置1400包括:
第一展示单元1410,配置为展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息。接收单元1420,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端。第二展示单元1430,配置为基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少 用于提示用户在展示计时结束之前完成付款。
在一个实施例中,所述收款二维码中还携带支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息。
在一个实施例中,所述展示计时的计时方式为正向计时或倒计时。
在一个实施例中,所述第二展示单元1430具体配置为:在所述展示计时界面中,对预先设定的可接受支付时长进行计时显示。
在一个实施例中,所述展示收款二维码所对应的时刻为第一时刻,所述从服务端接收扫码成功通知所对应的时刻为第二时刻。所述第二展示单元1430具体配置为:在所述展示计时界面中,对所述收款二维码的剩余有效时长进行计时显示,所述剩余有效时长基于所述收款二维码的有效期,以及所述第一时刻和第二时刻而确定。
在一个实施例中,所述第二展示单元1430具体配置为:在所述展示计时界面中对所述收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
在一个实施例中,所述装置还包括:第三展示单元1440,配置为在所述展示计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败。
进一步地,在一个具体的实施例中,所述装置还包括:
第四展示单元1450,配置为响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述商户客户端的标识信息。
更进一步地,在一个例子中,所述支付失败界面中包括重新支付图标,所述重新支付指令对应于对所述重新支付图标的点击指令。
在另一个例子中,所述第一收款二维码永久有效,所述第二收款二维码为与所述第一收款二维码相同的二维码;或者,
所述第一收款二维码具有有效期,所述第二收款二维码为与所述第一收款二维码不同的二维码。
在另一个具体的实施例中,所述第一收款二维码和所述第二收款二维码中携带相同的待支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息。
在一个实施例中,所述装置还包括播报单元1460,配置为对所述展示计时进行语音 播报。
图15示出本说明书实施例披露的二维码展示装置结构图之二,所述装置集成于服务端,所述装置1500包括:接收单元1510,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;解析单元1520,配置为对所述序列号进行解析,得到所述标识信息;发送单元1530,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
图16示出本说明书实施例披露的二维码展示装置结构图之三,所述装置集成于用户客户端,所述装置1600包括:扫描单元1610,配置为扫描商户客户端中展示的收款二维码,得到与所述收款二维码对应的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;发送单元1620,配置为向服务端发送所述序列号,以使所述服务端对所述序列号进行解析,得到所述标识信息,再基于所述标识信息,向所述商户客户端发送扫码成功通知,从而使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
在一个实施例中,所述收款二维码中还携带待支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息;所述装置还包括:接收单元1630,配置为从所述服务端接收所述订单信息,所述订单信息由所述服务端对所述序列号进行解析而得到;展示单元1640,配置为基于所述订单信息,展示对应的支付界面,包括在所述支付界面中对所述展示计时界面中的展示计时进行同步显示。
图17示出本说明书实施例披露的二维码展示装置结构图之三,所述装置集成于商户客户端,所述装置1700包括:第一展示单元1710,配置为展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;接收单元1720,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;第二展示单元1730,配置为基于所述扫码成功通知,展示针对所述收款二维码 的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
图18示出本说明书实施例披露的二维码展示装置结构图之四,所述装置集成于服务端,所述装置1800包括:接收单元1810,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;解析单元1820,配置为对所述序列号进行解析,得到所述标识信息;发送单元1830,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,使得其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
图19示出本说明书实施例披露的二维码展示装置结构图之五,所述装置集成于商户客户端,所述装置1900包括:第一展示单元1910,配置为展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息。第二展示单元1920,配置为在所述计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败。第三展示单元1930,配置为响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述待支付订单的订单信息。
在一个实施例中,所述支付失败界面中包括重新支付图标,所述重新支付指令对应于对所述重新支付图标的点击指令。
在一个实施例中,所述第一收款二维码中还携带所述商户客户端的标识信息;在所述展示第一收款二维码之后,所述装置还包括:
接收单元1940,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述第一收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端。弱化单元1950,配置为基于所述扫码成功通知,在所述展示界面中对所述第一收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种: 添加蒙层显示,降低透明度显示,叠加图片显示。
在一个实施例中,所述第一收款二维码永久有效,所述第二收款二维码为与所述第一收款二维码相同的二维码。
在一个实施例中,所述第一收款二维码具有有效期,所述二维码展示时长预先设定为与所述有效期对应的时长相等,所述第二收款二维码为与所述第一收款二维码不同的二维码。
在一个实施例中,所述订单信息包括商户信息和/或待支付商品的商品信息。
如上,根据再一方面的实施例,还提供一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行结合图1、或图10、或图12描述的方法。
根据再一方面的实施例,还提供一种计算设备,包括存储器和处理器,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现结合图1、或图10、或图12所描述的方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本说明书披露的多个实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。
以上所述的具体实施方式,对本说明书披露的多个实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本说明书披露的多个实施例的具体实施方式而已,并不用于限定本说明书披露的多个实施例的保护范围,凡在本说明书披露的多个实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本说明书披露的多个实施例的保护范围之内。

Claims (31)

  1. 一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:
    展示第一收款二维码,所述第一收款二维码中至少携带所述商户客户端的标识信息;
    从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述第一收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;
    基于所述扫码成功通知,展示针对所述第一收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  2. 根据权利要求1所述的方法,其中,所述第一收款二维码中还携带待支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息。
  3. 根据权利要求1所述的方法,其中,所述展示计时的计时方式为正向计时或倒计时。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:对所述展示计时进行语音播报。
  5. 根据权利要求1所述的方法,其中,所述展示针对所述第一收款二维码的展示计时界面,包括:
    在所述展示计时界面中,基于预先设定的可接受支付时长进行计时显示。
  6. 根据权利要求1所述的方法,其中,所述展示第一收款二维码所对应的时刻为第一时刻,所述从服务端接收扫码成功通知所对应的时刻为第二时刻;
    所述展示针对所述第一收款二维码的展示计时界面,包括:
    在所述展示计时界面中,基于所述第一收款二维码的剩余有效时长进行计时显示,所述剩余有效时长基于所述第一收款二维码的有效期,以及所述第一时刻和第二时刻而确定。
  7. 根据权利要求1所述的方法,其中,所述展示针对所述第一收款二维码的展示计时界面,包括:
    在所述展示计时界面中对所述第一收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述第一收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  8. 根据权利要求1所述的方法,其中,在所述展示针对所述第一收款二维码的展 示计时界面之后,所述方法还包括:
    在所述展示计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败。
  9. 根据权利要求8所述的方法,其中,在所述展示所述支付失败界面之后,所述方法还包括:
    响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述商户客户端的标识信息。
  10. 根据权利要求9所述的方法,其中,所述支付失败界面中包括重新支付图标,所述重新支付指令对应于对所述重新支付图标的点击指令。
  11. 根据权利要求9所述的方法,其中,所述第一收款二维码永久有效,所述第二收款二维码为与所述第一收款二维码相同的二维码;或者,
    所述第一收款二维码具有有效期,所述第二收款二维码为与所述第一收款二维码不同的二维码。
  12. 根据权利要求9-11中任一项所述的方法,其中,所述第一收款二维码和所述第二收款二维码中携带相同的待支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息。
  13. 一种二维码的展示方法,所述方法的执行主体为服务端,所述方法包括:
    从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    对所述序列号进行解析,得到所述标识信息;
    基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  14. 一种二维码的展示方法,所述方法的执行主体为用户客户端,所述方法包括:
    扫描商户客户端中展示的收款二维码,得到与所述收款二维码对应的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    向服务端发送所述序列号,以使所述服务端对所述序列号进行解析,得到所述标识信息,再基于所述标识信息,向所述商户客户端发送扫码成功通知,从而使所述商户客 户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  15. 根据权利要求14所述的方法,其中,所述收款二维码中还携带待支付订单的订单信息,所述订单信息包括商户信息和/或待支付商品的商品信息;在所述向服务端发送所述序列号之后,所述方法还包括:
    从所述服务端接收所述订单信息,所述订单信息由所述服务端对所述序列号进行解析而得到;
    基于所述订单信息,展示对应的支付界面,包括在所述支付界面中对所述展示计时界面中的展示计时进行同步显示。
  16. 一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:
    展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;
    从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;
    基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  17. 一种二维码的展示方法,所述方法的执行主体为服务端,所述方法包括:
    从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    对所述序列号进行解析,得到所述标识信息;
    基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,使得其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  18. 一种二维码的展示方法,所述方法的执行主体为商户客户端,所述方法包括:
    展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长 进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息;
    在所述计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败;
    响应于基于所述支付失败界面发出的重新支付指令,展示第二收款二维码,所述第二收款二维码中至少携带所述待支付订单的订单信息。
  19. 根据权利要求18所述的方法,其中,所述支付失败界面中包括重新支付图标,所述重新支付指令对应于对所述重新支付图标的点击指令。
  20. 根据权利要求18所述的方法,其中,所述第一收款二维码中还携带所述商户客户端的标识信息;在所述展示第一收款二维码之后,所述方法还包括:
    从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述第一收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;
    基于所述扫码成功通知,在所述展示界面中对所述第一收款二维码进行弱化显示,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  21. 根据权利要求18所述的方法,其中,所述第一收款二维码永久有效,所述第二收款二维码为与所述第一收款二维码相同的二维码。
  22. 根据权利要求18所述的方法,其中,所述第一收款二维码具有有效期,所述二维码展示时长预先设定为与所述有效期对应的时长相等,所述第二收款二维码为与所述第一收款二维码不同的二维码。
  23. 根据权利要求18所述的方法,其中,所述订单信息包括商户信息和/或待支付商品的商品信息。
  24. 一种二维码的展示装置,所述装置集成于商户客户端,所述装置包括:
    第一展示单元,配置为展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;
    接收单元,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;
    第二展示单元,配置为基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  25. 一种二维码的展示装置,所述装置集成于服务端,所述装置包括:
    接收单元,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    解析单元,配置为对所述序列号进行解析,得到所述标识信息;
    发送单元,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  26. 一种二维码的展示装置,所述装置集成于用户客户端,所述装置包括:
    扫描单元,配置为扫描商户客户端中展示的收款二维码,得到与所述收款二维码对应的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    发送单元,配置为向服务端发送所述序列号,以使所述服务端对所述序列号进行解析,得到所述标识信息,再基于所述标识信息,向所述商户客户端发送扫码成功通知,从而使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的展示计时界面,至少用于提示用户在展示计时结束之前完成付款。
  27. 一种二维码的展示装置,所述装置集成于商户客户端,所述装置包括:
    第一展示单元,配置为展示收款二维码,所述收款二维码中至少携带所述商户客户端的标识信息;
    接收单元,配置为从服务端接收扫码成功通知,所述扫码成功通知由所述服务端在接收到用户客户端通过扫描所述收款二维码而发送的序列号之后,基于对所述序列号解析得到的所述标识信息发送至所述商户客户端;
    第二展示单元,配置为基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,以使其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  28. 一种二维码的展示装置,所述装置集成于服务端,所述装置包括:
    接收单元,配置为从用户客户端接收其通过扫描商户客户端中展示的收款二维码而发送的序列号,所述收款二维码中至少携带所述商户客户端的标识信息;
    解析单元,配置为对所述序列号进行解析,得到所述标识信息;
    发送单元,配置为基于所述标识信息,向所述商户客户端发送扫码成功通知,以使所述商户客户端基于所述扫码成功通知,展示针对所述收款二维码的弱化显示界面,使得其他用户客户端无法成功扫描所述收款二维码;其中,所述弱化显示包括以下中的至少一种:添加蒙层显示,降低透明度显示,叠加图片显示。
  29. 一种二维码的展示装置,所述装置集成于商户客户端,所述装置包括:
    第一展示单元,配置为展示第一收款二维码,具体包括在对应的展示界面中对预先设定的二维码展示时长进行计时显示,以提示用户在计时结束之前完成付款;其中,所述第一收款二维码中至少携带待支付订单的订单信息;
    第二展示单元,配置为在所述展示计时结束之前未从服务端接收到支付成功通知的情况下,展示支付失败界面,以提示所述用户支付失败,所述支付失败界面中包括重新支付图标;
    第三展示单元,配置为响应于针对所述重新支付图标的点击操作,展示第二收款二维码,所述第二收款二维码中携带所述待支付订单的订单信息。
  30. 一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行权利要求1-23中任一项的所述的方法。
  31. 一种计算设备,包括存储器和处理器,其特征在于,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现权利要求1-23中任一项所述的方法。
PCT/CN2020/088642 2019-05-14 2020-05-06 二维码的展示方法及装置 Ceased WO2020228563A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910398098.3A CN111950661A (zh) 2019-05-14 2019-05-14 二维码的展示方法及装置
CN201910398098.3 2019-05-14

Publications (1)

Publication Number Publication Date
WO2020228563A1 true WO2020228563A1 (zh) 2020-11-19

Family

ID=73289030

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088642 Ceased WO2020228563A1 (zh) 2019-05-14 2020-05-06 二维码的展示方法及装置

Country Status (2)

Country Link
CN (1) CN111950661A (zh)
WO (1) WO2020228563A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245127A (zh) * 2021-12-07 2023-06-09 北京小米移动软件有限公司 二维码扫描方法、装置、设备、存储介质及程序产品
CN114493561B (zh) * 2022-01-11 2025-12-23 北京达佳互联信息技术有限公司 一种信息交互方式的替换方法、装置、设备及存储介质
CN114862387B (zh) * 2022-07-04 2022-11-04 成都桐领智能科技有限公司 一种基于可信条码的支付方法、系统和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590199A (zh) * 2014-11-14 2016-05-18 中国银联股份有限公司 一种基于动态二维码的支付方法以及支付系统
CN105956877A (zh) * 2016-04-22 2016-09-21 上海瀚之友信息技术服务有限公司 一种自动售货系统
CN106096945A (zh) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 一种支付方法、装置、终端、服务器以及支付系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108027925B (zh) * 2015-07-20 2022-03-18 焦若筠 一种使用二维码的无卡支付方法及其系统
CN106600269B (zh) * 2016-12-28 2021-04-20 中国民生银行股份有限公司 基于二维码的支付方法和平台

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590199A (zh) * 2014-11-14 2016-05-18 中国银联股份有限公司 一种基于动态二维码的支付方法以及支付系统
CN105956877A (zh) * 2016-04-22 2016-09-21 上海瀚之友信息技术服务有限公司 一种自动售货系统
CN106096945A (zh) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 一种支付方法、装置、终端、服务器以及支付系统

Also Published As

Publication number Publication date
CN111950661A (zh) 2020-11-17

Similar Documents

Publication Publication Date Title
US20250328881A1 (en) Method, apparatus, and system for operating an electronic account in connection with an electronic transaction
KR102402413B1 (ko) 결제 처리 방법과 장치, 및 지능형 장치
US20170300914A1 (en) Method, client, server and computer storage medium for processing information
US11172363B2 (en) Techniques for automated transactions
WO2020228563A1 (zh) 二维码的展示方法及装置
US10706410B2 (en) Service-hosted payment request
CN105913245A (zh) 互联网支付方法、装置和服务器
JP2019505056A (ja) 電子決済サービス処理方法及びデバイス並びに電子決済方法及びデバイス
CN105376203B (zh) 交互信息的处理方法、装置及系统
CN112968797B (zh) 一种云服务软件的应用配置方法、系统和存储介质
US20220215374A1 (en) Payment Method, Apparatus and System, Device, and Storage Medium
WO2015175619A1 (en) Method, apparatus, and system for operating an electronic account in connection with an electronic transaction
CN105871785B (zh) 一种业务处理方法、装置和系统
CN113422980B (zh) 视频数据处理方法及装置、电子设备、存储介质
US20160104223A1 (en) Methods for facilitating references in a chat context and devices thereof
CN114004569A (zh) 配送信息处理方法、装置、电子设备、介质及程序产品
KR20130125344A (ko) 온라인 결제 서비스를 제공하는 온라인 결제 방법
CN105590242A (zh) 生成订单信息的方法和装置
CN116485394A (zh) 生成支付口令和发送支付请求的方法、装置、设备和介质
CN114331557A (zh) 活动推广方法及系统
CN116156242A (zh) 视频处理方法、装置、计算机设备及计算机可读存储介质
CN113313483A (zh) 一种自助支付方法、系统及设备
CN115134627A (zh) 直播间信息处理方法及装置、可读存储介质、电子设备
CN112766969A (zh) 移动支付方法及系统、支付装置、计算机可读存储介质
CN110099125A (zh) 信息转接方法、装置、电子设备及计算机可读存储介质

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: 20806737

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: 20806737

Country of ref document: EP

Kind code of ref document: A1