[go: up one dir, main page]

TWI839876B - QR code payment method, user terminal, business equipment, system and medium - Google Patents

QR code payment method, user terminal, business equipment, system and medium Download PDF

Info

Publication number
TWI839876B
TWI839876B TW111137390A TW111137390A TWI839876B TW I839876 B TWI839876 B TW I839876B TW 111137390 A TW111137390 A TW 111137390A TW 111137390 A TW111137390 A TW 111137390A TW I839876 B TWI839876 B TW I839876B
Authority
TW
Taiwan
Prior art keywords
payment
information
code
payment code
waiting time
Prior art date
Application number
TW111137390A
Other languages
Chinese (zh)
Other versions
TW202333097A (en
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 TW202333097A publication Critical patent/TW202333097A/en
Application granted granted Critical
Publication of TWI839876B publication Critical patent/TWI839876B/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/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
    • 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/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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/382Payment protocols; Details thereof insuring higher security of 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/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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本發明公開了一種掃碼支付方法、使用者終端、業務設備、系統及介質,屬於資料處理領域。該方法包括:接收付款碼請求消息,付款碼請求消息包括使用者終端的位置資訊;獲取與位置資訊關聯的付款等待時長因素資訊;在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,第一付款碼回饋消息包括第一付款碼和第二付款碼,使用者終端在感應到收款受理終端的觸發信號之前顯示第一付款碼,在感應到觸發信號的情況下將顯示的第一付款碼切換為第二付款碼;若支付請求消息包括第一資訊,指示從第二付款碼的資訊指示的付款方帳戶中扣除支付金額。根據本發明實施例能夠提高掃碼支付的安全性。 The present invention discloses a code scanning payment method, a user terminal, a business device, a system and a medium, and belongs to the field of data processing. The method includes: receiving a payment code request message, the payment code request message includes the location information of the user terminal; obtaining the payment waiting time factor information associated with the location information; when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, sending a first payment code feedback message, the first payment code feedback message includes the first payment code and the second payment code, the user terminal displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; if the payment request message includes the first information, instructing to deduct the payment amount from the payee account indicated by the information of the second payment code. According to the embodiment of the present invention, the security of QR code payment can be improved.

Description

掃碼支付方法、使用者終端、業務設備、系統及介質 QR code payment method, user terminal, business equipment, system and medium

本發明屬於資料處理領域,尤其涉及一種掃碼支付方法、使用者終端、業務設備、系統及介質。 The present invention belongs to the field of data processing, and in particular relates to a code scanning payment method, a user terminal, business equipment, a system and a medium.

隨著支付技術的不斷發展,掃碼支付已經深入各個領域。掃碼支付可包括主掃支付模式和被掃支付模式。主掃支付模式為支付使用者掃描商戶收款碼的支付方式。被掃支付模式為支付使用者的使用者終端顯示付款碼,由商戶受理終端掃描該付款碼的支付方式。 With the continuous development of payment technology, QR code payment has penetrated into various fields. QR code payment can include the main scan payment mode and the scanned payment mode. The main scan payment mode is a payment method in which the paying user scans the merchant's payment code. The scanned payment mode is a payment method in which the paying user's user terminal displays the payment code and the merchant accepts the payment by scanning the terminal.

在採用被掃支付模式的場景中,為了節省支付時間,用戶會提前將付款碼顯示在使用者終端。在用戶等待支付的過程中,存在付款碼被偷拍盜用的情況,降低了使用者的支付安全。 In the scenario of using the scanned payment mode, in order to save payment time, the user will display the payment code on the user terminal in advance. While the user is waiting for payment, there is a possibility that the payment code is secretly photographed and used, which reduces the user's payment security.

本發明實施例提供一種掃碼支付方法、使用者終端、業務設備、系統及介質,能夠提高掃碼支付的安全性。 The embodiment of the present invention provides a code scanning payment method, user terminal, business equipment, system and medium, which can improve the security of code scanning payment.

第一方面,本發明實施例提供一種掃碼支付方法,應用於業務系統,該方法包括:接收付款碼請求消息,付款碼請求消息由使用者終端回應於支付操作生成,包括使用者終端的位置資訊;獲取與位置資訊關聯的付款等待時長因素資訊;在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,第一付款碼回饋消息包括第一付款碼和第二付款碼,以使使用者終端獲取第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示第一付款碼,在感應到觸發信號的情況下將顯示的第一付款碼切換為第二付款碼;在接收的支付請求消息包括第一資訊的情況下,指示從第一 資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 In a first aspect, an embodiment of the present invention provides a code scanning payment method, which is applied to a business system, and the method includes: receiving a payment code request message, the payment code request message is generated by a user terminal in response to a payment operation, and includes location information of the user terminal; obtaining payment waiting time factor information associated with the location information; when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold, sending a first payment code feedback message, The first payment code feedback message includes the first payment code and the second payment code, so that the user terminal obtains the first payment code feedback message and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; when the received payment request message includes the first information, instructs to deduct the payment amount from the payee account indicated by the first information, and the first information includes the information of the second payment code.

第二方面,本發明實施例提供一種掃碼支付方法,應用於使用者終端,方法包括:回應於接收的支付操作,發送付款碼請求消息,付款碼請求消息包括使用者終端的位置資訊;在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息,第一付款碼回饋消息由業務系統生成,包括第一付款碼和第二付款碼;顯示第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼,以使業務系統利用第一資訊從第一資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 In a second aspect, an embodiment of the present invention provides a code scanning payment method, which is applied to a user terminal, and the method includes: in response to a received payment operation, sending a payment code request message, the payment code request message includes the location information of the user terminal; when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to the preset time threshold, receiving a first payment code feedback message, the first payment code feedback message is generated by the business system, and includes a first payment code and a second payment code; displaying the first payment code, and in response to a trigger signal from the payment acceptance terminal, switching the displayed first payment code to the second payment code, so that the business system uses the first information to deduct the payment amount from the payee account indicated by the first information, and the first information includes information of the second payment code.

第三方面,本發明實施例提供一種業務設備,包括:接收模組,用於接收付款碼請求消息,付款碼請求消息由使用者終端回應於支付操作生成,包括使用者終端的位置資訊;獲取模組,用於獲取與位置資訊關聯的付款等待時長因素資訊;發送模組,用於在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,第一付款碼回饋消息包括第一付款碼和第二付款碼,以使使用者終端獲取第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示第一付款碼,在感應到觸發信號的情況下將顯示的第一付款碼切換為第二付款碼;支付處理模組,用於在接收的支付請求消息包括第一資訊的情況下,指示從第一資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 In a third aspect, an embodiment of the present invention provides a business device, comprising: a receiving module, used to receive a payment code request message, the payment code request message is generated by a user terminal in response to a payment operation, and includes location information of the user terminal; an obtaining module, used to obtain payment waiting time factor information associated with the location information; and a sending module, used to send a first payment code feedback message when the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold. The first payment code feedback message includes the first payment code and the second payment code, so that the user terminal obtains the first payment code feedback message and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; the payment processing module is used to instruct the payment amount to be deducted from the payer account indicated by the first information when the received payment request message includes the first information, and the first information includes the information of the second payment code.

第四方面,本發明實施例提供一種使用者終端,包括:發送模組,用於回應於接收的支付操作,發送付款碼請求消息,付款碼請求消息包括使用者終端的位置資訊;接收模組,用於在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息,第一付款碼回饋消息由業務系統生成,包括第一付款碼和第二付款碼;顯示模組,用於顯示第一付款碼, 並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼,以使業務系統利用第一資訊從第一資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 In a fourth aspect, an embodiment of the present invention provides a user terminal, including: a sending module, for responding to a received payment operation, sending a payment code request message, the payment code request message including the location information of the user terminal; a receiving module, for receiving a first payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to a preset time threshold, the first payment code feedback message is generated by the business system, and includes a first payment code and a second payment code; a display module, for displaying the first payment code, and in response to a trigger signal from a payment acceptance terminal, switching the displayed first payment code to a second payment code, so that the business system uses the first information to deduct the payment amount from the payee account indicated by the first information, the first information including information of the second payment code.

第五方面,本發明實施例提供一種業務設備,包括:處理器以及存儲有電腦程式指令的記憶體;處理器執行電腦程式指令時實現第一方面的掃碼支付方法。 In the fifth aspect, the embodiment of the present invention provides a business device, including: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the code scanning payment method of the first aspect is implemented.

第六方面,本發明實施例提供一種使用者終端,包括:處理器以及存儲有電腦程式指令的記憶體;處理器執行電腦程式指令時實現第二方面的掃碼支付方法。 In the sixth aspect, the embodiment of the present invention provides a user terminal, including: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the code scanning payment method of the second aspect is implemented.

第七方面,本發明實施例提供一種掃碼支付系統,包括使用者終端和業務系統;使用者終端用於回應於接收的支付操作,發送付款碼請求消息,付款碼請求消息包括使用者終端的位置資訊;業務系統用於接收付款碼請求消息,獲取與位置資訊關聯的付款等待時長因素資訊,在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,第一付款碼回饋消息包括第一付款碼和第二付款碼;使用者終端還用於顯示第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼;業務系統還用於在接收到的支付請求消息包括第一資訊的情況下,指示從第一資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 In a seventh aspect, an embodiment of the present invention provides a code scanning payment system, comprising a user terminal and a business system; the user terminal is used to respond to a received payment operation by sending a payment code request message, the payment code request message including location information of the user terminal; the business system is used to receive the payment code request message, obtain payment waiting time factor information associated with the location information, and when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold, In this case, a first payment code feedback message is sent, and the first payment code feedback message includes the first payment code and the second payment code; the user terminal is also used to display the first payment code, and when sensing the trigger signal of the payment acceptance terminal, the displayed first payment code is switched to the second payment code; the business system is also used to instruct the deduction of the payment amount from the payee account indicated by the first information when the received payment request message includes the first information, and the first information includes the information of the second payment code.

第八方面,本發明實施例提供一種電腦可讀存儲介質,電腦可讀存儲介質上存儲有電腦程式指令,電腦程式指令被處理器執行時實現第一方面的掃碼支付方法或第二方面的掃碼支付方法。 In the eighth aspect, the embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the code scanning payment method of the first aspect or the code scanning payment method of the second aspect is implemented.

本發明實施例提供一種掃碼支付方法、使用者終端、業務設備、系統及介質,業務系統接收包括使用者終端的位置資訊的付款碼請求消息,根據與該位置資訊關聯的付款等待時長因素資訊,確定該付款等待時長因素資訊表徵的付款等待時長是否大於等於預設時長閾值,若該付款 等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,可確定付款等待時長較長,存在付款碼被偷拍盜用的可能性,業務系統為該使用者終端下發第一付款碼和第二付款碼。第一付款碼在使用者終端感應到收款受理終端發出的觸發信號之前在使用者終端顯示,第二付款碼在使用者終端感應到收款受理終端發出的觸發信號的情況下在使用者終端顯示。業務系統接收到的支付請求消息包括第二付款碼的資訊,表示收款受理終端掃描的是第二付款碼。由於第二付款碼在在使用者終端感應到收款受理終端發出的觸發信號的情況下才顯示,被偷拍盜用的可能性非常小,因此允許繼續正常支付。通過付款等待時長對應的付款碼下發策略以及第一付款碼和第二付款碼的切換,能夠有效分辨安全性較高的支付,提高掃碼支付的安全性。 The embodiment of the present invention provides a code scanning payment method, a user terminal, a business device, a system and a medium. The business system receives a payment code request message including the location information of the user terminal, and determines whether the payment waiting time indicated by the payment waiting time factor information is greater than or equal to a preset time threshold according to the payment waiting time factor information associated with the location information. If the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold, it can be determined that the payment waiting time is long, and there is a possibility that the payment code is secretly photographed and stolen. The business system issues a first payment code and a second payment code to the user terminal. The first payment code is displayed on the user terminal before the user terminal senses the trigger signal sent by the payment acceptance terminal, and the second payment code is displayed on the user terminal when the user terminal senses the trigger signal sent by the payment acceptance terminal. The payment request message received by the business system includes information about the second payment code, indicating that the payment acceptance terminal scanned the second payment code. Since the second payment code is displayed only when the user terminal senses the trigger signal sent by the payment acceptance terminal, the possibility of being secretly photographed and stolen is very small, so normal payment is allowed to continue. Through the payment code issuance strategy corresponding to the payment waiting time and the switching of the first payment code and the second payment code, it is possible to effectively distinguish payments with higher security and improve the security of code scanning payment.

11:使用者終端 11: User terminal

12:收款受理終端 12: Payment acceptance terminal

13:支付機構系統 13: Payment institution system

14:業務系統 14: Business system

15:帳戶管理系統 15: Account management system

141:付款碼子系統 141: Payment code subsystem

142:風險控制子系統 142: Risk control subsystem

143:清運算元系統 143: Clearing the operation metasystem

500:業務設備 500:Business equipment

501:接收模組 501: receiving module

502:獲取模組 502: Get module

503:發送模組 503: Send module

504:支付處理模組 504: Payment processing module

505:判定模組 505: Judgment module

506:干預處理模組 506: Intervention processing module

600,800:使用者終端 600,800:User terminal

601:發送模組 601: Send module

602:接收模組 602: Receiving module

603:顯示模組 603: Display module

604:處理模組 604: Processing module

700:業務設備 700:Business equipment

701,801:記憶體 701,801:Memory

702,802:處理器 702,802:Processor

703,803:通信介面 703,803: Communication interface

704,804:匯流排 704,804:Bus

S201,S202,S203,S204,S205,S206,S207,S208,S209,S301,S302,S303,S304,S305,S306,S401,S402,S403,S404,S405,S406,S407,S408,S409,S410,S411,S412,S413,S414,S415,S416,S417,S418:步驟 S201,S202,S203,S204,S205,S206,S207,S208,S209,S301,S302,S303,S304,S305,S306,S401,S402,S403,S404,S405,S406,S407,S408,S409,S410,S411,S412,S413,S414,S415,S416,S417,S418: Steps

為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例中所需要使用的圖式作簡單的介紹,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些圖式獲得其他的圖式。 In order to more clearly explain the technical solution of the embodiment of the present invention, the following will briefly introduce the diagrams required for use in the embodiment of the present invention. For ordinary technicians in this field, other diagrams can be obtained based on these diagrams without creative labor.

圖1為本發明實施例提供的掃碼支付方法的應用場景的一示例的架構示意圖;圖2為本發明第一方面提供的掃碼支付方法的一實施例的流程圖;圖3為本發明第一方面提供的掃碼支付方法的另一實施例的流程圖;圖4為本發明第一方面提供的掃碼支付方法的又一實施例的流程圖;圖5為本發明第一方面提供的掃碼支付方法的再一實施例的流程圖;圖6為本發明第二方面提供的掃碼支付方法的一實施例的流程圖;圖7為本發明第二方面提供的掃碼支付方法的另一實施例的流程圖;圖8為本發明第二方面提供的掃碼支付方法的又一實施例的流程圖;圖9為本發明實施例提供的掃碼支付流程的一示例的流程圖;圖10為本發明第三方面提供的業務設備的一實施例的結構示意圖;圖11為本發明第三方面提供的業務設備的另一實施例的結構示意圖; 圖12為本發明第三方面提供的業務設備的又一實施例的結構示意圖;圖13為本發明第四方面提供的使用者終端的一實施例的結構示意圖;圖14為本發明第四方面提供的使用者終端的另一實施例的結構示意圖;圖15為本發明第五方面提供的業務設備的一實施例的結構示意圖;圖16為本發明第六方面提供的使用者終端的一實施例的結構示意圖。 Figure 1 is a schematic diagram of an example of an application scenario of the code scanning payment method provided by an embodiment of the present invention; Figure 2 is a flow chart of an embodiment of the code scanning payment method provided by the first aspect of the present invention; Figure 3 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention; Figure 4 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention; Figure 5 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention; Figure 6 is a flow chart of an embodiment of the code scanning payment method provided by the second aspect of the present invention; Figure 7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present invention; Figure 8 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present invention; 9 is a flowchart of an example of a code scanning payment process provided by an embodiment of the present invention; FIG. 10 is a structural schematic diagram of an embodiment of a business device provided by the third aspect of the present invention; FIG. 11 is a structural schematic diagram of another embodiment of a business device provided by the third aspect of the present invention; FIG. 12 is a structural schematic diagram of another embodiment of a business device provided by the third aspect of the present invention; FIG. 13 is a structural schematic diagram of an embodiment of a user terminal provided by the fourth aspect of the present invention; FIG. 14 is a structural schematic diagram of another embodiment of a user terminal provided by the fourth aspect of the present invention; FIG. 15 is a structural schematic diagram of an embodiment of a business device provided by the fifth aspect of the present invention; FIG. 16 is a structural schematic diagram of an embodiment of a user terminal provided by the sixth aspect of the present invention.

下面將詳細描述本發明的各個方面的特徵和示例性實施例,為了使本發明的目的、技術方案及優點更加清楚明白,以下結合圖式及具體實施例,對本發明進行進一步詳細描述。應理解,此處所描述的具體實施例僅意在解釋本發明,而不是限定本發明。對於本領域技術人員來說,本發明可以在不需要這些具體細節中的一些細節的情況下實施。下面對實施例的描述僅僅是為了通過示出本發明的示例來提供對本發明更好的理解。 The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in combination with drawings and specific embodiments. It should be understood that the specific embodiments described here are only intended to explain the present invention, not to limit the present invention. For those skilled in the art, the present invention can be implemented without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention.

隨著支付技術的不斷發展,掃碼支付已經深入各個領域。掃碼支付可包括主掃支付模式和被掃支付模式。主掃支付模式為支付使用者掃描商戶收款碼的支付方式。被掃支付模式為支付使用者的使用者終端顯示付款碼,由商戶受理終端掃描該付款碼的支付方式。在採用被掃支付模式的場景中,為了節省支付時間,用戶會提前將付款碼顯示在使用者終端。但在用戶等待支付的過程中,有人會偷拍使用者終端顯示的付款碼,並利用偷拍的付款碼進行支付,對付款碼所屬用戶的帳戶中資金造成盜刷,嚴重影響了用戶的支付安全。 With the continuous development of payment technology, QR code payment has penetrated into various fields. QR code payment can include the main scan payment mode and the scanned payment mode. The main scan payment mode is a payment method in which the paying user scans the merchant's payment code. The scanned payment mode is a payment method in which the user terminal of the paying user displays the payment code, and the merchant accepts the terminal to scan the payment code. In the scenario of the scanned payment mode, in order to save payment time, the user will display the payment code on the user terminal in advance. However, while the user is waiting to pay, someone will secretly take a photo of the payment code displayed on the user terminal, and use the secretly photographed payment code to make a payment, causing theft of funds in the account of the user to whom the payment code belongs, seriously affecting the user's payment security.

本發明提供一種掃碼支付方法、使用者終端、業務設備、系統及介質,可在需要付款的使用者終端所在位置的付款等待時長較長如排隊付款的隊伍較長的情況下,向使用者終端下發兩個不同的付款碼,在還未靠近收款受理終端如銷售點設備即POS機等設備的情況下,使用者終端顯示其中一個付款碼,在使用者終端靠近收款受理終端的情況下,使用者終端顯示其中另一個付款碼。在使用者終端的使用者周圍排隊的其他人難以拍攝到另一個付款碼,因此在業務系統接收到的支付請求消息包括另一 個付款碼的資訊的情況下,可允許正常支付,提高了用戶的支付安全。 The present invention provides a code scanning payment method, user terminal, business equipment, system and medium. When the payment waiting time at the location of the user terminal that needs to pay is long, such as when the queue for payment is long, two different payment codes can be issued to the user terminal. When the user terminal is not close to the payment acceptance terminal such as the point of sale device, i.e., POS machine, etc., the user terminal displays one of the payment codes, and when the user terminal is close to the payment acceptance terminal, the user terminal displays the other payment code. It is difficult for other people queuing around the user of the user terminal to take a picture of the other payment code. Therefore, when the payment request message received by the business system includes the information of the other payment code, normal payment can be allowed, thereby improving the payment security of the user.

本發明實施例中的掃碼支付方法應用於被掃支付模式的場景中,可涉及使用者終端、收款受理終端、支付機構系統、業務系統和帳戶管理系統。圖1為本發明實施例提供的掃碼支付方法的應用場景的一示例的架構示意圖。如圖1所示,該掃描支付方法的架構系統可包括使用者終端11、收款受理終端12、支付機構系統13、業務系統14和帳戶管理系統15。 The code scanning payment method in the embodiment of the present invention is applied to the scene of the scanned payment mode, which may involve the user terminal, the payment acceptance terminal, the payment institution system, the business system and the account management system. Figure 1 is a schematic diagram of an example of the application scenario of the code scanning payment method provided by the embodiment of the present invention. As shown in Figure 1, the architecture system of the scanning payment method may include a user terminal 11, a payment acceptance terminal 12, a payment institution system 13, a business system 14 and an account management system 15.

使用者終端11為使用者用於進行支付的終端設備,具體可包括手機、平板電腦、智慧穿戴設備等,在此並不限定使用者終端11的具體種類。使用者終端11可安裝有支付應用程式,支付應用程式可用於支付。使用者終端11具有顯示功能,可顯示付款碼,從而利用付款碼進行支付。付款碼可為二維碼或其他圖形碼等,在此並不限定其具體種類。使用者終端11可與支付機構系統13交互,通過支付機構系統13向業務系統14申請付款碼。為了保證付款碼的安全性,付款碼具有有效期,有效期過後,付款碼不能繼續使用,需要更新付款碼。 The user terminal 11 is a terminal device used by the user to make payments, which may include mobile phones, tablet computers, smart wearable devices, etc. The specific type of the user terminal 11 is not limited here. The user terminal 11 may be installed with a payment application, which can be used for payment. The user terminal 11 has a display function, which can display a payment code, so that payment can be made using the payment code. The payment code may be a QR code or other graphic code, etc., and its specific type is not limited here. The user terminal 11 can interact with the payment institution system 13 and apply for a payment code from the business system 14 through the payment institution system 13. In order to ensure the security of the payment code, the payment code has an expiration date. After the expiration date, the payment code cannot be used any more and needs to be updated.

收款受理終端12為商戶在支付過程中用於與使用者終端11進行交互的終端設備,具體可包括POS機等,在此並不限定收款受理終端12的具體種類。收款受理終端12可具有掃描功能,可掃描付款碼,從而讀取付款碼包含的資訊。收款受理終端12可向支付機構系統13發起支付請求。 The payment acceptance terminal 12 is a terminal device used by merchants to interact with the user terminal 11 during the payment process, which may specifically include a POS machine, etc. The specific type of the payment acceptance terminal 12 is not limited here. The payment acceptance terminal 12 may have a scanning function, which can scan the payment code to read the information contained in the payment code. The payment acceptance terminal 12 can initiate a payment request to the payment institution system 13.

支付機構系統13可用於支付收單,具體可為收單機構的系統。支付機構系統13可包括一台或兩台以上的伺服器等業務設備,支付機構系統13中不同的伺服器等業務設備可執行支付機構系統13中相同的功能,也可執行支付機構系統13中不同的功能,在此並不限定。支付機構系統13可將支付請求向業務系統14傳遞。 The payment institution system 13 can be used for payment acquisition, and specifically can be the system of the acquisition institution. The payment institution system 13 can include one or more than two servers and other business equipment. Different servers and other business equipment in the payment institution system 13 can perform the same function in the payment institution system 13, or can perform different functions in the payment institution system 13, which is not limited here. The payment institution system 13 can transmit the payment request to the business system 14.

業務系統14可用於生成並下發付款碼,還可用於支付風險的控制,還可用於進行清算等。業務系統14可包括多個子系統,例如,業 務系統14可包括付款碼子系統141、風險控制子系統142和清運算元系統143等。業務系統14可將生成的付款碼通過支付機構系統13下發給使用者終端11。業務系統14可包括一台或兩台以上的伺服器等業務設備,業務系統14中不同的伺服器等業務設備可執行業務系統14中相同的功能,也可執行業務系統14中不同的功能。在業務系統14包括多台伺服器等業務設備的情況下,部分伺服器等業務設備可屬於付款碼子系統141,部分伺服器等業務設備可屬於風險控制子系統142,部分伺服器等業務設備可屬於清運算元系統143。 The business system 14 can be used to generate and issue payment codes, control payment risks, and perform clearing. The business system 14 may include multiple subsystems, for example, the business system 14 may include a payment code subsystem 141, a risk control subsystem 142, and a clearing operation subsystem 143. The business system 14 may issue the generated payment code to the user terminal 11 through the payment institution system 13. The business system 14 may include one or more business devices such as servers, and different business devices such as servers in the business system 14 may perform the same function in the business system 14 or different functions in the business system 14. When the business system 14 includes multiple servers and other business equipment, some of the servers and other business equipment may belong to the payment code subsystem 141, some of the servers and other business equipment may belong to the risk control subsystem 142, and some of the servers and other business equipment may belong to the clearing operation subsystem 143.

帳戶管理系統15為管理使用者帳戶、商戶帳戶等帳戶的系統。帳戶管理系統15可與業務系統14交互,從而完成付款帳戶的扣款以及收款帳戶的收款等。帳戶管理系統15可包括一台或兩台以上的伺服器等業務設備,帳戶管理系統15中不同的伺服器等業務設備可執行帳戶管理系統15中相同的功能,也可執行帳戶管理系統15中不同的功能,在此並不限定。 The account management system 15 is a system for managing user accounts, merchant accounts and other accounts. The account management system 15 can interact with the business system 14 to complete the deduction of payment accounts and the collection of payment accounts. The account management system 15 may include one or more servers and other business equipment. Different servers and other business equipment in the account management system 15 can perform the same function in the account management system 15, or they can perform different functions in the account management system 15, which is not limited here.

下面對本發明中的掃碼支付方法、使用者終端、業務設備、系統及介質依次進行說明。 The following is a description of the code scanning payment method, user terminal, business equipment, system and medium in the present invention.

本發明第一方面提供一種掃碼支付方法,可應用於業務系統,即該掃碼支付方法可由業務系統執行,具體地,該掃碼支付方法可由業務系統中的業務設備執行。圖2為本發明第一方面提供的掃碼支付方法的一實施例的流程圖。如圖2所示,該掃碼支付方法可包括步驟S201至步驟S204。 The first aspect of the present invention provides a code scanning payment method that can be applied to a business system, that is, the code scanning payment method can be executed by the business system, specifically, the code scanning payment method can be executed by a business device in the business system. FIG. 2 is a flow chart of an embodiment of the code scanning payment method provided by the first aspect of the present invention. As shown in FIG. 2, the code scanning payment method may include steps S201 to S204.

在步驟S201中,接收付款碼請求消息。 In step S201, a payment code request message is received.

付款碼請求消息用於請求付款碼,可由使用者終端回應於支付操作生成。使用者終端生成付款碼請求消息,可通過支付機構系統發送至業務系統。即使用者終端向支付機構系統發送付款碼請求消息,支付機構系統再向業務系統發送付款碼請求消息。業務系統接收的是支付機構系統發送的付款碼請求消息。例如,使用者對使用者終端進行支付操作,打 開支付應用程式,並點擊“付款碼”功能,使用者終端回應於該支付操作向支付機構系統發送付款碼請求消息。 The payment code request message is used to request a payment code, which can be generated by the user terminal in response to a payment operation. The user terminal generates a payment code request message, which can be sent to the business system through the payment institution system. That is, the user terminal sends a payment code request message to the payment institution system, and the payment institution system then sends a payment code request message to the business system. The business system receives the payment code request message sent by the payment institution system. For example, a user performs a payment operation on the user terminal, opens the payment application, and clicks on the "payment code" function. The user terminal responds to the payment operation and sends a payment code request message to the payment institution system.

付款碼請求消息包括使用者終端的位置資訊。使用者終端的位置資訊可指示使用者終端的位置。例如,使用者終端的位置資訊可包括使用者終端所在位置的經、緯度資訊。 The payment code request message includes location information of the user terminal. The location information of the user terminal may indicate the location of the user terminal. For example, the location information of the user terminal may include longitude and latitude information of the location of the user terminal.

在步驟S202中,獲取與位置資訊關聯的付款等待時長因素資訊。 In step S202, payment waiting time factor information associated with location information is obtained.

在從付款碼請求消息中得到位置資訊後,獲取與該位置資訊關聯的付款等待時長因素資訊。與位置資訊關聯的付款等待時長因素資訊可包括位置資訊指示的位置處的商戶的付款等待時長因素資訊、位置資訊指示的位置所在區域的付款等待時長因素資訊等。付款等待時長因素資訊包括影響付款等待時長的因素資訊,能夠體現付款等待時長。付款等待時長也可視為付款排隊時長。 After obtaining the location information from the payment code request message, obtain the payment waiting time factor information associated with the location information. The payment waiting time factor information associated with the location information may include the payment waiting time factor information of the merchant at the location indicated by the location information, the payment waiting time factor information of the area where the location indicated by the location information is located, etc. The payment waiting time factor information includes factor information that affects the payment waiting time, which can reflect the payment waiting time. The payment waiting time can also be regarded as the payment queue length.

在一些示例中,付款等待時長因素資訊可包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊等中的一項或兩項以上。 In some examples, the payment waiting time factor information may include one or more of the payee's status information, the payee's queue time information, the user's historical waiting time information for transactions with the payee, etc.

收款方的狀態資訊可表徵收款方的繁忙程度,收款方越繁忙,對於付款用戶而言,付款等待時長就可能會越長。收款方的排隊時長資訊可表徵收款方的排隊時長,排隊時長越長,付款等待時長就會越長。與收款方交易的使用者的歷史等待時間資訊可包括與收款方發生交易的使用者與付款等待相關的歷史資訊,通過與收款方發生交易的使用者的資訊來確定付款等待時長。例如,歷史等待時間資訊可包括付款碼請求時間和付款時間,付款碼請求時間為使用者終端請求付款碼的時刻,付款時間為使用者終端付款的時刻,一個用戶的付款碼請求時間和付款時間之間的時長即可作為該用戶的付款等待時長,可根據與一收款方交易的多個使用者的付款碼請求時間和付款時間之間的時長,確定該收款方的付款等待時長。 The payee's status information may indicate how busy the payee is. The busier the payee is, the longer the payment waiting time may be for the payee. The payee's queue time information may indicate the payee's queue time. The longer the queue time is, the longer the payment waiting time will be. The historical waiting time information of the user who transacts with the payee may include historical information related to the payment waiting of the user who transacts with the payee. The payment waiting time is determined by the information of the user who transacts with the payee. For example, historical waiting time information may include payment code request time and payment time. The payment code request time is the time when the user terminal requests the payment code, and the payment time is the time when the user terminal pays. The time between a user's payment code request time and payment time can be used as the user's payment waiting time. The payment waiting time of a payee can be determined based on the time between the payment code request time and payment time of multiple users who have transactions with a payee.

在步驟S203中,在與位置資訊關聯的付款等待時長因素資 訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,以使使用者終端獲取第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示第一付款碼,在感應到觸發信號的情況下將顯示的第一付款碼切換為第二付款碼;預設時長閾值為用於判定導致安全風險的時長的門限值,可根據場景、需求、經驗等設定,在此並不限定。付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,表示安全風險較大,需要執行安全性更高的付款碼下發措施。付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值,表示安全風險較小,可忽略不計。 In step S203, when the payment waiting time indicated by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, a first payment code feedback message is sent so that the user terminal obtains the first payment code feedback message, and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; the preset time threshold is a threshold value for determining the time that causes security risks, which can be set according to the scene, demand, experience, etc., and is not limited here. When the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold, it means that the security risk is relatively large, and a payment code issuance measure with higher security needs to be implemented. The payment waiting time indicated by the payment waiting time factor information is less than the preset time threshold, indicating that the security risk is small and can be ignored.

若與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,業務系統可向支付機構系統發送第一付款碼回饋消息,支付機構系統再向使用者終端發送第一付款碼回饋消息。第一付款碼回饋消息包括第一付款碼和第二付款碼。第一付款碼與第二付款碼不同。 If the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, the business system can send a first payment code feedback message to the payment institution system, and the payment institution system then sends a first payment code feedback message to the user terminal. The first payment code feedback message includes the first payment code and the second payment code. The first payment code is different from the second payment code.

使用者終端接收第一付款碼回饋消息,從第一付款碼回饋消息中獲取第一付款碼和第二付款碼,可先顯示第一付款碼,保存第二付款碼。收款受理終端可發出觸發信號。在付款方使用者攜帶使用者終端還在排隊未到達收款受理終端處時,使用者終端未感應到收款受理終端發出的觸發信號,在使用者終端未感應到觸發信號即使用者終端感應到觸發信號之前,使用者終端顯示第一付款碼。在付款方使用者攜帶使用者終端到達收款受理終端處時,使用者終端感應到收款受理終端發出的觸發信號,可將顯示的第一付款碼切換為第二付款碼,以使收款受理終端掃描第二付款碼。 The user terminal receives the first payment code feedback message, obtains the first payment code and the second payment code from the first payment code feedback message, and may display the first payment code first and save the second payment code. The payment acceptance terminal may send a trigger signal. When the payee user carries the user terminal and is still in the queue but has not yet arrived at the payment acceptance terminal, the user terminal does not sense the trigger signal sent by the payment acceptance terminal. Before the user terminal senses the trigger signal, that is, before the user terminal senses the trigger signal, the user terminal displays the first payment code. When the payee user carries the user terminal to the payment acceptance terminal, the user terminal senses the trigger signal sent by the payment acceptance terminal and may switch the displayed first payment code to the second payment code, so that the payment acceptance terminal scans the second payment code.

在一些示例中,觸發信號可包括以下一項或兩項以上:近場通信(Near Field Communication,NFC)信號、藍牙信號、聲波信號等。NFC信號可包括收款受理終端的加密NFC標籤的資訊。藍牙信號可包括收款受理終端的藍牙標籤的資訊。聲波信號可包括聲波標籤的資訊,聲波信 號也可為特定頻率的低頻聲波信號。 In some examples, the trigger signal may include one or more of the following: Near Field Communication (NFC) signal, Bluetooth signal, sound wave signal, etc. The NFC signal may include information of an encrypted NFC tag of the payment acceptance terminal. The Bluetooth signal may include information of a Bluetooth tag of the payment acceptance terminal. The sound wave signal may include information of a sound wave tag, and the sound wave signal may also be a low-frequency sound wave signal of a specific frequency.

在步驟S204中,在接收的支付請求消息包括第一資訊的情況下,指示從第一資訊指示的付款方帳戶中扣除支付金額。 In step S204, when the received payment request message includes the first information, it is indicated to deduct the payment amount from the payer account indicated by the first information.

收款受理終端掃描使用者終端顯示的付款碼後,會根據從付款碼讀取的資訊生成支付請求消息,支付請求消息包括從付款碼讀取的資訊。收款受理終端向支付機構系統發送支付請求消息,支付機構系統再向業務系統發送支付請求消息。 After the payment acceptance terminal scans the payment code displayed on the user terminal, it will generate a payment request message based on the information read from the payment code. The payment request message includes the information read from the payment code. The payment acceptance terminal sends the payment request message to the payment institution system, and the payment institution system then sends the payment request message to the business system.

第一資訊包括第二付款碼的資訊,第二付款碼的資訊為從第二付款碼讀取得到的資訊。業務系統接收到的支付請求消息包括第一資訊,表示本次掃碼支付中,收款受理終端掃描的是第二付款碼,也就是說,收款受理終端掃描到的是使用者終端到達收款受理終端處才切換的第二付款碼,本次掃碼支付的安全風險較小,允許繼續正常進行支付。業務系統可向帳戶管理系統發送交易消息,以指示從第一資訊指示的付款方帳戶中扣除支付金額。 The first information includes information about the second payment code, and the information about the second payment code is information obtained from the second payment code. The payment request message received by the business system includes the first information, indicating that in this scan code payment, the payment acceptance terminal scanned the second payment code, that is, the payment acceptance terminal scanned the second payment code that was switched only when the user terminal arrived at the payment acceptance terminal. The security risk of this scan code payment is relatively small, and the payment is allowed to continue normally. The business system can send a transaction message to the account management system to instruct the payment amount to be deducted from the payee account indicated by the first information.

在本發明實施例中,業務系統接收包括使用者終端的位置資訊的付款碼請求消息,根據與該位置資訊關聯的付款等待時長因素資訊,確定該付款等待時長因素資訊表徵的付款等待時長是否大於等於預設時長閾值,若該付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,可確定付款等待時長較長,存在付款碼被偷拍盜用的可能性,業務系統為該使用者終端下發第一付款碼和第二付款碼。第一付款碼在使用者終端感應到收款受理終端發出的觸發信號之前在使用者終端顯示,第二付款碼在使用者終端感應到收款受理終端發出的觸發信號的情況下在使用者終端顯示。業務系統接收到的支付請求消息包括第二付款碼的資訊,表示收款受理終端掃描的是第二付款碼。由於第二付款碼在在使用者終端感應到收款受理終端發出的觸發信號的情況下才顯示,被偷拍盜用的可能性非常小,因此允許繼續正常支付。通過付款等待時長對應的付款碼下發策略以及第一付款碼和第二付款碼的切換,能夠有效分辨安全性較高的支付, 提高掃碼支付的安全性。 In the embodiment of the present invention, the business system receives a payment code request message including the location information of the user terminal, and determines whether the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold according to the payment waiting time factor information associated with the location information. If the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold, it can be determined that the payment waiting time is long, and there is a possibility that the payment code is secretly photographed and stolen. The business system issues a first payment code and a second payment code to the user terminal. The first payment code is displayed on the user terminal before the user terminal senses the trigger signal sent by the payment acceptance terminal, and the second payment code is displayed on the user terminal when the user terminal senses the trigger signal sent by the payment acceptance terminal. The payment request message received by the business system includes information about the second payment code, indicating that the payment acceptance terminal scanned the second payment code. Since the second payment code is displayed only when the user terminal senses the trigger signal sent by the payment acceptance terminal, the possibility of being secretly photographed and stolen is very small, so normal payment is allowed to continue. Through the payment code issuance strategy corresponding to the payment waiting time and the switching between the first payment code and the second payment code, it is possible to effectively distinguish payments with higher security, improving the security of scanning code payment.

上述第一付款碼和第二付款碼的切換由使用者終端主動執行,不需用戶參與,可減少用戶的操作,在保證掃碼支付的安全性的基礎上,提高掃碼支付的效率。而且,與縮短付款碼有效時長的技術方案相比,本發明實施例不需要頻繁更新下發付款碼,還可在保證掃碼支付的安全性的基礎上,降低生成即下發付款碼的業務系統的處理壓力。 The switching between the first payment code and the second payment code is actively executed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scan code payment on the basis of ensuring the security of scan code payment. Moreover, compared with the technical solution of shortening the validity period of the payment code, the embodiment of the present invention does not need to frequently update and issue the payment code, and can also reduce the processing pressure of the business system that generates and issues the payment code on the basis of ensuring the security of scan code payment.

在一些實施例中,可通過對付款等待時長因素是否滿足雙碼下發條件,來確定付款等待時長是否大於等於預設時長閾值。圖3為本發明第一方面提供的掃碼支付方法的另一實施例的流程圖。圖3與圖2的不同之處在於,圖3所示的掃碼支付方法還可包括步驟S205。 In some embodiments, whether the payment waiting time factor satisfies the dual code issuance conditions can be used to determine whether the payment waiting time is greater than or equal to the preset time threshold. FIG3 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention. FIG3 differs from FIG2 in that the code scanning payment method shown in FIG3 can also include step S205.

在步驟S205中,在與位置資訊關聯的付款等待時長因素資訊滿足雙碼下發條件的情況下,確定與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值。 In step S205, when the payment waiting time factor information associated with the location information meets the dual code issuance conditions, it is determined that the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold.

雙碼下發條件包括用於判斷付款等待時長因素資訊條件下的支付是否存在付款碼被偷拍盜用的風險的條件。與位置資訊關聯的付款等待時長因素資訊滿足雙碼下發條件,確定與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,表示付款等待時長因素資訊條件下的支付存在付款碼被偷拍盜用的風險,可通過第一付款碼回饋消息向使用者終端下發第一付款碼和第二付款碼。在一些示例中,與位置資訊關聯的付款等待時長因素資訊不滿足雙碼下發條件,確定與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值,表示付款等待時長因素資訊條件下的支付不存在付款碼被偷拍盜用的風險,可向使用者終端下發一個付款碼。 The dual code sending condition includes a condition for determining whether the payment under the payment waiting time factor information condition has a risk of the payment code being secretly photographed and stolen. If the payment waiting time factor information associated with the location information satisfies the dual code sending condition, and it is determined that the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, indicating that the payment under the payment waiting time factor information condition has a risk of the payment code being secretly photographed and stolen, the first payment code and the second payment code may be sent to the user terminal through the first payment code feedback message. In some examples, the payment waiting time factor information associated with the location information does not meet the dual code issuance conditions. It is determined that the payment waiting time represented by the payment waiting time factor information associated with the location information is less than the preset time threshold, indicating that the payment under the payment waiting time factor information condition does not have the risk of the payment code being secretly photographed and stolen, and a payment code can be issued to the user terminal.

付款等待時長因素資訊的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific content of the payment waiting time factor information can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在一些示例中,雙碼下發條件可包括以下一項或多項:與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應 的區域內的收款方處於收款繁忙狀態;與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於活動舉辦狀態;與位置資訊關聯的收款方的排隊時長資訊表徵位於位置資訊對應的區域內的收款方的排隊時長大於等於預設時長閾值;與位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於預設時長閾值。 In some examples, the dual code issuance conditions may include one or more of the following: the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy with payment; the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is in an event holding state; the queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; the time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold.

位置資訊對應的區域為位置資訊指示的位置的所在區域,該區域的大小可根據對收款方要求的精確度設定,在此並不限定。在一些示例中,位置資訊對應的區域中可只包括一個收款方。 The area corresponding to the location information is the area where the location indicated by the location information is located. The size of the area can be set according to the accuracy required for the payee and is not limited here. In some examples, the area corresponding to the location information may include only one payee.

收款方的狀態資訊表徵收款方處於收款繁忙狀態,則在收款方等待付款的付款方用戶較多,對應地,付款方用戶的付款等待時長較長,即付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,付款方用戶的付款碼會存在被偷拍盜用的可能性,需要向使用者終端下發第一付款碼和第二付款碼。 The payee's status information indicates that the payee is busy with payment collection. There are many payer users waiting for payment at the payee. Correspondingly, the payment waiting time of the payer users is longer. That is, the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold. The payment code of the payer user may be secretly photographed and stolen, and the first payment code and the second payment code need to be issued to the user terminal.

收款方的狀態資訊表徵收款方處於活動舉辦狀態,則在收款方等待付款的付款方用戶較多,對應地,付款方用戶的付款等待時長較長,即付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,付款方用戶的付款碼會存在被偷拍盜用的可能性,需要向使用者終端下發第一付款碼和第二付款碼。收款方舉辦的活動可為促銷或優惠活動等,在此並不限定。 The payee's status information indicates that the payee is in an activity state. If there are more payer users waiting for payment at the payee, the payer users will have a longer waiting time for payment. That is, the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold. The payer user's payment code may be secretly photographed and stolen, and the first payment code and the second payment code need to be issued to the user terminal. The activities held by the payee can be promotional or preferential activities, etc., which are not limited here.

收款方的排隊時長資訊表徵的收款方的排隊時長與付款等待時長基本一致,排隊時長越長,付款等待時長越長。收款方的排隊時長資訊表徵收款方的排隊時長大於等於預設時長閾值,即付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,付款方用戶的付款碼會存在被偷拍盜用的可能性,需要向使用者終端下發第一付款碼和第二付款碼。 The queue time of the payee represented by the queue time information is basically the same as the payment waiting time. The longer the queue time, the longer the payment waiting time. The queue time information of the payee represents that the queue time of the payee is greater than or equal to the preset time threshold, that is, the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold. The payment code of the payee user may be secretly photographed and stolen, and the first payment code and the second payment code need to be issued to the user terminal.

收款方交易的使用者的付款碼請求時間與付款時間之間的時 長即為付款等待時長,收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於預設時長閾值,即付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,付款方用戶的付款碼會存在被偷拍盜用的可能性,需要向使用者終端下發第一付款碼和第二付款碼。 The time between the payment code request time and the payment time of the user of the payee transaction is the payment waiting time. If the time between the payment code request time and the payment time of the user of the payee transaction is greater than or equal to the preset time threshold, that is, the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, the payment code of the payee user may be secretly photographed and stolen, and the first payment code and the second payment code need to be issued to the user terminal.

在一些實施例中,使用者終端顯示的第一付款碼可能會被偷拍盜用進行支付,或者,由於使用者終端從第一付款碼切換為第二付款碼存在一定延時,導致收款受理終端掃描到的仍然是第一付款碼,為了能夠準確地分辨存在偷拍盜用風險的支付,可根據支付請求消息包括的交易資訊進行進一步判斷,根據判斷結果執行相應的處理。圖4為本發明第一方面提供的掃碼支付方法的又一實施例的流程圖。圖4與圖2的不同之處在於,圖4所示的掃碼支付方法還可包括步驟S206和步驟S207。 In some embodiments, the first payment code displayed by the user terminal may be secretly photographed and used for payment, or, because there is a certain delay in the user terminal switching from the first payment code to the second payment code, the payment acceptance terminal still scans the first payment code. In order to accurately distinguish the payment with the risk of being secretly photographed and used, further judgment can be made based on the transaction information included in the payment request message, and corresponding processing can be performed based on the judgment result. Figure 4 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention. The difference between Figure 4 and Figure 2 is that the code scanning payment method shown in Figure 4 can also include step S206 and step S207.

在步驟S206中,在接收的支付請求消息包括第二資訊的情況下,若交易資訊滿足風險控制條件,執行交易干預處理。 In step S206, when the received payment request message includes the second information, if the transaction information meets the risk control conditions, transaction intervention processing is performed.

第二資訊包括第一付款碼的資訊,第一付款碼的資訊為從第一付款碼讀取得到的資訊。業務系統接收到的支付請求消息包括第二資訊,表示本次掃碼支付中,收款受理終端掃描的是第一付款碼。但收款受理終端掃描的第一付款碼可能是他人偷拍盜用的第一付款碼,也可能是使用者終端切換付款碼存在延時而還未切換的第一付款碼,但他人偷拍盜用的第一付款碼的支付是非法支付,使用者終端切換付款碼存在延時而還未切換的第一付款碼是合法支付,可通過支付請求消息包括的交易資訊是否滿足風險控制條件,進一步分辨非法支付和合法支付。 The second information includes the information of the first payment code, which is the information obtained from the first payment code. The payment request message received by the business system includes the second information, indicating that in this scan code payment, the first payment code is scanned by the payment acceptance terminal. However, the first payment code scanned by the payment acceptance terminal may be the first payment code secretly photographed and stolen by others, or it may be the first payment code that has not been switched due to a delay in the user's terminal switching payment code. However, the payment of the first payment code secretly photographed and stolen by others is an illegal payment, and the first payment code that has not been switched due to a delay in the user's terminal switching payment code is a legal payment. Whether the transaction information included in the payment request message meets the risk control conditions can be used to further distinguish illegal payments from legal payments.

風險控制條件用於判定第二資訊指示的支付存在盜用風險,交易干預處理用於對存在盜用風險的支付進行安全處理。 The risk control condition is used to determine whether the payment indicated by the second information has the risk of theft, and the transaction intervention process is used to safely process the payment with the risk of theft.

在一些示例中,交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率。支付頻率為利用第二資訊對應的第一付款碼進行支付的頻率。 In some examples, the transaction information includes one or more of the following: the payee's merchant address, the payment amount, and the payment frequency. The payment frequency is the frequency of payment using the first payment code corresponding to the second information.

風險控制條件包括以下一項或兩項以上: 收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值;支付金額大於安全金額閾值;支付頻率高於安全頻率閾值。 Risk control conditions include one or more of the following: The distance between the location of the merchant address of the payee and the location indicated by the location information is greater than the safety distance threshold; the payment amount is greater than the safety amount threshold; the payment frequency is higher than the safety frequency threshold.

交易資訊滿足風險控制條件,表示交易資訊對應的支付存在盜用風險,需要進行交易干預處理。 If the transaction information meets the risk control conditions, it means that the payment corresponding to the transaction information has the risk of theft and transaction intervention is required.

在一些偷拍盜用收款碼的情況下,偷拍到收款碼的人會將偷拍到的收款碼發給其他人,由其他人在其他地點的收款方處進行支付。可通過收款方商戶位址所在位置與付款碼請求消息中使用者終端的位置資訊指示的位置之間的距離和安全距離閾值,來判斷這次支付是否是利用偷拍的第一收款碼在其他地點的收款方處進行支付的非法支付。安全距離閾值為判斷是否為同一地點支付的距離的安全門限值,可根據場景、需求、經驗等設定,在此並不限定。收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值,表示申請付款碼的位置與支付的位置距離較遠,並不在同一地點,很有可能是偷拍盜用付款碼的非法支付,需要進行交易干預處理。 In some cases of secretly photographing and stealing payment codes, the person who secretly photographed the payment code will send the secretly photographed payment code to other people, who will then make payments at payees at other locations. The distance between the payee's merchant address and the location indicated by the user's terminal location information in the payment code request message and the safety distance threshold can be used to determine whether the payment is an illegal payment made at a payee at another location using the first secretly photographed payment code. The safety distance threshold is a safety threshold for determining whether the payment is made at the same location, which can be set based on the scenario, needs, experience, etc., and is not limited here. The distance between the payee's merchant address and the location indicated by the location information is greater than the safety distance threshold, indicating that the location where the payment code was applied and the location where the payment was made are far apart and are not in the same location. This is likely to be an illegal payment that involves secretly photographing and stealing the payment code, and transaction intervention is required.

也可通過支付金額來協助提高掃碼支付的安全性。安全金額閾值為判斷支付額度是否安全的金額的門限值,可根據場景、需求、經驗等設定,在此並不限定。支付金額大於安全金額閾值,若是在偷拍盜用收款碼的情況下,可能會造成較大的損失,需要進行交易干預處理。 The payment amount can also be used to help improve the security of QR code payment. The safety amount threshold is the threshold for judging whether the payment amount is safe. It can be set according to the scene, needs, experience, etc., and is not limited here. If the payment amount is greater than the safety amount threshold, if the payment code is secretly photographed and stolen, it may cause a large loss, and transaction intervention is required.

還可通過支付頻率來協助提高掃碼支付的安全性。安全頻率閾值為判斷支付頻率是否安全的頻率的門限值,可根據場景、需求、經驗等設定,在此並不限定。支付頻率高於安全頻率閾值,若是在偷拍盜用收款碼的情況下,可能會造成較大的損失,需要進行交易干預處理。 The payment frequency can also be used to help improve the security of QR code payment. The safety frequency threshold is the threshold value for judging whether the payment frequency is safe. It can be set according to the scene, needs, experience, etc., and is not limited here. If the payment frequency is higher than the safety frequency threshold, if the payment code is secretly photographed and stolen, it may cause greater losses and transaction intervention is required.

在風險控制條件包括兩項以上的條件的情況下,風險控制條件可具有優先順序,可優先判斷交易資訊是否滿足優先順序相對高的風險控制條件,若交易資訊滿足優先順序相對高的風險控制條件,可執行交易 干預處理;若交易資訊不滿足優先順序相對高的風險控制條件,再判斷交易資訊是否滿足優先順序相對低的風險控制條件。例如,風險控制條件包括收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值,和,支付金額大於安全金額閾值;若收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值,可執行交易干預處理,不需再判斷支付金額是否大於安全金額閾值;若收款方商戶位址所在位置與位置資訊指示的位置之間的距離小於等於安全距離閾值,再判斷支付金額是否大於安全金額閾值,若支付金額大於安全金額閾值,可執行交易關於處理。 In the case where the risk control conditions include more than two conditions, the risk control conditions may have a priority order, and the transaction information may be judged first whether it satisfies the risk control conditions with a relatively high priority order. If the transaction information satisfies the risk control conditions with a relatively high priority order, the transaction intervention process may be performed; if the transaction information does not satisfy the risk control conditions with a relatively high priority order, the transaction information may be judged whether it satisfies the risk control conditions with a relatively low priority order. For example, the risk control conditions include the distance between the location of the merchant address of the payee and the location indicated by the location information being greater than the safety distance threshold, and the payment amount being greater than the safety amount threshold; if the distance between the location of the merchant address of the payee and the location indicated by the location information is greater than the safety distance threshold, transaction intervention processing can be performed without further determining whether the payment amount is greater than the safety amount threshold; if the distance between the location of the merchant address of the payee and the location indicated by the location information is less than or equal to the safety distance threshold, then determine whether the payment amount is greater than the safety amount threshold, and if the payment amount is greater than the safety amount threshold, transaction intervention processing can be performed.

交易干預處理可包括:對發送包括第二資訊的支付請求消息的使用者終端的使用者進行身份驗證;或者,中止第二資訊指示的支付。 The transaction intervention process may include: verifying the identity of the user of the user terminal that sends the payment request message including the second information; or terminating the payment indicated by the second information.

在第二資訊指示的支付存在盜用風險的情況下,業務系統可對利用第二資訊對應的第一付款碼進行支付的用戶進行身份驗證。具體地,業務系統可向支付機構系統發送身份驗證請求消息,支付機構系統再向使用者終端發送身份驗證請求消息。使用者終端回應於接收的身份驗證請求消息,可顯示身份驗證介面,提示使用者輸入身份驗證資訊。身份驗證資訊可包括支付帳號、支付密碼、驗證碼等能夠證明是請求付款碼的使用者本人進行支付的資訊,在此並不限定。使用者終端向支付機構系統發送身份驗證資訊,支付機構系統向業務系統發送身份驗證資訊,業務系統核對接收的身份驗證資訊和預留或設置的身份驗證資訊是否一致,若一致,則可繼續正常支付,若不一致,則中止支付。 In the event that the payment indicated by the second information has a risk of theft, the business system may verify the identity of the user who uses the first payment code corresponding to the second information to make payment. Specifically, the business system may send an identity verification request message to the payment institution system, and the payment institution system then sends an identity verification request message to the user terminal. In response to the received identity verification request message, the user terminal may display an identity verification interface to prompt the user to enter the identity verification information. The identity verification information may include payment account number, payment password, verification code, etc., which can prove that the user who requested the payment code is the one who made the payment, and is not limited here. The user terminal sends the identity verification information to the payment institution system, and the payment institution system sends the identity verification information to the business system. The business system verifies whether the received identity verification information is consistent with the reserved or set identity verification information. If they are consistent, the payment can continue normally. If they are inconsistent, the payment will be suspended.

在第二資訊指示的支付存在盜用風險的情況下,也可直接中止第二資訊指示的支付,以避免盜用風險。 If there is a risk of theft in the payment indicated by the second information, the payment indicated by the second information can also be directly suspended to avoid the risk of theft.

在步驟S207中,在接收的支付請求消息包括第二資訊的情況下,若交易資訊不滿足風險控制條件,指示從第二資訊指示的付款方帳戶中扣除支付金額。 In step S207, when the received payment request message includes the second information, if the transaction information does not meet the risk control conditions, it is indicated to deduct the payment amount from the payer account indicated by the second information.

交易資訊不滿足風險控制條件,表示交易資訊對應的支付不 存在盜用風險,可不進行交易干預處理,繼續正常進行支付。業務系統可向帳戶管理系統發送交易消息,以指示從第二資訊指示的付款方帳戶中扣除支付金額。 If the transaction information does not meet the risk control conditions, it means that the payment corresponding to the transaction information does not have the risk of theft, and transaction intervention can be omitted and payment can continue normally. The business system can send a transaction message to the account management system to instruct the payment amount to be deducted from the payer account indicated by the second information.

通過交易消息和風險控制條件,可提升風險監控的有效性,提高識別存在盜用風險的支付的精確性,並進一步提高掃碼支付的安全性。 Through transaction messages and risk control conditions, the effectiveness of risk monitoring can be improved, the accuracy of identifying payments with theft risks can be improved, and the security of QR code payment can be further improved.

在一些實施例中,付款等待時長小於預設時長閾值,付款方用戶的付款碼會被偷拍盜用的風險較小可忽略不計,業務系統可向使用者終端下發單個付款碼,在保證掃碼支付的安全性的基礎上,進一步減小業務系統生成付款碼以及下發付款碼的壓力。圖5為本發明第一方面提供的掃碼支付方法的再一實施例的流程圖。圖5與圖2的不同之處在於,圖5所示的掃碼支付方法還可包括步驟S208和步驟S209。 In some embodiments, the payment waiting time is less than the preset time threshold, and the risk of the payment code of the payee being secretly photographed and stolen is small and negligible. The business system can issue a single payment code to the user terminal, and on the basis of ensuring the security of the code scanning payment, the pressure of the business system to generate and issue the payment code is further reduced. FIG5 is a flow chart of another embodiment of the code scanning payment method provided by the first aspect of the present invention. The difference between FIG5 and FIG2 is that the code scanning payment method shown in FIG5 can also include step S208 and step S209.

在步驟S208中,在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值的情況下,發送第二付款碼回饋消息,以使使用者終端獲取第二付款碼回饋消息,並顯示第三付款碼。 In step S208, when the payment waiting time represented by the payment waiting time factor information associated with the location information is less than the preset time threshold, a second payment code feedback message is sent so that the user terminal receives the second payment code feedback message and displays the third payment code.

第二付款碼回饋消息包括第三付款碼。即在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值的情況下,認為付款碼被偷拍盜用風險較小,可忽略不計,業務系統可向使用者終端下發單個付款碼即第三付款碼。使用者終端在第三付款碼的有效時長內,顯示第三付款碼,並不觸發付款碼的切換。 The second payment code feedback message includes the third payment code. That is, when the payment waiting time represented by the payment waiting time factor information associated with the location information is less than the preset time threshold, the risk of the payment code being secretly photographed and stolen is considered small and can be ignored. The business system can issue a single payment code, namely the third payment code, to the user terminal. The user terminal displays the third payment code within the validity period of the third payment code and does not trigger the switching of the payment code.

具體地,業務系統可向支付機構系統發送第二付款碼回饋消息,支付機構系統再向使用者終端發送第二付款碼回饋消息。使用者終端接收第二付款碼回饋資訊,從第二付款碼回饋資訊獲取第三付款碼,可顯示第三付款碼。 Specifically, the business system can send a second payment code feedback message to the payment institution system, and the payment institution system then sends a second payment code feedback message to the user terminal. The user terminal receives the second payment code feedback information, obtains the third payment code from the second payment code feedback information, and can display the third payment code.

在步驟S209中,在接收的支付請求消息包括第三資訊的情況下,指示從第三資訊指示的付款方帳戶中扣除支付金額。 In step S209, when the received payment request message includes the third information, it is instructed to deduct the payment amount from the payee account indicated by the third information.

第三資訊包括第三付款碼的資訊,第三付款碼的資訊為從第三付款碼讀取得到的資訊。業務系統接收到的支付請求消息包括第三資訊, 表示本次掃碼支付中,收款受理終端掃描到的是第三付款碼。第三付款碼是在偷拍盜用付款碼風險較小的情況下下發的,表示本次掃碼支付的安全風險較小,允許繼續正常進行支付。業務系統可向帳戶管理系統發送交易消息,以指示從第三資訊指示的付款方帳戶中扣除支付金額。 The third information includes the information of the third payment code, which is the information obtained from the third payment code. The payment request message received by the business system includes the third information, which indicates that in this scan code payment, the payment acceptance terminal scanned the third payment code. The third payment code is issued when the risk of stealing the payment code is relatively small, indicating that the security risk of this scan code payment is relatively small, and the payment is allowed to continue normally. The business system can send a transaction message to the account management system to instruct the payment amount to be deducted from the payee account indicated by the third information.

在根據與位置資訊關聯的付款等待時長因素資訊確定付款碼被偷拍盜用風險較小的情況下,業務系統向使用者終端下發單個付款碼,可在保證掃碼支付的安全性的基礎上,降低業務系統生成付款碼、下發付款碼的壓力。 When the risk of the payment code being secretly photographed and stolen is determined to be low based on the payment waiting time factor information associated with the location information, the business system issues a single payment code to the user terminal. This can reduce the pressure on the business system to generate and issue payment codes while ensuring the security of scan code payment.

本發明第二方面提供一種掃碼支付方法,可應用於使用者終端,即該掃碼方法可由使用者終端執行。圖6為本發明第二方面提供的掃碼支付方法的一實施例的流程圖。如圖6所示,該掃碼支付方法可包括步驟S301至步驟S303。 The second aspect of the present invention provides a code scanning payment method that can be applied to a user terminal, that is, the code scanning method can be executed by the user terminal. FIG6 is a flow chart of an embodiment of the code scanning payment method provided by the second aspect of the present invention. As shown in FIG6, the code scanning payment method may include steps S301 to S303.

在步驟S301中,回應於接收的支付操作,發送付款碼請求消息。 In step S301, in response to the received payment operation, a payment code request message is sent.

付款碼請求消息包括使用者終端的位置資訊。具體地,使用者終端可先向支付機構系統發送付款碼請求消息,支付機構系統再向業務系統發送付款碼請求消息。 The payment code request message includes the location information of the user terminal. Specifically, the user terminal may first send a payment code request message to the payment institution system, and the payment institution system then sends a payment code request message to the business system.

在步驟S302中,在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息。 In step S302, when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to the preset time threshold, the first payment code feedback message is received.

第一付款碼回饋消息由業務系統生成。第一付款碼回饋消息包括第一付款碼和第二付款碼。具體地,業務系統可先向支付機構系統發送第一付款碼回饋消息,再由支付機構系統向使用者終端發送第一付款碼回饋消息。 The first payment code feedback message is generated by the business system. The first payment code feedback message includes the first payment code and the second payment code. Specifically, the business system may first send the first payment code feedback message to the payment institution system, and then the payment institution system may send the first payment code feedback message to the user terminal.

在步驟S303中,顯示第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼,以使業務系統利用第一資訊從第一資訊指示的付款方帳戶中扣除支付金額。 In step S303, the first payment code is displayed, and when the trigger signal of the payment acceptance terminal is sensed, the displayed first payment code is switched to the second payment code, so that the business system uses the first information to deduct the payment amount from the payee account indicated by the first information.

使用者終端在接收到第一付款碼回饋消息後,在感應到收款受理終端的觸發信號前先顯示第一付款碼,在感應到收款受理終端的觸發信號的情況下,再切換顯示第二付款碼。 After receiving the first payment code feedback message, the user terminal will display the first payment code before sensing the trigger signal of the payment acceptance terminal. When sensing the trigger signal of the payment acceptance terminal, it will switch to display the second payment code.

第一資訊包括第二付款碼的資訊。 The first information includes the information of the second payment code.

在一些示例中,觸發信號包括以下一項或兩項以上:近場通信信號、藍牙信號、聲波信號,具體內容可參見上述實施例中的相關說明,在此不再贅述。 In some examples, the trigger signal includes one or more of the following: near field communication signal, Bluetooth signal, sound wave signal. For details, please refer to the relevant description in the above embodiments, which will not be elaborated here.

上述步驟S301至步驟S303的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific contents of the above steps S301 to S303 can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在本發明實施例中,使用者終端可通過付款碼請求消息,向業務系統請求付款碼。付款碼請求消息包括位置資訊,可體現使用者終端申請付款碼時的位置。業務系統根據與該位置資訊關聯的付款等待時長因素資訊,確定該付款等待時長因素資訊表徵的付款等待時長是否大於等於預設時長閾值,若該付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,可確定付款等待時長較長,存在付款碼被偷拍盜用的可能性,使用者終端可通過第一付款碼回饋消息接收到業務系統下發的第一付款碼和第二付款碼。使用者終端在感應到收款受理終端發出的觸發信號之前顯示第一付款碼,使用者終端感應到收款受理終端發出的觸發信號的情況下將顯示的付款碼切換為第二付款碼,使得使用者終端在收款受理終端處進行支付時,收款受理終端掃描的是第二付款碼,可利用第二付款碼的資訊通過業務系統繼續正常進行支付。由於第二付款碼在在使用者終端感應到收款受理終端發出的觸發信號的情況下才顯示,被偷拍盜用的可能性非常小,因此允許繼續正常支付。通過付款等待時長對應的付款碼下發策略以及第一付款碼和第二付款碼的切換,能夠有效分辨安全性較高的支付,提高掃碼支付的安全性。 In an embodiment of the present invention, a user terminal can request a payment code from a business system through a payment code request message. The payment code request message includes location information, which can reflect the location of the user terminal when applying for the payment code. The business system determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to a preset time threshold based on the payment waiting time factor information associated with the location information. If the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, it can be determined that the payment waiting time is long, and there is a possibility that the payment code has been secretly photographed and stolen. The user terminal can receive the first payment code and the second payment code issued by the business system through the first payment code feedback message. The user terminal displays the first payment code before sensing the trigger signal from the payment acceptance terminal. When the user terminal senses the trigger signal from the payment acceptance terminal, the displayed payment code is switched to the second payment code, so that when the user terminal makes payment at the payment acceptance terminal, the payment acceptance terminal scans the second payment code, and the payment can be continued normally through the business system using the information of the second payment code. Since the second payment code is displayed only when the user terminal senses the trigger signal from the payment acceptance terminal, the possibility of being secretly photographed and stolen is very small, so normal payment is allowed to continue. Through the payment code issuance strategy corresponding to the payment waiting time and the switching of the first payment code and the second payment code, it is possible to effectively distinguish the payment with higher security and improve the security of code scanning payment.

上述第一付款碼和第二付款碼的切換由使用者終端主動執行,不需用戶參與,可減少用戶的操作,在保證掃碼支付的安全性的基礎上, 提高掃碼支付的效率。而且,與縮短付款碼有效時長的技術方案相比,本發明實施例不需要頻繁更新下發付款碼,還可在保證掃碼支付的安全性的基礎上,降低生成即下發付款碼的業務系統的處理壓力。 The switching between the first payment code and the second payment code is actively executed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scan code payment on the basis of ensuring the security of scan code payment. Moreover, compared with the technical solution of shortening the validity period of the payment code, the embodiment of the present invention does not need to frequently update and issue the payment code, and can also reduce the processing pressure of the business system that generates and issues the payment code on the basis of ensuring the security of scan code payment.

在一些實施例中,在與位置資訊關聯的付款等待時長因素資訊滿足雙碼下發條件的情況下,位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值。 In some embodiments, when the payment waiting time factor information associated with the location information meets the dual-code issuance conditions, the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold.

付款等待時長因素資訊包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊中的一項或兩項以上。其中,歷史等待時間資訊包括付款碼請求時間和付款時間。 Payment waiting time factor information includes one or more of the payee's status information, the payee's queue time information, and the historical waiting time information of the user who transacts with the payee. Among them, the historical waiting time information includes the payment code request time and the payment time.

雙碼下發條件包括以下一項或多項:與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於收款繁忙狀態;與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於活動舉辦狀態;與位置資訊關聯的收款方的排隊時長資訊表徵位於位置資訊對應的區域內的收款方的排隊時長大於等於預設時長閾值;與位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於預設時長閾值。 The conditions for issuing dual codes include one or more of the following: the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy collecting payments; the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is in an event holding state; the queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; the time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold.

與位置資訊關聯的付款等待時長因素資訊、雙碼下發條件等的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific contents of the payment waiting time factor information associated with the location information, the conditions for issuing the dual code, etc. can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在一些實施例中,收款受理終端讀取到的也可能是第一付款碼,可進一步通過支付請求消息中的交易資訊和風險控制條件來區分第一付款碼對應的支付是否為安全風險大的支付。圖7為本發明第二方面提供的掃碼支付方法的另一實施例的流程圖。圖7與圖6的不同之處在於,圖7所示的掃碼支付方法還可包括步驟S304。 In some embodiments, the payment receiving terminal may also read the first payment code, and the transaction information and risk control conditions in the payment request message may be further used to distinguish whether the payment corresponding to the first payment code is a payment with high security risk. FIG7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present invention. FIG7 differs from FIG6 in that the code scanning payment method shown in FIG7 may also include step S304.

在步驟S304中,在第一付款碼被收款受理終端讀取的情況下,若收款受理終端向業務系統發送的支付請求消息中的交易資訊滿足風 險控制條件,接受交易干預處理。 In step S304, when the first payment code is read by the payment acceptance terminal, if the transaction information in the payment request message sent by the payment acceptance terminal to the business system meets the risk control conditions, the transaction intervention process is accepted.

所述風險控制條件用於判定第二資訊指示的支付存在盜用風險。所述第二資訊包括所述第一付款碼的資訊。所述交易干預處理用於對存在盜用風險的支付進行安全處理。 The risk control condition is used to determine whether the payment indicated by the second information has the risk of theft. The second information includes information of the first payment code. The transaction intervention process is used to safely process payments that have the risk of theft.

步驟S304的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific content of step S304 can be found in the relevant description in the above embodiment, which will not be elaborated here.

在一些示例中,所述交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率。交易資訊的具體內容可參見上述實施例中的相關說明,在此不再贅述。 In some examples, the transaction information includes one or more of the following: the merchant address of the payee, the payment amount, and the payment frequency. The specific content of the transaction information can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在一些示例中,風險控制條件包括以下一項或兩項以上:收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值;支付金額大於安全金額閾值;支付頻率高於安全頻率閾值。 In some examples, the risk control conditions include one or more of the following: the distance between the location of the payee's merchant address and the location indicated by the location information is greater than the safety distance threshold; the payment amount is greater than the safety amount threshold; the payment frequency is higher than the safety frequency threshold.

風險控制條件的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific contents of the risk control conditions can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在一些示例中,上述交易干預處理包括:對使用者終端的使用者進行身份驗證;或者,中止第二資訊指示的支付。 In some examples, the transaction intervention process includes: verifying the identity of the user at the user terminal; or terminating the payment indicated by the second information.

交易干預處理的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific content of transaction intervention processing can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

在一些實施例中,在第一付款碼被收款受理終端讀取的情況下,若收款受理終端向業務系統發送的支付請求消息中的交易資訊不滿足風險控制條件,第二資訊指示的支付正常進行。 In some embodiments, when the first payment code is read by the payment acceptance terminal, if the transaction information in the payment request message sent by the payment acceptance terminal to the business system does not meet the risk control conditions, the payment indicated by the second information proceeds normally.

上述收款受理終端向業務系統發送的支付請求消息中的交易資訊不滿足風險控制條件情況下的支付的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific content of the payment when the transaction information in the payment request message sent by the above payment acceptance terminal to the business system does not meet the risk control conditions can be found in the relevant descriptions in the above embodiments, which will not be elaborated here.

在一些實施例中,付款等待時長小於預設時長閾值,付款方 用戶的付款碼會被偷拍盜用的風險較小可忽略不計,業務系統可向使用者終端下發單個付款碼。圖8為本發明第二方面提供的掃碼支付方法的又一實施例的流程圖。圖8與圖6的不同之處在於,圖8所示的掃碼支付方法還可包括步驟S305和步驟S306。 In some embodiments, the payment waiting time is less than the preset time threshold, and the risk of the payee's payment code being secretly photographed and stolen is small and negligible, and the business system can issue a single payment code to the user terminal. FIG8 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present invention. FIG8 differs from FIG6 in that the code scanning payment method shown in FIG8 can also include step S305 and step S306.

在步驟S305中,在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值的情況下,接收第二付款碼回饋消息。 In step S305, when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is less than the preset time threshold, a second payment code feedback message is received.

第二付款碼回饋消息包括第三付款碼。 The second payment code feedback message includes the third payment code.

步驟S306中,顯示第三付款碼,以使業務系統利用第三資訊從第三資訊指示的付款方帳戶中扣除支付金額。 In step S306, the third payment code is displayed so that the business system uses the third information to deduct the payment amount from the payee account indicated by the third information.

第三資訊包括第三付款碼的資訊。 The third information includes the information of the third payment code.

步驟S305至步驟S306的具體內容可參見上述實施例中的相關說明,在此不再贅述。 The specific contents of step S305 to step S306 can be found in the relevant descriptions in the above embodiments, and will not be elaborated here.

為了便於理解本發明實施例中的掃碼支付方法,下面以業務系統一次性下發兩個付款碼即第一付款碼和第二付款碼為例來說明使用者終端、收款受理終端、支付機構系統、業務系統和帳戶管理系統之間的掃碼支付流程。圖9為本發明實施例提供的掃碼支付流程的一示例的流程圖。如圖9所示,掃碼支付整體流程可包括步驟S401至步驟S418。 In order to facilitate understanding of the code scanning payment method in the embodiment of the present invention, the following takes the example of the business system issuing two payment codes, namely the first payment code and the second payment code, at one time to illustrate the code scanning payment process between the user terminal, the payment acceptance terminal, the payment institution system, the business system and the account management system. FIG9 is a flowchart of an example of the code scanning payment process provided by the embodiment of the present invention. As shown in FIG9, the overall code scanning payment process may include steps S401 to S418.

在步驟S401中,使用者終端回應於使用者的支付操作,向支付機構系統發送付款碼請求消息。 In step S401, the user terminal responds to the user's payment operation and sends a payment code request message to the payment institution system.

在步驟S402中,支付機構系統向業務系統發送付款碼請求消息。 In step S402, the payment institution system sends a payment code request message to the business system.

在步驟S403中,業務系統獲取與付款碼請求消息中位置資訊關聯的付款等待時長因素資訊。 In step S403, the business system obtains payment waiting time factor information associated with the location information in the payment code request message.

在步驟S404中,業務系統判斷付款等待時長因素資訊是否滿足雙碼下發條件。 In step S404, the business system determines whether the payment waiting time factor information meets the dual code issuance conditions.

在步驟S405中,若滿足雙碼下發條件,業務系統向支付機 構系統發送第一付款碼回饋消息。第一付款碼回饋消息包括第一付款碼和第二付款碼。 In step S405, if the dual-code issuance conditions are met, the business system sends a first payment code feedback message to the payment institution system. The first payment code feedback message includes the first payment code and the second payment code.

在步驟S406中,支付機構系統向使用者終端發送第一付款碼回饋消息。 In step S406, the payment institution system sends a first payment code feedback message to the user terminal.

在步驟S407中,使用者終端先顯示第一付款碼,並存儲第二付款碼。 In step S407, the user terminal first displays the first payment code and stores the second payment code.

在步驟S408中,在使用者終端感應到收款受理終端發出的觸發信號的情況下,使用者終端切換顯示第二付款碼。 In step S408, when the user terminal senses the trigger signal sent by the payment acceptance terminal, the user terminal switches to display the second payment code.

在步驟S409中,收款受理終端掃描使用者終端顯示的付款碼,讀取付款碼的資訊。 In step S409, the payment acceptance terminal scans the payment code displayed on the user terminal and reads the payment code information.

在步驟S410中,收款受理終端向支付機構系統發送支付請求消息。支付請求消息包括交易資訊和讀取得到的付款碼的資訊。 In step S410, the payment acceptance terminal sends a payment request message to the payment institution system. The payment request message includes transaction information and the information of the payment code obtained.

在步驟S411中,支付機構系統向業務系統發送支付請求消息。 In step S411, the payment institution system sends a payment request message to the business system.

在步驟S412中,業務系統識別支付請求消息中的付款碼的資訊是第一付款碼的資訊,還是第二付款碼的資訊。若支付請求消息中的付款碼的資訊是第二付款碼的資訊,跳轉至步驟S413;若支付請求消息中的付款碼的資訊是第一付款碼的資訊,跳轉至步驟S415。 In step S412, the business system identifies whether the payment code information in the payment request message is the information of the first payment code or the information of the second payment code. If the payment code information in the payment request message is the information of the second payment code, jump to step S413; if the payment code information in the payment request message is the information of the first payment code, jump to step S415.

在步驟S413中,業務系統向帳戶管理系統發送交易消息。 In step S413, the business system sends a transaction message to the account management system.

在步驟S414中,帳戶管理系統回應於交易消息,從第二付款碼的資訊指示的付款方帳戶中扣除支付金額。 In step S414, the account management system responds to the transaction message and deducts the payment amount from the payer's account indicated by the information of the second payment code.

在步驟S415中,業務系統判斷交易資訊是否滿足風險控制條件。若交易資訊滿足風險控制條件,跳轉至步驟S416;若交易資訊不滿足風險控制條件,跳轉至步驟S417。 In step S415, the business system determines whether the transaction information meets the risk control conditions. If the transaction information meets the risk control conditions, jump to step S416; if the transaction information does not meet the risk control conditions, jump to step S417.

在步驟S416中,業務系統執行交易干預處理。 In step S416, the business system performs transaction intervention processing.

在步驟S417中,業務系統向帳戶管理系統發送交易消息。 In step S417, the business system sends a transaction message to the account management system.

在步驟S418中,帳戶管理系統回應於交易消息,從第一付 款碼的資訊指示的付款方帳戶中扣除支付金額。 In step S418, the account management system responds to the transaction message and deducts the payment amount from the payer account indicated by the information of the first payment code.

上述步驟S401至步驟S418中的具體內容可參見上述實施例中的相關內容,在此不再贅述。 The specific contents of the above steps S401 to S418 can be found in the relevant contents of the above embodiments, which will not be elaborated here.

本發明第三面提供一種業務設備。圖10為本發明第三方面提供的業務設備的一實施例的結構示意圖。如圖10所示,業務設備500可包括接收模組501、獲取模組502、發送模組503和支付處理模組504。 The third aspect of the present invention provides a business device. FIG10 is a schematic diagram of the structure of an embodiment of the business device provided in the third aspect of the present invention. As shown in FIG10, the business device 500 may include a receiving module 501, an acquisition module 502, a sending module 503 and a payment processing module 504.

接收模組501可用於接收付款碼請求消息。 The receiving module 501 may be used to receive a payment code request message.

付款碼請求消息由使用者終端回應於支付操作生成,包括使用者終端的位置資訊。 The payment code request message is generated by the user terminal in response to a payment operation and includes the user terminal's location information.

獲取模組502可用於獲取與位置資訊關聯的付款等待時長因素資訊。 The acquisition module 502 can be used to obtain payment waiting time factor information associated with location information.

發送模組503可用於在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,以使使用者終端獲取第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示第一付款碼,在感應到觸發信號的情況下將顯示的第一付款碼切換為第二付款碼。 The sending module 503 can be used to send a first payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, so that the user terminal obtains the first payment code feedback message and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal.

第一付款碼回饋消息包括第一付款碼和第二付款碼。 The first payment code feedback message includes the first payment code and the second payment code.

在一些示例中,觸發信號包括以下一項或兩項以上:近場通信信號、藍牙信號、聲波信號。 In some examples, the trigger signal includes one or more of the following: a near field communication signal, a Bluetooth signal, or a sonic signal.

支付處理模組504可用於在接收的支付請求消息包括第一資訊的情況下,指示從第一資訊指示的付款方帳戶中扣除支付金額。 The payment processing module 504 may be used to instruct, when the received payment request message includes the first information, to deduct the payment amount from the payer account indicated by the first information.

第一資訊包括第二付款碼的資訊。 The first information includes the information of the second payment code.

在本發明實施例中,業務系統接收包括使用者終端的位置資訊的付款碼請求消息,根據與該位置資訊關聯的付款等待時長因素資訊,確定該付款等待時長因素資訊表徵的付款等待時長是否大於等於預設時長閾值,若該付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,可確定付款等待時長較長,存在付款碼被偷拍盜用的可能性,業務 系統為該使用者終端下發第一付款碼和第二付款碼。第一付款碼在使用者終端感應到收款受理終端發出的觸發信號之前在使用者終端顯示,第二付款碼在使用者終端感應到收款受理終端發出的觸發信號的情況下在使用者終端顯示。業務系統接收到的支付請求消息包括第二付款碼的資訊,表示收款受理終端掃描的是第二付款碼。由於第二付款碼在在使用者終端感應到收款受理終端發出的觸發信號的情況下才顯示,被偷拍盜用的可能性非常小,因此允許繼續正常支付。通過付款等待時長對應的付款碼下發策略以及第一付款碼和第二付款碼的切換,能夠有效分辨安全性較高的支付,提高掃碼支付的安全性。 In the embodiment of the present invention, the business system receives a payment code request message including the location information of the user terminal, and determines whether the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold according to the payment waiting time factor information associated with the location information. If the payment waiting time indicated by the payment waiting time factor information is greater than or equal to the preset time threshold, it can be determined that the payment waiting time is long, and there is a possibility that the payment code is secretly photographed and stolen. The business system issues a first payment code and a second payment code to the user terminal. The first payment code is displayed on the user terminal before the user terminal senses the trigger signal sent by the payment acceptance terminal, and the second payment code is displayed on the user terminal when the user terminal senses the trigger signal sent by the payment acceptance terminal. The payment request message received by the business system includes information about the second payment code, indicating that the payment acceptance terminal scanned the second payment code. Since the second payment code is displayed only when the user terminal senses the trigger signal sent by the payment acceptance terminal, the possibility of being secretly photographed and stolen is very small, so normal payment is allowed to continue. Through the payment code issuance strategy corresponding to the payment waiting time and the switching between the first payment code and the second payment code, it is possible to effectively distinguish payments with higher security and improve the security of scanning payment.

上述第一付款碼和第二付款碼的切換由使用者終端主動執行,不需用戶參與,可減少用戶的操作,在保證掃碼支付的安全性的基礎上,提高掃碼支付的效率。而且,與縮短付款碼有效時長的技術方案相比,本發明實施例不需要頻繁更新下發付款碼,還可在保證掃碼支付的安全性的基礎上,降低生成即下發付款碼的業務系統的處理壓力。 The switching between the first payment code and the second payment code is actively executed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scan code payment on the basis of ensuring the security of scan code payment. Moreover, compared with the technical solution of shortening the validity period of the payment code, the embodiment of the present invention does not need to frequently update and issue the payment code, and can also reduce the processing pressure of the business system that generates and issues the payment code on the basis of ensuring the security of scan code payment.

圖11為本發明第三方面提供的業務設備的另一實施例的結構示意圖。圖11與圖10的不同之處在於,圖11所示的業務設備500還可包括判定模組505。 FIG11 is a schematic diagram of the structure of another embodiment of the business device provided by the third aspect of the present invention. The difference between FIG11 and FIG10 is that the business device 500 shown in FIG11 may also include a determination module 505.

判定模組505可用於在與位置資訊關聯的付款等待時長因素資訊滿足雙碼下發條件的情況下,確定與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值。 The determination module 505 can be used to determine whether the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold when the payment waiting time factor information associated with the location information meets the dual code issuance condition.

付款等待時長因素資訊包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊中的一項或兩項以上。其中,歷史等待時間資訊包括付款碼請求時間和付款時間。 Payment waiting time factor information includes one or more of the payee's status information, the payee's queue time information, and the historical waiting time information of the user who transacts with the payee. Among them, the historical waiting time information includes the payment code request time and the payment time.

雙碼下發條件包括以下一項或多項:與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於收款繁忙狀態;與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應 的區域內的收款方處於活動舉辦狀態;與位置資訊關聯的收款方的排隊時長資訊表徵位於位置資訊對應的區域內的收款方的排隊時長大於等於預設時長閾值;與位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於預設時長閾值。 The conditions for issuing dual codes include one or more of the following: the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy collecting payments; the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is in an event holding state; the queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; the time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold.

圖12為本發明第三方面提供的業務設備的又一實施例的結構示意圖。圖12與圖10的不同之處在於,圖12所示的業務設備500還可包括干預處理模組506。 FIG12 is a schematic diagram of the structure of another embodiment of the business equipment provided by the third aspect of the present invention. The difference between FIG12 and FIG10 is that the business equipment 500 shown in FIG12 may also include an intervention processing module 506.

干預處理模組506可用於在接收的支付請求消息包括第二資訊的情況下,若交易資訊滿足風險控制條件,執行交易干預處理。 The intervention processing module 506 can be used to perform transaction intervention processing when the received payment request message includes the second information and the transaction information meets the risk control conditions.

支付請求消息包括交易資訊。第二資訊包括第一付款碼的資訊。風險控制條件用於判定第二資訊指示的支付存在盜用風險。交易干預處理用於對存在盜用風險的支付進行安全處理。 The payment request message includes transaction information. The second information includes information of the first payment code. The risk control condition is used to determine whether the payment indicated by the second information has the risk of theft. The transaction intervention process is used to safely process payments with the risk of theft.

在一些示例中,交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率。 In some examples, the transaction information includes one or more of the following: the payee's merchant address, the payment amount, and the payment frequency.

在一些示例中,風險控制條件包括以下一項或兩項以上:收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值;支付金額大於安全金額閾值;支付頻率高於安全頻率閾值。 In some examples, the risk control conditions include one or more of the following: the distance between the location of the payee's merchant address and the location indicated by the location information is greater than the safety distance threshold; the payment amount is greater than the safety amount threshold; the payment frequency is higher than the safety frequency threshold.

在一些示例中,干預處理模組506執行的交易干預處理可包括:對發送包括第二資訊的支付請求消息的使用者終端的使用者進行身份驗證;或者,中止第二資訊指示的支付。 In some examples, the transaction intervention processing performed by the intervention processing module 506 may include: verifying the identity of the user of the user terminal that sends the payment request message including the second information; or suspending the payment indicated by the second information.

在一些實施例中,上述支付處理模組504還可用於在接收的支付請求消息包括第二資訊的情況下,若交易資訊不滿足風險控制條件,指示從第二資訊指示的付款方帳戶中扣除支付金額。 In some embodiments, the payment processing module 504 can also be used to instruct the payment amount to be deducted from the payer account indicated by the second information if the transaction information does not meet the risk control conditions when the received payment request message includes the second information.

在一些實施例中,上述發送模組503還可用於在與位置資訊 關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值的情況下,發送第二付款碼回饋消息,以使使用者終端獲取第二付款碼回饋消息,並顯示第三付款碼。 In some embodiments, the sending module 503 can also be used to send a second payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information is less than a preset time threshold, so that the user terminal receives the second payment code feedback message and displays the third payment code.

第二付款碼回饋消息包括第三付款碼。 The second payment code feedback message includes the third payment code.

上述支付處理模組504還可用於在接收的支付請求消息包括第三資訊的情況下,指示從第三資訊指示的付款方帳戶中扣除支付金額。 The payment processing module 504 can also be used to instruct the payment amount to be deducted from the payer account indicated by the third information when the received payment request message includes the third information.

第三資訊包括第三付款碼的資訊。 The third information includes the information of the third payment code.

本發明第四方面提供一種使用者終端。圖13為本發明第四方面提供的使用者終端的一實施例的結構示意圖。如圖13所示,使用者終端600可包括發送模組601、接收模組602和顯示模組603。 The fourth aspect of the present invention provides a user terminal. FIG13 is a schematic structural diagram of an embodiment of the user terminal provided in the fourth aspect of the present invention. As shown in FIG13, the user terminal 600 may include a sending module 601, a receiving module 602 and a display module 603.

發送模組601可用於回應於接收的支付操作,發送付款碼請求消息。 The sending module 601 may be used to send a payment code request message in response to a received payment operation.

付款碼請求消息包括使用者終端的位置資訊。 The payment code request message includes the location information of the user's terminal.

接收模組602可用於在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息。 The receiving module 602 can be used to receive the first payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to the preset time threshold.

第一付款碼回饋消息由業務系統生成,包括第一付款碼和第二付款碼。 The first payment code feedback message is generated by the business system and includes the first payment code and the second payment code.

顯示模組603可用於顯示第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼,以使業務系統利用第一資訊從第一資訊指示的付款方帳戶中扣除支付金額。 The display module 603 can be used to display the first payment code, and when sensing the trigger signal of the payment acceptance terminal, the displayed first payment code is switched to the second payment code, so that the business system uses the first information to deduct the payment amount from the payer account indicated by the first information.

第一資訊包括第二付款碼的資訊。 The first information includes the information of the second payment code.

在一些示例中,觸發信號包括以下一項或兩項以上:近場通信信號、藍牙信號、聲波信號。 In some examples, the trigger signal includes one or more of the following: a near field communication signal, a Bluetooth signal, or a sonic signal.

在本發明實施例中,使用者終端可通過付款碼請求消息,向業務系統請求付款碼。付款碼請求消息包括位置資訊,可體現使用者終端申請付款碼時的位置。業務系統根據與該位置資訊關聯的付款等待時長因 素資訊,確定該付款等待時長因素資訊表徵的付款等待時長是否大於等於預設時長閾值,若該付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值,可確定付款等待時長較長,存在付款碼被偷拍盜用的可能性,使用者終端可通過第一付款碼回饋消息接收到業務系統下發的第一付款碼和第二付款碼。使用者終端在感應到收款受理終端發出的觸發信號之前顯示第一付款碼,使用者終端感應到收款受理終端發出的觸發信號的情況下將顯示的付款碼切換為第二付款碼,使得使用者終端在收款受理終端處進行支付時,收款受理終端掃描的是第二付款碼,可利用第二付款碼的資訊通過業務系統繼續正常進行支付。由於第二付款碼在在使用者終端感應到收款受理終端發出的觸發信號的情況下才顯示,被偷拍盜用的可能性非常小,因此允許繼續正常支付。通過付款等待時長對應的付款碼下發策略以及第一付款碼和第二付款碼的切換,能夠有效分辨安全性較高的支付,提高掃碼支付的安全性。 In the embodiment of the present invention, the user terminal can request the payment code from the business system through a payment code request message. The payment code request message includes location information, which can reflect the location of the user terminal when applying for the payment code. The business system determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold based on the payment waiting time factor information associated with the location information. If the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, it can be determined that the payment waiting time is long, and there is a possibility that the payment code is secretly photographed and stolen. The user terminal can receive the first payment code and the second payment code issued by the business system through the first payment code feedback message. The user terminal displays the first payment code before sensing the trigger signal from the payment acceptance terminal. When the user terminal senses the trigger signal from the payment acceptance terminal, the displayed payment code is switched to the second payment code, so that when the user terminal makes payment at the payment acceptance terminal, the payment acceptance terminal scans the second payment code, and the payment can be continued normally through the business system using the information of the second payment code. Since the second payment code is displayed only when the user terminal senses the trigger signal from the payment acceptance terminal, the possibility of being secretly photographed and stolen is very small, so normal payment is allowed to continue. Through the payment code issuance strategy corresponding to the payment waiting time and the switching between the first payment code and the second payment code, it is possible to effectively distinguish payments with higher security and improve the security of scanning code payment.

上述第一付款碼和第二付款碼的切換由使用者終端主動執行,不需用戶參與,可減少用戶的操作,在保證掃碼支付的安全性的基礎上,提高掃碼支付的效率。而且,與縮短付款碼有效時長的技術方案相比,本發明實施例不需要頻繁更新下發付款碼,還可在保證掃碼支付的安全性的基礎上,降低生成即下發付款碼的業務系統的處理壓力。 The switching between the first payment code and the second payment code is actively executed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scan code payment on the basis of ensuring the security of scan code payment. Moreover, compared with the technical solution of shortening the validity period of the payment code, the embodiment of the present invention does not need to frequently update and issue the payment code, and can also reduce the processing pressure of the business system that generates and issues the payment code on the basis of ensuring the security of scan code payment.

在一些實施例中,在與位置資訊關聯的付款等待時長因素資訊滿足雙碼下發條件的情況下,位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值。 In some embodiments, when the payment waiting time factor information associated with the location information meets the dual-code issuance conditions, the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold.

付款等待時長因素資訊包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊中的一項或兩項以上。歷史等待時間資訊包括付款碼請求時間和付款時間。 Payment waiting time factor information includes one or more of the payee's status information, the payee's queue time information, and the historical waiting time information of the user who transacted with the payee. The historical waiting time information includes the payment code request time and payment time.

雙碼下發條件包括以下一項或多項:與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於收款繁忙狀態; 與位置資訊關聯的收款方的狀態資訊表徵位於位置資訊對應的區域內的收款方處於活動舉辦狀態;與位置資訊關聯的收款方的排隊時長資訊表徵位於位置資訊對應的區域內的收款方的排隊時長大於等於預設時長閾值;與位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於預設時長閾值。 The conditions for issuing dual codes include one or more of the following: the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy collecting payments; The status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is in an event holding state; The queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; The time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold.

圖14為本發明第四方面提供的使用者終端的另一實施例的結構示意圖。圖14與圖13的不同之處在於,圖14所示的使用者終端600還可包括處理模組604。 FIG14 is a schematic structural diagram of another embodiment of the user terminal provided in the fourth aspect of the present invention. FIG14 is different from FIG13 in that the user terminal 600 shown in FIG14 may also include a processing module 604.

處理模組604可用於在第一付款碼被收款受理終端讀取的情況下,若收款受理終端向業務系統發送的支付請求消息中的交易資訊滿足風險控制條件,接受交易干預處理。 Processing module 604 can be used to accept transaction intervention processing when the first payment code is read by the payment acceptance terminal and the transaction information in the payment request message sent by the payment acceptance terminal to the business system meets the risk control conditions.

風險控制條件用於判定第二資訊指示的支付存在盜用風險。第二資訊包括第一付款碼的資訊。交易干預處理用於對存在盜用風險的支付進行安全處理。 The risk control condition is used to determine whether the payment indicated by the second information has the risk of theft. The second information includes the information of the first payment code. The transaction intervention process is used to safely process the payment with the risk of theft.

在一些示例中,交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率。 In some examples, the transaction information includes one or more of the following: the payee's merchant address, the payment amount, and the payment frequency.

在一些示例中,風險控制條件包括以下一項或兩項以上:收款方商戶位址所在位置與位置資訊指示的位置之間的距離大於安全距離閾值;支付金額大於安全金額閾值;支付頻率高於安全頻率閾值。 In some examples, the risk control conditions include one or more of the following: the distance between the location of the payee's merchant address and the location indicated by the location information is greater than the safety distance threshold; the payment amount is greater than the safety amount threshold; the payment frequency is higher than the safety frequency threshold.

在一些示例中,交易干預處理包括:對使用者終端的使用者進行身份驗證;或者,中止第二資訊指示的支付。 In some examples, the transaction intervention process includes: authenticating the user of the user terminal; or terminating the payment indicated by the second information.

在一些實施例中,在第一付款碼被收款受理終端讀取的情況下,若收款受理終端向業務系統發送的支付請求消息中的交易資訊不滿足風險控制條件,第二資訊指示的支付正常進行。 In some embodiments, when the first payment code is read by the payment acceptance terminal, if the transaction information in the payment request message sent by the payment acceptance terminal to the business system does not meet the risk control conditions, the payment indicated by the second information proceeds normally.

在一些實施例中,上述接收模組602還可用於在業務系統獲取的位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於預設時長閾值的情況下,接收第二付款碼回饋消息。 In some embodiments, the receiving module 602 can also be used to receive a second payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is less than a preset time threshold.

第二付款碼回饋消息包括第三付款碼 The second payment code feedback message includes the third payment code

上述顯示模組603還可用用於顯示第三付款碼,以使業務系統利用第三資訊從第三資訊指示的付款方帳戶中扣除支付金額。 The display module 603 can also be used to display a third payment code so that the business system can use the third information to deduct the payment amount from the payer's account indicated by the third information.

第三資訊包括第三付款碼的資訊。 The third information includes the information of the third payment code.

本發明第五方面還提供了一種業務設備。圖15為本發明第五方面提供的業務設備的一實施例的結構示意圖。如圖15所示,業務設備700包括記憶體701、處理器702及存儲在記憶體701上並可在處理器702上運行的電腦程式。 The fifth aspect of the present invention also provides a business device. FIG15 is a schematic diagram of the structure of an embodiment of the business device provided in the fifth aspect of the present invention. As shown in FIG15, the business device 700 includes a memory 701, a processor 702, and a computer program stored in the memory 701 and executable on the processor 702.

在一個示例中,上述處理器702可以包括中央處理器(Central Processing Unit,CPU),或者特定積體電路(Application Specific Integrated Circuit,ASIC),或者可以被配置成實施本發明實施例的一個或多個積體電路。 In one example, the processor 702 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

記憶體701可包括唯讀記憶體(Read-Only Memory,ROM),隨機存取記憶體(Random Access Memory,RAM),磁片存儲介質設備,光存儲介質設備,快閃記憶體設備,電氣、光學或其他物理/有形的記憶體存放裝置。因此,通常,記憶體包括一個或多個編碼有包括電腦可執行指令的軟體的有形(非暫態)電腦可讀存儲介質(例如,記憶體設備),並且當該軟體被執行(例如,由一個或多個處理器)時,其可操作來執行參考根據本發明第一方面的實施例中掃碼支付方法所描述的操作。 The memory 701 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical/tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the scanning code payment method in the embodiment according to the first aspect of the present invention.

處理器702通過讀取記憶體701中存儲的可執行程式碼來運行與可執行程式碼對應的電腦程式,以用於實現上述第一方面的實施例中掃碼支付方法。 The processor 702 runs the computer program corresponding to the executable program code by reading the executable program code stored in the memory 701, so as to implement the code scanning payment method in the embodiment of the first aspect mentioned above.

在一個示例中,業務設備700還可包括通信介面703和匯流排704。其中,如圖15所示,記憶體701、處理器702、通信介面703通過 匯流排704連接並完成相互間的通信。 In one example, the business device 700 may also include a communication interface 703 and a bus 704. As shown in FIG15 , the memory 701, the processor 702, and the communication interface 703 are connected via the bus 704 and communicate with each other.

通信介面703,主要用於實現本發明實施例中各模組、裝置、單元和/或設備之間的通信。也可通過通信介面703接入輸入裝置和/或輸出設備。 The communication interface 703 is mainly used to realize the communication between the modules, devices, units and/or equipment in the embodiment of the present invention. The input device and/or output device can also be connected through the communication interface 703.

匯流排704包括硬體、軟體或兩者,將業務設備700的部件彼此耦接在一起。舉例來說而非限制,匯流排704可包括高速圖形連接埠(Accelerated Graphics Port,AGP)或其他圖形匯流排、增強工業標準架構(Enhanced Industry Standard Architecture,EISA)匯流排、前端匯流排(Front Side Bus,FSB)、超傳輸(Hyper Transport,HT)互連、工業標準架構(Industry Standard Architecture,ISA)匯流排、無限頻寬互連、低引腳數(Low pin count,LPC)匯流排、記憶體匯流排、微通道架構(Micro Channel Architecture,MCA)匯流排、周邊元件連接(Peripheral Component Interconnect,PCI)匯流排、PCI-Express(PCI-E)匯流排、串列高級技術附件(Serial Advanced Technology Attachment,SATA)匯流排、視頻電子標準協會局部(Video Electronics Standards Association Local Bus,VLB)匯流排或其他合適的匯流排或者兩個或更多個以上這些的組合。在合適的情況下,匯流排704可包括一個或多個匯流排。儘管本發明實施例描述和示出了特定的匯流排,但本發明考慮任何合適的匯流排或互連。 Bus 704 includes hardware, software, or both, coupling components of business device 700 to each other. By way of example and not limitation, bus 704 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-E) bus, a Serial Advanced Technology Attachment (Serial Advanced Technology Attachment), or a Serial Advanced Technology Attachment (Serial Advanced Technology Attachment). Attachment, SATA) bus, Video Electronics Standards Association Local Bus (VLB) bus or other suitable bus or a combination of two or more of the above. Where appropriate, bus 704 may include one or more buses. Although the embodiments of the present invention describe and illustrate specific buses, the present invention contemplates any suitable bus or interconnect.

本發明第六方面還提供了一種使用者終端。圖16為本發明第六方面提供的使用者終端的一實施例的結構示意圖。如圖16所示,使用者終端800包括記憶體801、處理器802及存儲在記憶體801上並可在處理器802上運行的電腦程式。 The sixth aspect of the present invention also provides a user terminal. FIG16 is a schematic structural diagram of an embodiment of the user terminal provided in the sixth aspect of the present invention. As shown in FIG16, the user terminal 800 includes a memory 801, a processor 802, and a computer program stored in the memory 801 and executable on the processor 802.

在一個示例中,上述處理器802可以包括中央處理器(CPU),或者特定積體電路(Application Specific Integrated Circuit,ASIC),或者可以被配置成實施本發明實施例的一個或多個積體電路。 In one example, the processor 802 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

記憶體801可包括唯讀記憶體(Read-Only Memory,ROM),隨機存取記憶體(Random Access Memory,RAM),磁片存儲介質設備, 光存儲介質設備,快閃記憶體設備,電氣、光學或其他物理/有形的記憶體存放裝置。因此,通常,記憶體包括一個或多個編碼有包括電腦可執行指令的軟體的有形(非暫態)電腦可讀存儲介質(例如,記憶體設備),並且當該軟體被執行(例如,由一個或多個處理器)時,其可操作來執行參考根據本發明第二方面的實施例中掃碼支付方法所描述的操作。 The memory 801 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical/tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the scanning code payment method in the embodiment according to the second aspect of the present invention.

處理器802通過讀取記憶體801中存儲的可執行程式碼來運行與可執行程式碼對應的電腦程式,以用於實現上述第二方面的實施例中掃碼支付方法。 The processor 802 runs the computer program corresponding to the executable program code by reading the executable program code stored in the memory 801, so as to implement the scanning payment method in the embodiment of the second aspect mentioned above.

在一個示例中,使用者終端800還可包括通信介面803和匯流排804。其中,如圖16所示,記憶體801、處理器802、通信介面803通過匯流排804連接並完成相互間的通信。 In one example, the user terminal 800 may also include a communication interface 803 and a bus 804. As shown in FIG16 , the memory 801, the processor 802, and the communication interface 803 are connected via the bus 804 and communicate with each other.

通信介面803,主要用於實現本發明實施例中各模組、裝置、單元和/或設備之間的通信。也可通過通信介面803接入輸入裝置和/或輸出設備。 The communication interface 803 is mainly used to realize the communication between the modules, devices, units and/or equipment in the embodiment of the present invention. The input device and/or output device can also be connected through the communication interface 803.

匯流排804包括硬體、軟體或兩者,將使用者終端800的部件彼此耦接在一起。舉例來說而非限制,匯流排804可包括高速圖形連接埠(Accelerated Graphics Port,AGP)或其他圖形匯流排、增強工業標準架構(Enhanced Industry Standard Architecture,EISA)匯流排、前端匯流排(Front Side Bus,FSB)、超傳輸(Hyper Transport,HT)互連、工業標準架構(Industry Standard Architecture,ISA)匯流排、無限頻寬互連、低引腳數(Low pin count,LPC)匯流排、記憶體匯流排、微通道架構(Micro Channel Architecture,MCA)匯流排、周邊元件連接(Peripheral Component Interconnect,PCI)匯流排、PCI-Express(PCI-E)匯流排、串列高級技術附件(Serial Advanced Technology Attachment,SATA)匯流排、視頻電子標準協會局部(Video Electronics Standards Association Local Bus,VLB)匯流排或其他合適的匯流排或者兩個或更多個以上這些的組合。在合適的情況下,匯流排804可包括一個或多個匯流排。儘管本發明實施例描述和示 出了特定的匯流排,但本發明考慮任何合適的匯流排或互連。 The bus 804 includes hardware, software, or both, coupling the components of the user terminal 800 to each other. By way of example and not limitation, bus 804 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-E) bus, a Serial Advanced Technology Attachment (Serial Advanced Technology Attachment), or a Serial Advanced Technology Attachment (Serial Advanced Technology Attachment). Attachment, SATA) bus, Video Electronics Standards Association Local Bus (VLB) bus or other suitable bus or a combination of two or more of the above. Where appropriate, bus 804 may include one or more buses. Although the embodiments of the present invention describe and illustrate specific buses, the present invention contemplates any suitable bus or interconnect.

本發明第七方面提供一種掃碼支付系統,該掃碼支付系統可包括業務系統和使用者終端。 The seventh aspect of the present invention provides a code scanning payment system, which may include a business system and a user terminal.

使用者終端用於回應於接收的支付操作,發送付款碼請求消息,付款碼請求消息包括使用者終端的位置資訊。 The user terminal is used to respond to the received payment operation and send a payment code request message, which includes the location information of the user terminal.

業務系統用於接收付款碼請求消息,獲取與位置資訊關聯的付款等待時長因素資訊,在與位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,第一付款碼回饋消息包括第一付款碼和第二付款碼。 The business system is used to receive a payment code request message, obtain payment waiting time factor information associated with location information, and send a first payment code feedback message when the payment waiting time factor information associated with location information is greater than or equal to a preset time threshold. The first payment code feedback message includes a first payment code and a second payment code.

使用者終端還用於顯示第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的第一付款碼切換為第二付款碼。 The user terminal is also used to display the first payment code, and when a trigger signal from the payment acceptance terminal is sensed, the displayed first payment code is switched to the second payment code.

業務系統還用於在接收到的支付請求消息包括第一資訊的情況下,指示從第一資訊指示的付款方帳戶中扣除支付金額,第一資訊包括第二付款碼的資訊。 The business system is also used to instruct the payment amount to be deducted from the payer account indicated by the first information when the received payment request message includes the first information, and the first information includes the information of the second payment code.

業務系統的具體內容可參見上述實施例中業務系統14以及上述實施例中掃碼支付方法中業務系統的相關說明,在此不再贅述。業務系統可包括業務設備,業務設備的具體內容可參見上述實施例中業務設備500和業務設備700等的相關說明,在此不再贅述。 The specific content of the business system can be found in the business system 14 in the above embodiment and the relevant description of the business system in the code scanning payment method in the above embodiment, which will not be repeated here. The business system may include business equipment, and the specific content of the business equipment can be found in the relevant description of the business equipment 500 and the business equipment 700 in the above embodiment, which will not be repeated here.

使用者終端的具體內容可參見上述實施例中使用者終端11、上述實施例中掃碼支付方法中使用者終端、上述實施例中的使用者終端600以及使用者終端800等的相關說明,在此不再贅述。 The specific content of the user terminal can be found in the user terminal 11 in the above embodiment, the user terminal in the code scanning payment method in the above embodiment, the user terminal 600 in the above embodiment, and the user terminal 800, etc., which will not be repeated here.

在一些實施例中,掃碼支付系統還可包括支付機構系統,支付機構系統的具體內容可參見上述實施例中支付機構系統13以及掃碼支付方法中支付機構系統等的相關說明。 In some embodiments, the code scanning payment system may also include a payment institution system. The specific content of the payment institution system can be found in the payment institution system 13 in the above embodiment and the relevant description of the payment institution system in the code scanning payment method.

在一些實施例中,掃碼支付系統還可包括收款受理終端,收款受理終端的具體內容可參見上述實施例中收款受理終端12以及掃碼支付方法中收款受理終端等的相關說明。 In some embodiments, the code scanning payment system may also include a payment acceptance terminal. The specific content of the payment acceptance terminal can be found in the payment acceptance terminal 12 in the above embodiment and the relevant description of the payment acceptance terminal in the code scanning payment method.

在一些實施例中,掃碼支付系統還可包括帳戶管理系統,收款受理終端的具體內容可參見上述實施例中帳戶管理系統15以及掃碼支付方法中帳戶管理系統等的相關說明。 In some embodiments, the QR code payment system may also include an account management system. The specific content of the payment acceptance terminal can be found in the account management system 15 in the above embodiment and the account management system in the QR code payment method.

本發明第八方面還提供一種電腦可讀存儲介質,該電腦可讀存儲介質上存儲有電腦程式指令,該電腦程式指令被處理器執行時可實現上述第一方面的實施例中的掃碼支付方法、第二方面的實施例中的掃碼支付方法,且能達到相同的技術效果,為避免重複,這裡不再贅述。其中,上述電腦可讀存儲介質可包括非暫態電腦可讀存儲介質,如唯讀記憶體(Read-Only Memory,ROM)、隨機存取記憶體(Random Access Memory,RAM)、磁碟或者光碟等,在此並不限定。 The eighth aspect of the present invention also provides a computer-readable storage medium, on which a computer program instruction is stored. When the computer program instruction is executed by a processor, the code scanning payment method in the embodiment of the first aspect and the code scanning payment method in the embodiment of the second aspect can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transient computer-readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc., which is not limited here.

需要明確的是,本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同或相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。對於裝置實施例、設備實施例、電腦可讀存儲介質實施例而言,相關之處可以參見方法實施例的說明部分。本發明並不局限於上文所描述並在圖中示出的特定步驟和結構。本領域的技術人員可以在領會本發明的精神之後,作出各種改變、修改和添加,或者改變步驟之間的順序。並且,為了簡明起見,這裡省略對已知方法技術的詳細描述。 It should be made clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For the device embodiment, equipment embodiment, and computer-readable storage medium embodiment, the relevant parts can be referred to the description part of the method embodiment. The present invention is not limited to the specific steps and structures described above and shown in the figures. After understanding the spirit of the present invention, technicians in this field can make various changes, modifications and additions, or change the order between the steps. In addition, for the sake of brevity, the detailed description of the known method technology is omitted here.

上面參考根據本發明的實施例的方法、裝置(系統)和電腦程式產品的流程圖和/或框圖描述了本發明的各方面。應當理解,流程圖和/或框圖中的每個方框以及流程圖和/或框圖中各方框的組合可以由電腦程式指令實現。這些電腦程式指令可被提供給通用電腦、專用電腦、或其它可程式設計資料處理裝置的處理器,以產生一種機器,使得經由電腦或其它可程式設計資料處理裝置的處理器執行的這些指令使能對流程圖和/或框圖的一個或多個方框中指定的功能/動作的實現。這種處理器可以是但不限於是通用處理器、專用處理器、特殊應用處理器或者現場可程式設計邏輯電路。還可理解,框圖和/或流程圖中的每個方框以及框圖和/或流程圖中 的方框的組合,也可以由執行指定的功能或動作的專用硬體來實現,或可由專用硬體和電腦指令的組合來實現。 Aspects of the present invention are described above with reference to the flow chart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present invention. It should be understood that each square frame in the flow chart and/or block diagram and the combination of square frames in the flow chart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function/action specified in one or more square frames of the flow chart and/or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and/or flowchart and the combination of boxes in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

本領域技術人員應能理解,上述實施例均是示例性而非限制性的。在不同實施例中出現的不同技術特徵可以進行組合,以取得有益效果。本領域技術人員在研究圖式、說明書及申請專利範圍的基礎上,應能理解並實現所揭示的實施例的其他變化的實施例。在申請專利範圍中,術語“包括”並不排除其他裝置或步驟;數量詞“一個”不排除多個;術語“第一”、“第二”用於標示名稱而非用於表示任何特定的順序。請求項中的任何圖式標記均不應被理解為對保護範圍的限制。請求項中出現的多個部分的功能可以由一個單獨的硬體或軟體模組來實現。某些技術特徵出現在不同的從屬請求項中並不意味著不能將這些技術特徵進行組合以取得有益效果。 Those skilled in the art should understand that the above embodiments are exemplary rather than restrictive. Different technical features appearing in different embodiments can be combined to achieve beneficial effects. Based on the study of the drawings, instructions and the scope of the patent application, those skilled in the art should be able to understand and implement other variations of the disclosed embodiments. In the scope of the patent application, the term "including" does not exclude other devices or steps; the quantifier "one" does not exclude multiple; the terms "first" and "second" are used to identify names rather than to indicate any specific order. Any diagrammatic mark in the claim should not be understood as a limitation on the scope of protection. The functions of multiple parts appearing in the claim can be implemented by a single hardware or software module. The appearance of certain technical features in different subordinate claims does not mean that these technical features cannot be combined to achieve beneficial effects.

S201,S202,S203,S204:步驟 S201, S202, S203, S204: Steps

Claims (22)

一種掃碼支付方法,其特徵在於,應用於業務系統,所述方法包括:接收付款碼請求消息,所述付款碼請求消息由使用者終端回應於支付操作生成,包括所述使用者終端的位置資訊;獲取與所述位置資訊關聯的付款等待時長因素資訊;在與所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,所述第一付款碼回饋消息包括第一付款碼和第二付款碼,以使所述使用者終端獲取所述第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示所述第一付款碼,在感應到所述觸發信號的情況下將顯示的所述第一付款碼切換為所述第二付款碼;在接收的支付請求消息包括第一資訊的情況下,指示從所述第一資訊指示的付款方帳戶中扣除支付金額,所述第一資訊包括所述第二付款碼的資訊。 A code scanning payment method is characterized in that it is applied to a business system, and the method comprises: receiving a payment code request message, the payment code request message is generated by a user terminal in response to a payment operation, and includes location information of the user terminal; obtaining payment waiting time factor information associated with the location information; when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold, sending a first payment code feedback message, the first payment code feedback message The feedback message includes a first payment code and a second payment code, so that the user terminal obtains the first payment code feedback message, and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; when the received payment request message includes the first information, instructing to deduct the payment amount from the payee account indicated by the first information, and the first information includes the information of the second payment code. 如請求項1所述的方法,其中,還包括:在與所述位置資訊關聯的所述付款等待時長因素資訊滿足雙碼下發條件的情況下,確定與所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長大於等於所述預設時長閾值,其中,所述付款等待時長因素資訊包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊中的一項或兩項以上,所述歷史等待時間資訊包括付款碼請求時間和付款時間,所述雙碼下發條件包括以下一項或多項:與所述位置資訊關聯的收款方的狀態資訊表徵位於所述位置資訊對應的區域內的收款方處於收款繁忙狀態,與所述位置資訊關聯的收款方的狀態資訊表徵位於所述位置資訊對應 的區域內的收款方處於活動舉辦狀態,與所述位置資訊關聯的收款方的排隊時長資訊表徵位於所述位置資訊對應的區域內的收款方的排隊時長大於等於所述預設時長閾值,與所述位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於所述預設時長閾值。 The method as described in claim 1, further comprising: when the payment waiting time factor information associated with the location information satisfies the dual code sending condition, determining that the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, wherein the payment waiting time factor information includes one or more of the following: the payee's status information, the payee's queue time information, and the user's historical waiting time information of the transaction with the payee, the historical waiting time information includes the payment code request time and the payment time, and the dual code sending condition includes one or more of the following: Item: The status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy with payment collection; the status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is in an event holding state; the queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; the time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold. 如請求項1所述的方法,其中,所述支付請求消息包括交易資訊,所述方法還包括:在接收的支付請求消息包括第二資訊的情況下,若所述交易資訊滿足風險控制條件,執行交易干預處理,其中,所述第二資訊包括所述第一付款碼的資訊,所述風險控制條件用於判定所述第二資訊指示的支付存在盜用風險,所述交易干預處理用於對存在盜用風險的支付進行安全處理。 The method of claim 1, wherein the payment request message includes transaction information, and the method further includes: when the received payment request message includes second information, if the transaction information meets the risk control condition, executing transaction intervention processing, wherein the second information includes information of the first payment code, the risk control condition is used to determine whether the payment indicated by the second information has a risk of theft, and the transaction intervention processing is used to securely process the payment with the risk of theft. 如請求項3所述的方法,其中,所述交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率;所述風險控制條件包括以下一項或兩項以上:所述收款方商戶位址所在位置與所述位置資訊指示的位置之間的距離大於安全距離閾值,所述支付金額大於安全金額閾值,所述支付頻率高於安全頻率閾值。 The method of claim 3, wherein the transaction information includes one or more of the following: the payee merchant address, the payment amount, and the payment frequency; the risk control conditions include one or more of the following: the distance between the payee merchant address and the location indicated by the location information is greater than the safety distance threshold, the payment amount is greater than the safety amount threshold, and the payment frequency is higher than the safety frequency threshold. 如請求項3所述的方法,其中,所述交易干預處理包括:對發送包括所述第二資訊的所述支付請求消息的所述使用者終端的使用者進行身份驗證;或者,中止所述第二資訊指示的支付。 The method as described in claim 3, wherein the transaction intervention process includes: verifying the identity of the user of the user terminal that sends the payment request message including the second information; or terminating the payment indicated by the second information. 如請求項3所述的方法,其中,還包括: 在接收的所述支付請求消息包括所述第二資訊的情況下,若所述交易資訊不滿足風險控制條件,指示從所述第二資訊指示的付款方帳戶中扣除支付金額。 The method as described in claim 3, further comprising: When the received payment request message includes the second information, if the transaction information does not meet the risk control conditions, instruct to deduct the payment amount from the payer account indicated by the second information. 如請求項1所述的方法,其中,還包括:在與所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長小於所述預設時長閾值的情況下,發送第二付款碼回饋消息,所述第二付款碼回饋消息包括第三付款碼,以使所述使用者終端獲取所述第二付款碼回饋消息,並顯示所述第三付款碼;在接收的支付請求消息包括第三資訊的情況下,指示從所述第三資訊指示的付款方帳戶中扣除支付金額,所述第三資訊包括所述第三付款碼的資訊。 The method of claim 1, further comprising: when the payment waiting time represented by the payment waiting time factor information associated with the location information is less than the preset time threshold, sending a second payment code feedback message, the second payment code feedback message includes a third payment code, so that the user terminal obtains the second payment code feedback message and displays the third payment code; when the received payment request message includes the third information, instructing to deduct the payment amount from the payee account indicated by the third information, the third information includes information of the third payment code. 如請求項1至7中任意一項所述的方法,其中,所述觸發信號包括以下一項或兩項以上:近場通信信號、藍牙信號、聲波信號。 A method as described in any one of claims 1 to 7, wherein the trigger signal includes one or more of the following: a near field communication signal, a Bluetooth signal, and a sound wave signal. 一種掃碼支付方法,其特徵在於,應用於使用者終端,所述方法包括:回應於接收的支付操作,發送付款碼請求消息,所述付款碼請求消息包括所述使用者終端的位置資訊;在業務系統獲取的所述位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息,所述第一付款碼回饋消息由業務系統生成,包括第一付款碼和第二付款碼;顯示所述第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的所述第一付款碼切換為所述第二付款碼,以使所述業務系統利用第一資訊從所述第一資訊指示的付款方帳戶中扣除支付金額,所述第一資訊包括所述第二付款碼的資訊。 A code scanning payment method is characterized in that it is applied to a user terminal, and the method includes: in response to a received payment operation, sending a payment code request message, the payment code request message includes the location information of the user terminal; when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to a preset time threshold, receiving a first payment code feedback message, the first payment code feedback message is generated by the business system, and includes a first payment code and a second payment code; displaying the first payment code, and in response to a trigger signal from a payment acceptance terminal, switching the displayed first payment code to the second payment code, so that the business system uses the first information to deduct the payment amount from the payee account indicated by the first information, the first information including the information of the second payment code. 如請求項9所述的方法,其中,在與所述位置資訊關聯的所述付款等待時長因素資訊滿足雙碼下發條 件的情況下,所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長大於等於所述預設時長閾值,其中,所述付款等待時長因素資訊包括收款方的狀態資訊、收款方的排隊時長資訊、與收款方交易的使用者的歷史等待時間資訊中的一項或兩項以上,所述歷史等待時間資訊包括付款碼請求時間和付款時間,所述雙碼下發條件包括以下一項或多項:與所述位置資訊關聯的收款方的狀態資訊表徵位於所述位置資訊對應的區域內的收款方處於收款繁忙狀態,與所述位置資訊關聯的收款方的狀態資訊表徵位於所述位置資訊對應的區域內的收款方處於活動舉辦狀態,與所述位置資訊關聯的收款方的排隊時長資訊表徵位於所述位置資訊對應的區域內的收款方的排隊時長大於等於所述預設時長閾值,與所述位置資訊關聯的與收款方交易的使用者的付款碼請求時間與付款時間之間的時長大於等於所述預設時長閾值。 The method of claim 9, wherein, when the payment waiting time factor information associated with the location information satisfies the dual code sending condition, the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to the preset time threshold, wherein the payment waiting time factor information includes one or more of the following: the payee's status information, the payee's queue time information, and the user's historical waiting time information of the user who transacts with the payee, the historical waiting time information includes the payment code request time and the payment time, and the dual code sending condition includes one or more of the following: The status information of the payee associated with the location information indicates that the payee in the area corresponding to the location information is busy with payment collection; the status information of the payee in the area corresponding to the location information indicates that the payee in the area corresponding to the location information is in an activity holding state; the queue time information of the payee associated with the location information indicates that the queue time of the payee in the area corresponding to the location information is greater than or equal to the preset time threshold; the time between the payment code request time and the payment time of the user who transacts with the payee associated with the location information is greater than or equal to the preset time threshold. 如請求項9所述的方法,其中,還包括:在所述第一付款碼被所述收款受理終端讀取的情況下,若所述收款受理終端向所述業務系統發送的支付請求消息中的交易資訊滿足風險控制條件,接受交易干預處理,其中,所述風險控制條件用於判定第二資訊指示的支付存在盜用風險,所述第二資訊包括所述第一付款碼的資訊,所述交易干預處理用於對存在盜用風險的支付進行安全處理。 The method of claim 9, further comprising: when the first payment code is read by the payment acceptance terminal, if the transaction information in the payment request message sent by the payment acceptance terminal to the business system meets the risk control condition, accepting transaction intervention processing, wherein the risk control condition is used to determine whether the payment indicated by the second information has the risk of theft, the second information includes the information of the first payment code, and the transaction intervention processing is used to perform security processing on the payment with the risk of theft. 如請求項11所述的方法,其中,所述交易資訊包括以下一項或兩項以上:收款方商戶地址、支付金額、支付頻率;所述風險控制條件包括以下一項或兩項以上:所述收款方商戶位址所在位置與所述位置資訊指示的位置之間的距離大於安全距離閾值,所述支付金額大於安全金額閾值, 所述支付頻率高於安全頻率閾值。 The method of claim 11, wherein the transaction information includes one or more of the following: the payee merchant address, the payment amount, and the payment frequency; the risk control conditions include one or more of the following: the distance between the location of the payee merchant address and the location indicated by the location information is greater than the safety distance threshold, the payment amount is greater than the safety amount threshold, and the payment frequency is higher than the safety frequency threshold. 如請求項11所述的方法,其中,所述交易干預處理包括:對所述使用者終端的使用者進行身份驗證;或者,中止所述第二資訊指示的支付。 The method as claimed in claim 11, wherein the transaction intervention process includes: verifying the identity of the user of the user terminal; or terminating the payment indicated by the second information. 如請求項11所述的方法,其中,在所述第一付款碼被所述收款受理終端讀取的情況下,若所述收款受理終端向所述業務系統發送的支付請求消息中的交易資訊不滿足風險控制條件,所述第二資訊指示的支付正常進行。 As described in claim 11, when the first payment code is read by the payment acceptance terminal, if the transaction information in the payment request message sent by the payment acceptance terminal to the business system does not meet the risk control conditions, the payment indicated by the second information proceeds normally. 如請求項9所述的方法,其中,在業務系統獲取的所述位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長小於所述預設時長閾值的情況下,接收第二付款碼回饋消息,所述第二付款碼回饋消息包括第三付款碼;顯示所述第三付款碼,以使所述業務系統利用第三資訊從所述第三資訊指示的付款方帳戶中扣除支付金額,所述第三資訊包括所述第三付款碼的資訊。 The method as claimed in claim 9, wherein, when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is less than the preset time threshold, a second payment code feedback message is received, the second payment code feedback message includes a third payment code; the third payment code is displayed so that the business system uses the third information to deduct the payment amount from the payer account indicated by the third information, the third information includes information of the third payment code. 如請求項9至15中任意一項所述的方法,其中,所述觸發信號包括以下一項或兩項以上:近場通信信號、藍牙信號、聲波信號。 A method as described in any one of claims 9 to 15, wherein the trigger signal includes one or more of the following: a near field communication signal, a Bluetooth signal, and a sound wave signal. 一種業務設備,其特徵在於,包括:接收模組,用於接收付款碼請求消息,所述付款碼請求消息由使用者終端回應於支付操作生成,包括所述使用者終端的位置資訊;獲取模組,用於獲取與所述位置資訊關聯的付款等待時長因素資訊;發送模組,用於在與所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,所述第一付款碼回饋消息包括第一付款碼和第二付款碼,以使所 述使用者終端獲取所述第一付款碼回饋消息,並在感應到收款受理終端的觸發信號之前顯示所述第一付款碼,在感應到所述觸發信號的情況下將顯示的所述第一付款碼切換為所述第二付款碼;支付處理模組,用於在接收的支付請求消息包括第一資訊的情況下,指示從所述第一資訊指示的付款方帳戶中扣除支付金額,所述第一資訊包括所述第二付款碼的資訊。 A business device, characterized in that it includes: a receiving module, used to receive a payment code request message, the payment code request message is generated by a user terminal in response to a payment operation, and includes location information of the user terminal; an obtaining module, used to obtain payment waiting time factor information associated with the location information; a sending module, used to send a first payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold, the first payment code feedback message The message includes a first payment code and a second payment code, so that the user terminal obtains the first payment code feedback message, and displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and switches the displayed first payment code to the second payment code when sensing the trigger signal; the payment processing module is used to instruct the deduction of the payment amount from the payer account indicated by the first information when the received payment request message includes the first information, and the first information includes the information of the second payment code. 一種使用者終端,其特徵在於,包括:發送模組,用於回應於接收的支付操作,發送付款碼請求消息,所述付款碼請求消息包括所述使用者終端的位置資訊;接收模組,用於在業務系統獲取的所述位置資訊關聯的付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,接收第一付款碼回饋消息,所述第一付款碼回饋消息由業務系統生成,包括第一付款碼和第二付款碼;顯示模組,用於顯示所述第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的所述第一付款碼切換為所述第二付款碼,以使所述業務系統利用第一資訊從所述第一資訊指示的付款方帳戶中扣除支付金額,所述第一資訊包括所述第二付款碼的資訊。 A user terminal is characterized in that it includes: a sending module for sending a payment code request message in response to a received payment operation, wherein the payment code request message includes the location information of the user terminal; a receiving module for receiving a first payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the business system is greater than or equal to a preset time threshold, wherein the first payment code feedback message is generated by the business system and includes a first payment code and a second payment code; a display module for displaying the first payment code and switching the displayed first payment code to the second payment code when sensing a trigger signal from a payment acceptance terminal, so that the business system uses the first information to deduct the payment amount from the payee account indicated by the first information, wherein the first information includes information of the second payment code. 一種業務設備,其特徵在於,包括:處理器以及存儲有電腦程式指令的記憶體;所述處理器執行所述電腦程式指令時實現如請求項1至8中任意一項所述的掃碼支付方法。 A business device, characterized in that it includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the scanning payment method as described in any one of claim items 1 to 8 is implemented. 一種使用者終端,其特徵在於,包括:處理器以及存儲有電腦程式指令的記憶體;所述處理器執行所述電腦程式指令時實現如請求項9至16中任意一項所述的掃碼支付方法。 A user terminal, characterized in that it includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the scanning payment method as described in any one of claim items 9 to 16 is implemented. 一種掃碼支付系統,其特徵在於,包括使用者終端和業務系統; 所述使用者終端用於回應於接收的支付操作,發送付款碼請求消息,所述付款碼請求消息包括所述使用者終端的位置資訊;所述業務系統用於接收付款碼請求消息,獲取與所述位置資訊關聯的付款等待時長因素資訊,在與所述位置資訊關聯的所述付款等待時長因素資訊表徵的付款等待時長大於等於預設時長閾值的情況下,發送第一付款碼回饋消息,所述第一付款碼回饋消息包括第一付款碼和第二付款碼;所述使用者終端還用於顯示所述第一付款碼,並在感應到收款受理終端的觸發信號的情況下,將顯示的所述第一付款碼切換為所述第二付款碼;所述業務系統還用於在接收到的支付請求消息包括第一資訊的情況下,指示從所述第一資訊指示的付款方帳戶中扣除支付金額,所述第一資訊包括所述第二付款碼的資訊。 A code scanning payment system, characterized in that it includes a user terminal and a business system; the user terminal is used to respond to a received payment operation and send a payment code request message, the payment code request message includes the location information of the user terminal; the business system is used to receive the payment code request message, obtain payment waiting time factor information associated with the location information, and send a payment code request message when the payment waiting time factor information associated with the location information is greater than or equal to a preset time threshold. The first payment code feedback message includes the first payment code and the second payment code; the user terminal is also used to display the first payment code, and when sensing the trigger signal of the payment acceptance terminal, the displayed first payment code is switched to the second payment code; the business system is also used to instruct to deduct the payment amount from the payee account indicated by the first information when the received payment request message includes the first information, and the first information includes the information of the second payment code. 一種電腦可讀存儲介質,其特徵在於,所述電腦可讀存儲介質上存儲有電腦程式指令,所述電腦程式指令被處理器執行時實現如請求項1至16中任意一項所述的掃碼支付方法。 A computer-readable storage medium, characterized in that a computer program instruction is stored on the computer-readable storage medium, and when the computer program instruction is executed by a processor, a QR code payment method as described in any one of claim items 1 to 16 is implemented.
TW111137390A 2022-02-11 2022-09-30 QR code payment method, user terminal, business equipment, system and medium TWI839876B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210130242.7A CN114548975A (en) 2022-02-11 2022-02-11 Scan code payment method, user terminal, business equipment, system and medium
CN202210130242.7 2022-02-11

Publications (2)

Publication Number Publication Date
TW202333097A TW202333097A (en) 2023-08-16
TWI839876B true TWI839876B (en) 2024-04-21

Family

ID=81672669

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111137390A TWI839876B (en) 2022-02-11 2022-09-30 QR code payment method, user terminal, business equipment, system and medium

Country Status (3)

Country Link
CN (1) CN114548975A (en)
TW (1) TWI839876B (en)
WO (1) WO2023151246A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Scan code payment method, user terminal, business equipment, system and medium
CN114997876A (en) * 2022-06-15 2022-09-02 中国银行股份有限公司 Control method and device for payment transaction risk
CN115620422A (en) * 2022-09-30 2023-01-17 中国联合网络通信集团有限公司 Driving assistance system, method, device and storage medium
CN119893494A (en) * 2023-10-24 2025-04-25 中兴通讯股份有限公司 Lock control method, electronic equipment and storage medium
CN117875959A (en) * 2023-11-01 2024-04-12 支付宝(中国)网络技术有限公司 Payment method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140067566A1 (en) * 2012-09-06 2014-03-06 American Express Travel Related Services Company, Inc. Smartphone barcode transactions
CN109544143A (en) * 2018-11-30 2019-03-29 上海爱优威软件开发有限公司 A kind of deployment method of payment code, safe payment method and terminal
CN110728510A (en) * 2019-07-30 2020-01-24 张文 Automatic payment code calling method, system, storage medium and user terminal
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN112581122A (en) * 2020-12-25 2021-03-30 维沃移动通信有限公司 Display method, payment code identification method and device and electronic equipment
TW202134974A (en) * 2020-03-03 2021-09-16 新加坡商支付寶實驗室(新加坡)有限公司 Cross-border payment method, apparatus, device and system
US11205273B2 (en) * 2019-03-11 2021-12-21 Velo Software, Llc Methods and systems of tracking velocity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837057A (en) * 2019-11-22 2021-05-25 华为技术有限公司 Payment code anti-swiping method, terminal device and computer-readable storage medium
CN111144877B (en) * 2019-12-13 2024-03-05 维沃移动通信有限公司 Scan code payment methods and electronic devices
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Scan code payment method, user terminal, business equipment, system and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140067566A1 (en) * 2012-09-06 2014-03-06 American Express Travel Related Services Company, Inc. Smartphone barcode transactions
CN109544143A (en) * 2018-11-30 2019-03-29 上海爱优威软件开发有限公司 A kind of deployment method of payment code, safe payment method and terminal
US11205273B2 (en) * 2019-03-11 2021-12-21 Velo Software, Llc Methods and systems of tracking velocity
CN110728510A (en) * 2019-07-30 2020-01-24 张文 Automatic payment code calling method, system, storage medium and user terminal
TW202134974A (en) * 2020-03-03 2021-09-16 新加坡商支付寶實驗室(新加坡)有限公司 Cross-border payment method, apparatus, device and system
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN112581122A (en) * 2020-12-25 2021-03-30 维沃移动通信有限公司 Display method, payment code identification method and device and electronic equipment

Also Published As

Publication number Publication date
TW202333097A (en) 2023-08-16
WO2023151246A1 (en) 2023-08-17
CN114548975A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
TWI839876B (en) QR code payment method, user terminal, business equipment, system and medium
JP6695960B2 (en) Method and system for processing blockchain-based transactions on an existing payment network
US20200294049A1 (en) Authorization of credential on file transactions
US20200019950A1 (en) Systems and methods for transaction pre- authentication
US10438175B2 (en) Secure real-time payment transactions
US20240086918A1 (en) Decentralized identity verification for payment transactions
CN104766205B (en) A kind of method of mobile payment and device
US9336523B2 (en) Managing a secure transaction
CN106846666A (en) A kind of withdrawal method based on block chain
US20180089663A1 (en) Electronic resource processing method and device
AU2025201729A1 (en) Payment system
CN112633875A (en) Account amount management method, system, device and storage medium
CN112950219A (en) Payment processing method and system
JP2017504916A (en) System for monitoring financial transactions from credit settlement device and method of the system
CN112330323A (en) Method for generating token seed and two-dimensional code, payment method and payment device
AU2015354792A1 (en) A transaction method
WO2017147464A1 (en) Use of item level transactional details in payment processing and customer engagement platforms
CN108446905B (en) Payment method and device and electronic equipment
US11037122B2 (en) Secure real-time transactions
KR101646328B1 (en) Mobile credit card settlement method and service apparatus using the same, phone
JP2023127458A (en) Determination system, determination method, and program
AU2018256469B2 (en) Authentication using application authentication element
US10026088B2 (en) Payment processing using multiple transaction channels
US20240086917A1 (en) Fraud mitigation using pre-authorization authentication and verification
KR101889360B1 (en) Method of paying mobile, terminal performing the same, server performing the same and storage media storing the same