QR code-based payment methods and devices

By generating a decryption key on the bank's back-end server and encrypting a QR code on the buyer's client, the problem of easy information theft in QR code payments is solved, thus improving the security of payment information and enhancing the user experience.

CN115392901BActive Publication Date: 2026-11-17BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211057919.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-30
Publication Date
2026-11-17
Estimated Expiration
2042-08-30

AI Technical Summary

Technical Problem

In existing QR code payment methods, payment information can be easily obtained by others, leading to financial losses for users and affecting user experience. Furthermore, payment QR codes lack specificity and are easily stolen.

Method used

The bank's back-end server generates and manages decryption keys, and generates encryption keys based on the seller's business information. This ensures that the encryption and decryption process of the payment QR code is only valid for specific merchants. Combined with the buyer's client encrypting the QR code before payment, the security of payment information is ensured.

Benefits of technology

It improves information security during QR code payments, protects user funds, enhances user experience, and reduces the risk of payment information being stolen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115392901B_ABST
    Figure CN115392901B_ABST
Patent Text Reader

Abstract

This invention discloses a QR code-based payment method and apparatus, relating to the field of computer data processing technology. The method includes: receiving a payment application submitted by a seller, the payment application including: the seller's identification information, and the buyer's: an encrypted payment QR code and information on the amount to be paid; querying a designated database based on the seller's identification information to obtain a decryption key; decrypting the buyer's encrypted payment QR code using the obtained decryption key to obtain the buyer's payment QR code; parsing the buyer's payment QR code to obtain the buyer's payment information, wherein the payment information includes information on a bank account pre-selected by the buyer; and deducting the amount from the bank account corresponding to the buyer's pre-selected bank account information based on the buyer's amount to be paid, transferring the deducted amount to the seller's pre-registered bank account. This method ensures user fund security and improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer data processing technology, and in particular to a payment method and apparatus based on QR codes. Background Technology

[0002] This section is intended to provide background or context for the embodiments of the invention set forth in the claims. The description herein is not an admission that it is prior art simply because it is included in this section.

[0003] Paying via QR code is a very common payment method in daily life. However, because the QR code contains the user's payment information, if it is obtained by others during the presentation process, it can easily cause financial losses to the user and affect the user experience.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a QR code-based payment method applied to a bank's back-end server to improve information security when using QR code payments, ensure user fund security, and enhance user experience. The method includes:

[0006] Receive a payment request submitted by the seller, the payment request including: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information;

[0007] The system queries a designated database based on the seller's identification information to obtain the decryption key. The designated database stores decryption keys corresponding to different seller identification information.

[0008] Based on the obtained decryption key, the buyer's encrypted payment QR code is decrypted to obtain the buyer's payment QR code.

[0009] Parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank account information pre-selected by the buyer;

[0010] Based on the buyer's outstanding payment amount, the payment will be deducted from the bank account corresponding to the bank account information pre-selected by the buyer, and the deducted amount will be transferred to the bank account reserved by the seller.

[0011] This invention also provides a QR code-based payment method applied to the buyer's client to improve information security when using QR code payments, ensure user fund security, and improve user experience. The method includes:

[0012] Before the buyer makes payment by showing a payment QR code, the seller provides an encryption key, which is generated by the bank's back-end server based on the seller's business information.

[0013] The buyer's payment QR code is encrypted using the encryption key provided by the seller, resulting in an encrypted payment QR code.

[0014] Show the encrypted payment QR code to the seller so that the seller can send the buyer's encrypted payment QR code and the amount to be paid to the bank's back-end server for parsing and transfer.

[0015] This invention also provides a QR code-based payment device applied to a bank's back-end server to improve information security when using QR code payments, ensure user fund security, and improve user experience. The device includes:

[0016] The payment application receiving module is used to receive payment applications submitted by the seller. The payment application includes: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information;

[0017] The decryption key acquisition module is used to query a specified database based on the seller's identification information to obtain the decryption key, wherein the specified database stores decryption keys corresponding to different seller identification information;

[0018] The decryption module is used to decrypt the buyer's encrypted payment QR code based on the obtained decryption key, and obtain the buyer's payment QR code.

[0019] The parsing module is used to parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank card information pre-selected by the buyer.

[0020] The deduction module is used to deduct fees from the bank account corresponding to the bank account information pre-selected by the buyer based on the buyer's outstanding payment amount, and transfer the deducted amount to the bank account reserved by the seller.

[0021] This invention also provides a QR code-based payment device applied to the buyer's client to improve information security when using QR code payments, ensure user fund security, and improve user experience. The device includes:

[0022] The encryption key acquisition module is used to obtain the encryption key provided by the seller before the buyer pays by showing the payment QR code. The encryption key is generated by the bank's back-end server based on the seller's business information.

[0023] The encryption module is used to encrypt the buyer's payment QR code based on the encryption key provided by the seller, so as to obtain an encrypted payment QR code.

[0024] The presentation module is used to present the encrypted payment QR code to the seller, so that the seller can send the buyer's encrypted payment QR code and the amount to be paid to the bank's back-end server for parsing and transfer.

[0025] This invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the above-described QR code-based payment method.

[0026] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described QR code-based payment method.

[0027] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described QR code-based payment method.

[0028] When applied to a bank's back-end server in this embodiment of the invention, a payment application submitted by the seller is received. The payment application includes: the seller's identification information, and the buyer's: an encrypted payment QR code and the amount to be paid. The system queries a designated database based on the seller's identification information to obtain a decryption key. Using the obtained decryption key, the buyer's encrypted payment QR code is decrypted to obtain the buyer's payment QR code. The buyer's payment QR code is parsed to obtain the buyer's payment information, which includes the buyer's pre-selected bank account information. Based on the buyer's amount to be paid, the payment is deducted from the bank account corresponding to the buyer's pre-selected bank account information, and the deducted amount is transferred to the seller's pre-registered bank account. By obtaining the decryption key and decrypting the buyer's encrypted payment QR code, information security when using payment QR codes can be improved, user funds can be protected, and user experience can be enhanced.

[0029] When applied to the buyer's client in this embodiment of the invention, before the buyer pays by presenting a payment QR code, an encryption key provided by the seller is obtained. Based on the encryption key provided by the seller, the buyer's payment QR code is encrypted to obtain an encrypted payment QR code. The encrypted payment QR code is then presented to the seller, who then sends the buyer's encrypted payment QR code and the amount to be paid to the bank's backend server for parsing and transfer. Encrypting the buyer's payment QR code improves information security when using payment QR codes, ensures user fund security, and enhances user experience. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0031] Figure 1 This is a flowchart illustrating the QR code-based payment method applied to a bank's back-end server in an embodiment of the present invention.

[0032] Figure 2 This is a flowchart illustrating the method for generating encryption and decryption keys in an embodiment of the present invention.

[0033] Figure 3 This is a flowchart illustrating the QR code-based payment method applied to the buyer's client in an embodiment of the present invention.

[0034] Figure 4 This is a schematic diagram of the structure of a QR code-based payment device applied to a bank's back-end server in an embodiment of the present invention;

[0035] Figure 5 This is a schematic diagram of a specific example of a QR code-based payment device applied to a bank's back-end server, as described in this invention.

[0036] Figure 6 This is a schematic diagram of the structure of a QR code-based payment device applied to the buyer's client in an embodiment of the present invention;

[0037] Figure 7 This is a schematic diagram of a specific example of a QR code-based payment device applied to a buyer's client in an embodiment of the present invention;

[0038] Figure 8 This is a schematic diagram of a computer device structure according to an embodiment of the present invention. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0040] The inventors discovered that when making payments by presenting a payment QR code, the QR code contains the user's payment information. If this information is obtained by others during the presentation process, it can easily lead to financial losses for the user, negatively impacting the user experience. Furthermore, although current payment QR codes are updated periodically, they lack specificity, meaning that others can still use a stolen QR code to make payments within its validity period. Therefore, this invention provides a QR code-based payment method to solve the above problems.

[0041] Figure 1 This is a flowchart illustrating the QR code-based payment method applied to a bank's back-end server in an embodiment of the present invention. Figure 1 As shown, the QR code-based payment method in this embodiment of the invention may include:

[0042] Step 101: Receive a payment request submitted by the seller, the payment request including: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information;

[0043] Step 102: Query the specified database based on the seller's identification information to obtain the decryption key, where the specified database stores the decryption keys corresponding to different seller identification information;

[0044] Step 103: Decrypt the buyer's encrypted payment QR code using the obtained decryption key to obtain the buyer's payment QR code.

[0045] Step 104: Parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank account information pre-selected by the buyer;

[0046] Step 105: Based on the buyer's outstanding payment amount, deduct the fee from the bank account corresponding to the bank account information pre-selected by the buyer, and transfer the deducted amount to the bank account reserved by the seller.

[0047] In this embodiment of the invention, the bank's back-end server can first receive a payment application submitted by the seller, wherein the payment application includes: the seller's identification information, and the buyer's: an encrypted payment QR code and the amount to be paid. In this embodiment, the seller's identification information may include, for example, the seller's name information, the seller's number information, and the brand information to which the seller belongs, etc.

[0048] Then, the bank's back-end server can query a designated database based on the seller's identification information to obtain the decryption key. The designated database stores decryption keys corresponding to different seller identification information. Based on the obtained decryption key, the bank decrypts the buyer's encrypted payment QR code to obtain the buyer's payment QR code.

[0049] In practice, the payment QR code presented by the buyer is encrypted in advance using the encryption key provided by the seller; while the encryption key owned by the seller and the decryption key obtained by querying the bank's back-end server are generated by the bank's back-end server based on the seller's business information.

[0050] Since different sellers have different business information, generating encryption and decryption keys based on the seller's business information ensures that the encrypted payment QR code presented by the buyer is only valid for the current seller. Even if others obtain the encrypted payment QR code, they cannot use it at other merchants, which helps reduce the risk of payment information theft and protects users' funds. In this embodiment, in addition to generating encryption and decryption keys based on the business information of a single seller, for shopping malls, brands, etc., which include multiple sellers, encryption and decryption keys can be generated by combining the business information of multiple sellers, allowing multiple sellers to use them simultaneously.

[0051] The following describes the specific steps for the bank's back-end server to generate encryption and decryption keys.

[0052] Figure 2 The flowchart of the method for generating encryption and decryption keys in this embodiment of the invention is as follows: Figure 2 As shown, in one embodiment, before receiving a payment request submitted by the seller, the method further includes:

[0053] Step 201: Receive a key acquisition application submitted by the seller, wherein the key acquisition application includes the seller's: business information and identification information;

[0054] Step 202: Generate an encryption key and a decryption key based on the seller's business information;

[0055] Step 203: Store the decryption key in the designated database and establish a correspondence between the seller's identification information and the decryption key;

[0056] Step 204: Send the encryption key to the seller so that the seller can provide the encryption key to the buyer to encrypt the payment QR code before the buyer pays by showing the payment QR code.

[0057] In one embodiment, the operational information includes at least one or any combination of the following:

[0058] Information on business qualifications, business location, scope of products sold, and scope of business hours.

[0059] After decrypting the buyer's payment QR code on the bank's back-end server, the payment QR code can be parsed to obtain the buyer's payment information, including the bank account information pre-selected by the buyer. Finally, based on the buyer's outstanding payment amount, the payment can be deducted from the bank account corresponding to the pre-selected bank account information and transferred to the bank account reserved by the seller.

[0060] Figure 3 This is a flowchart illustrating the QR code-based payment method applied to the buyer's client in an embodiment of the present invention. Figure 3 As shown, the QR code-based payment method in this embodiment of the invention may include:

[0061] Step 301: Before the buyer makes payment by showing a payment QR code, obtain the encryption key provided by the seller, which is generated by the bank's back-end server based on the seller's business information;

[0062] Step 302: Encrypt the buyer's payment QR code using the encryption key provided by the seller to obtain the encrypted payment QR code.

[0063] Step 303: Show the encrypted payment QR code to the seller so that the seller can send the buyer's encrypted payment QR code and the amount to be paid to the bank's back-end server for parsing and transfer.

[0064] In practice, before the buyer makes payment by showing a payment QR code, the buyer's client can obtain the encryption key provided by the seller. The encryption key is generated by the bank's back-end server based on the seller's business information.

[0065] In one embodiment, before the buyer pays by presenting a payment QR code, the method may further include: generating a payment QR code based on the buyer's payment information, wherein the payment information includes bank account information pre-selected by the buyer.

[0066] In one embodiment, the operational information includes at least one or any combination of the following:

[0067] Information on business qualifications, business location, scope of products sold, and scope of business hours.

[0068] After obtaining the encryption key provided by the seller, the buyer's client can encrypt the buyer's payment QR code using the encryption key provided by the seller, thus obtaining an encrypted payment QR code. Finally, the encrypted payment QR code can be presented to the seller, so that the seller can send the buyer's encrypted payment QR code and the amount to be paid to the bank's back-end server for parsing and transfer.

[0069] This invention also provides a QR code-based payment device, as described in the following embodiments. Since the principle by which this device solves the problem is similar to that of the QR code-based payment method, the implementation of this device can be found in the implementation of the method, and repeated details will not be elaborated further.

[0070] Figure 4 This is a schematic diagram of the structure of a QR code-based payment device applied to a bank's back-end server in an embodiment of the present invention. Figure 4 As shown, the QR code-based payment device in this embodiment of the invention may specifically include:

[0071] The payment application receiving module 401 is used to receive a payment application submitted by the seller. The payment application includes: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information.

[0072] The decryption key acquisition module 402 is used to query a specified database based on the seller's identification information to obtain the decryption key, wherein the specified database stores decryption keys corresponding to different seller identification information;

[0073] The decryption module 403 is used to decrypt the buyer's encrypted payment QR code based on the obtained decryption key, and obtain the buyer's payment QR code.

[0074] The parsing module 404 is used to parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank card information pre-selected by the buyer.

[0075] The deduction module 405 is used to deduct fees from the bank account corresponding to the bank account information pre-selected by the buyer based on the buyer's outstanding payment amount information, and transfer the deducted amount to the bank account reserved by the seller.

[0076] Figure 5 This is a schematic diagram of a specific example of a QR code-based payment device applied to a bank's back-end server, as described in an embodiment of the present invention. Figure 5 As shown in the embodiment, Figure 4 The QR code-based payment device shown also includes:

[0077] The key generation module 501 is used before the payment request receiving module 401 receives the payment request submitted by the seller:

[0078] Receive a key acquisition request submitted by the seller, the key acquisition request including the seller's: business information and identification information;

[0079] Generate encryption and decryption keys based on the seller's business information;

[0080] Store the decryption key in a designated database to establish a correspondence between the seller's identification information and the decryption key;

[0081] The encryption key is sent to the seller so that the seller can provide the encryption key to the buyer to encrypt the payment QR code before the buyer pays by presenting the payment QR code.

[0082] In one embodiment, the operational information includes at least one or any combination of the following:

[0083] Information on business qualifications, business location, scope of products sold, and scope of business hours.

[0084] Figure 6 This is a schematic diagram of a QR code-based payment device applied to the buyer's client in an embodiment of the present invention. Figure 6 As shown, the QR code-based payment device in this embodiment of the invention may specifically include:

[0085] The encryption key acquisition module 601 is used to acquire the encryption key provided by the seller before the buyer pays by showing the payment QR code. The encryption key is generated by the bank's back-end server based on the seller's business information.

[0086] The encryption module 602 is used to encrypt the buyer's payment QR code according to the encryption key provided by the seller, so as to obtain an encrypted payment QR code.

[0087] The presentation module 603 is used to present the encrypted payment QR code to the seller, so that the seller can send the buyer's encrypted payment QR code and the amount to be paid to the bank's back-end server for parsing and transfer.

[0088] Figure 7 This is a schematic diagram of a specific example of a QR code-based payment device applied to a buyer's client in an embodiment of the present invention. Figure 7 As shown in the embodiment, Figure 6 The QR code-based payment device shown also includes:

[0089] The payment QR code generation module 701 is used before the encryption key acquisition module 601 completes payment by presenting the payment QR code:

[0090] A payment QR code is generated based on the buyer's payment information, which includes the buyer's pre-selected bank account information.

[0091] In one embodiment, the operational information includes at least one or any combination of the following:

[0092] Information on business qualifications, business location, scope of products sold, and scope of business hours.

[0093] Based on the aforementioned inventive concept, such as Figure 8 As shown, the present invention also proposes a computer device 800, including a memory 810, a processor 820, and a computer program 830 stored in the memory 810 and executable on the processor 820. When the processor 820 executes the computer program 830, it implements the aforementioned QR code-based payment method.

[0094] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described QR code-based payment method.

[0095] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described QR code-based payment method.

[0096] In summary, when this invention is applied to a bank's back-end server, it receives a payment request submitted by the seller. The payment request includes the seller's identification information and the buyer's encrypted payment QR code and pending payment amount. The system queries a designated database based on the seller's identification information to obtain a decryption key. Using the obtained decryption key, it decrypts the buyer's encrypted payment QR code to obtain the buyer's payment QR code. It then parses the buyer's payment QR code to obtain the buyer's payment information, which includes the buyer's pre-selected bank account information. Finally, based on the buyer's pending payment amount, it deducts the payment from the bank account corresponding to the buyer's pre-selected bank account and transfers the deducted amount to the seller's pre-registered bank account. By obtaining the decryption key and decrypting the buyer's encrypted payment QR code, information security when using payment QR codes can be improved, user funds can be protected, and user experience can be enhanced.

[0097] When applied to the buyer's client in this embodiment of the invention, before the buyer pays by presenting a payment QR code, an encryption key provided by the seller is obtained. Based on the encryption key provided by the seller, the buyer's payment QR code is encrypted to obtain an encrypted payment QR code. The encrypted payment QR code is then presented to the seller, who then sends the buyer's encrypted payment QR code and the amount to be paid to the bank's backend server for parsing and transfer. Encrypting the buyer's payment QR code improves information security when using payment QR codes, ensures user fund security, and enhances user experience.

[0098] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0099] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0100] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0101] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0102] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A payment method based on QR codes, characterized in that, Used in bank back-end servers, including: Receive a key acquisition application submitted by the seller, the key acquisition application including the seller's: business information and identification information; Generate encryption and decryption keys based on the seller's business information; Store the decryption key in a designated database to establish a correspondence between the seller's identification information and the decryption key; Send the encryption key to the seller so that the seller can provide the encryption key to the buyer to encrypt the payment QR code before the buyer pays by showing the payment QR code; Receive a payment request submitted by the seller, the payment request including: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information; The decryption key is obtained by querying a designated database based on the seller's identification information. The designated database stores decryption keys corresponding to different seller identification information. Based on the obtained decryption key, the buyer's encrypted payment QR code is decrypted to obtain the buyer's payment QR code. Parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank account information pre-selected by the buyer; Based on the buyer's outstanding payment amount, the payment will be deducted from the bank account corresponding to the bank account information pre-selected by the buyer, and the deducted amount will be transferred to the bank account reserved by the seller.

2. The method as described in claim 1, characterized in that, The operational information includes at least one or any combination of the following: Information on business qualifications, business location, scope of products sold, and scope of business hours.

3. A payment method based on QR codes, characterized in that, Applied to the buyer's client, including: Before the buyer makes payment by showing a payment QR code, the seller provides an encryption key, which is generated by the bank's back-end server based on the seller's business information. The buyer's payment QR code is encrypted using the encryption key provided by the seller, resulting in an encrypted payment QR code. The seller presents the encrypted payment QR code to the buyer, allowing the seller to combine the buyer's encrypted payment QR code, the amount to be paid, and the seller's identification information into a payment request, which is then sent to the bank's back-end server. The bank's back-end server then: queries a designated database based on the seller's identification information to obtain a decryption key, whereby the designated database stores decryption keys corresponding to different seller identification information; decrypts the buyer's encrypted payment QR code using the obtained decryption key; parses the buyer's payment QR code to obtain the buyer's payment information, including the buyer's pre-selected bank account information; and deducts the payment from the bank account corresponding to the buyer's pre-selected bank account information based on the buyer's amount to be paid, transferring the deducted amount to the seller's pre-registered bank account.

4. The method as described in claim 3, characterized in that, Before the buyer pays by showing a payment QR code, the process also includes: A payment QR code is generated based on the buyer's payment information, which includes the buyer's pre-selected bank account information.

5. The method as described in claim 3, characterized in that, The operational information includes at least one or any combination of the following: Information on business qualifications, business location, scope of products sold, and scope of business hours.

6. A payment device based on a QR code, characterized in that, Used in bank back-end servers, including: The key generation module is used before the payment application receiving module receives the payment application submitted by the seller: receiving a key acquisition application submitted by the seller, the key acquisition application including the seller's business information and identification information; generating an encryption key and a decryption key based on the seller's business information; storing the decryption key in a designated database to establish a correspondence between the seller's identification information and the decryption key; and sending the encryption key to the seller so that the seller can provide the encryption key to the buyer to encrypt the payment QR code before the buyer makes payment by presenting the payment QR code. The payment application receiving module is used to receive payment applications submitted by the seller. The payment application includes: the seller's identification information, and the buyer's: encrypted payment QR code and payment amount information; The decryption key acquisition module is used to query a specified database based on the seller's identification information to obtain the decryption key, wherein the specified database stores decryption keys corresponding to different seller identification information; The decryption module is used to decrypt the buyer's encrypted payment QR code based on the obtained decryption key, and obtain the buyer's payment QR code. The parsing module is used to parse the buyer's payment QR code to obtain the buyer's payment information, which includes the bank card information pre-selected by the buyer. The deduction module is used to deduct fees from the bank account corresponding to the bank account information pre-selected by the buyer based on the buyer's outstanding payment amount, and transfer the deducted amount to the bank account reserved by the seller.

7. The apparatus as claimed in claim 6, characterized in that, The operational information includes at least one or any combination of the following: Information on business qualifications, business location, scope of products sold, and scope of business hours.

8. A QR code-based payment device, characterized in that, Applied to the buyer's client, including: The encryption key acquisition module is used to obtain the encryption key provided by the seller before the buyer pays by showing the payment QR code. The encryption key is generated by the bank's back-end server based on the seller's business information. The encryption module is used to encrypt the buyer's payment QR code based on the encryption key provided by the seller, so as to obtain an encrypted payment QR code. The presentation module is used to present an encrypted payment QR code to the seller, allowing the seller to assemble a payment request using the buyer's encrypted payment QR code, the amount to be paid, and the seller's identification information, and send the payment request to the bank's back-end server. The bank's back-end server then: queries a designated database based on the seller's identification information to obtain a decryption key, wherein the designated database stores decryption keys corresponding to different seller identification information; decrypts the buyer's encrypted payment QR code using the obtained decryption key to obtain the buyer's payment QR code; parses the buyer's payment QR code to obtain the buyer's payment information, wherein the payment information includes the buyer's pre-selected bank account information; and deducts the payment from the bank account corresponding to the buyer's pre-selected bank account information based on the buyer's amount to be paid, transferring the deducted amount to the seller's pre-registered bank account.

9. The apparatus as claimed in claim 8, characterized in that, It also includes a payment QR code generation module, used before the encryption key acquisition module receives payment from the buyer by presenting the payment QR code: A payment QR code is generated based on the buyer's payment information, which includes the buyer's pre-selected bank account information.

10. The apparatus as claimed in claim 8, characterized in that, The operational information includes at least one or any combination of the following: Information on business qualifications, business location, scope of products sold, and scope of business hours.

11. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 5.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 5.

13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Two-dimensional code payment method and device

    CN106204029A

  • Data processing method and system based on two-dimensional code, mobile terminal and background system

    CN114510955A

  • partially encrypted electronic payment system

    DE102016119254A1