WO2023151246A1 - Code-scanning payment method, user terminal, service device, system, and medium - Google Patents

Code-scanning payment method, user terminal, service device, system, and medium Download PDF

Info

Publication number
WO2023151246A1
WO2023151246A1 PCT/CN2022/109433 CN2022109433W WO2023151246A1 WO 2023151246 A1 WO2023151246 A1 WO 2023151246A1 CN 2022109433 W CN2022109433 W CN 2022109433W WO 2023151246 A1 WO2023151246 A1 WO 2023151246A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
information
code
payment code
user terminal
Prior art date
Application number
PCT/CN2022/109433
Other languages
French (fr)
Chinese (zh)
Inventor
涂进鹏
郭琦
徐蓉
王月姣
魏晓书
尹宏宇
Original Assignee
中国银联股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国银联股份有限公司 filed Critical 中国银联股份有限公司
Publication of WO2023151246A1 publication Critical patent/WO2023151246A1/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

Definitions

  • the application belongs to the field of data processing, and in particular relates to a code scanning payment method, user terminal, service equipment, system and medium.
  • Scanning code payment can include the main scanning payment mode and the scanned payment mode.
  • the main scanning payment mode is the payment method in which the payment user scans the merchant's payment code.
  • the scanned payment mode is a payment method in which the payment code is displayed on the user terminal of the paying user, and the payment code is scanned by the merchant's acceptance terminal.
  • the user will display the payment code on the user terminal in advance. While the user is waiting for the payment, there is a case that the payment code is secretly photographed and stolen, which reduces the user's payment security.
  • the embodiment of the present application provides a code scanning payment method, a user terminal, service equipment, a system, and a medium, which can improve the security of code scanning payment.
  • the embodiment of the present application provides a scanning code payment method, which is applied to a business system.
  • the method includes: receiving a payment code request message, the payment code request message is generated by the user terminal in response to the payment operation, and includes the location information of the user terminal ; Obtain 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, send the first payment code feedback message, the first payment
  • the 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 when the trigger signal is sensed, the first payment code is displayed. Under the circumstances, switch the displayed first payment code to the second payment code; when the received payment request message includes the first information, instruct to deduct the payment amount from the payer’s account indicated by the first information, and the first information includes the first information Second payment code information.
  • the embodiment of the present application provides a code scanning payment method, which is applied to a user terminal.
  • the method includes: sending a payment code request message in response to a received payment operation, where the payment code request message includes the location information of the user terminal;
  • the payment waiting time represented by the payment waiting time factor information associated with the location information obtained by the 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, including the first payment code and the second payment code; display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the collection acceptance terminal is sensed, so that the business system can use the first information
  • the payment amount is deducted from the payer's account indicated by the first information, where the first information includes the information of the second payment code.
  • the embodiment of the present application provides a service device, including: a receiving module, configured 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 acquisition module, Used to obtain payment waiting time factor information associated with the location information; a sending module for sending the first payment code 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 length threshold 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 collection acceptance terminal, In the case of sensing the trigger signal, the displayed first payment code is switched to the second payment code; the payment processing module is used to indicate the payment indicated from the first information when the received payment request message includes the first information The payment amount is deducted from the party's account, and the first information includes information about the second payment code.
  • an embodiment of the present application provides a user terminal, including: a sending module, configured to send a payment code request message in response to a received payment operation, where the payment code request message includes location information of the user terminal; a receiving module, configured to 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, including the first A payment code and a second payment code; the display module is used to display the first payment code, and in the case of sensing the trigger signal of the collection acceptance terminal, switch the displayed first payment code to the second payment code to The business system uses the first information to deduct the payment amount from the payer's account indicated by the first information, where the first information includes the information of the second payment code.
  • the embodiment of the present application provides a business device, including: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the scanning code payment method of the first aspect is implemented.
  • an embodiment of the present application 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.
  • the embodiment of the present application provides a code scanning payment system, including a user terminal and a business system; the user terminal is used to send a payment code request message in response to a received payment operation, and 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 the payment waiting time factor information associated with the location information, and send it 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.
  • 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 in the case of sensing the trigger signal of the payment acceptance terminal, Switch the displayed first payment code to the second payment code
  • the business system is also used to instruct the payment amount to be deducted from the payer's account indicated by the first information when the received payment request message includes the first information.
  • a message includes information of the second payment code.
  • the embodiment of the present application 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 second aspect is implemented The scan code payment method.
  • the embodiment of the present application provides a code scanning payment method, user terminal, business equipment, system and medium.
  • the business system receives a payment code request message including the location information of the user terminal, and according to the payment waiting time factor information associated with the location information, Determine whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, 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 payment code The possibility of being stolen by a sneak shot, the service system issues the first payment code and the second payment code for 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
  • 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the normal payment is allowed to continue.
  • FIG. 1 is a schematic structural diagram of an example of an application scenario of a code scanning payment method provided by an embodiment of the present application
  • Fig. 2 is a flow chart of an embodiment of the scanning code payment method provided in the first aspect of the present application
  • Fig. 3 is a flow chart of another embodiment of the scanning code payment method provided in the first aspect of the present application.
  • Fig. 4 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application.
  • Fig. 5 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application.
  • Fig. 6 is a flow chart of an embodiment of the scanning code payment method provided by the second aspect of the present application.
  • Fig. 7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application.
  • Fig. 8 is a flow chart of another embodiment of the scanning code payment method provided by the second aspect of the present application.
  • FIG. 9 is a flow chart of an example of the code scanning payment process provided by the embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of an embodiment of the service equipment provided by the third aspect of the present application.
  • Fig. 11 is a schematic structural diagram of another embodiment of the service equipment provided by the third aspect of the present application.
  • Fig. 12 is a schematic structural diagram of another embodiment of the service equipment provided by the third aspect of the present application.
  • FIG. 13 is a schematic structural diagram of an embodiment of a user terminal provided in the fourth aspect of the present application.
  • FIG. 14 is a schematic structural diagram of another embodiment of the user terminal provided by the fourth aspect of the present application.
  • Fig. 15 is a schematic structural diagram of an embodiment of the service equipment provided in the fifth aspect of the present application.
  • Fig. 16 is a schematic structural diagram of an embodiment of a user terminal provided in the sixth aspect of the present application.
  • Scanning code payment can include the main scanning payment mode and the scanned payment mode.
  • the main scanning payment mode is the payment method in which the payment user scans the merchant's payment code.
  • the scanned payment mode is a payment method in which the payment code is displayed on the user terminal of the paying user, and the payment code is scanned by the merchant's acceptance terminal. In the scenario where the scanned payment mode is adopted, in order to save payment time, the user will display the payment code on the user terminal in advance.
  • This application provides a code scanning payment method, user terminal, business equipment, system and medium, which can be used to download payment to the user terminal when the waiting time for payment at the location of the user terminal that needs to be paid is long, such as when the queue for payment is long.
  • Send two different payment codes When the user terminal is not close to the payment acceptance terminal such as POS (Point Of Sale) machine and other equipment, the user terminal displays one of the payment codes, and the user terminal is close to the payment acceptance In the case of a terminal, the user terminal displays another of the payment codes. It is difficult for other people queuing up around the user at the user terminal to capture another payment code, so when the payment request message received by the business system includes the information of another payment code, normal payment can be allowed, which improves the payment security of the user .
  • POS Point Of Sale
  • FIG. 1 is a schematic structural diagram of an example of an application scenario of the code scanning payment method provided by the embodiment of the present application.
  • 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 .
  • the user terminal 11 is a terminal device used by the user to make payment, and specifically may include a mobile phone, a tablet computer, a smart wearable device, etc., and the specific type of the user terminal 11 is not limited here.
  • the user terminal 11 may be installed with a payment application, and the payment application may be used for payment.
  • the user terminal 11 has a display function and can display the payment code, so that the payment code can be used for payment.
  • the payment code can be a two-dimensional 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 a validity period. After the validity period, the payment code cannot continue to be used, and the payment code needs to be updated.
  • the payment acceptance terminal 12 is a terminal device used by the merchant to interact with the user terminal 11 during the payment process, and may specifically include a POS machine, etc.
  • the specific type of the payment acceptance terminal 12 is not limited here.
  • the collection accepting terminal 12 may have a scanning function, and may scan the payment code, thereby reading the information contained in the payment code.
  • the collection acceptance terminal 12 can initiate a payment request to the payment institution system 13 .
  • the payment institution system 13 can be used to pay the acquirer, specifically the system of the acquirer.
  • the payment institution system 13 may 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 functions in the payment institution system 13, and can also perform different functions in the payment institution system 13. Functions are not limited here.
  • the payment institution system 13 can transmit the payment request to the business system 14 .
  • the business system 14 can be used to generate and issue payment codes, control payment risks, and perform liquidation.
  • the business system 14 may include multiple subsystems.
  • the business system 14 may include a payment code subsystem 141, a risk control subsystem 142, a settlement subsystem 143, and the like.
  • the business system 14 can issue the generated payment code to the user terminal 11 through the payment institution system 13 .
  • the business system 14 can include one or more than two servers and other business equipment, and different servers and other business equipment in the business system 14 can perform the same function in the business system 14, and can also perform different functions in the business system 14.
  • the business system 14 includes multiple servers and other business equipment
  • some business equipment such as servers can belong to the payment code subsystem 141
  • some business equipment such as servers can belong to the risk control subsystem 142
  • some business equipment such as servers can belong to the liquidation subsystem 143.
  • the account management system 15 is a system for managing accounts such as user accounts and merchant accounts.
  • the account management system 15 can interact with the business system 14 to complete the deduction of the payment account and the collection of the collection account.
  • the account management system 15 can include one or more than two servers and other business equipment. Different servers and other business equipment in the account management system 15 can perform the same functions in the account management system 15, or can perform different functions in the account management system 15. Functions are not limited here.
  • the first aspect of the present application 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 business equipment in the business system.
  • Fig. 2 is a flow chart of an embodiment of the code scanning payment method provided in the first aspect of the present application. As shown in FIG. 2 , the code scanning payment method may include steps S201 to S204.
  • step S201 a payment code request message is received.
  • the payment code request message is used to request a payment code, and may 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 sends a payment code request message to the business system. What the business system receives is the payment code request message sent by the payment institution system. For example, the user performs a payment operation on the user terminal, opens the payment application, and clicks on the "payment code" function, and the user terminal sends a payment code request message to the payment institution system in response to the payment operation.
  • 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.
  • the location information of the user terminal may include longitude and latitude information of the location of the user terminal.
  • step S202 the payment waiting time factor information associated with the location information is acquired.
  • 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, and the like.
  • the payment waiting time factor information includes information on factors affecting the payment waiting time, which can reflect the payment waiting time. Payment waiting time can also be regarded as payment queuing time.
  • the payment waiting time factor information may include one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee.
  • the status information of the payee can represent the busyness of the payee.
  • the payee's queuing time information can represent the payee's queuing time. The longer the queuing time, the longer the waiting time for payment.
  • the historical waiting time information of users who have transactions with the payee may include historical information related to payment waiting of users who have transactions with the payee, and the waiting time for payment is determined through the information of users who have transactions with the payee.
  • the historical waiting time information may include payment code request time and payment time
  • the payment code request time is the moment when the user terminal requests the payment code
  • the payment time is the moment when the user terminal pays
  • the length of time can be used as the payment waiting time of the user
  • the payment waiting time of the payee can be determined according to the time between the payment code request time and the payment time of multiple users who have transactions with a payee.
  • step S203 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 length threshold, the first payment code feedback message is sent, so that the user terminal obtains the first payment code feedback message , and display the first payment code before sensing the trigger signal of the collection acceptance terminal, and switch the displayed first payment code to the second payment code when the trigger signal is sensed;
  • the preset duration threshold is a threshold value used to determine the duration of a security risk, which can be set according to scenarios, requirements, experience, etc., and is not limited here.
  • the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, which means that the security risk is relatively high, and it is necessary to implement measures for issuing payment codes with higher security.
  • the payment waiting time represented by the payment waiting time factor information is less than the preset time threshold, indicating that the security risk is small and negligible.
  • the business system can send the first payment code feedback message to the payment institution system, and the payment institution system can then send the first payment code to the user terminal feedback message.
  • 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, displays the first payment code first, and saves the second payment code.
  • the payment acceptance terminal can send a trigger signal.
  • the user terminal When the payer user carrying the user terminal is still queuing and has not arrived at the collection acceptance terminal, the user terminal has not sensed the trigger signal sent by the collection acceptance terminal. Before the user terminal has not sensed the trigger signal, that is, the user terminal has sensed the trigger signal, The user terminal displays the first payment code.
  • the user terminal senses the trigger signal sent by the payment acceptance terminal, and can switch the displayed first payment code to the second payment code, so that the payment acceptance terminal can scan Second payment code.
  • the trigger signal may include one or more of the following: a near field communication (Near Field Communication, NFC) signal, a bluetooth signal, a sound wave signal, and the like.
  • NFC Near Field Communication
  • the NFC signal may include information of an encrypted NFC tag of the payment acceptance terminal.
  • the bluetooth signal may include the information of the bluetooth tag of the payment acceptance terminal.
  • the sound wave signal may include the information of the sound wave tag, and the sound wave signal may also be a low-frequency sound wave signal of a specific frequency.
  • step S204 if the received payment request message includes the first information, it is instructed to deduct the payment amount from the payer's account indicated by the first information.
  • the payment acceptance terminal After the payment acceptance terminal scans the payment code displayed on the user terminal, it will generate a payment request message according to the information read from the payment code, and the payment request message includes the information read from the payment code.
  • the collection acceptance terminal sends a payment request message to the payment institution system, and the payment institution system sends a payment request message to the business system.
  • the first information includes information of the second payment code
  • the information of the second payment code is information obtained by reading 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 to say, the payment acceptance terminal scanned the user terminal to arrive at the payment code. Accepting the second payment code switched at the terminal, the security risk of this scan code payment is relatively small, and normal payment is allowed.
  • the business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the first information.
  • the service system receives the payment code request message including the location information of the user terminal, and determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to The preset time threshold, 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 stolen by sneak shots, and the business system issues a The first payment code and the second payment code.
  • the first payment code is displayed on the user terminal before the user terminal senses the trigger signal sent by the payment acceptance terminal
  • 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
  • the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
  • Fig. 3 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 3 and FIG. 2 is that the code scanning payment method shown in FIG. 3 may further include step S205.
  • step S205 if the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition, 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 length threshold.
  • the conditions for issuing double codes include the conditions for judging whether there is a risk of the payment code being secretly photographed or stolen in the payment under the payment waiting time factor information condition.
  • the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition, and it is determined that the payment waiting time factor information associated with the location information indicates that the payment waiting time is greater than or equal to the preset time threshold value, indicating payment under the condition of the payment waiting time factor information
  • the first payment code and the second payment code can be issued to the user terminal through the first payment code feedback message.
  • the payment waiting time factor information associated with the location information does not meet the dual-code delivery condition, and 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 waiting time factor Payment under information conditions does not have the risk of the payment code being stolen by sneak shots, and a payment code can be issued to the user terminal.
  • the dual-code delivery conditions may include one or more of the following:
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state
  • the queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
  • the time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  • the area corresponding to the location information is the location of the location indicated by the location information, and the size of this area can be set according to the accuracy required by the payee, and is not limited here. In some examples, only one payee may be included in the area corresponding to the location information.
  • the status information of the payee indicates that the payee is in a busy state of receiving money, and there are more payer users waiting for payment at the payee.
  • the payment waiting time of the payer users is longer, that is, the payment waiting time factor information represents If the waiting time for payment is greater than or equal to the preset time threshold, the payment code of the payer user may be stolen by sneak shots, and the first payment code and the second payment code need to be issued to the user terminal.
  • the status information of the payee indicates that the payee is in the event holding state, and there are many payer users waiting for payment at the payee. If the payment waiting time is greater than or equal to the preset time threshold, the payment code of the payer user may be stolen by a sneak shot, and the first payment code and the second payment code need to be issued to the user terminal.
  • the activities organized by the payee may be promotions or preferential activities, etc., which are not limited here.
  • the payee's queuing time information represented by the payee's queuing time is basically the same as the payment waiting time, the longer the queuing time, the longer the payment waiting time.
  • the payee’s queuing time information indicates that the payee’s queuing time 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, and the payment code of the payer user may be secretly photographed and stolen possibility, it is necessary to issue the first payment code and the second payment code to the user terminal.
  • the time between the payment code request time and payment time of the payee transaction user is the payment waiting time, and the time length between the payment code request time and payment time of the payee transaction user’s user’s payment code time is greater than or equal to the preset time threshold, namely If 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 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 first payment code displayed by the user terminal may be secretly photographed and used for payment, or, because there is a certain delay in switching from the first payment code to the second payment code at the user terminal, the payment acceptance terminal scans the The first payment code is still the first payment code.
  • further judgment can be made according to the transaction information included in the payment request message, and corresponding processing can be performed according to the judgment result.
  • Fig. 4 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 4 and FIG. 2 is that the code scanning payment method shown in FIG. 4 may further include steps S206 and S207.
  • step S206 if the received payment request message includes the second information, if the transaction information satisfies the risk control condition, transaction intervention processing is executed.
  • the second information includes information of the first payment code, and the information of the first payment code is information obtained by reading the first payment code.
  • the payment request message received by the business system includes the second information, indicating that in this code-scanning payment, the payment acceptance terminal scanned the first payment code.
  • the first payment code scanned by the payment acceptance terminal may be the first payment code that was secretly photographed and stolen by others, or it may be the first payment code that has not been switched due to the delay in switching payment codes at the user terminal, but the first payment code that has been secretly photographed and stolen by others.
  • the payment with the payment code is an illegal payment.
  • the first payment code that has not been switched due to the delay in switching the payment code at the user terminal is a legal payment. Illegal payment and legal payment can be further distinguished by checking whether the transaction information included in the payment request message meets the risk control conditions. pay.
  • the risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement, and the transaction intervention processing is used to perform security processing on the payment with a risk of embezzlement.
  • the transaction information includes one or more of the following: payee merchant address, payment amount, 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 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 security amount threshold
  • the payment frequency is above the safe frequency threshold.
  • the transaction information satisfies the risk control conditions, it means that the payment corresponding to the transaction information has a risk of embezzlement, and transaction intervention is required.
  • the person who secretly photographed the collection code will send the received code to other people, and the other person will pay at the payee in another location.
  • the distance between the location of the payee's merchant address and the location indicated by the location information of the user terminal in the payment code request message and the safety distance threshold can be used to determine whether the payment was made at another location using the first payment code that was secretly photographed. Illegal payments made at the beneficiary's account.
  • the safety distance threshold is the safety threshold value for judging whether the payment is made at the same place, which can be set according to the scene, demand, experience, etc., and is not limited here.
  • 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, which means that the location of the application payment code is far away from the location of the payment, and they are not in the same place. Illegal payment requires transaction intervention.
  • the payment amount can also be used to help improve the security of scanning payment.
  • the safe amount threshold is the threshold value for judging whether the payment amount is safe, which can be set according to scenarios, needs, experience, etc., and is not limited here. If the payment amount is greater than the security amount threshold, if the receiving code is secretly photographed and stolen, it may cause a large loss, and transaction intervention is required.
  • the safe frequency threshold is the threshold value of the frequency for judging whether the payment frequency is safe, which can be set according to scenarios, needs, experience, etc., and is not limited here. If the payment frequency is higher than the security frequency threshold, if the receiving code is secretly photographed and stolen, it may cause a large loss, and transaction intervention is required.
  • the risk control conditions can have a priority, and it can be judged first whether the transaction information meets the risk control conditions with a relatively high priority. If the transaction information meets the risk control conditions with a relatively high priority , can perform transaction intervention processing; if the transaction information does not meet the relatively high priority risk control conditions, then determine whether the transaction information meets the relatively low priority risk control conditions.
  • the risk control conditions include that 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, and the payment amount is greater than the safety amount threshold; if the location of the payee’s merchant address and the location information indicated If the distance between the locations is greater than the safety distance threshold, transaction intervention processing can be performed without judging whether the payment amount is greater than the safety amount threshold; if the distance between the location of the payee’s merchant address and the location indicated by the location information is less than or equal to the safety distance Threshold, and then judge whether the payment amount is greater than the safety amount threshold, if the payment amount is greater than the safety amount threshold, the transaction processing can be performed.
  • the transaction intervention processing may include: authenticating 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.
  • the service system may perform identity verification on the user who makes payment using the first payment code corresponding to the second information. Specifically, the service 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 input identity verification information. Identity verification information may include payment account number, payment password, verification code and other information that can prove that the user who requested the payment code made the payment himself, which is not limited here.
  • the user terminal sends identity verification information to the payment institution system, and the payment institution system sends identity verification information to the business system. The business system checks whether the received identity verification information is consistent with the reserved or set identity verification information. If they are consistent, normal payment can continue , if inconsistent, the payment will be suspended.
  • the payment indicated by the second information may also be directly suspended to avoid the risk of embezzlement.
  • step S207 if the received payment request message includes the second information, if the transaction information does not satisfy the risk control condition, instruct to deduct the payment amount from the payer's account indicated by the second information.
  • the business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the second information.
  • the effectiveness of risk monitoring can be improved, the accuracy of identifying payments with embezzlement risks can be improved, and the security of scanning code payments can be further improved.
  • Fig. 5 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 5 and FIG. 2 is that the code scanning payment method shown in FIG. 5 may further include steps S208 and S209.
  • 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 obtains the second payment code feedback message, And display 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 to be small and negligible, and the business system can issue a single payment to the user terminal Code is the third payment code.
  • 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.
  • the business system may send the second payment code feedback message to the payment institution system, and the payment institution system then sends the second payment code feedback message to the user terminal.
  • the user terminal receives the feedback information of the second payment code, obtains the third payment code from the feedback information of the second payment code, and can display the third payment code.
  • step S209 if the received payment request message includes the third information, it is instructed to deduct the payment amount from the payer's account indicated by the third information.
  • the third information includes information of the third payment code, and the information of the third payment code is information obtained by reading the third payment code.
  • the payment request message received by the business system includes the third information, indicating that in this code-scanning payment, the payment acceptance terminal scanned the third payment code.
  • the third payment code was issued when the risk of stealing and stealing the payment code was small, indicating that the security risk of scanning the code payment this time was small, and normal payment was allowed to continue.
  • the business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the third information.
  • the business system When the payment waiting time factor information associated with the location information determines that the risk of the payment code being secretly photographed and stolen is low, the business system issues a single payment code to the user terminal, which can reduce the risk of payment while ensuring the security of scanning code payment.
  • the business system is under pressure to generate payment codes and issue payment codes.
  • the second aspect of the present application provides a code scanning payment method, which can be applied to a user terminal, that is, the code scanning method can be executed by the user terminal.
  • Fig. 6 is a flow chart of an embodiment of the code scanning payment method provided by the second aspect of the present application. As shown in FIG. 6 , the code scanning payment method may include steps S301 to S303.
  • step S301 a payment code request message is sent in response to the received payment operation.
  • the payment code request message includes location information of the user terminal. Specifically, the user terminal may first send a payment code request message to the payment institution system, and then the payment institution system sends a payment code request message to the business system.
  • step S302 when the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is greater than or equal to the preset time length 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.
  • the service system may first send the first payment code feedback message to the payment institution system, and then the payment institution system sends the first payment code feedback message to the user terminal.
  • step S303 display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the collection acceptance terminal is sensed, so that the business system can use the first information from the first payment code to the second payment code.
  • the payment amount is deducted from the payer's account indicated by a message.
  • the user terminal After receiving the first payment code feedback message, the user terminal first displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and then switches to display the second payment code when it senses the trigger signal of the payment acceptance terminal. payment code.
  • the first information includes information of the second payment code.
  • the trigger signal includes one or more of the following: a near-field communication signal, a Bluetooth signal, and an acoustic wave signal.
  • step S301 to step S303 can refer to the related description in the above embodiment, and will not be repeated here.
  • the user terminal may request the payment code from the service 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; if the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset
  • the time threshold is set to determine that the waiting time for payment is long, and there is a possibility that the payment code may be stolen by sneak shots.
  • the user terminal may 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 sent by the payment acceptance terminal, and switches the displayed payment code to the second payment code when the user terminal senses the trigger signal sent by the payment acceptance terminal, so that the user terminal When payment is made at the collection acceptance terminal, what the collection acceptance terminal scans is the second payment code, and the information of the second payment code can be used to continue normal payment through the business system. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
  • the above-mentioned switching between the first payment code and the second payment code is actively performed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scanning code payment on the basis of ensuring the security of scanning code payment.
  • the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning code payment. System handling pressure.
  • 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 length threshold.
  • the payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee.
  • the historical waiting time information includes 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 located in the area corresponding to the location information is in a busy state of receiving money
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in an event holding state
  • the queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
  • the time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  • what the payment acceptance terminal reads may also be the first payment code, and it is possible to further distinguish whether the payment corresponding to the first payment code is a payment with a high security risk through the transaction information and risk control conditions in the payment request message.
  • Fig. 7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application. The difference between FIG. 7 and FIG. 6 is that the code scanning payment method shown in FIG. 7 may further include step S304.
  • 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 satisfies the risk control condition, transaction intervention processing is accepted.
  • the risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement.
  • the second information includes information about the first payment code.
  • the transaction intervention processing is used to perform security processing on the payment with the risk of misappropriation.
  • step S304 For specific content of step S304, refer to relevant descriptions in the foregoing embodiments, and details are not repeated here.
  • the transaction information includes one or more of the following: payee merchant address, payment amount, and payment frequency.
  • payee merchant address the payment amount
  • payment frequency the payment frequency
  • 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 security amount threshold
  • the payment frequency is above the safe frequency threshold.
  • the above-mentioned transaction intervention processing includes: performing identity verification on the user of the user terminal; or suspending the payment indicated by the second information.
  • the second information indicates Payment proceeds normally.
  • Fig. 8 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application. The difference between FIG. 8 and FIG. 6 is that the code scanning payment method shown in FIG. 8 may further include steps S305 and S306.
  • step S305 when the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is less than the preset time length threshold, a second payment code feedback message is received.
  • the second payment code feedback message includes the third payment code.
  • step S306 the third payment code is displayed, so that the business system uses the third information to deduct the payment amount from the payer's account indicated by the third information.
  • the third information includes information of the third payment code.
  • step S305 to step S306 can refer to the relevant description in the above embodiment, and will not be repeated here.
  • FIG. 9 is a flow chart of an example of the code scanning payment process provided by the embodiment of the present application. As shown in FIG. 9 , the overall flow of code scanning payment may include steps S401 to S418.
  • step S401 the user terminal sends a payment code request message to the payment institution system in response to the user's payment operation.
  • step S402 the payment institution system sends a payment code request message to the business system.
  • step S403 the business system acquires payment waiting time factor information associated with the location information in the payment code request message.
  • step S404 the business system judges whether the payment waiting time factor information satisfies the dual-code delivery condition.
  • step S405 if the condition for issuing the double code is satisfied, the business system sends a feedback message of the first payment code to the payment institution system.
  • the first payment code feedback message includes the first payment code and the second payment code.
  • step S406 the payment institution system sends a first payment code feedback message to the user terminal.
  • step S407 the user terminal first displays the first payment code, and stores the second payment code.
  • 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.
  • step S409 the payment acceptance terminal scans the payment code displayed on the user terminal, and reads the information of the payment code.
  • step S410 the payment acceptance terminal sends a payment request message to the payment institution system.
  • the payment request message includes transaction information and information of the read payment code.
  • step S411 the payment institution system sends a payment request message to the business system.
  • 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 information of the payment code in the payment request message is the information of the second payment code, jump to step S413; if the information of the payment code in the payment request message is the information of the first payment code, jump to step S415.
  • step S413 the business system sends a transaction message to the account management system.
  • step S414 the account management system deducts the payment amount from the payer's account indicated by the information of the second payment code in response to the transaction message.
  • step S415 the business system judges whether the transaction information satisfies the risk control condition. If the transaction information satisfies the risk control condition, go to step S416; if the transaction information does not meet the risk control condition, go to step S417.
  • step S416 the business system executes transaction intervention processing.
  • step S417 the business system sends a transaction message to the account management system.
  • step S4108 the account management system deducts the payment amount from the payer's account indicated by the information of the first payment code in response to the transaction message.
  • step S401 to step S4108 please refer to the related content in the above embodiment, which will not be repeated here.
  • the third aspect of the present application provides a service device.
  • Fig. 10 is a schematic structural diagram of an embodiment of the service equipment provided in the third aspect of the present application.
  • the service device 500 may include a receiving module 501 , an acquiring module 502 , a sending module 503 and a payment processing module 504 .
  • the receiving module 501 can be used to receive the payment code request message.
  • the payment code request message is generated by the user terminal in response to the payment operation, and includes location information of the user terminal.
  • the obtaining module 502 may be used to obtain payment waiting time factor information associated with the location information.
  • the sending module 503 can be configured to send the 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 length threshold, so that the user terminal can obtain the first payment code feedback message , and display the first payment code before sensing the trigger signal of the collection acceptance terminal, and switch the displayed first payment code to the second payment code when the trigger signal is sensed.
  • the first payment code feedback message includes the first payment code and the second payment code.
  • the trigger signal includes one or more of the following: a near field communication signal, a Bluetooth signal, an acoustic wave signal
  • the payment processing module 504 may be configured to instruct to deduct the payment amount from the payer's account indicated by the first information when the received payment request message includes the first information.
  • the first information includes information of the second payment code.
  • the service system receives the payment code request message including the location information of the user terminal, and determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to The preset time threshold, 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 stolen by sneak shots, and the business system issues a The first payment code and the second payment code.
  • the first payment code is displayed on the user terminal before the user terminal senses the trigger signal sent by the payment acceptance terminal
  • 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
  • the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
  • Fig. 11 is a schematic structural diagram of another embodiment of the service equipment provided in the third aspect of the present application. The difference between FIG. 11 and FIG. 10 is that the service device 500 shown in FIG. 11 may further include a determination module 505 .
  • the determination module 505 can be used to determine 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 length threshold when the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition.
  • the payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee.
  • the historical waiting time information includes payment code request time and payment time.
  • the conditions for issuing double codes include one or more of the following:
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state
  • the queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
  • the time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  • Fig. 12 is a schematic structural diagram of another embodiment of the service equipment provided in the third aspect of the present application. The difference between FIG. 12 and FIG. 10 is that the service device 500 shown in FIG. 12 may further include an intervention processing module 506 .
  • the intervention processing module 506 may be configured to perform transaction intervention processing if the transaction information satisfies the risk control condition when the received payment request message includes the second information.
  • 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 that the payment indicated by the second information has a risk of embezzlement.
  • Transaction intervention processing is used to securely process payments where there is a risk of misappropriation.
  • the transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency.
  • 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 security amount threshold
  • the payment frequency is above the safe frequency threshold.
  • the transaction intervention processing performed by the intervention processing module 506 may include: authenticating the user of the user terminal that sent the payment request message including the second information; or suspending the payment indicated by the second information.
  • the above-mentioned payment processing module 504 can also be configured to instruct to deduct the payment from the payer's account indicated by the second information if the transaction information does not meet the risk control condition when the received payment request message includes the second information. amount.
  • the above sending module 503 can also be used to send the 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 the preset time length threshold, so that the user terminal Obtain the feedback message of the second payment code and display the third payment code.
  • the second payment code feedback message includes the third payment code.
  • the above-mentioned payment processing module 504 may also be configured to instruct to deduct the payment amount from the payer's account indicated by the third information when the received payment request message includes the third information.
  • the third information includes information of the third payment code.
  • FIG. 13 is a schematic structural diagram of an embodiment of a user terminal provided in the fourth aspect of the present application.
  • the user terminal 600 may include a sending module 601 , a receiving module 602 and a display module 603 .
  • the sending module 601 may be configured to send a payment code request message in response to the received payment operation.
  • the payment code request message includes location information of the user terminal.
  • the receiving module 602 may be configured 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 acquired by the business system is greater than or equal to the preset time length threshold.
  • the first payment code feedback message is generated by the business system and includes the first payment code and the second payment code.
  • the display module 603 can be used to display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the payment acceptance terminal is sensed, so that the business system can use the first information to start from the second payment code.
  • the payment amount is deducted from the payer's account indicated by a message.
  • the first information includes information of the second payment code.
  • the trigger signal includes one or more of the following: a near-field communication signal, a Bluetooth signal, and an acoustic wave signal.
  • the user terminal may request the payment code from the service 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; if the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset
  • the time threshold is set to determine that the waiting time for payment is long, and there is a possibility that the payment code may be stolen by sneak shots.
  • the user terminal may 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 sent by the payment acceptance terminal, and switches the displayed payment code to the second payment code when the user terminal senses the trigger signal sent by the payment acceptance terminal, so that the user terminal When payment is made at the collection acceptance terminal, what the collection acceptance terminal scans is the second payment code, and the information of the second payment code can be used to continue normal payment through the business system. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
  • the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
  • 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 length threshold.
  • the payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee.
  • the historical waiting time information includes payment code request time and payment time.
  • the conditions for issuing double codes include one or more of the following:
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money
  • the state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state
  • the queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
  • the time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  • Fig. 14 is a schematic structural diagram of another embodiment of a user terminal provided in the fourth aspect of the present application. The difference between FIG. 14 and FIG. 13 is that the user terminal 600 shown in FIG. 14 may further include a processing module 604 .
  • the processing module 604 may be configured to accept transaction intervention processing if the transaction information in the payment request message sent by the collection acceptance terminal to the business system satisfies the risk control condition when the first payment code is read by the payment acceptance terminal.
  • the risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement.
  • the second information includes information of the first payment code.
  • Transaction intervention processing is used to securely process payments where there is a risk of misappropriation.
  • the transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency.
  • 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 security amount threshold
  • the payment frequency is above the safe frequency threshold.
  • the transaction intervention process includes: authenticating the user of the user terminal; or suspending the payment indicated by the second information.
  • the second information indicates Payment proceeds normally.
  • the receiving module 602 is further configured to receive the second payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is less than a preset time length threshold.
  • the second payment code feedback message includes the third payment code
  • the above-mentioned display module 603 can also be used to display the 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 information of the third payment code.
  • the fifth aspect of the present application also provides a service device.
  • Fig. 15 is a schematic structural diagram of an embodiment of the service equipment provided in the fifth aspect of the present application.
  • the service device 700 includes a memory 701 , a processor 702 and a computer program stored in the memory 701 and operable on the processor 702 .
  • the above-mentioned processor 702 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • Memory 701 may include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible Memory storage device.
  • ROM read-only memory
  • RAM random access memory
  • disk storage medium device disk storage medium device
  • optical storage medium device disk storage medium device
  • flash memory device electrical, optical or other physical/tangible Memory storage device.
  • memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or multiple processors), it is operable to execute the operations described with reference to the code scanning payment method in the embodiment according to the first aspect of the present application.
  • the processor 702 reads the executable program code stored in the memory 701 to run the computer program corresponding to the executable program code, so as to implement the code scanning payment method in the embodiment of the first aspect above.
  • the service device 700 may further include a communication interface 703 and a bus 704 .
  • the memory 701 , the processor 702 , and the communication interface 703 are connected through a bus 704 to complete mutual communication.
  • the communication interface 703 is mainly used to realize the communication between various modules, devices, units and/or devices in the embodiments of the present application. Input devices and/or output devices may also be accessed through the communication interface 703 .
  • the bus 704 includes hardware, software, or both, and couples the components of the business device 700 to each other.
  • the bus 704 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Enhanced Industry Standard Architecture, EISA) bus, a Front Side Bus (Front Side Bus, FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low pin count (Low pin count, LPC) bus, memory bus, Micro Channel architecture (Micro Channel Architecture, MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-E) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, Video Electronics Standards Association local ( Video Electronics Standards Association Local Bus, VLB) bus or other suitable bus or a combination of two or more of these.
  • Bus 704 may comprise one or more buses, where appropriate.
  • FIG. 16 is a schematic structural diagram of an embodiment of a user terminal provided in the sixth aspect of the present application.
  • the user terminal 800 includes a memory 801 , a processor 802 and computer programs stored in the memory 801 and operable on the processor 802 .
  • the above-mentioned processor 802 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • Memory 801 may include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible Memory storage device.
  • ROM read-only memory
  • RAM random access memory
  • disk storage medium device disk storage medium device
  • optical storage medium device disk storage medium device
  • flash memory device electrical, optical or other physical/tangible Memory storage device.
  • memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or multiple processors), it is operable to execute the operations described with reference to the code scanning payment method in the embodiment according to the second aspect of the present application.
  • 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 code scanning payment method in the embodiment of the second aspect above.
  • the user terminal 800 may further include a communication interface 803 and a bus 804 .
  • a communication interface 803 and a bus 804 .
  • a memory 801 , a processor 802 , and a communication interface 803 are connected through a bus 804 to complete mutual communication.
  • the communication interface 803 is mainly used to implement communication between modules, devices, units and/or devices in the embodiments of the present application. Input devices and/or output devices may also be accessed through the communication interface 803 .
  • the bus 804 includes hardware, software or both, and couples the components of the user terminal 800 to each other.
  • the bus 804 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Enhanced Industry Standard Architecture, EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low pin count (Low pin count, LPC) bus, memory bus, Micro Channel architecture (Micro Channel Architecture, MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-E) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, Video Electronics Standards Association local ( Video Electronics Standards Association Local Bus, VLB) bus or other suitable bus or a combination of two or more of these.
  • Bus 804 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
  • a seventh aspect of the present application provides a code scanning payment system, which may include a business system and a user terminal.
  • the user terminal is configured to send a payment code request message in response to the received payment operation, where the payment code request message includes location information of the user terminal.
  • the business system is used to receive the payment code request message, obtain the payment waiting time factor information associated with the location information, and send 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.
  • a payment code feedback message, 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 switch the displayed first payment code to the second payment code when the trigger signal of the payment acceptance terminal is sensed.
  • the business system is further configured to instruct to deduct the payment amount from the payer's 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.
  • the service system may include service equipment.
  • the service equipment 500 and the service equipment 700 in the above-mentioned embodiments and details are not repeated here.
  • the code scanning payment system may also include a payment institution system.
  • a payment institution system For details of the payment institution system, please refer to the relevant descriptions of the payment institution system 13 in the above embodiments and the payment institution system in the code scanning payment method.
  • the code scanning payment system may also include a payment acceptance terminal.
  • a payment acceptance terminal please refer to the relevant descriptions of the payment acceptance terminal 12 in the above embodiment and the payment acceptance terminal in the scanning code payment method. .
  • the code scanning payment system may also include an account management system.
  • the collection acceptance terminal please refer to the relevant descriptions of the account management system 15 in the above embodiments and the account management system in the code scanning payment method.
  • the eighth aspect of the present application also 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 in the embodiment of the above-mentioned first aspect can be realized
  • the payment method and the code-scanning payment method in the embodiment of the second aspect can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
  • the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk. etc., are not limited here.
  • processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and Combination of computer instructions to achieve.

Landscapes

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

Abstract

A code-scanning payment method, a user terminal, a service device, a system, and a medium, relating to the field of data processing. The method comprises: receiving a payment code request message, the payment code request message comprising position information of a user terminal; obtaining payment waiting duration factor information associated with the position information; under the condition that the payment waiting duration represented by the payment waiting duration factor information associated with the position information is greater than or equal to a preset duration threshold, sending a first payment code feedback message, the first payment code feedback message comprising a first payment code and a second payment code, so that the user terminal displays the first payment code before sensing a trigger signal of a collection acceptance terminal, and switches the displayed first payment code into the second payment code when sensing the trigger signal; and if a payment request message comprises first information, instructing to deduct the payment amount from a payer account indicated by information of the second payment code. Therefore, the code-scanning payment security is improved.

Description

扫码支付方法、用户终端、业务设备、系统及介质Scanning code payment method, user terminal, business equipment, system and medium
相关申请的交叉引用Cross References to Related Applications
本申请要求享有于2022年02月11日提交的名称为“扫码支付方法、用户终端、业务设备、系统及介质”的中国专利申请202210130242.7的优先权,该申请的全部内容通过引用并入本文中。This application claims the priority of the Chinese patent application 202210130242.7 entitled "Payment Method, User Terminal, Business Equipment, System and Media" filed on February 11, 2022, the entire content of which is incorporated herein by reference middle.
技术领域technical field
本申请属于数据处理领域,尤其涉及一种扫码支付方法、用户终端、业务设备、系统及介质。The application belongs to the field of data processing, and in particular relates to a code scanning payment method, user terminal, service equipment, system and medium.
背景技术Background technique
随着支付技术的不断发展,扫码支付已经深入各个领域。扫码支付可包括主扫支付模式和被扫支付模式。主扫支付模式为支付用户扫描商户收款码的支付方式。被扫支付模式为支付用户的用户终端显示付款码,由商户受理终端扫描该付款码的支付方式。With the continuous development of payment technology, code scanning payment has penetrated into various fields. Scanning code payment can include the main scanning payment mode and the scanned payment mode. The main scanning payment mode is the payment method in which the payment user scans the merchant's payment code. The scanned payment mode is a payment method in which the payment code is displayed on the user terminal of the paying user, and the payment code is scanned by the merchant's acceptance terminal.
在采用被扫支付模式的场景中,为了节省支付时间,用户会提前将付款码显示在用户终端。在用户等待支付的过程中,存在付款码被偷拍盗用的情况,降低了用户的支付安全。In the scenario where the scanned payment mode is adopted, 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 the payment, there is a case that the payment code is secretly photographed and stolen, which reduces the user's payment security.
发明内容Contents of the invention
本申请实施例提供一种扫码支付方法、用户终端、业务设备、系统及介质,能够提高扫码支付的安全性。The embodiment of the present application provides a code scanning payment method, a user terminal, service equipment, a system, and a medium, which can improve the security of code scanning payment.
第一方面,本申请实施例提供一种扫码支付方法,应用于业务系统,该方法包括:接收付款码请求消息,付款码请求消息由用户终端响应于支付操作生成,包括用户终端的位置信息;获取与位置信息关联的付款等待时长因素信息;在与位置信息关联的付款等待时长因素信息表征的付款等 待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,第一付款码反馈消息包括第一付款码和第二付款码,以使用户终端获取第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示第一付款码,在感应到触发信号的情况下将显示的第一付款码切换为第二付款码;在接收的支付请求消息包括第一信息的情况下,指示从第一信息指示的付款方账户中扣除支付金额,第一信息包括第二付款码的信息。In the first aspect, the embodiment of the present application provides a scanning code payment method, which is applied to a business system. The method includes: receiving a payment code request message, the payment code request message is generated by the user terminal in response to the payment operation, and includes the location information of the user terminal ; Obtain 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, send the first payment code feedback message, the first payment The 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 when the trigger signal is sensed, the first payment code is displayed. Under the circumstances, switch the displayed first payment code to the second payment code; when the received payment request message includes the first information, instruct to deduct the payment amount from the payer’s account indicated by the first information, and the first information includes the first information Second payment code information.
第二方面,本申请实施例提供一种扫码支付方法,应用于用户终端,方法包括:响应于接收的支付操作,发送付款码请求消息,付款码请求消息包括用户终端的位置信息;在业务系统获取的位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,接收第一付款码反馈消息,第一付款码反馈消息由业务系统生成,包括第一付款码和第二付款码;显示第一付款码,并在感应到收款受理终端的触发信号的情况下,将显示的第一付款码切换为第二付款码,以使业务系统利用第一信息从第一信息指示的付款方账户中扣除支付金额,第一信息包括第二付款码的信息。In the second aspect, the embodiment of the present application provides a code scanning payment method, which is applied to a user terminal. The method includes: sending a payment code request message in response to a received payment operation, where 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 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, including the first payment code and the second payment code; display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the collection acceptance terminal is sensed, so that the business system can use the first information The payment amount is deducted from the payer's account indicated by the first information, where the first information includes the information of the second payment code.
第三方面,本申请实施例提供一种业务设备,包括:接收模块,用于接收付款码请求消息,付款码请求消息由用户终端响应于支付操作生成,包括用户终端的位置信息;获取模块,用于获取与位置信息关联的付款等待时长因素信息;发送模块,用于在与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,第一付款码反馈消息包括第一付款码和第二付款码,以使用户终端获取第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示第一付款码,在感应到触发信号的情况下将显示的第一付款码切换为第二付款码;支付处理模块,用于在接收的支付请求消息包括第一信息的情况下,指示从第一信息指示的付款方账户中扣除支付金额,第一信息包括第二付款码的信息。In a third aspect, the embodiment of the present application provides a service device, including: a receiving module, configured 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 acquisition module, Used to obtain payment waiting time factor information associated with the location information; a sending module for sending the first payment code 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 length threshold 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 collection acceptance terminal, In the case of sensing the trigger signal, the displayed first payment code is switched to the second payment code; the payment processing module is used to indicate the payment indicated from the first information when the received payment request message includes the first information The payment amount is deducted from the party's account, and the first information includes information about the second payment code.
第四方面,本申请实施例提供一种用户终端,包括:发送模块,用于响应于接收的支付操作,发送付款码请求消息,付款码请求消息包括用户终端的位置信息;接收模块,用于在业务系统获取的位置信息关联的付款 等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,接收第一付款码反馈消息,第一付款码反馈消息由业务系统生成,包括第一付款码和第二付款码;显示模块,用于显示第一付款码,并在感应到收款受理终端的触发信号的情况下,将显示的第一付款码切换为第二付款码,以使业务系统利用第一信息从第一信息指示的付款方账户中扣除支付金额,第一信息包括第二付款码的信息。In a fourth aspect, an embodiment of the present application provides a user terminal, including: a sending module, configured to send a payment code request message in response to a received payment operation, where the payment code request message includes location information of the user terminal; a receiving module, configured to 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, including the first A payment code and a second payment code; the display module is used to display the first payment code, and in the case of sensing the trigger signal of the collection acceptance terminal, switch the displayed first payment code to the second payment code to The business system uses the first information to deduct the payment amount from the payer's account indicated by the first information, where the first information includes the information of the second payment code.
第五方面,本申请实施例提供一种业务设备,包括:处理器以及存储有计算机程序指令的存储器;处理器执行计算机程序指令时实现第一方面的扫码支付方法。In the fifth aspect, the embodiment of the present application provides a business device, including: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the scanning code payment method of the first aspect is implemented.
第六方面,本申请实施例提供一种用户终端,包括:处理器以及存储有计算机程序指令的存储器;处理器执行计算机程序指令时实现第二方面的扫码支付方法。In a sixth aspect, an embodiment of the present application 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 the seventh aspect, the embodiment of the present application provides a code scanning payment system, including a user terminal and a business system; the user terminal is used to send a payment code request message in response to a received payment operation, and 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 the payment waiting time factor information associated with the location information, and send it 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. The first payment code feedback message, 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 in the case of sensing the trigger signal of the payment acceptance terminal, Switch the displayed first payment code to the second payment code; the business system is also used to instruct the payment amount to be deducted from the payer's account indicated by the first information when the received payment request message includes the first information. A message includes information of the second payment code.
第八方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现第一方面的扫码支付方法或第二方面的扫码支付方法。In the eighth aspect, the embodiment of the present application 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 second aspect is implemented The scan code payment method.
本申请实施例提供一种扫码支付方法、用户终端、业务设备、系统及介质,业务系统接收包括用户终端的位置信息的付款码请求消息,根据与该位置信息关联的付款等待时长因素信息,确定该付款等待时长因素信息表征的付款等待时长是否大于等于预设时长阈值,若该付款等待时长因素 信息表征的付款等待时长大于等于预设时长阈值,可确定付款等待时长较长,存在付款码被偷拍盗用的可能性,业务系统为该用户终端下发第一付款码和第二付款码。第一付款码在用户终端感应到收款受理终端发出的触发信号之前在用户终端显示,第二付款码在用户终端感应到收款受理终端发出的触发信号的情况下在用户终端显示。业务系统接收到的支付请求消息包括第二付款码的信息,表示收款受理终端扫描的是第二付款码。由于第二付款码在在用户终端感应到收款受理终端发出的触发信号的情况下才显示,被偷拍盗用的可能性非常小,因此允许继续正常支付。通过付款等待时长对应的付款码下发策略以及第一付款码和第二付款码的切换,能够有效分辨安全性较高的支付,提高扫码支付的安全性。The embodiment of the present application provides a code scanning payment method, user terminal, business equipment, system and medium. The business system receives a payment code request message including the location information of the user terminal, and according to the payment waiting time factor information associated with the location information, Determine whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, 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 payment code The possibility of being stolen by a sneak shot, the service system issues the first payment code and the second payment code for 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Additional figures can be derived from these figures.
图1为本申请实施例提供的扫码支付方法的应用场景的一示例的架构示意图;FIG. 1 is a schematic structural diagram of an example of an application scenario of a code scanning payment method provided by an embodiment of the present application;
图2为本申请第一方面提供的扫码支付方法的一实施例的流程图;Fig. 2 is a flow chart of an embodiment of the scanning code payment method provided in the first aspect of the present application;
图3为本申请第一方面提供的扫码支付方法的另一实施例的流程图;Fig. 3 is a flow chart of another embodiment of the scanning code payment method provided in the first aspect of the present application;
图4为本申请第一方面提供的扫码支付方法的又一实施例的流程图;Fig. 4 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application;
图5为本申请第一方面提供的扫码支付方法的再一实施例的流程图;Fig. 5 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application;
图6为本申请第二方面提供的扫码支付方法的一实施例的流程图;Fig. 6 is a flow chart of an embodiment of the scanning code payment method provided by the second aspect of the present application;
图7为本申请第二方面提供的扫码支付方法的另一实施例的流程图;Fig. 7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application;
图8为本申请第二方面提供的扫码支付方法的又一实施例的流程图;Fig. 8 is a flow chart of another embodiment of the scanning code payment method provided by the second aspect of the present application;
图9为本申请实施例提供的扫码支付流程的一示例的流程图;FIG. 9 is a flow chart of an example of the code scanning payment process provided by the embodiment of the present application;
图10为本申请第三方面提供的业务设备的一实施例的结构示意图;Fig. 10 is a schematic structural diagram of an embodiment of the service equipment provided by the third aspect of the present application;
图11为本申请第三方面提供的业务设备的另一实施例的结构示意图;Fig. 11 is a schematic structural diagram of another embodiment of the service equipment provided by the third aspect of the present application;
图12为本申请第三方面提供的业务设备的又一实施例的结构示意 图;Fig. 12 is a schematic structural diagram of another embodiment of the service equipment provided by the third aspect of the present application;
图13为本申请第四方面提供的用户终端的一实施例的结构示意图;FIG. 13 is a schematic structural diagram of an embodiment of a user terminal provided in the fourth aspect of the present application;
图14为本申请第四方面提供的用户终端的另一实施例的结构示意图;FIG. 14 is a schematic structural diagram of another embodiment of the user terminal provided by the fourth aspect of the present application;
图15为本申请第五方面提供的业务设备的一实施例的结构示意图;Fig. 15 is a schematic structural diagram of an embodiment of the service equipment provided in the fifth aspect of the present application;
图16为本申请第六方面提供的用户终端的一实施例的结构示意图。Fig. 16 is a schematic structural diagram of an embodiment of a user terminal provided in the sixth aspect of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The characteristics and exemplary embodiments of various aspects of the application will be described in detail below. In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only intended to explain the present application rather than limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.
随着支付技术的不断发展,扫码支付已经深入各个领域。扫码支付可包括主扫支付模式和被扫支付模式。主扫支付模式为支付用户扫描商户收款码的支付方式。被扫支付模式为支付用户的用户终端显示付款码,由商户受理终端扫描该付款码的支付方式。在采用被扫支付模式的场景中,为了节省支付时间,用户会提前将付款码显示在用户终端。但在用户等待支付的过程中,有人会偷拍用户终端显示的付款码,并利用偷拍的付款码进行支付,对付款码所属用户的账户中资金造成盗刷,严重影响了用户的支付安全。With the continuous development of payment technology, code scanning payment has penetrated into various fields. Scanning code payment can include the main scanning payment mode and the scanned payment mode. The main scanning payment mode is the payment method in which the payment user scans the merchant's payment code. The scanned payment mode is a payment method in which the payment code is displayed on the user terminal of the paying user, and the payment code is scanned by the merchant's acceptance terminal. In the scenario where the scanned payment mode is adopted, 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 for the payment, someone will sneak a photo of the payment code displayed on the user terminal, and use the sneak-photographed payment code to make the payment, causing fraudulent swiping of funds in the user's account to which the payment code belongs, which seriously affects the user's payment security.
本申请提供一种扫码支付方法、用户终端、业务设备、系统及介质,可在需要付款的用户终端所在位置的付款等待时长较长如排队付款的队伍较长的情况下,向用户终端下发两个不同的付款码,在还未靠近收款受理终端如销售点设备即POS(即Point Of Sale)机等设备的情况下,用户终端显示其中一个付款码,在用户终端靠近收款受理终端的情况下,用户终端显示其中另一个付款码。在用户终端的用户周围排队的其他人难以拍摄到另一个付款码,因此在业务系统接收到的支付请求消息包括另一个付款 码的信息的情况下,可允许正常支付,提高了用户的支付安全。This application provides a code scanning payment method, user terminal, business equipment, system and medium, which can be used to download payment to the user terminal when the waiting time for payment at the location of the user terminal that needs to be paid is long, such as when the queue for payment is long. Send two different payment codes. When the user terminal is not close to the payment acceptance terminal such as POS (Point Of Sale) machine and other equipment, the user terminal displays one of the payment codes, and the user terminal is close to the payment acceptance In the case of a terminal, the user terminal displays another of the payment codes. It is difficult for other people queuing up around the user at the user terminal to capture another payment code, so when the payment request message received by the business system includes the information of another payment code, normal payment can be allowed, which improves the payment security of the user .
本申请实施例中的扫码支付方法应用于被扫支付模式的场景中,可涉及用户终端、收款受理终端、支付机构系统、业务系统和账户管理系统。图1为本申请实施例提供的扫码支付方法的应用场景的一示例的架构示意图。如图1所示,该扫描支付方法的架构系统可包括用户终端11、收款受理终端12、支付机构系统13、业务系统14和账户管理系统15。The scanning code payment method in the embodiment of the present application is applied in the scenario of the scanned payment mode, and may involve user terminals, payment acceptance terminals, payment institution systems, business systems, and account management systems. FIG. 1 is a schematic structural diagram of an example of an application scenario of the code scanning payment method provided by the embodiment of the present application. As shown in FIG. 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 payment, and specifically may include a mobile phone, a tablet computer, a smart wearable device, etc., and the specific type of the user terminal 11 is not limited here. The user terminal 11 may be installed with a payment application, and the payment application may be used for payment. The user terminal 11 has a display function and can display the payment code, so that the payment code can be used for payment. The payment code can be a two-dimensional 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 a validity period. After the validity period, the payment code cannot continue to be used, and the payment code needs to be updated.
收款受理终端12为商户在支付过程中用于与用户终端11进行交互的终端设备,具体可包括POS机等,在此并不限定收款受理终端12的具体种类。收款受理终端12可具有扫描功能,可扫描付款码,从而读取付款码包含的信息。收款受理终端12可向支付机构系统13发起支付请求。The payment acceptance terminal 12 is a terminal device used by the merchant to interact with the user terminal 11 during the payment process, and may specifically include a POS machine, etc. The specific type of the payment acceptance terminal 12 is not limited here. The collection accepting terminal 12 may have a scanning function, and may scan the payment code, thereby reading the information contained in the payment code. The collection 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 to pay the acquirer, specifically the system of the acquirer. The payment institution system 13 may 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 functions in the payment institution system 13, and can also perform different functions in the payment institution system 13. Functions are 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 liquidation. 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, a settlement subsystem 143, and the like. The business system 14 can issue the generated payment code to the user terminal 11 through the payment institution system 13 . The business system 14 can include one or more than two servers and other business equipment, and different servers and other business equipment in the business system 14 can perform the same function in the business system 14, and can also perform different functions in the business system 14. In the case that the business system 14 includes multiple servers and other business equipment, some business equipment such as servers can belong to the payment code subsystem 141, some business equipment such as servers can belong to the risk control subsystem 142, and some business equipment such as servers can belong to the liquidation subsystem 143.
账户管理系统15为管理用户账户、商户账户等账户的系统。账户管理系统15可与业务系统14交互,从而完成付款账户的扣款以及收款账户的收款等。账户管理系统15可包括一台或两台以上的服务器等业务设备,账户管理系统15中不同的服务器等业务设备可执行账户管理系统15中相同的功能,也可执行账户管理系统15中不同的功能,在此并不限定。The account management system 15 is a system for managing accounts such as user accounts and merchant accounts. The account management system 15 can interact with the business system 14 to complete the deduction of the payment account and the collection of the collection account. The account management system 15 can include one or more than two servers and other business equipment. Different servers and other business equipment in the account management system 15 can perform the same functions in the account management system 15, or can perform different functions in the account management system 15. Functions are not limited here.
下面对本申请中的扫码支付方法、用户终端、业务设备、系统及介质依次进行说明。The code scanning payment method, user terminal, service equipment, system and media in this application will be described in sequence below.
本申请第一方面提供一种扫码支付方法,可应用于业务系统,即该扫码支付方法可由业务系统执行,具体地,该扫码支付方法可由业务系统中的业务设备执行。图2为本申请第一方面提供的扫码支付方法的一实施例的流程图。如图2所示,该扫码支付方法可包括步骤S201至步骤S204。The first aspect of the present application 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 business equipment in the business system. Fig. 2 is a flow chart of an embodiment of the code scanning payment method provided in the first aspect of the present application. 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, and may 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 sends a payment code request message to the business system. What the business system receives is the payment code request message sent by the payment institution system. For example, the user performs a payment operation on the user terminal, opens the payment application, and clicks on the "payment code" function, and the user terminal sends a payment code request message to the payment institution system in response to the payment operation.
付款码请求消息包括用户终端的位置信息。用户终端的位置信息可指示用户终端的位置。例如,用户终端的位置信息可包括用户终端所在位置的经、纬度信息。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, the payment waiting time factor information associated with the location information is acquired.
在从付款码请求消息中得到位置信息后,获取与该位置信息关联的付 款等待时长因素信息。与位置信息关联的付款等待时长因素信息可包括位置信息指示的位置处的商户的付款等待时长因素信息、位置信息指示的位置所在区域的付款等待时长因素信息等。付款等待时长因素信息包括影响付款等待时长的因素信息,能够体现付款等待时长。付款等待时长也可视为付款排队时长。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, and the like. The payment waiting time factor information includes information on factors affecting the payment waiting time, which can reflect the payment waiting time. Payment waiting time can also be regarded as payment queuing time.
在一些示例中,付款等待时长因素信息可包括收款方的状态信息、收款方的排队时长信息、与收款方交易的用户的历史等待时间信息等中的一项或两项以上。In some examples, the payment waiting time factor information may include one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee.
收款方的状态信息可表征收款方的繁忙程度,收款方越繁忙,对于付款用户而言,付款等待时长就可能会越长。收款方的排队时长信息可表征收款方的排队时长,排队时长越长,付款等待时长就会越长。与收款方交易的用户的历史等待时间信息可包括与收款方发生交易的用户与付款等待相关的历史信息,通过与收款方发生交易的用户的信息来确定付款等待时长。例如,历史等待时间信息可包括付款码请求时间和付款时间,付款码请求时间为用户终端请求付款码的时刻,付款时间为用户终端付款的时刻,一个用户的付款码请求时间和付款时间之间的时长即可作为该用户的付款等待时长,可根据与一收款方交易的多个用户的付款码请求时间和付款时间之间的时长,确定该收款方的付款等待时长。The status information of the payee can represent the busyness of the payee. The busier the payee is, the longer the payment waiting time may be for the paying user. The payee's queuing time information can represent the payee's queuing time. The longer the queuing time, the longer the waiting time for payment. The historical waiting time information of users who have transactions with the payee may include historical information related to payment waiting of users who have transactions with the payee, and the waiting time for payment is determined through the information of users who have transactions with the payee. For example, the historical waiting time information may include payment code request time and payment time, the payment code request time is the moment when the user terminal requests the payment code, the payment time is the moment when the user terminal pays, the time between a user's payment code request time and the payment time The length of time can be used as the payment waiting time of the user, and the payment waiting time of the payee can be determined according to the time between the payment code request time and the payment time of multiple users who have transactions with a payee.
在步骤S203中,在与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,以使用户终端获取第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示第一付款码,在感应到触发信号的情况下将显示的第一付款码切换为第二付款码;In step S203, 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 length threshold, the first payment code feedback message is sent, so that the user terminal obtains the first payment code feedback message , and display the first payment code before sensing the trigger signal of the collection acceptance terminal, and switch the displayed first payment code to the second payment code when the trigger signal is sensed;
预设时长阈值为用于判定导致安全风险的时长的门限值,可根据场景、需求、经验等设定,在此并不限定。付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,表示安全风险较大,需要执行安全性更高的付款码下发措施。付款等待时长因素信息表征的付款等待时长小于预设时长阈值,表示安全风险较小,可忽略不计。The preset duration threshold is a threshold value used to determine the duration of a security risk, which can be set according to scenarios, requirements, experience, etc., and is not limited here. The payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset time threshold, which means that the security risk is relatively high, and it is necessary to implement measures for issuing payment codes with higher security. The payment waiting time represented by the payment waiting time factor information is less than the preset time threshold, indicating that the security risk is small and negligible.
若与位置信息关联的付款等待时长因素信息表征的付款等待时长大于 等于预设时长阈值,业务系统可向支付机构系统发送第一付款码反馈消息,支付机构系统再向用户终端发送第一付款码反馈消息。第一付款码反馈消息包括第一付款码和第二付款码。第一付款码与第二付款码不同。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 the first payment code feedback message to the payment institution system, and the payment institution system can then send the first payment code to the user terminal feedback message. 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, displays the first payment code first, and saves the second payment code. The payment acceptance terminal can send a trigger signal. When the payer user carrying the user terminal is still queuing and has not arrived at the collection acceptance terminal, the user terminal has not sensed the trigger signal sent by the collection acceptance terminal. Before the user terminal has not sensed the trigger signal, that is, the user terminal has sensed the trigger signal, The user terminal displays the first payment code. When the payer user brings the user terminal to the payment acceptance terminal, the user terminal senses the trigger signal sent by the payment acceptance terminal, and can switch the displayed first payment code to the second payment code, so that the payment acceptance terminal can scan Second payment code.
在一些示例中,触发信号可包括以下一项或两项以上:近场通信(Near Field Communication,NFC)信号、蓝牙信号、声波信号等。NFC信号可包括收款受理终端的加密NFC标签的信息。蓝牙信号可包括收款受理终端的蓝牙标签的信息。声波信号可包括声波标签的信息,声波信号也可为特定频率的低频声波信号。In some examples, the trigger signal may include one or more of the following: a near field communication (Near Field Communication, NFC) signal, a bluetooth signal, a sound wave signal, and the like. The NFC signal may include information of an encrypted NFC tag of the payment acceptance terminal. The bluetooth signal may include the information of the bluetooth tag of the payment acceptance terminal. The sound wave signal may include the information of the 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, if the received payment request message includes the first information, it is instructed to deduct the payment amount from the payer's 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 according to the information read from the payment code, and the payment request message includes the information read from the payment code. The collection acceptance terminal sends a payment request message to the payment institution system, and the payment institution system sends a payment request message to the business system.
第一信息包括第二付款码的信息,第二付款码的信息为从第二付款码读取得到的信息。业务系统接收到的支付请求消息包括第一信息,表示本次扫码支付中,收款受理终端扫描的是第二付款码,也就是说,收款受理终端扫描到的是用户终端到达收款受理终端处才切换的第二付款码,本次扫码支付的安全风险较小,允许继续正常进行支付。业务系统可向账户管理系统发送交易消息,以指示从第一信息指示的付款方账户中扣除支付金额。The first information includes information of the second payment code, and the information of the second payment code is information obtained by reading 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 to say, the payment acceptance terminal scanned the user terminal to arrive at the payment code. Accepting the second payment code switched at the terminal, the security risk of this scan code payment is relatively small, and normal payment is allowed. The business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the first information.
在本申请实施例中,业务系统接收包括用户终端的位置信息的付款码请求消息,根据与该位置信息关联的付款等待时长因素信息,确定该付款等待时长因素信息表征的付款等待时长是否大于等于预设时长阈值,若该付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,可确定付款等待时长较长,存在付款码被偷拍盗用的可能性,业务系统为该用户终端下发第一付款码和第二付款码。第一付款码在用户终端感应到收款受理终端发出的触发信号之前在用户终端显示,第二付款码在用户终端感应到收款受理终端发出的触发信号的情况下在用户终端显示。业务系统接收到的支付请求消息包括第二付款码的信息,表示收款受理终端扫描的是第二付款码。由于第二付款码在在用户终端感应到收款受理终端发出的触发信号的情况下才显示,被偷拍盗用的可能性非常小,因此允许继续正常支付。通过付款等待时长对应的付款码下发策略以及第一付款码和第二付款码的切换,能够有效分辨安全性较高的支付,提高扫码支付的安全性。In this embodiment of the application, the service system receives the payment code request message including the location information of the user terminal, and determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to The preset time threshold, 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 stolen by sneak shots, and the business system issues a The first payment code and the second payment code. 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
上述第一付款码和第二付款码的切换由用户终端主动执行,不需用户参与,可减少用户的操作,在保证扫码支付的安全性的基础上,提高扫码支付的效率。而且,与缩短付款码有效时长的技术方案相比,本申请实施例不需要频繁更新下发付款码,还可在保证扫码支付的安全性的基础上,降低生成即下发付款码的业务系统的处理压力。The above-mentioned switching between the first payment code and the second payment code is actively performed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scanning code payment on the basis of ensuring the security of scanning code payment. Moreover, compared with the technical solution of shortening the effective duration of the payment code, the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
在一些实施例中,可通过对付款等待时长因素是否满足双码下发条件,来确定付款等待时长是否大于等于预设时长阈值。图3为本申请第一方面提供的扫码支付方法的另一实施例的流程图。图3与图2的不同之处在于,图3所示的扫码支付方法还可包括步骤S205。In some embodiments, it may be determined whether the payment waiting time is greater than or equal to a preset time length threshold by checking whether the payment waiting time factor satisfies the condition for issuing a double code. Fig. 3 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 3 and FIG. 2 is that the code scanning payment method shown in FIG. 3 may further include step S205.
在步骤S205中,在与位置信息关联的付款等待时长因素信息满足双码下发条件的情况下,确定与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值。In step S205, if the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition, 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 length threshold.
双码下发条件包括用于判断付款等待时长因素信息条件下的支付是否存在付款码被偷拍盗用的风险的条件。与位置信息关联的付款等待时长因素信息满足双码下发条件,确定与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,表示付款等待时长因素信息 条件下的支付存在付款码被偷拍盗用的风险,可通过第一付款码反馈消息向用户终端下发第一付款码和第二付款码。在一些示例中,与位置信息关联的付款等待时长因素信息不满足双码下发条件,确定与位置信息关联的付款等待时长因素信息表征的付款等待时长小于预设时长阈值,表示付款等待时长因素信息条件下的支付不存在付款码被偷拍盗用的风险,可向用户终端下发一个付款码。The conditions for issuing double codes include the conditions for judging whether there is a risk of the payment code being secretly photographed or stolen in the payment under the payment waiting time factor information condition. The payment waiting time factor information associated with the location information satisfies the dual-code delivery condition, and it is determined that the payment waiting time factor information associated with the location information indicates that the payment waiting time is greater than or equal to the preset time threshold value, indicating payment under the condition of the payment waiting time factor information There is a risk of the payment code being stolen by sneak shots, and the first payment code and the second payment code can be issued 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 delivery condition, and 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 waiting time factor Payment under information conditions does not have the risk of the payment code being stolen by sneak shots, and a payment code can be issued to the user terminal.
付款等待时长因素信息的具体内容可参见上述实施例中的相关说明,在此不再赘述。For the specific content of the payment waiting time factor information, please refer to the relevant description in the above embodiment, which will not be repeated here.
在一些示例中,双码下发条件可包括以下一项或多项:In some examples, the dual-code delivery conditions may include one or more of the following:
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于收款繁忙状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money;
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于活动举办状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state;
与位置信息关联的收款方的排队时长信息表征位于位置信息对应的区域内的收款方的排队时长大于等于预设时长阈值;The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
与位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于预设时长阈值。The time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
位置信息对应的区域为位置信息指示的位置的所在区域,该区域的大小可根据对收款方要求的精确度设定,在此并不限定。在一些示例中,位置信息对应的区域中可只包括一个收款方。The area corresponding to the location information is the location of the location indicated by the location information, and the size of this area can be set according to the accuracy required by the payee, and is not limited here. In some examples, only one payee may be included in the area corresponding to the location information.
收款方的状态信息表征收款方处于收款繁忙状态,则在收款方等待付款的付款方用户较多,对应地,付款方用户的付款等待时长较长,即付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,付款方用户的付款码会存在被偷拍盗用的可能性,需要向用户终端下发第一付款码和第二付款码。The status information of the payee indicates that the payee is in a busy state of receiving money, and there are more 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 factor information represents If the waiting time for payment is greater than or equal to the preset time threshold, the payment code of the payer user may be stolen by sneak shots, and the first payment code and the second payment code need to be issued to the user terminal.
收款方的状态信息表征收款方处于活动举办状态,则在收款方等待付款的付款方用户较多,对应地,付款方用户的付款等待时长较长,即付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,付款方用户的付款码会存在被偷拍盗用的可能性,需要向用户终端下发第一付款码 和第二付款码。收款方举办的活动可为促销或优惠活动等,在此并不限定。The status information of the payee indicates that the payee is in the event holding state, and there are many payer users waiting for payment at the payee. If the payment waiting time is greater than or equal to the preset time threshold, the payment code of the payer user may be stolen by a sneak shot, and the first payment code and the second payment code need to be issued to the user terminal. The activities organized by the payee may be promotions or preferential activities, etc., which are not limited here.
收款方的排队时长信息表征的收款方的排队时长与付款等待时长基本一致,排队时长越长,付款等待时长越长。收款方的排队时长信息表征收款方的排队时长大于等于预设时长阈值,即付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,付款方用户的付款码会存在被偷拍盗用的可能性,需要向用户终端下发第一付款码和第二付款码。The payee's queuing time information represented by the payee's queuing time is basically the same as the payment waiting time, the longer the queuing time, the longer the payment waiting time. The payee’s queuing time information indicates that the payee’s queuing time 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, and the payment code of the payer user may be secretly photographed and stolen possibility, it is necessary to issue the first payment code and the second payment code to the user terminal.
收款方交易的用户的付款码请求时间与付款时间之间的时长即为付款等待时长,收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于预设时长阈值,即付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,付款方用户的付款码会存在被偷拍盗用的可能性,需要向用户终端下发第一付款码和第二付款码。The time between the payment code request time and payment time of the payee transaction user is the payment waiting time, and the time length between the payment code request time and payment time of the payee transaction user’s user’s payment code time is greater than or equal to the preset time threshold, namely If 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 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.
在一些实施例中,用户终端显示的第一付款码可能会被偷拍盗用进行支付,或者,由于用户终端从第一付款码切换为第二付款码存在一定延时,导致收款受理终端扫描到的仍然是第一付款码,为了能够准确地分辨存在偷拍盗用风险的支付,可根据支付请求消息包括的交易信息进行进一步判断,根据判断结果执行相应的处理。图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 switching from the first payment code to the second payment code at the user terminal, the payment acceptance terminal scans the The first payment code is still the first payment code. In order to accurately distinguish the payment that has the risk of stealing and misappropriating, further judgment can be made according to the transaction information included in the payment request message, and corresponding processing can be performed according to the judgment result. Fig. 4 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 4 and FIG. 2 is that the code scanning payment method shown in FIG. 4 may further include steps S206 and S207.
在步骤S206中,在接收的支付请求消息包括第二信息的情况下,若交易信息满足风险控制条件,执行交易干预处理。In step S206, if the received payment request message includes the second information, if the transaction information satisfies the risk control condition, transaction intervention processing is executed.
第二信息包括第一付款码的信息,第一付款码的信息为从第一付款码读取得到的信息。业务系统接收到的支付请求消息包括第二信息,表示本次扫码支付中,收款受理终端扫描的是第一付款码。但收款受理终端扫描的第一付款码可能是他人偷拍盗用的第一付款码,也可能是用户终端切换付款码存在延时而还未切换的第一付款码,但他人偷拍盗用的第一付款码的支付是非法支付,用户终端切换付款码存在延时而还未切换的第一付款码是合法支付,可通过支付请求消息包括的交易信息是否满足风险控制条件,进一步分辨非法支付和合法支付。The second information includes information of the first payment code, and the information of the first payment code is information obtained by reading the first payment code. The payment request message received by the business system includes the second information, indicating that in this code-scanning payment, the payment acceptance terminal scanned the first payment code. However, the first payment code scanned by the payment acceptance terminal may be the first payment code that was secretly photographed and stolen by others, or it may be the first payment code that has not been switched due to the delay in switching payment codes at the user terminal, but the first payment code that has been secretly photographed and stolen by others. The payment with the payment code is an illegal payment. The first payment code that has not been switched due to the delay in switching the payment code at the user terminal is a legal payment. Illegal payment and legal payment can be further distinguished by checking whether the transaction information included in the payment request message meets the risk control conditions. pay.
风险控制条件用于判定第二信息指示的支付存在盗用风险,交易干预处理用于对存在盗用风险的支付进行安全处理。The risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement, and the transaction intervention processing is used to perform security processing on the payment with a risk of embezzlement.
在一些示例中,交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率。支付频率为利用第二信息对应的第一付款码进行支付的频率。In some examples, the transaction information includes one or more of the following: payee merchant address, payment amount, 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 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 security amount threshold;
支付频率高于安全频率阈值。The payment frequency is above the safe frequency threshold.
交易信息满足风险控制条件,表示交易信息对应的支付存在盗用风险,需要进行交易干预处理。If the transaction information satisfies the risk control conditions, it means that the payment corresponding to the transaction information has a risk of embezzlement, and transaction intervention is required.
在一些偷拍盗用收款码的情况下,偷拍到收款码的人会将偷拍到的收款码发给其他人,由其他人在其他地点的收款方处进行支付。可通过收款方商户地址所在位置与付款码请求消息中用户终端的位置信息指示的位置之间的距离和安全距离阈值,来判断这次支付是否是利用偷拍的第一收款码在其他地点的收款方处进行支付的非法支付。安全距离阈值为判断是否为同一地点支付的距离的安全门限值,可根据场景、需求、经验等设定,在此并不限定。收款方商户地址所在位置与位置信息指示的位置之间的距离大于安全距离阈值,表示申请付款码的位置与支付的位置距离较远,并不在同一地点,很有可能是偷拍盗用付款码的非法支付,需要进行交易干预处理。In some cases where the payment code is secretly photographed and stolen, the person who secretly photographed the collection code will send the received code to other people, and the other person will pay at the payee in another location. The distance between the location of the payee's merchant address and the location indicated by the location information of the user terminal in the payment code request message and the safety distance threshold can be used to determine whether the payment was made at another location using the first payment code that was secretly photographed. Illegal payments made at the beneficiary's account. The safety distance threshold is the safety threshold value for judging whether the payment is made at the same place, which can be set according to the scene, demand, experience, etc., and is not limited here. 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, which means that the location of the application payment code is far away from the location of the payment, and they are not in the same place. Illegal payment requires transaction intervention.
也可通过支付金额来协助提高扫码支付的安全性。安全金额阈值为判断支付额度是否安全的金额的门限值,可根据场景、需求、经验等设定,在此并不限定。支付金额大于安全金额阈值,若是在偷拍盗用收款码的情况下,可能会造成较大的损失,需要进行交易干预处理。The payment amount can also be used to help improve the security of scanning payment. The safe amount threshold is the threshold value for judging whether the payment amount is safe, which can be set according to scenarios, needs, experience, etc., and is not limited here. If the payment amount is greater than the security amount threshold, if the receiving code is secretly photographed and stolen, it may cause a large loss, and transaction intervention is required.
还可通过支付频率来协助提高扫码支付的安全性。安全频率阈值为判断支付频率是否安全的频率的门限值,可根据场景、需求、经验等设定,在此并不限定。支付频率高于安全频率阈值,若是在偷拍盗用收款码的情 况下,可能会造成较大的损失,需要进行交易干预处理。It can also help improve the security of scanning code payment through payment frequency. The safe frequency threshold is the threshold value of the frequency for judging whether the payment frequency is safe, which can be set according to scenarios, needs, experience, etc., and is not limited here. If the payment frequency is higher than the security frequency threshold, if the receiving code is secretly photographed and stolen, it may cause a large loss, and transaction intervention is required.
在风险控制条件包括两项以上的条件的情况下,风险控制条件可具有优先级,可先判断交易信息是否满足优先级相对高的风险控制条件,若交易信息满足优先级相对高的风险控制条件,可执行交易干预处理;若交易信息不满足优先级相对高的风险控制条件,再判断交易信息是否满足优先级相对低的风险控制条件。例如,风险控制条件包括收款方商户地址所在位置与位置信息指示的位置之间的距离大于安全距离阈值,和,支付金额大于安全金额阈值;若收款方商户地址所在位置与位置信息指示的位置之间的距离大于安全距离阈值,可执行交易干预处理,不需再判断支付金额是否大于安全金额阈值;若收款方商户地址所在位置与位置信息指示的位置之间的距离小于等于安全距离阈值,再判断支付金额是否大于安全金额阈值,若支付金额大于安全金额阈值,可执行交易关于处理。When the risk control conditions include two or more conditions, the risk control conditions can have a priority, and it can be judged first whether the transaction information meets the risk control conditions with a relatively high priority. If the transaction information meets the risk control conditions with a relatively high priority , can perform transaction intervention processing; if the transaction information does not meet the relatively high priority risk control conditions, then determine whether the transaction information meets the relatively low priority risk control conditions. For example, the risk control conditions include that 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, and the payment amount is greater than the safety amount threshold; if the location of the payee’s merchant address and the location information indicated If the distance between the locations is greater than the safety distance threshold, transaction intervention processing can be performed without judging whether the payment amount is greater than the safety amount threshold; if the distance between the location of the payee’s merchant address and the location indicated by the location information is less than or equal to the safety distance Threshold, and then judge whether the payment amount is greater than the safety amount threshold, if the payment amount is greater than the safety amount threshold, the transaction processing can be performed.
交易干预处理可包括:对发送包括第二信息的支付请求消息的用户终端的用户进行身份验证;或者,中止第二信息指示的支付。The transaction intervention processing may include: authenticating 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.
在第二信息指示的支付存在盗用风险的情况下,业务系统可对利用第二信息对应的第一付款码进行支付的用户进行身份验证。具体地,业务系统可向支付机构系统发送身份验证请求消息,支付机构系统再向用户终端发送身份验证请求消息。用户终端响应于接收的身份验证请求消息,可显示身份验证界面,提示用户输入身份验证信息。身份验证信息可包括支付账号、支付密码、验证码等能够证明是请求付款码的用户本人进行支付的信息,在此并不限定。用户终端向支付机构系统发送身份验证信息,支付机构系统向业务系统发送身份验证信息,业务系统核对接收的身份验证信息和预留或设置的身份验证信息是否一致,若一致,则可继续正常支付,若不一致,则中止支付。In the case that the payment indicated by the second information has a risk of fraudulent use, the service system may perform identity verification on the user who makes payment using the first payment code corresponding to the second information. Specifically, the service 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 input identity verification information. Identity verification information may include payment account number, payment password, verification code and other information that can prove that the user who requested the payment code made the payment himself, which is not limited here. The user terminal sends identity verification information to the payment institution system, and the payment institution system sends identity verification information to the business system. The business system checks whether the received identity verification information is consistent with the reserved or set identity verification information. If they are consistent, normal payment can continue , if inconsistent, the payment will be suspended.
在第二信息指示的支付存在盗用风险的情况下,也可直接中止第二信息指示的支付,以避免盗用风险。In the case that the payment indicated by the second information has a risk of embezzlement, the payment indicated by the second information may also be directly suspended to avoid the risk of embezzlement.
在步骤S207中,在接收的支付请求消息包括第二信息的情况下,若交易信息不满足风险控制条件,指示从第二信息指示的付款方账户中扣除支付金额。In step S207, if the received payment request message includes the second information, if the transaction information does not satisfy the risk control condition, instruct to deduct the payment amount from the payer's 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 embezzlement, and the payment can continue to be made without transaction intervention. The business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the second information.
通过交易消息和风险控制条件,可提升风险监控的有效性,提高识别存在盗用风险的支付的精确性,并进一步提高扫码支付的安全性。Through transaction information and risk control conditions, the effectiveness of risk monitoring can be improved, the accuracy of identifying payments with embezzlement risks can be improved, and the security of scanning code payments can be further improved.
在一些实施例中,付款等待时长小于预设时长阈值,付款方用户的付款码会被偷拍盗用的风险较小可忽略不计,业务系统可向用户终端下发单个付款码,在保证扫码支付的安全性的基础上,进一步减小业务系统生成付款码以及下发付款码的压力。图5为本申请第一方面提供的扫码支付方法的再一实施例的流程图。图5与图2的不同之处在于,图5所示的扫码支付方法还可包括步骤S208和步骤S209。In some embodiments, if the waiting time for payment is less than the preset time threshold, the risk that the payment code of the payer user will be secretly photographed and stolen is negligible. The business system can issue a single payment code to the user terminal. On the basis of high security, it further reduces the pressure on the business system to generate payment codes and issue payment codes. Fig. 5 is a flow chart of another embodiment of the code scanning payment method provided in the first aspect of the present application. The difference between FIG. 5 and FIG. 2 is that the code scanning payment method shown in FIG. 5 may further include steps S208 and 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 obtains the second payment code feedback message, And display 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 to be small and negligible, and the business system can issue a single payment to the user terminal Code is the third payment code. 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 may send the second payment code feedback message to the payment institution system, and the payment institution system then sends the second payment code feedback message to the user terminal. The user terminal receives the feedback information of the second payment code, obtains the third payment code from the feedback information of the second payment code, and can display the third payment code.
在步骤S209中,在接收的支付请求消息包括第三信息的情况下,指示从第三信息指示的付款方账户中扣除支付金额。In step S209, if the received payment request message includes the third information, it is instructed to deduct the payment amount from the payer's account indicated by the third information.
第三信息包括第三付款码的信息,第三付款码的信息为从第三付款码读取得到的信息。业务系统接收到的支付请求消息包括第三信息,表示本次扫码支付中,收款受理终端扫描到的是第三付款码。第三付款码是在偷 拍盗用付款码风险较小的情况下下发的,表示本次扫码支付的安全风险较小,允许继续正常进行支付。业务系统可向账户管理系统发送交易消息,以指示从第三信息指示的付款方账户中扣除支付金额。The third information includes information of the third payment code, and the information of the third payment code is information obtained by reading the third payment code. The payment request message received by the business system includes the third information, indicating that in this code-scanning payment, the payment acceptance terminal scanned the third payment code. The third payment code was issued when the risk of stealing and stealing the payment code was small, indicating that the security risk of scanning the code payment this time was small, and normal payment was allowed to continue. The business system may send a transaction message to the account management system to instruct to deduct the payment amount from the payer's account indicated by the third information.
在根据与位置信息关联的付款等待时长因素信息确定付款码被偷拍盗用风险较小的情况下,业务系统向用户终端下发单个付款码,可在保证扫码支付的安全性的基础上,降低业务系统生成付款码、下发付款码的压力。When the payment waiting time factor information associated with the location information determines that the risk of the payment code being secretly photographed and stolen is low, the business system issues a single payment code to the user terminal, which can reduce the risk of payment while ensuring the security of scanning code payment. The business system is under pressure to generate payment codes and issue payment codes.
本申请第二方面提供一种扫码支付方法,可应用于用户终端,即该扫码方法可由用户终端执行。图6为本申请第二方面提供的扫码支付方法的一实施例的流程图。如图6所示,该扫码支付方法可包括步骤S301至步骤S303。The second aspect of the present application provides a code scanning payment method, which can be applied to a user terminal, that is, the code scanning method can be executed by the user terminal. Fig. 6 is a flow chart of an embodiment of the code scanning payment method provided by the second aspect of the present application. As shown in FIG. 6 , the code scanning payment method may include steps S301 to S303.
在步骤S301中,响应于接收的支付操作,发送付款码请求消息。In step S301, a payment code request message is sent in response to the received payment operation.
付款码请求消息包括用户终端的位置信息。具体地,用户终端可先向支付机构系统发送付款码请求消息,支付机构系统再向业务系统发送付款码请求消息。The payment code request message includes location information of the user terminal. Specifically, the user terminal may first send a payment code request message to the payment institution system, and then the payment institution system 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 acquired by the business system is greater than or equal to the preset time length 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 service system may first send the first payment code feedback message to the payment institution system, and then the payment institution system sends the first payment code feedback message to the user terminal.
在步骤S303中,显示第一付款码,并在感应到收款受理终端的触发信号的情况下,将显示的第一付款码切换为第二付款码,以使业务系统利用第一信息从第一信息指示的付款方账户中扣除支付金额。In step S303, display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the collection acceptance terminal is sensed, so that the business system can use the first information from the first payment code to the second payment code. The payment amount is deducted from the payer's account indicated by a message.
用户终端在接收到第一付款码反馈消息后,在感应到收款受理终端的触发信号前先显示第一付款码,在感应到收款受理终端的触发信号的情况下,再切换显示第二付款码。After receiving the first payment code feedback message, the user terminal first displays the first payment code before sensing the trigger signal of the payment acceptance terminal, and then switches to display the second payment code when it senses the trigger signal of the payment acceptance terminal. payment code.
第一信息包括第二付款码的信息。The first information includes 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, and an acoustic wave signal. For details, please refer to relevant descriptions in the above-mentioned embodiments, and details will not be repeated here.
上述步骤S301至步骤S303的具体内容可参见上述实施例中的相关说明,在此不再赘述。The specific content of the above step S301 to step S303 can refer to the related description in the above embodiment, and will not be repeated here.
在本申请实施例中,用户终端可通过付款码请求消息,向业务系统请求付款码。付款码请求消息包括位置信息,可体现用户终端申请付款码时的位置。业务系统根据与该位置信息关联的付款等待时长因素信息,确定该付款等待时长因素信息表征的付款等待时长是否大于等于预设时长阈值,若该付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,可确定付款等待时长较长,存在付款码被偷拍盗用的可能性,用户终端可通过第一付款码反馈消息接收到业务系统下发的第一付款码和第二付款码。用户终端在感应到收款受理终端发出的触发信号之前显示第一付款码,用户终端感应到收款受理终端发出的触发信号的情况下将显示的付款码切换为第二付款码,使得用户终端在收款受理终端处进行支付时,收款受理终端扫描的是第二付款码,可利用第二付款码的信息通过业务系统继续正常进行支付。由于第二付款码在在用户终端感应到收款受理终端发出的触发信号的情况下才显示,被偷拍盗用的可能性非常小,因此允许继续正常支付。通过付款等待时长对应的付款码下发策略以及第一付款码和第二付款码的切换,能够有效分辨安全性较高的支付,提高扫码支付的安全性。In this embodiment of the application, the user terminal may request the payment code from the service 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. According to the payment waiting time factor information associated with the location information, 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; if the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset The time threshold is set to determine that the waiting time for payment is long, and there is a possibility that the payment code may be stolen by sneak shots. The user terminal may 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 sent by the payment acceptance terminal, and switches the displayed payment code to the second payment code when the user terminal senses the trigger signal sent by the payment acceptance terminal, so that the user terminal When payment is made at the collection acceptance terminal, what the collection acceptance terminal scans is the second payment code, and the information of the second payment code can be used to continue normal payment through the business system. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
上述第一付款码和第二付款码的切换由用户终端主动执行,不需用户参与,可减少用户的操作,在保证扫码支付的安全性的基础上,提高扫码支付的效率。而且,与缩短付款码有效时长的技术方案相比,本申请实施例不需要频繁更新下发付款码,还可在保证扫码支付的安全性的基础上,降低生成即下发付款码的业务系统的处理压力。The above-mentioned switching between the first payment code and the second payment code is actively performed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scanning code payment on the basis of ensuring the security of scanning code payment. Moreover, compared with the technical solution of shortening the effective duration of the payment code, the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning code payment. System handling pressure.
在一些实施例中,在与位置信息关联的付款等待时长因素信息满足双码下发条件的情况下,位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值。In some embodiments, when the payment waiting time factor information associated with the location information satisfies the dual-code delivery 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 length threshold.
付款等待时长因素信息包括收款方的状态信息、收款方的排队时长信 息、与收款方交易的用户的历史等待时间信息中的一项或两项以上。其中,历史等待时间信息包括付款码请求时间和付款时间。The payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee. Wherein, the historical waiting time information includes 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 located in the area corresponding to the location information is in a busy state of receiving money;
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于活动举办状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in an event holding state;
与位置信息关联的收款方的排队时长信息表征位于位置信息对应的区域内的收款方的排队时长大于等于预设时长阈值;The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
与位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于预设时长阈值。The time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
与位置信息关联的付款等待时长因素信息、双码下发条件等的具体内容可参见上述实施例中的相关说明,在此不再赘述。For the specific content of the payment waiting time factor information associated with the location information, the conditions for issuing double codes, etc., please refer to the relevant descriptions in the above embodiments, and will not be repeated here.
在一些实施例中,收款受理终端读取到的也可能是第一付款码,可进一步通过支付请求消息中的交易信息和风险控制条件来区分第一付款码对应的支付是否为安全风险大的支付。图7为本申请第二方面提供的扫码支付方法的另一实施例的流程图。图7与图6的不同之处在于,图7所示的扫码支付方法还可包括步骤S304。In some embodiments, what the payment acceptance terminal reads may also be the first payment code, and it is possible to further distinguish whether the payment corresponding to the first payment code is a payment with a high security risk through the transaction information and risk control conditions in the payment request message. payment. Fig. 7 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application. The difference between FIG. 7 and FIG. 6 is that the code scanning payment method shown in FIG. 7 may further 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 satisfies the risk control condition, transaction intervention processing is accepted.
所述风险控制条件用于判定第二信息指示的支付存在盗用风险。所述第二信息包括所述第一付款码的信息。所述交易干预处理用于对存在盗用风险的支付进行安全处理。The risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement. The second information includes information about the first payment code. The transaction intervention processing is used to perform security processing on the payment with the risk of misappropriation.
步骤S304的具体内容可参见上述实施例中的相关说明,在此不再赘述。For specific content of step S304, refer to relevant descriptions in the foregoing embodiments, and details are not repeated here.
在一些示例中,所述交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率。交易信息的具体内容可参见上述实施例中的相关说明,在此不再赘述。In some examples, the transaction information includes one or more of the following: payee merchant address, payment amount, and payment frequency. For the specific content of the transaction information, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
在一些示例中,风险控制条件包括以下一项或两项以上:In some examples, 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 security amount threshold;
支付频率高于安全频率阈值。The payment frequency is above the safe frequency threshold.
风险控制条件的具体内容可参见上述实施例中的相关说明,在此不再赘述。For the specific content of the risk control conditions, refer to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
在一些示例中,上述交易干预处理包括:对用户终端的用户进行身份验证;或者,中止第二信息指示的支付。In some examples, the above-mentioned transaction intervention processing includes: performing identity verification on the user of the user terminal; or suspending the payment indicated by the second information.
交易干预处理的具体内容可参见上述实施例中的相关说明,在此不再赘述。For the specific content of the transaction intervention processing, refer to the relevant descriptions in the above-mentioned embodiments, which will not be repeated 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 second information indicates Payment proceeds normally.
上述收款受理终端向业务系统发送的支付请求消息中的交易信息不满足风险控制条件情况下的支付的具体内容可参见上述实施例中的相关说明,在此不再赘述。For the specific content of the payment when 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, please refer to the relevant descriptions in the above embodiments, and details will not be repeated here.
在一些实施例中,付款等待时长小于预设时长阈值,付款方用户的付款码会被偷拍盗用的风险较小可忽略不计,业务系统可向用户终端下发单个付款码。图8为本申请第二方面提供的扫码支付方法的又一实施例的流程图。图8与图6的不同之处在于,图8所示的扫码支付方法还可包括步骤S305和步骤S306。In some embodiments, if the waiting time for payment is less than the preset time threshold, the risk that the payer user's payment code will be secretly photographed and stolen is negligible, and the business system can issue a single payment code to the user terminal. Fig. 8 is a flow chart of another embodiment of the code scanning payment method provided by the second aspect of the present application. The difference between FIG. 8 and FIG. 6 is that the code scanning payment method shown in FIG. 8 may further include steps S305 and S306.
在步骤S305中,在业务系统获取的位置信息关联的付款等待时长因素信息表征的付款等待时长小于预设时长阈值的情况下,接收第二付款码反馈消息。In step S305, when the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is less than the preset time length 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 payer's account indicated by the third information.
第三信息包括第三付款码的信息。The third information includes information of the third payment code.
步骤S305至步骤S306的具体内容可参见上述实施例中的相关说明,在此不再赘述。The specific content of step S305 to step S306 can refer to the relevant description in the above embodiment, and will not be repeated here.
为了便于理解本申请实施例中的扫码支付方法,下面以业务系统一次性下发两个付款码即第一付款码和第二付款码为例来说明用户终端、收款受理终端、支付机构系统、业务系统和账户管理系统之间的扫码支付流程。图9为本申请实施例提供的扫码支付流程的一示例的流程图。如图9所示,扫码支付整体流程可包括步骤S401至步骤S418。In order to facilitate the understanding of the code scanning payment method in the embodiment of the present application, the following takes the business system to issue two payment codes at one time, that is, the first payment code and the second payment code, as an example to illustrate the user terminal, payment acceptance terminal, and payment institution Scan code payment process between system, business system and account management system. FIG. 9 is a flow chart of an example of the code scanning payment process provided by the embodiment of the present application. As shown in FIG. 9 , the overall flow of code scanning payment may include steps S401 to S418.
在步骤S401中,用户终端响应于用户的支付操作,向支付机构系统发送付款码请求消息。In step S401, the user terminal sends a payment code request message to the payment institution system in response to the user's payment operation.
在步骤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 acquires payment waiting time factor information associated with the location information in the payment code request message.
在步骤S404中,业务系统判断付款等待时长因素信息是否满足双码下发条件。In step S404, the business system judges whether the payment waiting time factor information satisfies the dual-code delivery condition.
在步骤S405中,若满足双码下发条件,业务系统向支付机构系统发送第一付款码反馈消息。第一付款码反馈消息包括第一付款码和第二付款码。In step S405, if the condition for issuing the double code is satisfied, the business system sends a feedback message of the first payment code 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 information of the payment code.
在步骤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 information of the read payment code.
在步骤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 information of the payment code in the payment request message is the information of the second payment code, jump to step S413; if the information of the payment code 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 deducts the payment amount from the payer's account indicated by the information of the second payment code in response to the transaction message.
在步骤S415中,业务系统判断交易信息是否满足风险控制条件。若交易信息满足风险控制条件,跳转至步骤S416;若交易信息不满足风险控制条件,跳转至步骤S417。In step S415, the business system judges whether the transaction information satisfies the risk control condition. If the transaction information satisfies the risk control condition, go to step S416; if the transaction information does not meet the risk control condition, go to step S417.
在步骤S416中,业务系统执行交易干预处理。In step S416, the business system executes 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 deducts the payment amount from the payer's account indicated by the information of the first payment code in response to the transaction message.
上述步骤S401至步骤S418中的具体内容可参见上述实施例中的相关内容,在此不再赘述。For the specific content in the above step S401 to step S418, please refer to the related content in the above embodiment, which will not be repeated here.
本申请第三方面提供一种业务设备。图10为本申请第三方面提供的业务设备的一实施例的结构示意图。如图10所示,业务设备500可包括接收模块501、获取模块502、发送模块503和支付处理模块504。The third aspect of the present application provides a service device. Fig. 10 is a schematic structural diagram of an embodiment of the service equipment provided in the third aspect of the present application. As shown in FIG. 10 , the service device 500 may include a receiving module 501 , an acquiring module 502 , a sending module 503 and a payment processing module 504 .
接收模块501可用于接收付款码请求消息。The receiving module 501 can be used to receive the payment code request message.
付款码请求消息由用户终端响应于支付操作生成,包括用户终端的位置信息。The payment code request message is generated by the user terminal in response to the payment operation, and includes location information of the user terminal.
获取模块502可用于获取与位置信息关联的付款等待时长因素信息。The obtaining module 502 may be used to obtain payment waiting time factor information associated with the location information.
发送模块503可用于在与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,以使用户终端获取第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示第一付款码,在感应到触发信号的情况下将显示的第一付款码切换为第二付款码。The sending module 503 can be configured to send the 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 length threshold, so that the user terminal can obtain the first payment code feedback message , and display the first payment code before sensing the trigger signal of the collection acceptance terminal, and switch the displayed first payment code to the second payment code when the trigger signal is sensed.
第一付款码反馈消息包括第一付款码和第二付款码。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, an acoustic wave signal
支付处理模块504可用于在接收的支付请求消息包括第一信息的情况下,指示从第一信息指示的付款方账户中扣除支付金额。The payment processing module 504 may be configured to instruct to deduct the payment amount from the payer's account indicated by the first information when the received payment request message includes the first information.
第一信息包括第二付款码的信息。The first information includes information of the second payment code.
在本申请实施例中,业务系统接收包括用户终端的位置信息的付款码请求消息,根据与该位置信息关联的付款等待时长因素信息,确定该付款等待时长因素信息表征的付款等待时长是否大于等于预设时长阈值,若该付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,可确定付款等待时长较长,存在付款码被偷拍盗用的可能性,业务系统为该用户终端下发第一付款码和第二付款码。第一付款码在用户终端感应到收款受理终端发出的触发信号之前在用户终端显示,第二付款码在用户终端感应到收款受理终端发出的触发信号的情况下在用户终端显示。业务系统接收到的支付请求消息包括第二付款码的信息,表示收款受理终端扫描的是第二付款码。由于第二付款码在在用户终端感应到收款受理终端发出的触发信号的情况下才显示,被偷拍盗用的可能性非常小,因此允许继续正常支付。通过付款等待时长对应的付款码下发策略以及第一付款码和第二付款码的切换,能够有效分辨安全性较高的支付,提高扫码支付的安全性。In this embodiment of the application, the service system receives the payment code request message including the location information of the user terminal, and determines whether the payment waiting time represented by the payment waiting time factor information is greater than or equal to The preset time threshold, 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 stolen by sneak shots, and the business system issues a The first payment code and the second payment code. 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 second payment code was scanned by the payment acceptance terminal. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
上述第一付款码和第二付款码的切换由用户终端主动执行,不需用户参与,可减少用户的操作,在保证扫码支付的安全性的基础上,提高扫码支付的效率。而且,与缩短付款码有效时长的技术方案相比,本申请实施例不需要频繁更新下发付款码,还可在保证扫码支付的安全性的基础上,降低生成即下发付款码的业务系统的处理压力。The above-mentioned switching between the first payment code and the second payment code is actively performed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scanning code payment on the basis of ensuring the security of scanning code payment. Moreover, compared with the technical solution of shortening the effective duration of the payment code, the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
图11为本申请第三方面提供的业务设备的另一实施例的结构示意图。图11与图10的不同之处在于,图11所示的业务设备500还可包括判定模块505。Fig. 11 is a schematic structural diagram of another embodiment of the service equipment provided in the third aspect of the present application. The difference between FIG. 11 and FIG. 10 is that the service device 500 shown in FIG. 11 may further include a determination module 505 .
判定模块505可用于在与位置信息关联的付款等待时长因素信息满足双码下发条件的情况下,确定与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值。The determination module 505 can be used to determine 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 length threshold when the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition.
付款等待时长因素信息包括收款方的状态信息、收款方的排队时长信息、与收款方交易的用户的历史等待时间信息中的一项或两项以上。其 中,历史等待时间信息包括付款码请求时间和付款时间。The payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee. Among them, the historical waiting time information includes payment code request time and payment time.
双码下发条件包括以下一项或多项:The conditions for issuing double codes include one or more of the following:
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于收款繁忙状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money;
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于活动举办状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state;
与位置信息关联的收款方的排队时长信息表征位于位置信息对应的区域内的收款方的排队时长大于等于预设时长阈值;The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
与位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于预设时长阈值。The time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
图12为本申请第三方面提供的业务设备的又一实施例的结构示意图。图12与图10的不同之处在于,图12所示的业务设备500还可包括干预处理模块506。Fig. 12 is a schematic structural diagram of another embodiment of the service equipment provided in the third aspect of the present application. The difference between FIG. 12 and FIG. 10 is that the service device 500 shown in FIG. 12 may further include an intervention processing module 506 .
干预处理模块506可用于在接收的支付请求消息包括第二信息的情况下,若交易信息满足风险控制条件,执行交易干预处理。The intervention processing module 506 may be configured to perform transaction intervention processing if the transaction information satisfies the risk control condition when the received payment request message includes the second information.
支付请求消息包括交易信息。第二信息包括第一付款码的信息。风险控制条件用于判定第二信息指示的支付存在盗用风险。交易干预处理用于对存在盗用风险的支付进行安全处理。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 that the payment indicated by the second information has a risk of embezzlement. Transaction intervention processing is used to securely process payments where there is a risk of misappropriation.
在一些示例中,交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率。In some examples, the transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency.
在一些示例中,风险控制条件包括以下一项或两项以上:In some examples, 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 security amount threshold;
支付频率高于安全频率阈值。The payment frequency is above the safe frequency threshold.
在一些示例中,干预处理模块506执行的交易干预处理可包括:对发送包括第二信息的支付请求消息的用户终端的用户进行身份验证;或者,中止第二信息指示的支付。In some examples, the transaction intervention processing performed by the intervention processing module 506 may include: authenticating the user of the user terminal that sent the payment request message including the second information; or suspending the payment indicated by the second information.
在一些实施例中,上述支付处理模块504还可用于在接收的支付请求 消息包括第二信息的情况下,若交易信息不满足风险控制条件,指示从第二信息指示的付款方账户中扣除支付金额。In some embodiments, the above-mentioned payment processing module 504 can also be configured to instruct to deduct the payment from the payer's account indicated by the second information if the transaction information does not meet the risk control condition when the received payment request message includes the second information. amount.
在一些实施例中,上述发送模块503还可用于在与位置信息关联的付款等待时长因素信息表征的付款等待时长小于预设时长阈值的情况下,发送第二付款码反馈消息,以使用户终端获取第二付款码反馈消息,并显示第三付款码。In some embodiments, the above sending module 503 can also be used to send the 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 the preset time length threshold, so that the user terminal Obtain the feedback message of the second payment code and display the third payment code.
第二付款码反馈消息包括第三付款码。The second payment code feedback message includes the third payment code.
上述支付处理模块504还可用于在接收的支付请求消息包括第三信息的情况下,指示从第三信息指示的付款方账户中扣除支付金额。The above-mentioned payment processing module 504 may also be configured to instruct to deduct the payment amount from the payer's account indicated by the third information when the received payment request message includes the third information.
第三信息包括第三付款码的信息。The third information includes information of the third payment code.
本申请第四方面提供一种用户终端。图13为本申请第四方面提供的用户终端的一实施例的结构示意图。如图13所示,用户终端600可包括发送模块601、接收模块602和显示模块603。A fourth aspect of the present application provides a user terminal. Fig. 13 is a schematic structural diagram of an embodiment of a user terminal provided in the fourth aspect of the present application. As shown in FIG. 13 , 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 configured to send a payment code request message in response to the received payment operation.
付款码请求消息包括用户终端的位置信息。The payment code request message includes location information of the user terminal.
接收模块602可用于在业务系统获取的位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,接收第一付款码反馈消息。The receiving module 602 may be configured 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 acquired by the business system is greater than or equal to the preset time length 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 switch the displayed first payment code to the second payment code when the trigger signal of the payment acceptance terminal is sensed, so that the business system can use the first information to start from the second payment code. The payment amount is deducted from the payer's account indicated by a message.
第一信息包括第二付款码的信息。The first information includes 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, and an acoustic wave signal.
在本申请实施例中,用户终端可通过付款码请求消息,向业务系统请求付款码。付款码请求消息包括位置信息,可体现用户终端申请付款码时的位置。业务系统根据与该位置信息关联的付款等待时长因素信息,确定 该付款等待时长因素信息表征的付款等待时长是否大于等于预设时长阈值,若该付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值,可确定付款等待时长较长,存在付款码被偷拍盗用的可能性,用户终端可通过第一付款码反馈消息接收到业务系统下发的第一付款码和第二付款码。用户终端在感应到收款受理终端发出的触发信号之前显示第一付款码,用户终端感应到收款受理终端发出的触发信号的情况下将显示的付款码切换为第二付款码,使得用户终端在收款受理终端处进行支付时,收款受理终端扫描的是第二付款码,可利用第二付款码的信息通过业务系统继续正常进行支付。由于第二付款码在在用户终端感应到收款受理终端发出的触发信号的情况下才显示,被偷拍盗用的可能性非常小,因此允许继续正常支付。通过付款等待时长对应的付款码下发策略以及第一付款码和第二付款码的切换,能够有效分辨安全性较高的支付,提高扫码支付的安全性。In this embodiment of the application, the user terminal may request the payment code from the service 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. According to the payment waiting time factor information associated with the location information, 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; if the payment waiting time represented by the payment waiting time factor information is greater than or equal to the preset The time threshold is set to determine that the waiting time for payment is long, and there is a possibility that the payment code may be stolen by sneak shots. The user terminal may 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 sent by the payment acceptance terminal, and switches the displayed payment code to the second payment code when the user terminal senses the trigger signal sent by the payment acceptance terminal, so that the user terminal When payment is made at the collection acceptance terminal, what the collection acceptance terminal scans is the second payment code, and the information of the second payment code can be used to continue normal payment through the business system. Since the second payment code is only displayed 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 the 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 the payment with higher security and improve the security of scanning code payment.
上述第一付款码和第二付款码的切换由用户终端主动执行,不需用户参与,可减少用户的操作,在保证扫码支付的安全性的基础上,提高扫码支付的效率。而且,与缩短付款码有效时长的技术方案相比,本申请实施例不需要频繁更新下发付款码,还可在保证扫码支付的安全性的基础上,降低生成即下发付款码的业务系统的处理压力。The above-mentioned switching between the first payment code and the second payment code is actively performed by the user terminal without user participation, which can reduce user operations and improve the efficiency of scanning code payment on the basis of ensuring the security of scanning code payment. Moreover, compared with the technical solution of shortening the effective duration of the payment code, the embodiment of the present application does not need to frequently update and issue the payment code, and can also reduce the business of generating and issuing the payment code on the basis of ensuring the security of scanning the code for payment. System handling pressure.
在一些实施例中,在与位置信息关联的付款等待时长因素信息满足双码下发条件的情况下,位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值。In some embodiments, when the payment waiting time factor information associated with the location information satisfies the dual-code delivery 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 length threshold.
付款等待时长因素信息包括收款方的状态信息、收款方的排队时长信息、与收款方交易的用户的历史等待时间信息中的一项或两项以上。历史等待时间信息包括付款码请求时间和付款时间。The payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee. The historical waiting time information includes payment code request time and payment time.
双码下发条件包括以下一项或多项:The conditions for issuing double codes include one or more of the following:
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于收款繁忙状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money;
与位置信息关联的收款方的状态信息表征位于位置信息对应的区域内的收款方处于活动举办状态;The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in the event holding state;
与位置信息关联的收款方的排队时长信息表征位于位置信息对应的区域内的收款方的排队时长大于等于预设时长阈值;The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold;
与位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于预设时长阈值。The time period between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
图14为本申请第四方面提供的用户终端的另一实施例的结构示意图。图14与图13的不同之处在于,图14所示的用户终端600还可包括处理模块604。Fig. 14 is a schematic structural diagram of another embodiment of a user terminal provided in the fourth aspect of the present application. The difference between FIG. 14 and FIG. 13 is that the user terminal 600 shown in FIG. 14 may further include a processing module 604 .
处理模块604可用于在第一付款码被收款受理终端读取的情况下,若收款受理终端向业务系统发送的支付请求消息中的交易信息满足风险控制条件,接受交易干预处理。The processing module 604 may be configured to accept transaction intervention processing if the transaction information in the payment request message sent by the collection acceptance terminal to the business system satisfies the risk control condition when the first payment code is read by the payment acceptance terminal.
风险控制条件用于判定第二信息指示的支付存在盗用风险。第二信息包括第一付款码的信息。交易干预处理用于对存在盗用风险的支付进行安全处理。The risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement. The second information includes information of the first payment code. Transaction intervention processing is used to securely process payments where there is a risk of misappropriation.
在一些示例中,交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率。In some examples, the transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency.
在一些示例中,风险控制条件包括以下一项或两项以上:In some examples, 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 security amount threshold;
支付频率高于安全频率阈值。The payment frequency is above the safe frequency threshold.
在一些示例中,交易干预处理包括:对用户终端的用户进行身份验证;或者,中止第二信息指示的支付。In some examples, the transaction intervention process includes: authenticating the user of the user terminal; or suspending 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 second information indicates Payment proceeds normally.
在一些实施例中,上述接收模块602还可用于在业务系统获取的位置信息关联的付款等待时长因素信息表征的付款等待时长小于预设时长阈值的情况下,接收第二付款码反馈消息。In some embodiments, the receiving module 602 is further configured to receive the second payment code feedback message when the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is less than a preset time length threshold.
第二付款码反馈消息包括第三付款码The second payment code feedback message includes the third payment code
上述显示模块603还可用用于显示第三付款码,以使业务系统利用第三信息从第三信息指示的付款方账户中扣除支付金额。The above-mentioned display module 603 can also be used to display the 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 information of the third payment code.
本申请第五方面还提供了一种业务设备。图15为本申请第五方面提供的业务设备的一实施例的结构示意图。如图15所示,业务设备700包括存储器701、处理器702及存储在存储器701上并可在处理器702上运行的计算机程序。The fifth aspect of the present application also provides a service device. Fig. 15 is a schematic structural diagram of an embodiment of the service equipment provided in the fifth aspect of the present application. As shown in FIG. 15 , the service device 700 includes a memory 701 , a processor 702 and a computer program stored in the memory 701 and operable on the processor 702 .
在一些示例中,上述处理器702可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。In some examples, the above-mentioned processor 702 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
存储器701可包括只读存储器(Read-Only Memory,ROM),随机存取存储器(Random Access Memory,RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请第一方面的实施例中扫码支付方法所描述的操作。Memory 701 may include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible Memory storage device. Thus, in general, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or multiple processors), it is operable to execute the operations described with reference to the code scanning payment method in the embodiment according to the first aspect of the present application.
处理器702通过读取存储器701中存储的可执行程序代码来运行与可执行程序代码对应的计算机程序,以用于实现上述第一方面的实施例中的扫码支付方法。The processor 702 reads the executable program code stored in the memory 701 to run the computer program corresponding to the executable program code, so as to implement the code scanning payment method in the embodiment of the first aspect above.
在一个示例中,业务设备700还可包括通信接口703和总线704。其中,如图15所示,存储器701、处理器702、通信接口703通过总线704连接并完成相互间的通信。In an example, the service device 700 may further include a communication interface 703 and a bus 704 . Wherein, as shown in FIG. 15 , the memory 701 , the processor 702 , and the communication interface 703 are connected through a bus 704 to complete mutual communication.
通信接口703,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。也可通过通信接口703接入输入设备和/或输出设备。The communication interface 703 is mainly used to realize the communication between various modules, devices, units and/or devices in the embodiments of the present application. Input devices and/or output devices may also be accessed 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可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。The bus 704 includes hardware, software, or both, and couples the components of the business device 700 to each other. For example and without limitation, the bus 704 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Enhanced Industry Standard Architecture, EISA) bus, a Front Side Bus (Front Side Bus, FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low pin count (Low pin count, LPC) bus, memory bus, Micro Channel architecture (Micro Channel Architecture, MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-E) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, Video Electronics Standards Association local ( Video Electronics Standards Association Local Bus, VLB) bus or other suitable bus or a combination of two or more of these. Bus 704 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
本申请第六方面还提供了一种用户终端。图16为本申请第六方面提供的用户终端的一实施例的结构示意图。如图16所示,用户终端800包括存储器801、处理器802及存储在存储器801上并可在处理器802上运行的计算机程序。The sixth aspect of the present application also provides a user terminal. Fig. 16 is a schematic structural diagram of an embodiment of a user terminal provided in the sixth aspect of the present application. As shown in FIG. 16 , the user terminal 800 includes a memory 801 , a processor 802 and computer programs stored in the memory 801 and operable on the processor 802 .
在一些示例中,上述处理器802可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。In some examples, the above-mentioned processor 802 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
存储器801可包括只读存储器(Read-Only Memory,ROM),随机存取存储器(Random Access Memory,RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请第二方面的实施例中扫码支付方法所描述的操作。Memory 801 may include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible Memory storage device. Thus, in general, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or multiple processors), it is operable to execute the operations described with reference to the code scanning payment method in the embodiment according to the second aspect of the present application.
处理器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 code scanning payment method in the embodiment of the second aspect above.
在一个示例中,用户终端800还可包括通信接口803和总线804。其中,如图16所示,存储器801、处理器802、通信接口803通过总线804连接并完成相互间的通信。In an example, the user terminal 800 may further include a communication interface 803 and a bus 804 . Wherein, as shown in FIG. 16 , a memory 801 , a processor 802 , and a communication interface 803 are connected through a bus 804 to complete mutual communication.
通信接口803,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。也可通过通信接口803接入输入设备和/或输出设备。The communication interface 803 is mainly used to implement communication between modules, devices, units and/or devices in the embodiments of the present application. Input devices and/or output devices may also be accessed 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, and couples the components of the user terminal 800 to each other. For example and not limitation, the bus 804 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Enhanced Industry Standard Architecture, EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low pin count (Low pin count, LPC) bus, memory bus, Micro Channel architecture (Micro Channel Architecture, MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-E) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, Video Electronics Standards Association local ( Video Electronics Standards Association Local Bus, VLB) bus or other suitable bus or a combination of two or more of these. Bus 804 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
本申请第七方面提供一种扫码支付系统,该扫码支付系统可包括业务系统和用户终端。A seventh aspect of the present application provides a code scanning payment system, which may include a business system and a user terminal.
用户终端用于响应于接收的支付操作,发送付款码请求消息,付款码请求消息包括用户终端的位置信息。The user terminal is configured to send a payment code request message in response to the received payment operation, where the payment code request message includes location information of the user terminal.
业务系统用于接收付款码请求消息,获取与位置信息关联的付款等待时长因素信息,在与位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,第一付款码反馈消息包括第一付款码和第二付款码。The business system is used to receive the payment code request message, obtain the payment waiting time factor information associated with the location information, and send 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. A payment code feedback message, 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 switch the displayed first payment code to the second payment code when the trigger signal of the payment acceptance terminal is sensed.
业务系统还用于在接收到的支付请求消息包括第一信息的情况下,指示从第一信息指示的付款方账户中扣除支付金额,第一信息包括第二付款码的信息。The business system is further configured to instruct to deduct the payment amount from the payer's 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等的相关说明,在此不再赘述。For the specific content of the business system, please refer to the relevant descriptions of the business system 14 in the above embodiment and the business system in the code scanning payment method in the above embodiment, and will not be repeated here. The service system may include service equipment. For the specific content of the service equipment, please refer to the relevant descriptions of the service equipment 500 and the service equipment 700 in the above-mentioned embodiments, and details are not repeated here.
用户终端的具体内容可参见上述实施例中用户终端11、上述实施例中扫码支付方法中用户终端、上述实施例中的用户终端600以及用户终端800等的相关说明,在此不再赘述。For the specific content of the user terminal, please refer to the relevant descriptions of 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 and the user terminal 800 in the above embodiment, and will not be repeated here.
在一些实施例中,扫码支付系统还可包括支付机构系统,支付机构系统的具体内容可参见上述实施例中支付机构系统13以及扫码支付方法中支付机构系统等的相关说明。In some embodiments, the code scanning payment system may also include a payment institution system. For details of the payment institution system, please refer to the relevant descriptions of the payment institution system 13 in the above embodiments and 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. For details of the payment acceptance terminal, please refer to the relevant descriptions of the payment acceptance terminal 12 in the above embodiment and the payment acceptance terminal in the scanning code payment method. .
在一些实施例中,扫码支付系统还可包括账户管理系统,收款受理终端的具体内容可参见上述实施例中账户管理系统15以及扫码支付方法中账户管理系统等的相关说明。In some embodiments, the code scanning payment system may also include an account management system. For details of the collection acceptance terminal, please refer to the relevant descriptions of the account management system 15 in the above embodiments and the account management system in the code scanning payment method.
本申请第八方面还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序指令,该计算机程序指令被处理器执行时可实现上述第一方面的实施例中的扫码支付方法、第二方面的实施例中的扫码支付方法,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,上述计算机可读存储介质可包括非暂态计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等,在此并不限定。The eighth aspect of the present application also 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 in the embodiment of the above-mentioned first aspect can be realized The payment method and the code-scanning payment method in the embodiment of the second aspect can achieve the same technical effect, so in order to avoid repetition, details are not repeated here. Wherein, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk. etc., are not limited here.
需要明确的是,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。对于装置实施例、设备实施例、计算机可读 存储介质实施例而言,相关之处可以参见方法实施例的说明部分。本申请并不局限于上文所描述并在图中示出的特定步骤和结构。本领域的技术人员可以在领会本申请的精神之后,作出各种改变、修改和添加,或者改变步骤之间的顺序。并且,为了简明起见,这里省略对已知方法技术的详细描述。It should be clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. place. For the apparatus embodiments, device embodiments, and computer-readable storage medium embodiments, for relevant parts, refer to the description of the method embodiments. The application is not limited to the specific steps and structures described above and shown in the drawings. Those skilled in the art may make various changes, modifications, and additions, or change the order between steps, after appreciating the spirit of the present application. Also, for the sake of brevity, detailed descriptions of known methods and techniques are omitted here.
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It will be understood that each block of the flowchart and/or block diagrams, and combinations of blocks in the flowchart and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that execution of these instructions via the processor of the computer or other programmable data processing apparatus enables Implementation of the functions/actions specified in one or more blocks of the flowchart and/or block diagrams. Such processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and Combination of computer instructions to achieve.
本领域技术人员应能理解,上述实施例均是示例性而非限制性的。在不同实施例中出现的不同技术特征可以进行组合,以取得有益效果。本领域技术人员在研究附图、说明书及权利要求书的基础上,应能理解并实现所揭示的实施例的其他变化的实施例。在权利要求书中,术语“包括”并不排除其他装置或步骤;数量词“一个”不排除多个;术语“第一”、“第二”用于标示名称而非用于表示任何特定的顺序。权利要求中的任何附图标记均不应被理解为对保护范围的限制。权利要求中出现的多个部分的功能可以由一个单独的硬件或软件模块来实现。某些技术特征出现在不同的从属权利要求中并不意味着不能将这些技术特征进行组合以取得有益效果。Those skilled in the art should understand that the above-mentioned embodiments are illustrative rather than restrictive. Different technical features in different embodiments can be combined to achieve beneficial effects. Those skilled in the art should be able to understand and implement other modified embodiments of the disclosed embodiments on the basis of studying the drawings, specification and claims. In the claims, the term "comprising" does not exclude other means or steps; the numerical word "a" does not exclude a plurality; the terms "first" and "second" are used to indicate names and not to indicate any specific order . Any reference signs in the claims should not be construed as limiting the scope. The functions of several parts appearing in the claims can be realized by a single hardware or software module. The appearance of certain technical features in different dependent claims does not mean that these technical features cannot be combined to obtain beneficial effects.

Claims (22)

  1. 一种扫码支付方法,应用于业务系统,所述方法包括:A code scanning payment method applied to a business system, the method comprising:
    接收付款码请求消息,所述付款码请求消息由用户终端响应于支付操作生成,包括所述用户终端的位置信息;receiving a payment code request message, the payment code request message being generated by the user terminal in response to a payment operation, including location information of the user terminal;
    获取与所述位置信息关联的付款等待时长因素信息;Acquiring payment waiting time factor information associated with the location information;
    在与所述位置信息关联的所述付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,所述第一付款码反馈消息包括第一付款码和第二付款码,以使所述用户终端获取所述第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示所述第一付款码,在感应到所述触发信号的情况下将显示的所述第一付款码切换为所述第二付款码;When the payment waiting time represented by the payment waiting time length factor information associated with the location information is greater than or equal to the preset time length threshold, 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, so that the user terminal obtains the feedback message of the first payment code, and displays the first payment code before sensing the trigger signal of the collection acceptance terminal, and displays the first payment code after sensing the trigger signal In the case of , switch the displayed first payment code to the second payment code;
    在接收的支付请求消息包括第一信息的情况下,指示从所述第一信息指示的付款方账户中扣除支付金额,所述第一信息包括所述第二付款码的信息。When the received payment request message includes the first information, it is instructed to deduct the payment amount from the payer's account indicated by the first information, and the first information includes the information of the second payment code.
  2. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    在与所述位置信息关联的所述付款等待时长因素信息满足双码下发条件的情况下,确定与所述位置信息关联的所述付款等待时长因素信息表征的付款等待时长大于等于所述预设时长阈值,In the case that the payment waiting time factor information associated with the location information satisfies the dual-code delivery condition, 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 predetermined Set the duration threshold,
    其中,所述付款等待时长因素信息包括收款方的状态信息、收款方的排队时长信息、与收款方交易的用户的历史等待时间信息中的一项或两项以上,所述历史等待时间信息包括付款码请求时间和付款时间,Wherein, the payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee. Time information includes payment code request time and payment time,
    所述双码下发条件包括以下一项或多项:The conditions for issuing the double code include one or more of the following:
    与所述位置信息关联的收款方的状态信息表征位于所述位置信息对应的区域内的收款方处于收款繁忙状态,The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money,
    与所述位置信息关联的收款方的状态信息表征位于所述位置信息对应的区域内的收款方处于活动举办状态,The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in an event holding state,
    与所述位置信息关联的收款方的排队时长信息表征位于所述位置信息对应的区域内的收款方的排队时长大于等于所述预设时长阈值,The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold,
    与所述位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于所述预设时长阈值。The time length between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  3. 根据权利要求1所述的方法,其中,所述支付请求消息包括交易信息,The method of claim 1, wherein the payment request message includes transaction information,
    所述方法还包括:The method also includes:
    在接收的支付请求消息包括所述第二信息的情况下,若所述交易信息满足风险控制条件,执行交易干预处理,If the received payment request message includes the second information, if the transaction information satisfies the risk control condition, execute transaction intervention processing,
    其中,所述第二信息包括所述第一付款码的信息,所述风险控制条件用于判定所述第二信息指示的支付存在盗用风险,所述交易干预处理用于对存在盗用风险的支付进行安全处理。Wherein, the second information includes the information of the first payment code, the risk control condition is used to determine that the payment indicated by the second information has a risk of embezzlement, and the transaction intervention process is used for payment that has a risk of embezzlement. Dispose of safely.
  4. 根据权利要求3所述的方法,其中,The method according to claim 3, wherein,
    所述交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率;The transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency;
    所述风险控制条件包括以下一项或两项以上:The risk control conditions include one or more of the following:
    所述收款方商户地址所在位置与所述位置信息指示的位置之间的距离大于安全距离阈值,The distance between the address of the payee merchant and the location indicated by the location information is greater than a safety distance threshold,
    所述支付金额大于安全金额阈值,The payment amount is greater than the security amount threshold,
    所述支付频率高于安全频率阈值。The payment frequency is higher than a safe frequency threshold.
  5. 根据权利要求3所述的方法,其中,所述交易干预处理包括:The method according to claim 3, wherein said transaction intervention process comprises:
    对发送包括所述第二信息的所述支付请求消息的所述用户终端的用户进行身份验证;authenticating the user of the user terminal sending the payment request message including the second information;
    或者,or,
    中止所述第二信息指示的支付。Suspend the payment indicated by the second information.
  6. 根据权利要求3所述的方法,还包括:The method according to claim 3, further comprising:
    在接收的所述支付请求消息包括所述第二信息的情况下,若所述交易信息不满足风险控制条件,指示从所述第二信息指示的付款方账户中扣除支付金额。When the received payment request message includes the second information, if the transaction information does not satisfy the risk control condition, instruct to deduct the payment amount from the payer's account indicated by the second information.
  7. 根据权利要求1所述的方法,还包括:The method according to 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, a second payment code feedback message is sent, and the second payment code feedback message includes the third a payment code, so that the user terminal acquires the feedback message of the second payment code and displays the third payment code;
    在接收的支付请求消息包括第三信息的情况下,指示从所述第三信息指示的付款方账户中扣除支付金额,所述第三信息包括所述第三付款码的信息。When the received payment request message includes third information, it is instructed to deduct the payment amount from the payer's account indicated by the third information, where the third information includes information about the third payment code.
  8. 根据权利要求1至7中任意一项所述的方法,其中,所述触发信号包括以下一项或两项以上:The method according to any one of claims 1 to 7, wherein the trigger signal includes one or more of the following:
    近场通信信号、蓝牙信号、声波信号。Near field communication signal, bluetooth signal, acoustic wave signal.
  9. 一种扫码支付方法,应用于用户终端,所述方法包括:A code scanning payment method applied to a user terminal, the method comprising:
    响应于接收的支付操作,发送付款码请求消息,所述付款码请求消息包括所述用户终端的位置信息;In response to the received payment operation, sending a payment code request message, the payment code request message including 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 acquired by the business system is greater than or equal to the preset time length threshold, the first payment code feedback message is received, and the first payment code feedback message is sent by the business system Generate, including the first payment code and the second payment code;
    显示所述第一付款码,并在感应到收款受理终端的触发信号的情况下,将显示的所述第一付款码切换为所述第二付款码,以使所述业务系统利用第一信息从所述第一信息指示的付款方账户中扣除支付金额,所述第一信息包括所述第二付款码的信息。displaying the first payment code, and switching the displayed first payment code to the second payment code when a trigger signal from the payment acceptance terminal is sensed, so that the business system uses the first payment code The information deducts the payment amount from the payer's account indicated by the first information, and the first information includes the information of the second payment code.
  10. 根据权利要求9所述的方法,其中,The method of claim 9, wherein,
    在与所述位置信息关联的所述付款等待时长因素信息满足双码下发条件的情况下,所述位置信息关联的所述付款等待时长因素信息表征的付款等待时长大于等于所述预设时长阈值,In the case that the payment waiting time factor information associated with the location information satisfies the dual-code delivery 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 length threshold,
    其中,所述付款等待时长因素信息包括收款方的状态信息、收款方的排队时长信息、与收款方交易的用户的历史等待时间信息中的一项或两项以上,所述历史等待时间信息包括付款码请求时间和付款时间,Wherein, the payment waiting time factor information includes one or more of the status information of the payee, the queuing time information of the payee, and the historical waiting time information of users who trade with the payee. Time information includes payment code request time and payment time,
    所述双码下发条件包括以下一项或多项:The conditions for issuing the double code include one or more of the following:
    与所述位置信息关联的收款方的状态信息表征位于所述位置信息对应 的区域内的收款方处于收款繁忙状态,The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in a busy state of receiving money,
    与所述位置信息关联的收款方的状态信息表征位于所述位置信息对应的区域内的收款方处于活动举办状态,The state information of the payee associated with the location information indicates that the payee located in the area corresponding to the location information is in an event holding state,
    与所述位置信息关联的收款方的排队时长信息表征位于所述位置信息对应的区域内的收款方的排队时长大于等于所述预设时长阈值,The queuing duration information of the payee associated with the location information indicates that the queuing duration of the payee located in the area corresponding to the location information is greater than or equal to the preset duration threshold,
    与所述位置信息关联的与收款方交易的用户的付款码请求时间与付款时间之间的时长大于等于所述预设时长阈值。The time length between the payment code request time and the payment time of the user associated with the location information and the payee transaction is greater than or equal to the preset time length threshold.
  11. 根据权利要求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 satisfies the risk control condition, accept transaction intervention processing ,
    其中,所述风险控制条件用于判定第二信息指示的支付存在盗用风险,所述第二信息包括所述第一付款码的信息,所述交易干预处理用于对存在盗用风险的支付进行安全处理。Wherein, the risk control condition is used to determine that the payment indicated by the second information has a risk of theft, the second information includes the information of the first payment code, and the transaction intervention process is used to secure the payment with the risk of theft. deal with.
  12. 根据权利要求11所述的方法,其中,所述交易信息包括以下一项或两项以上:收款方商户地址、支付金额、支付频率;The method according to claim 11, wherein the transaction information includes one or more of the following: payee merchant address, payment amount, payment frequency;
    所述风险控制条件包括以下一项或两项以上:The risk control conditions include one or more of the following:
    所述收款方商户地址所在位置与所述位置信息指示的位置之间的距离大于安全距离阈值,The distance between the address of the payee merchant and the location indicated by the location information is greater than a safety distance threshold,
    所述支付金额大于安全金额阈值,The payment amount is greater than the security amount threshold,
    所述支付频率高于安全频率阈值。The payment frequency is higher than a safe frequency threshold.
  13. 根据权利要求11所述的方法,其中,所述交易干预处理包括:The method according to claim 11, wherein said transaction intervention processing comprises:
    对所述用户终端的用户进行身份验证;authenticating the user of the user terminal;
    或者,or,
    中止所述第二信息指示的支付。Suspend the payment indicated by the second information.
  14. 根据权利要求11所述的方法,还包括:The method of claim 11, 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 does not meet the risk control conditions, the second The payment indicated by the second message is carried out normally.
  15. 根据权利要求9所述的方法,还包括:The method of claim 9, further comprising:
    在业务系统获取的所述位置信息关联的付款等待时长因素信息表征的付款等待时长小于所述预设时长阈值的情况下,接收第二付款码反馈消息,所述第二付款码反馈消息包括第三付款码;When the payment waiting time represented by the payment waiting time factor information associated with the location information acquired by the business system is less than the preset time threshold, receive a second payment code feedback message, the second payment code feedback message includes the first Three payment code;
    显示所述第三付款码,以使所述业务系统利用第三信息从所述第三信息指示的付款方账户中扣除支付金额,所述第三信息包括所述第三付款码的信息。The third payment code is displayed, so that the business system uses third information to deduct the payment amount from the payer's account indicated by the third information, and the third information includes the information of the third payment code.
  16. 根据权利要求9至15中任意一项所述的方法,其中,所述触发信号包括以下一项或两项以上:The method according to any one of claims 9 to 15, wherein the trigger signal includes one or more of the following:
    近场通信信号、蓝牙信号、声波信号。Near field communication signal, bluetooth signal, acoustic wave signal.
  17. 一种业务设备,包括:A business device comprising:
    接收模块,用于接收付款码请求消息,所述付款码请求消息由用户终端响应于支付操作生成,包括所述用户终端的位置信息;A receiving module, configured to receive a payment code request message, the payment code request message is generated by the user terminal in response to the payment operation, including the location information of the user terminal;
    获取模块,用于获取与所述位置信息关联的付款等待时长因素信息;An acquisition module, configured to acquire payment waiting time factor information associated with the location information;
    发送模块,用于在与所述位置信息关联的所述付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,所述第一付款码反馈消息包括第一付款码和第二付款码,以使所述用户终端获取所述第一付款码反馈消息,并在感应到收款受理终端的触发信号之前显示所述第一付款码,在感应到所述触发信号的情况下将显示的所述第一付款码切换为所述第二付款码;A sending module, configured to send a first payment code feedback message when the payment waiting time represented by the payment waiting time length factor information associated with the location information is greater than or equal to a preset time length threshold, and the first payment code feedback message The message includes the first payment code and the second payment code, so that the user terminal obtains the feedback message of the first payment code, and displays the first payment code before sensing the trigger signal of the collection acceptance terminal, and the first payment code is sensed Switching the displayed first payment code to the second payment code when the trigger signal is received;
    支付处理模块,用于在接收的支付请求消息包括第一信息的情况下,指示从所述第一信息指示的付款方账户中扣除支付金额,所述第一信息包括所述第二付款码的信息。A payment processing module, configured to instruct to deduct the payment amount from the payer's account indicated by the first information when the received payment request message includes first information, and the first information includes the information of the second payment code information.
  18. 一种用户终端,包括:A user terminal, comprising:
    发送模块,用于响应于接收的支付操作,发送付款码请求消息,所述付款码请求消息包括所述用户终端的位置信息;A sending module, configured to send a payment code request message in response to the received payment operation, where the payment code request message includes the location information of the user terminal;
    接收模块,用于在业务系统获取的所述位置信息关联的付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,接收第一付款码反馈消息,所述第一付款码反馈消息由业务系统生成,包括第一付 款码和第二付款码;The receiving module is configured 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 length threshold, and the first payment code The feedback message is generated by the business system, including the first payment code and the second payment code;
    显示模块,用于显示所述第一付款码,并在感应到收款受理终端的触发信号的情况下,将显示的所述第一付款码切换为所述第二付款码,以使所述业务系统利用第一信息从所述第一信息指示的付款方账户中扣除支付金额,所述第一信息包括所述第二付款码的信息。a display module, configured to display the first payment code, and switch the displayed first payment code to the second payment code when the trigger signal of the collection acceptance terminal is sensed, so that the The business system uses the first information to deduct the payment amount from the payer's account indicated by the first information, and the first information includes the information of the second payment code.
  19. 一种业务设备,包括:处理器以及存储有计算机程序指令的存储器;A business device, including: a processor and a memory storing computer program instructions;
    所述处理器执行所述计算机程序指令时实现如权利要求1至8中任意一项所述的扫码支付方法。When the processor executes the computer program instructions, the code scanning payment method according to any one of claims 1 to 8 is realized.
  20. 一种用户终端,包括:处理器以及存储有计算机程序指令的存储器;A user terminal, comprising: a processor and a memory storing computer program instructions;
    所述处理器执行所述计算机程序指令时实现如权利要求9至16中任意一项所述的扫码支付方法。When the processor executes the computer program instructions, the code scanning payment method according to any one of claims 9 to 16 is realized.
  21. 一种扫码支付系统,包括用户终端和业务系统;A code scanning payment system, including a user terminal and a business system;
    所述用户终端用于响应于接收的支付操作,发送付款码请求消息,所述付款码请求消息包括所述用户终端的位置信息;The user terminal is configured to send a payment code request message in response to the received payment operation, and the payment code request message includes the location information of the user terminal;
    所述业务系统用于接收付款码请求消息,获取与所述位置信息关联的付款等待时长因素信息,在与所述位置信息关联的所述付款等待时长因素信息表征的付款等待时长大于等于预设时长阈值的情况下,发送第一付款码反馈消息,所述第一付款码反馈消息包括第一付款码和第二付款码;The business system is used to receive a payment code request message, acquire payment waiting time factor information associated with the location information, and 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 In the case of a duration threshold, 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 switch the displayed first payment code to the second payment code when a trigger signal from the collection acceptance terminal is sensed;
    所述业务系统还用于在接收到的支付请求消息包括第一信息的情况下,指示从所述第一信息指示的付款方账户中扣除支付金额,所述第一信息包括所述第二付款码的信息。The business system is further configured to instruct to deduct the payment amount from the payer's account indicated by the first information when the received payment request message includes the first information, and the first information includes the second payment code information.
  22. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1至16中任意一项所述的扫码支付方法。A computer-readable storage medium, computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the scanning code payment method according to any one of claims 1 to 16 is realized .
PCT/CN2022/109433 2022-02-11 2022-08-01 Code-scanning payment method, user terminal, service device, system, and medium WO2023151246A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2023151246A1 true WO2023151246A1 (en) 2023-08-17

Family

ID=81672669

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109433 WO2023151246A1 (en) 2022-02-11 2022-08-01 Code-scanning payment method, user terminal, service device, system, and medium

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Code scanning payment method, user terminal, service equipment, system and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111144877A (en) * 2019-12-13 2020-05-12 维沃移动通信有限公司 Code scanning payment method and electronic equipment
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN112837057A (en) * 2019-11-22 2021-05-25 华为技术有限公司 Method for preventing payment code from being stolen, terminal equipment and computer readable storage medium
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Code scanning payment method, user terminal, service equipment, system and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837057A (en) * 2019-11-22 2021-05-25 华为技术有限公司 Method for preventing payment code from being stolen, terminal equipment and computer readable storage medium
CN111144877A (en) * 2019-12-13 2020-05-12 维沃移动通信有限公司 Code scanning payment method and electronic equipment
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN114548975A (en) * 2022-02-11 2022-05-27 中国银联股份有限公司 Code scanning payment method, user terminal, service equipment, system and medium

Also Published As

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

Similar Documents

Publication Publication Date Title
US20220101298A1 (en) Method of performing transactions with contactless payment devices using pre-tap and two-tap operations
US11461760B2 (en) Authentication using application authentication element
US9824355B2 (en) Method of performing transactions with contactless payment devices using pre-tap and two-tap operations
CN104766205B (en) A kind of method of mobile payment and device
US11625722B2 (en) Systems and methods for authenticating potentially fraudulent transactions using voice print recognition
US20150100475A1 (en) System and method for managing payday accounts over a mobile network
US9336523B2 (en) Managing a secure transaction
WO2016088087A1 (en) Third party access to a financial account
WO2023151246A1 (en) Code-scanning payment method, user terminal, service device, system, and medium
CN112669042A (en) Payment method, server, user terminal, system and storage medium
CN109615355B (en) Method and system for processing transfer transaction
US20190311361A1 (en) Adding security to a transaction by verifying locations
JP2017504916A (en) System for monitoring financial transactions from credit settlement device and method of the system
CN104331801A (en) Method for implementing safety payment by dynamic code authorization
TWI839876B (en) QR code payment method, user terminal, business equipment, system and medium
US11005882B1 (en) Reputation-based transaction security
KR101889360B1 (en) Method of paying mobile, terminal performing the same, server performing the same and storage media storing the same
CN112712353B (en) Digital currency zero-payment method, system and terminal
CN112330323A (en) Method for generating token seed and two-dimensional code, payment method and payment device
AU2016277629A1 (en) Authentication using application authentication element
US20150324797A1 (en) Phone-number-based payments
KR101657633B1 (en) System and method for providing double transaction of credit card processing services
KR20110078147A (en) Method for certification using text message in paying with payment card and system therefor
AU2015200732B2 (en) Authentication using application authentication element
CN117974138A (en) Digital currency transaction method, security chip and terminal

Legal Events

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

Ref document number: 22925605

Country of ref document: EP

Kind code of ref document: A1