A transaction-oriented payment method and system

By constructing a payment channel network and an intermediate transaction unit group, the resource consumption and data operation frequency of blockchain transactions are reduced, the problem of large data storage and communication overhead in the blockchain transaction process is solved, and the transaction speed and efficiency are improved.

CN116596533BActive Publication Date: 2024-09-06GUANGDONG SHENGDIJIA E-COMMERCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310490384.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-04
Publication Date
2024-09-06
Estimated Expiration
2043-05-04

AI Technical Summary

Technical Problem

Blockchain has huge data storage costs and communication overhead during the transaction process, making it difficult to meet daily transaction needs.

Method used

Propose a transaction-oriented payment method by building a payment channel network, using smart contracts and intermediate transaction unit groups to update deposits infinitely, reducing the data operation frequency of the blockchain, and improving intermediate transactions through multi-user signatures and stability functions Unit group stability and security.

Benefits of technology

It effectively reduces resource consumption in the blockchain transaction process, improves transaction speed and efficiency, and reduces the storage burden on nodes and the transaction pressure on the blockchain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116596533B
    Figure CN116596533B
Patent Text Reader

Abstract

The present invention proposes a transaction-oriented payment method and system, which belongs to the technical field of electronic payment. The method includes the following steps: step S1, constructing a payment channel network between the two parties of the transaction; step S2, executing the transaction between the two points based on the constructed payment channel network; step S3, publishing the final result of the transaction between the two points to the blockchain. The present invention effectively reduces the resource consumption in the process of executing transactions based on the blockchain by changing the transaction payment link mode. At the same time, the point-to-point transaction mode and the operation of only recording the final transaction results effectively reduce the redundant process of frequently calling the blockchain to execute data operations, thereby improving the efficiency of transaction payment. Compared with the method of increasing the transaction speed by increasing the block size in the prior art, the transaction method proposed by the present invention not only improves the transaction speed, but also does not increase the storage burden of each node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic payment, and in particular to a transaction-oriented payment method and system. Background Art

[0002] With the rapid development of electronic currency in the trading market, digital currency has gradually replaced paper currency and become the mainstream trading method. The resulting digital cryptocurrency relies on the distributed and decentralized characteristics of blockchain and is gradually gaining popularity among the public.

[0003] However, since each node in the blockchain needs to store global data information, huge data storage costs are required; at the same time, each node in the blockchain needs to reach a unified consensus, so huge communication overhead and communication delays will be generated in the process of reaching consensus, making it difficult to meet the needs of daily transactions. Summary of the invention

[0004] Purpose of the invention: To propose a transaction-oriented payment method and system to solve the above-mentioned problems existing in the prior art and to improve the transaction success rate by changing the transaction payment method.

[0005] Technical solution: In the first aspect, a transaction-oriented payment method is proposed, which includes the following steps:

[0006] Step S1: construct a payment channel network between the two parties of the transaction; the payment channel network is based on a smart contract jointly recognized by the two parties of the transaction, and is used to update the deposits of both parties indefinitely.

[0007] Among them, the payment channel network includes at least one intermediate transaction unit group; the intermediate transaction unit group includes at least two node users, the node users are connected in pairs in a topological structure, and any two node users can perform direct transactions according to a preset transaction protocol.

[0008] In addition, any node user in the intermediate transaction unit group has the authority to apply for the dissolution of the intermediate transaction unit group; when the node user applies for the dissolution request of the intermediate transaction unit group, the intermediate transaction unit group will start the settlement task and synchronously submit the latest deposit status in the intermediate transaction unit group to the blockchain for data update.

[0009] Step S2: Execute the transaction between the two points based on the established payment channel network;

[0010] Step S3: According to the recording requirements, the final result of the transaction between the two points is published to the blockchain.

[0011] In some possible implementations of the first aspect, a node user of an intermediate transaction unit group must hold sufficient external deposit when applying to join the intermediate transaction unit group. If the current node user does not have sufficient external deposit, he or she will not have the authority to join the intermediate transaction unit group.

[0012] In the process of constructing the intermediate transaction unit group, the steps are further included:

[0013] Step S11, constructing a stability function, and using the stability function to perform stability analysis on the node user;

[0014] The expression of the stability function is:

[0015]

[0016] Where, γ, μ, θ1, θ2 represent preset constants; a i,k represents the deposit of node user i; b i,k represents the external deposit of node user i; n represents the number of node users in the current intermediate transaction unit group; c k (n) represents the total cost of the intermediate transaction unit group with n node users;

[0017] Step S12: when the node user execution stability is lower than a first preset value, an early warning is issued to the user;

[0018] Step S13: When the execution stability of the node user is lower than a second preset value, the user is processed offline and the warning information of the user is broadcast to other users; the second preset value is lower than the first preset value.

[0019] In some implementations of the first aspect, in the process of a node user applying for task dissolution, a multi-user signature measure is adopted, and when a preset number of node users agree to the dissolution application, the intermediate transaction unit group is allowed to be dissolved.

[0020] When the transaction object executes the transaction payment, the payment channel through which the transaction request is completed in the payment channel network becomes the transaction path, and a payment request is represented by a triple. At the same time, the response time of the time-constrained transaction is obtained by setting a key;

[0021] When the maximum time a node user involved in a transaction waits for to provide a secret key exceeds the set time, it is deemed that the key acquisition has failed and the current transaction payment is terminated.

[0022] In the second aspect, a transaction-oriented payment system is constructed to implement a transaction-oriented payment method, the system comprising:

[0023] A communication module for building a data communication link;

[0024] A trigger module for triggering the task process;

[0025] An execution module used to execute the corresponding task.

[0026] In some implementations of the second aspect, when the payment system executes transaction activities between different transaction objects, the transaction objects use the execution module to complete the task requirements triggered by the task triggering model based on the transmission properties of the constructed communication module.

[0027] Among them, the data communication link constructed by the communication module includes at least one intermediate transaction unit group, wherein the intermediate transaction unit group contains at least two node users, and the node users are connected in pairs in a topological structure, and any two node users can perform direct transactions according to a preset transaction protocol.

[0028] The task trigger module is used to trigger the corresponding task process according to the needs of the transaction object. The triggered process includes but is not limited to: communication link construction task, intermediate transaction unit group formation task, transaction task, and intermediate transaction unit group dissolution task.

[0029] According to a third aspect, a transaction-oriented payment device is provided, comprising: a processor, and a memory storing computer program instructions; when the processor reads and executes the computer program instructions, the payment method in the first aspect or some implementable methods of the first aspect is implemented.

[0030] According to a fourth aspect, a computer storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the payment method according to the first aspect or some implementable embodiments of the first aspect is implemented.

[0031] Beneficial effects: The present invention proposes a transaction-oriented payment method and system. Compared with the prior art, the present invention effectively reduces the resource consumption in the process of executing transactions based on blockchain by changing the transaction payment link. At the same time, the point-to-point transaction method and the operation of only recording the final transaction results effectively reduce the redundant process of frequently calling blockchain to execute data operations, thereby improving the efficiency of transaction payment. Compared with the prior art method of increasing the transaction speed by increasing the block size, the transaction method proposed in this embodiment not only improves the transaction speed, but also does not increase the storage burden of each node. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The data processing flow chart of the embodiment of the present invention.

[0033] Figure 2 This is a schematic diagram of completing a transaction using a real-time constraint protocol according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features well known in the art are not described.

[0035] Embodiment 1

[0036] In one embodiment, in view of the problems of high communication overhead, serious delay and large data storage investment in the transaction process of the existing blockchain technology, a transaction-oriented payment method is proposed, such as Figure 1 As shown, the method comprises the following steps:

[0037] Step S1: construct a payment channel network between the two parties of the transaction;

[0038] Specifically, since the transaction process based on blockchain needs to frequently call blocks to update data records and achieve consensus between different blocks during the recording process, when high-frequency data transactions are performed, most of the computing resources will be occupied, making the investment cost higher, and it will also cause certain communication delays. Therefore, this embodiment establishes a payment channel network that is independent of the blockchain for transactions between high-frequency transaction objects.

[0039] After the transaction parties reach an agreed transaction agreement, they can trade and update data in any amount they wish within the permitted range of the total channel deposit. When the payment process is completed and the payment channel network is to be dissolved, the final transaction results will be transmitted to the blockchain, thus meeting the actual transaction needs of high frequency and speed.

[0040] Step S2: Execute the transaction between the two points based on the established payment channel network;

[0041] Step S3: After all transaction activities between the transaction parties are completed, the final result of the transaction between the two points is published to the blockchain.

[0042] In a further embodiment, an intermediate transaction unit group is constructed in the payment channel network, and the intermediate transaction unit group has a topological structure in which two nodes are connected. Each transaction node in the intermediate transaction unit group can perform direct transactions between two nodes without the help of routing according to a preset transaction protocol. When any node user in the intermediate transaction unit group wants to exit, the node user initiates a settlement task, and then the intermediate transaction unit group will be disbanded. In a preferred embodiment, when a node user who constructs the intermediate transaction unit group joins, an external deposit is required. If the current node does not have an external deposit, it is not allowed to join the intermediate transaction unit group, thereby reducing the joining of malicious users.

[0043] Specifically, the intermediate transaction unit group includes multiple node users. After the intermediate transaction unit group is created, the blockchain will receive two transactions: creating the intermediate transaction unit group and dissolving the intermediate transaction unit group. Since the intermediate transaction unit group only submits the final transaction amount to the blockchain when it is dissolved, compared with point-to-point chain transactions that publish transaction information in the blockchain every time, this embodiment can alleviate the transaction pressure on the blockchain to a limited extent.

[0044] In a further embodiment, when a user in the intermediate transaction unit group wants to exit, he can submit a request to dissolve the intermediate transaction unit group at any time. When the node user applies for a request to dissolve the intermediate transaction unit group, the intermediate transaction unit group will start the settlement task and synchronously submit the latest deposit status in the intermediate transaction unit group to the blockchain for data update.

[0045] Since each node user has the authority to apply for the dissolution of the intermediate transaction unit group, when there are too many users in the intermediate transaction unit group, the stability of the intermediate transaction unit group will be insufficient and it will face the risk of being dissolved at any time. In order to effectively improve the stability of the intermediate transaction unit group and reduce the resource expenditure during unnecessary dissolution, this embodiment proposes to construct a stability evaluation function. By analyzing the stability of the intermediate transaction unit group, a more stable intermediate transaction unit group is constructed. The expression of the stability function is:

[0046]

[0047] Where, γ, μ, θ1, θ2 represent preset constants; a i,k represents the deposit of node user i; b i,k represents the external deposit of node user i; n represents the number of node users in the current intermediate transaction unit group; c k (n) represents the total cost of the intermediate transaction unit group with n node users;

[0048] When the execution stability of the node user is lower than the first preset value, the user is warned; when the execution stability of the node user is lower than the second preset value, the user is processed offline and the warning information of the user is broadcast to other users; the second preset value is lower than the first preset value.

[0049] In a further embodiment, at least one intermediate transaction unit group is included in the transaction process. When a malicious user in the intermediate transaction unit group submits an application to dissolve the intermediate transaction unit group at the same time, a large number of intermediate transaction unit groups will be dissolved, which will lead to a large number of transaction settlement applications in the blockchain, thereby causing the original transactions in the blockchain to be blocked, thereby affecting the transaction efficiency. In view of this phenomenon, in order to improve the defense performance of the intermediate transaction unit group, this embodiment adopts a multi-user signature scheme. When a preset number of node users agree to the dissolution application, the intermediate transaction unit group is allowed to dissolve. Specifically, the secret keys involved in the multi-user signature scheme are sent to at least half of the users for management. Only when a preset number of node users complete the signature verification can the intermediate transaction unit group be confirmed to execute the dissolution task, thereby invalidating the dissolution request of a few malicious users and improving the stability of the intermediate transaction unit group.

[0050] Specifically, the signature is generated by a private key, and the private key is held in the form of fragments by different node users in the intermediate transaction unit group. When an application for dissolution of the intermediate transaction tuple is received, a legal signature is generated through the MPC protocol, and after the signature verification is completed, the dissolution of the intermediate transaction tuple is executed.

[0051] In a further embodiment, in the process of executing a transaction between two points based on the established payment channel network, the transaction process is represented by a graph structure, and a payment request is represented by a triple. The payment channel through which a transaction request is completed in the payment channel network is called a transaction path. In a preferred embodiment, a payment request is represented by T, and a transaction path is represented by path, where T = (v s ,v t ,m),path=(v s ,v1,…,v i …,v t ), v s Indicates the sender in the transaction; v t Indicates the recipient in the transaction; m indicates the amount of the current transaction; v i Indicates the i-th node user that passes through the transaction process. During the transaction process, the real-time constraint protocol is used to constrain the real-time nature of the transaction. When the maximum time that the node user waits for the secret key to be provided exceeds the set time, it is considered that the key acquisition has failed, and the current transaction is terminated.

[0052] In a preferred embodiment, the process of completing a transaction using a real-time constraint protocol is as follows: Figure 2 As shown, when the sender v of the transaction s To the recipient of the transaction v t When paying 10 cryptocurrencies requires passing through 3 intermediate node users, and the corresponding handling fees are 0.2, 0.2 and 0.1, the recipient v t First generate a key K, and send the hash value KH generated by hashing the key K to the sender v s , sender v s After receiving the hash value KH, a request tuple containing the hash value KH, the transaction amount, and the transaction expiration time is generated. The transaction amount is hidden in an encrypted manner. After obtaining the key K, the current transaction execution ends. s To the recipient of the transaction v t In the process of paying 10 cryptocurrencies, the encrypted amount is first sent to the middle node user v2, and the transaction expiration time t is told to v2; then, v2 forwards the transaction to v3 and tells v3 the transaction expiration time t-1; after receiving the transaction, v3 forwards the transaction to v4 and tells v4 the transaction expiration time t-2; after receiving the transaction, v4 forwards the transaction to v t , and inform v t Obtaining key K within t-3 days can unlock the funds paid by the transaction. t As the recipient of the transaction, you have the key K, so in v t After receiving the information, the confirmation operation is performed and the key K is returned to v4. After receiving the key K, v4 unlocks the transaction funds and returns the key K along the sending path. When all the funds in the transaction path are unlocked, the current transaction is completed.

[0053] In a further embodiment, in order to improve the time efficiency of the transaction, the present implementation selects a method of executing the transaction payment after completing the transaction path selection. Specifically, the transaction path is first selected in the payment channel network by estimating the number of node hops. In the process of selecting the transaction path, the communication link selection between the transaction sender and the recipient is divided into a request phase and a response phase.

[0054] In the request phase, the transaction sender generates a routing request data packet containing its own signature information and broadcasts it to the adjacent intermediate node users; subsequently, the intermediate node user receives the routing request data packet, and after parsing the transaction sender's signature information carried in the verification request data packet, further establishes a communication link in the direction of the transaction sender, and stores the transaction sender's routing request data packet and routing information in its own routing table, and adds its own signature information and identification number to the routing request data packet, and forwards it to the next intermediate user node. Secondly, the next intermediate node user receives the routing request data packet sent by the intermediate node user, and after parsing the transaction sender's signature information and the intermediate node user's signature information carried in the verification request data packet, further establishes a communication link in the direction of the transaction sender, and stores the routing request information sent by the intermediate node user, and updates the intermediate node user's signature information and identification number to its own signature information and identification number, and sends the latest routing request data packet to the next intermediate node user in the communication link; finally, when there is a path to the transaction recipient in the routing request data packet, or a valid intermediate node user that can reach the transaction recipient, the routing request process ends. In a preferred embodiment, the routing request protocol data packet information does not include the maximum number of hops. By adding the location information of each node to the message format, each node user compares the received routing request with its own location information and divides the difference by its own communication range to estimate the number of hops, thereby reducing the data packet size and improving communication efficiency.

[0055] In the response phase, the transaction acceptor generates a routing response data packet containing its own signature information, and sends the routing response data packet in reverse to the closest intermediate node user according to the communication link established in the routing request phase; the intermediate node user receives the routing response data packet, and after parsing and verifying the transaction acceptor's signature information carried in the request data packet, stores the transaction acceptor's routing information and the response data packet in its own routing table, and at the same time, adds its own signature and identification number to the routing response data packet, and forwards it to the next intermediate node user in the communication link; the next intermediate node user receives the routing response data packet of the intermediate node user, and after parsing and verifying the transaction acceptor's signature information and the intermediate node user's signature information carried in the routing response data packet, stores the routing response information from the intermediate node user, and at the same time adds its own signature information and identification number to the routing response data packet of the intermediate node user, and sends the formed routing response data packet to the next intermediate node user; when the routing response data packet is transmitted to the transaction sender through reverse transmission, the response process ends. The transmission between transaction data is completed through request and response.

[0056] This embodiment effectively reduces resource consumption in the process of executing transactions based on blockchain by changing the transaction payment link mode. At the same time, the point-to-point transaction mode and the operation of only recording the final transaction results effectively reduce the redundant process of frequently calling blockchain to execute data operations, thereby improving the efficiency of transaction payment. Compared with the method of increasing the transaction speed by increasing the block size in the prior art, the transaction method proposed in this embodiment not only improves the transaction speed, but also does not increase the storage burden of each node.

[0057] Embodiment 2

[0058] In one embodiment, a transaction-oriented payment system is proposed to implement a transaction-oriented payment method. The system includes the following modules: a task triggering module, a communication module, and an execution module. The task triggering module is used to trigger the corresponding task process according to the actual needs of the transaction object; the communication module is used as a communication carrier to convey different task requirements and transmit the corresponding data generated during the task execution process; the execution module is used to perform corresponding operations according to the received task request. In order to complete the transaction needs between each other, the transaction parties use the communication module to build a payment channel network between each other, and use the triggering module to trigger the transaction task process. Finally, the execution module is used to complete the transaction tasks between different objects according to the transaction agreement.

[0059] Specifically, the communication module is used to build a data communication link between different transaction objects, including at least one intermediate transaction unit group, wherein the intermediate transaction unit group contains at least two node users, and the node users are connected in pairs in a topological structure, and any two node users can perform direct transactions according to a preset transaction protocol.

[0060] The task trigger module is used to trigger the corresponding task process according to the needs of the transaction object. The triggered process includes but is not limited to: communication link construction task, intermediate transaction unit group formation task, transaction task, and intermediate transaction unit group dissolution task.

[0061] The execution module executes the corresponding task according to the task process triggered by the task trigger module.

[0062] In a further embodiment, based on a data interaction request between transaction objects, the task triggering module triggers a communication link building task, and then the communication module starts to assemble communication links between users of different nodes, and forms at least one intermediate transaction unit group in the payment channel network formed by the communication links.

[0063] In a further embodiment, when the task triggering module triggers the task of forming an intermediate transaction unit group, the execution module calls the stability function to perform stability analysis on the node users in the payment channel network, and forms the node users that meet the analysis results into an intermediate transaction unit group.

[0064] In a further embodiment, when the task triggering module triggers a transaction task, the execution module autonomously selects a transaction path in the constructed payment channel network to complete the transaction activities between the transaction objects.

[0065] In a further embodiment, when the task triggering module triggers the task of dissolving the intermediate transaction unit group, the execution module adopts a multi-user signature measure and judges the conditions for dissolving the intermediate transaction unit group. When a preset number of node users agree to the dissolution application, the intermediate transaction unit group dissolution operation is executed.

[0066] Embodiment 3

[0067] In one embodiment, a transaction-oriented payment device is provided, the device comprising: a processor and a memory storing computer program instructions, wherein the processor implements the payment method mentioned in the first embodiment when reading and executing the computer program instructions.

[0068] Embodiment 4

[0069] In one embodiment, a computer storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the payment method mentioned in the first embodiment is implemented.

[0070] As described above, although the present invention has been shown and described with reference to specific preferred embodiments, it should not be construed as limiting the present invention itself. Various changes in form and details may be made without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims

1. A transaction-oriented payment method, characterized in that: The following steps are involved: Step S1: construct a payment channel network between the two parties of the transaction; The payment channel network is based on a smart contract jointly recognized by both parties to the transaction, and is used to update the deposits of both parties indefinitely. The specific steps include: Step S11, constructing a stability function, and using the stability function to perform stability analysis on the node user; The expression of the stability function is: Where, γ, μ, θ1, θ2 represent preset constants; a i,k represents the deposit of node user i; b i,k represents the external deposit of node user i; n represents the number of node users in the current intermediate transaction unit group; c k (n) represents the total cost of the intermediate transaction unit group with n node users; Step S12: when the node user execution stability is lower than a first preset value, an early warning is issued to the user; Step S13: when the execution stability of the node user is lower than a second preset value, the user is offline processed and the warning information of the user is broadcast to other users; the second preset value is lower than the first preset value; Step S2: Execute a transaction between two points based on the established payment channel network; the payment channel network includes at least one intermediate transaction unit group; The intermediate transaction unit group contains at least two node users, and the node users are connected in pairs in a topological structure, and any two node users can perform direct transactions according to a preset transaction protocol; when applying to join the intermediate transaction unit group, the node users of the intermediate transaction unit group must hold sufficient external deposits. If the current node user does not have sufficient external deposits, he does not have the authority to join the intermediate transaction unit group; Any node user in the intermediate transaction unit group has the authority to apply for the dissolution of the intermediate transaction unit group. In the process of the node user applying for the dissolution task, a multi-user signature measure is adopted. When a preset number of node users agree to the dissolution application, the intermediate transaction unit group is allowed to dissolve; when the node user applies for the dissolution request of the intermediate transaction unit group, the intermediate transaction unit group will start the settlement task and synchronously submit the latest deposit status in the intermediate transaction unit group to the blockchain for data update; During the process of executing transaction payment, the payment channel through which a transaction request is completed in the payment channel network is called the transaction path, and a payment request is represented by a triple. At the same time, the response time of the transaction is constrained by setting the key acquisition time. When the maximum time for the node user involved in the transaction to provide the secret key exceeds the set time, the key acquisition is deemed to have failed, and the current transaction payment is terminated. The transaction path is selected by estimating the number of node hops. During the selection process, the request phase and the response phase are selected based on the communication link between the transaction sender and the receiver. The steps include: (1) In the request phase, the transaction sender generates a routing request data packet containing its own signature information and broadcasts it to adjacent intermediate node users. The intermediate node user receives the routing request data packet, parses and verifies the transaction sender's signature information carried in the request data packet, establishes a communication link in the direction of the transaction sender, and stores the transaction sender's routing request data packet and routing information in its own routing table. At the same time, it adds its own signature information and identification number to the routing request data packet and forwards it to the next intermediate user node. (2) The next intermediate node user receives the routing request data packet sent by the intermediate node user, and after parsing and verifying the transaction sender's signature information and the intermediate node user's signature information carried in the request data packet, establishes a communication link in the transaction sender's direction, stores the routing request information sent by the intermediate node user, and updates the intermediate node user's signature information and identification number to its own signature information and identification number, and sends the latest routing request data packet to the next intermediate node user in the communication link; (3) Finally, when the routing request data packet contains a path to the transaction recipient, or a valid intermediate node user that can reach the transaction recipient, the routing request process ends; The routing request data packet information does not include the maximum number of hops. By adding its own location information to the message format of each node, each node user compares the received routing request with its own location information and divides the difference by its own communication range to estimate the number of hops. After completing the transaction path selection, the transaction payment is executed. Step S3: According to the recording requirements, the final result of the transaction between the two points is published to the blockchain.

2. A transaction-oriented payment system for implementing the payment method as claimed in claim 1, characterized in that: The transaction objects use the transmission properties of the communication module to complete the task requirements triggered by the task trigger model using the execution module, including the following modules: The communication module is configured to build a data communication link between different transaction objects according to the transaction payment requirements; The task trigger module is configured to trigger the corresponding task process according to the needs of the transaction object; The execution module is configured to execute corresponding tasks according to the task process triggered by the task triggering module.

3. A transaction-oriented payment device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the payment method as claimed in claim 1.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, which implement the payment method according to claim 1 when executed by a processor.