CN-112513906-B - Managing transactions on a blockchain network
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for managing transactions on a blockchain network are disclosed herein. One of the methods includes a scheduling device on a blockchain network obtaining transaction data comprising a plurality of original pending transactions to be performed between a plurality of accounts on the blockchain network, the transaction data stored on the blockchain network. The scheduling device performs a consolidated analysis of the plurality of original pending transactions to determine a plurality of modified pending transactions between the plurality of accounts, and the number of the plurality of modified pending transactions is less than the number of the plurality of original pending transactions. The scheduling device maintains the plurality of original pending transactions with the plurality of modified pending transactions without updating the transaction data stored on the blockchain network with the plurality of modified pending transactions.
Inventors
- FANG HUI
- YUAN YUAN
- CAO SHENGJIAO
Assignees
- 创新先进技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20200630
- Priority Date
- 20190723
Claims (14)
- 1. A computer-implemented method for managing transactions on a blockchain network, the computer-implemented method comprising: A scheduling device on a blockchain network obtains transaction data comprising a plurality of original pending transactions to be performed between a plurality of accounts on the blockchain network, the transaction data stored on the blockchain network; The scheduling device performs a consolidated analysis of the plurality of original pending transactions to determine a plurality of modified pending transactions between the plurality of accounts, wherein the number of the plurality of modified pending transactions is less than the number of the plurality of original pending transactions, and The scheduling device maintaining the plurality of original pending transactions using the plurality of modified pending transactions without updating the transaction data stored on the blockchain network using the plurality of modified pending transactions; Wherein performing a merge analysis on the plurality of original pending transactions to determine a plurality of modified pending transactions comprises: Calculating a respective consolidated settlement for each of the plurality of accounts based on the plurality of original pending transactions; dividing the plurality of accounts into a first group and a second group based on respective consolidated settlements for each of the plurality of accounts; matching a first account of the first group with a second account of the second group according to a corresponding consolidated settlement of the first account and the second account, and The plurality of modified pending transactions are generated based on a result of the matching.
- 2. The computer-implemented method of claim 1, further comprising: The scheduling device sends a consolidated settlement for a particular account of the plurality of accounts to a client device associated with the particular account, the consolidated settlement associated with at least one of a plurality of modified pending transactions associated with the particular account.
- 3. The computer-implemented method of claim 2, further comprising: The scheduling device obtains a query from the client device, the query requesting settlement information for a particular account associated with one or more of the plurality of original pending transactions, Wherein the consolidated result for the particular account is sent by the scheduling device in response to obtaining the query from the client device.
- 4. The computer-implemented method of any of the preceding claims, further comprising: the scheduling device sends a request to a settlement account management SAM server to execute at least one of a plurality of modified pending transactions associated with a particular account of the plurality of accounts.
- 5. The computer-implemented method of claim 4, further comprising: The scheduling device obtains a client request from a client device associated with the particular account, the client request authorizing settlement for the particular account, Wherein the request is sent to the settlement account management server in response to obtaining the client request from the client device.
- 6. The computer-implemented method of claim 4 or 5, further comprising: The scheduling device receives an acknowledgement from the settlement account management server indicating that at least one of the plurality of modified pending transactions associated with the particular account has been performed.
- 7. The computer-implemented method of claim 6, further comprising: In response to receiving the acknowledgement from the settlement account management server, the scheduling device sends a settlement entry to the blockchain network specifying that at least one of the plurality of modified pending transactions associated with the particular account has been executed.
- 8. The computer-implemented method of claim 7, further comprising: the settlement entry is stored on the blockchain network with the plurality of original pending transactions.
- 9. The computer-implemented method of claim 8, further comprising: verifying settlement information associated with the particular account on the blockchain network based on the settlement entry and the plurality of original pending transactions.
- 10. The computer-implemented method of any of claims 6 to 9, further comprising: in response to receiving the acknowledgement from the settlement account management server, the scheduling device updates the plurality of modified pending transactions associated with the particular account based on specifying a settlement entry for which at least one of the plurality of modified pending transactions has been performed.
- 11. The computer-implemented method of any of the preceding claims, wherein performing a merge analysis on the plurality of original pending transactions to determine a plurality of modified pending transactions comprises: Presenting the plurality of original pending transactions on a transaction map, and The plurality of modified pending transactions is determined by modifying the transaction map, wherein the plurality of modified pending transactions are presented on the modified transaction map.
- 12. The computer-implemented method of any of the preceding claims, wherein obtaining transaction data comprising a plurality of original pending transactions comprises: synchronizing with the blockchain network to receive each of the plurality of original pending transactions from a respective client device associated with each of the plurality of accounts.
- 13. An apparatus for implementing a blockchain-based workflow, the apparatus comprising a plurality of modules for performing the computer-implemented method of any of claims 1-12.
- 14. A system for implementing a blockchain-based workflow, comprising: One or more processors, and One or more computer-readable memories coupled to the one or more processors and having instructions stored thereon, the instructions being executable by the one or more processors to perform the computer-implemented method of any of claims 1-12.
Description
Managing transactions on a blockchain network Technical Field This document relates to managing transactions on blockchain networks. Background Distributed Ledger Systems (DLS), which may also be referred to as consensus networks and/or blockchain networks, enable participating entities to store data securely and non-tamperably. Without referencing any particular use case, DLS is commonly referred to as a blockchain network. Examples of types of blockchain networks may include public blockchain networks, private blockchain networks, and federated blockchain networks. The federated blockchain network is provided for selected entity groups that control the consensus process, and includes an access control layer. In a point-to-point distributed network, users transact with each other. Transactions are typically stored in a distributed ledger of the network. In some cases, the number of transactions may accumulate so much that overall network performance is affected and the storage space required is growing. Accordingly, it is desirable to efficiently and securely manage transactions between users over a blockchain network. Disclosure of Invention Techniques for managing transactions on a blockchain network are described herein. These techniques generally involve managing transactions between users on a blockchain network through scheduler nodes on the blockchain network. The scheduler node may perform a merge analysis on the original pending transactions to generate a smaller number of modified pending transactions and submit the modified pending transactions associated with a particular user to a Settlement Account Management (SAM) server for settlement (or execution). The technique may help reduce the number of actual settlement transactions, thereby enabling the blockchain network to handle a large number of transactions while providing trust for each user and integrity for each transaction using blockchain techniques. Also provided herein are one or more non-transitory computer-readable storage media coupled to one or more processors and having instructions stored thereon that, when executed by the one or more processors, will cause the one or more processors to perform operations in accordance with embodiments of the methods provided herein. Also provided herein are systems that implement the methods provided herein. The system includes one or more processors and a computer-readable storage medium coupled to the one or more processors and having instructions stored thereon that, when executed by the one or more processors, cause the one or more processors to perform operations according to the method embodiments provided herein. It should be understood that the methods described herein may include any combination of the various aspects and features described herein. That is, the methods described in accordance with the present disclosure are not limited to the various aspects and features combinations specifically described herein, but also include any combinations of the various aspects and features provided. The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features and advantages of the disclosure will be apparent from the description and drawings, and from the claims. Drawings Fig. 1 is a diagram illustrating an example of an environment that may be used to perform embodiments herein. Fig. 2 is a diagram illustrating an example of an architecture according to embodiments herein. Fig. 3 is a diagram illustrating an example of a transaction system according to embodiments herein. Fig. 4 illustrates a diagram of a consolidated transaction formulation according to embodiments herein. Fig. 5 is a transaction flow illustrating an example of a process that may be performed according to embodiments herein. Fig. 6 is a flow chart illustrating a process that may be performed according to embodiments herein. Fig. 7 depicts an example of modules of an apparatus according to embodiments herein. Like reference numbers and designations in the various drawings indicate like elements. Detailed Description Techniques for managing transactions in a blockchain network are described herein. These techniques generally involve managing transactions between users on a blockchain network through scheduler nodes on the blockchain network. The scheduler node may perform a merge analysis on the original pending transactions to generate a smaller number of modified pending transactions and submit the modified pending transactions associated with a particular user to a Settlement Account Management (SAM) server for settlement (or execution). The technique may help reduce the number of actual settlement transactions, thereby enabling the blockchain network to handle a large number of transactions while providing trust for each user and integrity for each transaction using blockchain techniques. The techniques described herein produce several technical effects. In some