CN113450224A - Transaction processing method, device and equipment based on UTXO model and storage medium - Google Patents

Transaction processing method, device and equipment based on UTXO model and storage medium Download PDF

Info

Publication number
CN113450224A
CN113450224A CN202110788160.7A CN202110788160A CN113450224A CN 113450224 A CN113450224 A CN 113450224A CN 202110788160 A CN202110788160 A CN 202110788160A CN 113450224 A CN113450224 A CN 113450224A
Authority
CN
China
Prior art keywords
transaction
utxo
address
asset
asset transfer
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110788160.7A
Other languages
Chinese (zh)
Other versions
CN113450224B (en
Inventor
刘昱
邓柯
李成才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker Technology Co Ltd
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 Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202110788160.7A priority Critical patent/CN113450224B/en
Publication of CN113450224A publication Critical patent/CN113450224A/en
Application granted granted Critical
Publication of CN113450224B publication Critical patent/CN113450224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The embodiment of the invention provides a transaction processing method, a transaction processing device, transaction processing equipment and a transaction processing storage medium based on a UTXO model, and aims to reduce the technical threshold of the UTXO. Wherein the method comprises the following steps: acquiring a transaction to be processed, wherein the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount; reading target transaction running water containing the address from a plurality of pre-generated transaction running water according to the asset transfer-out address; building a UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount; and responding to the UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount.

Description

Transaction processing method, device and equipment based on UTXO model and storage medium
Technical Field
The present invention relates to the field of information technologies, and in particular, to a transaction processing method, apparatus, device, and storage medium based on a UTXO model.
Background
The block chain technology is realized based on a block chain network, distributed node equipment (hereinafter referred to as nodes) in the block chain network realizes generation, consensus and storage of block data by operating a block chain program, and finally achieves a tamper-proof mechanism of the data, thereby providing a safe and reliable new technical idea for business development. The block chain technology can be applied to various service scenes, such as the financial field, the electronic commerce field, the commodity or raw material tracing field, the electronic evidence storage field and the like.
An Unspent Transaction Output (UTXO) model is a common record storage method in a blockchain system, and a blockchain system supporting the UTXO model can process a Transaction in the UTXO mode (hereinafter, the Transaction in the UTXO mode is simply referred to as UTXO). The UTXO contains input information, which typically points to another transaction that has been completed, and output information, which typically contains an asset transfer in address, an asset transfer amount, etc. The block chain system processes transfer transactions based on the UTXO model, and can realize asset transfer and asset management more safely and efficiently. However, the UTXO model is complex for the general user, and it is difficult for the general user to write the transaction of the UTXO model.
Disclosure of Invention
Embodiments of the present invention provide a transaction processing method, apparatus, device and storage medium based on a UTXO model, and aim to reduce technical threshold of the UTXO. The specific technical scheme is as follows:
in a first aspect of the embodiments of the present invention, there is provided a transaction processing method based on a UTXO model, the method including:
acquiring a transaction to be processed, wherein the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount;
reading a target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the plurality of transaction flows contains the address and the asset amount;
building a UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and responding to the UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount.
In a second aspect of embodiments of the present invention, there is provided a transaction processing apparatus based on a UTXO model, the apparatus comprising:
the system comprises a transaction obtaining module, a transaction obtaining module and a transaction processing module, wherein the transaction obtaining module is used for obtaining a transaction to be processed, and the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount;
the flow reading module is used for reading target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the transaction flows contains the address and the asset amount;
the UTXO construction module is used for constructing the UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and the pipelining generation module is used for responding to the UTXO processing result returned by the blockchain system and generating a new transaction pipelining according to the asset transfer-in address and the asset transfer amount.
In a third aspect of the embodiments of the present invention, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the transaction processing method based on the UTXO model according to any embodiment of the present invention when executing the program stored in the memory.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the UTXO model-based transaction processing method provided in any one of the embodiments of the present invention.
In the invention, when a user needs to implement asset transfer based on a block chain system, a to-be-processed transaction can be submitted to the execution main body of the invention, and the user can very simply and conveniently designate information such as an asset transfer-out address, an asset transfer-in address, an asset transfer amount and the like in the to-be-processed transaction without constructing UTXO in person. After the execution main body obtains the to-be-processed transaction, the address is transferred out according to the assets in the to-be-processed transaction, and the target transaction flow containing the address is read out from a plurality of pre-generated transaction flows. Wherein the target transaction pipeline corresponds to an unspent transaction for the asset roll-out address. And then, the execution main body generates UTXO according to the target transaction flow, the asset transfer-in address and the asset transfer amount, and submits the UTXO to the blockchain system for processing. Wherein, the input information of UTXO is generated by the target transaction flow, and the output information of UTXO contains the asset transfer-in address and the asset transfer amount. In addition, after obtaining the UTXO processing result of the blockchain system, the execution main body also generates a new transaction running water according to the asset transfer-in address and the asset transfer amount, and the transaction running water corresponds to the non-cost transaction of the asset transfer-in address. If a user who transfers the asset to an address in the future needs to transfer to another address, the execution agent may read out the transaction pipeline to generate input information for another UTXO to construct another UTXO.
Therefore, the execution main body can automatically construct the UTXO for the user according to the to-be-processed transaction of the user, thereby reducing the technical threshold of the UTXO.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart of a transaction processing method based on a UTXO model according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a transaction pipeline read according to an embodiment of the invention;
fig. 3 is a schematic diagram of a transaction processing apparatus based on the UTXO model according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An Unspent transaction Output (UTXO) model is a common record storage method in a blockchain system, and a blockchain system supporting the UTXO model can process a transaction in the UTXO mode (hereinafter, the transaction in the UTXO mode is simply referred to as UTXO). The UTXO contains input information, which typically points to another transaction that has been completed, and output information, which typically contains an asset transfer in address, an asset transfer amount, etc. The block chain system processes transfer transactions based on the UTXO model, and can realize asset transfer and asset management more safely and efficiently. However, the UTXO model is complex for the general user, and it is difficult for the general user to write the transaction of the UTXO model.
In view of the above, the present invention provides a transaction processing method, apparatus, device and storage medium based on the UTXO model through the following embodiments, which aim to reduce the technical threshold of the UTXO.
Referring to fig. 1, fig. 1 is a flowchart of a transaction processing method based on a UTXO model according to an embodiment of the present invention. As shown in fig. 1, the execution subject of the present invention may be referred to as a UTXO construction system.
In some embodiments, the UTXO construction system and the blockchain system are both software systems, and the UTXO construction system and the blockchain system may be deployed on the same device at the same time. During operation, the device constructs the UTXO by running the UTXO construction system to implement the following steps S11 to S14, submits the constructed UTXO to a blockchain system running on the device itself, and receives a UTXO processing result returned by the blockchain system. The equipment also processes the UTXO submitted by the UTXO construction system by running the block chain system, and returns the UTXO processing result to the UTXO construction system.
In other embodiments, the UTXO construction system and the blockchain system are both software systems, and the UTXO construction system and the blockchain system are respectively deployed on different devices. Specifically, a blockchain system is deployed on a plurality of devices, the devices are assembled into a blockchain network, and a UTXO construction system is deployed on other devices. During operation, the other device executes the UTXO construction system to implement the following steps S11 to S14, thereby constructing the UTXO, submits the constructed UTXO to any node of the blockchain network, and receives a UTXO processing result returned by the blockchain system. And each node of the block chain network processes the UTXO submitted by the UTXO construction system by operating the block chain system, and returns the UTXO processing result to the UTXO construction system.
As shown in fig. 1, the transaction processing method based on the UTXO model includes the steps of:
step S11: and acquiring a to-be-processed transaction, wherein the to-be-processed transaction carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount.
In some embodiments, the UTXO building system receives a to-be-processed transaction sent by the user side, so as to obtain the to-be-processed transaction.
In other embodiments, the UTXO building system receives the pending transaction sent by the middleware system to obtain the pending transaction. The middleware system is used for transferring the to-be-processed transaction written by the user side or generating the to-be-processed transaction according to the service message sent by the user side.
In some embodiments, the pending transaction may be a pending transaction that is a transaction pattern not supported by the UTXO model of the blockchain system, e.g., the transaction pattern of the transaction is an account/balance pattern. During implementation, the UTXO construction system receives a pending transaction in an account/balance mode, wherein the pending transaction carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount. After receiving the transaction to be processed, the UTXO construction system converts the transaction to be processed into a transaction in UTXO mode (referred to as UTXO for short) by performing steps S12 and S13 described below.
Step S12: and reading a target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the plurality of transaction flows contains the address and the asset amount.
Wherein, the read target affair flow should meet the following requirements: the total of the asset amounts of the plurality of read target transaction streams should reach the asset transfer amount. By "achieved" is meant equal to or greater than. For ease of understanding, assuming that the asset transfer amount is 100, and assuming that the UTXO construction system reads a total of 3-entry marked transaction pipelines, the 3-entry marked transaction pipelines each contain an asset amount of 40, 50, and 30, respectively, the total of the asset amounts of the 3-entry marked transaction pipelines is equal to 120, and the asset transfer amount 100 is met.
In the invention, each transaction pipeline contains an address and an asset amount, each transaction pipeline corresponds to an unspent transaction of the address, and the unspent asset amount corresponding to the unspent transaction is the asset amount. For ease of understanding, assume, by way of example, that a particular transaction flow contains an address of 04591d192e and an asset amount of 240. The transaction pipeline corresponds to an unspent transaction at address 04591d192e with an unspent asset amount equal to 240.
In the invention, the UTXO construction system takes the asset roll-out address carried by the transaction to be processed as an index, and reads the transaction flow containing the address from a plurality of pre-generated transaction flows. For ease of explanation, the present invention refers to the transaction pipeline containing asset rollout addresses as the target transaction pipeline. For convenience of understanding, for example, assuming that the asset roll-out address carried by the pending transaction is 5837baa2d1, after the UTXO building system obtains the pending transaction, the transaction pipeline containing 58 5837baa2d1 address is read from the plurality of transaction pipelines generated in advance by using 5837baa2d1 address as an index.
Optionally, in some embodiments, the plurality of transaction pipelines are stored in a plurality of groups, respectively, wherein the transaction pipelines containing the same address are located in the same group. In specific implementation, the transaction flow can be stored through a database, the database comprises a plurality of data tables, and the transaction flow containing the same address is stored in the same data table. When reading the target transaction running water, the UTXO building system may firstly transfer an address according to an asset carried by a to-be-processed transaction, determine a group of transaction running water (i.e., a group of transaction running water including the address) corresponding to the address from the group of transaction running water, and then read the target transaction running water from the determined group of transaction running water. By storing the transaction running water in groups and reading the target transaction running water in the manner, the reading efficiency of the target transaction running water can be improved, particularly when a plurality of target transaction running water need to be read.
Step S13: building a UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline and the output information of the UTXO comprises the asset transfer in address and the asset transfer amount.
In a specific implementation, each transaction pipeline may further include a transaction identifier, and the transaction identifier has uniqueness, in other words, different transaction pipelines respectively include different transaction identifiers. When the UTXO construction system constructs the UTXO, on one hand, the input information of the UTXO to be constructed is generated according to the read target transaction running water, and the input information comprises the entry mark transaction running water. And on the other hand, generating output information of the UTXO to be constructed according to the asset transfer-in address and the asset transfer amount, wherein the output information comprises the asset transfer-in address and the asset transfer amount.
Further, in case that the sum of the asset amounts of the respective entry mark transaction streams exceeds the asset transfer amount, in order to make the sum of the asset amounts of the respective entry mark transaction streams (i.e. the input of the UTXO) equal to the output of the UTXO to balance the total asset amount, the output information of the UTXO further contains an asset roll-out address and an asset difference which is the difference between the sum of the asset amounts in the respective entry mark transaction streams and the asset transfer amount.
The term "each entry mark transaction pipeline" refers to all read target transaction pipelines, and there may be one or more entries according to actual read conditions.
For ease of understanding, following the above example, assume that the original transaction identification of the pending transaction is b83cd 00. Further assume that the asset transfer-out address carried by the pending transaction is 5837baa2d1, the asset transfer-in address carried by the pending transaction is 7a6073ed5b, and the asset transfer amount carried by the pending transaction is 100. Assume again that the UTXO construction system reads a total of 3 entries for the transaction pipeline based on the 5837baa2d1 address, and the 3 entries for the transaction pipeline have the following specific information.
The first target transaction pipeline comprises: transaction identification 8c30147a _ 1; address 5837baa2d 1; the asset amount 40.
The second target transaction pipeline comprises: transaction identification dc5d0302_ 2; address 5837baa2d 1; the asset amount 50.
The third piece of target transaction pipelining includes: transaction identification 48e0fd16_ 1; address 5837baa2d 1; the asset amount is 30.
After reading the 3-entry mark transaction pipeline, the UTXO construction system constructs the UTXO as shown in table 1. The UTXO shown in table 1 is merely an example, and should not be construed as limiting the present invention.
TABLE 1 UTXO schematic table
Figure BDA0003159946210000071
Wherein the UTXO identification continues with the original transaction identification of the transaction to be processed. The transaction id in the column of the output information out is composed of the original transaction id and the number, for example, the transaction id b83cd00_1 includes the original transaction id b83cd00 and the number 1, and for example, the transaction id b83cd00_2 includes the original transaction id b83cd00 and the number 2.
It should be noted that after the blockchain system processes each UTXO, the blockchain system may generate a plurality of ledger data in the ledger database according to the output information out of the UTXO. For example, after the UTXO shown in table 1 is processed by the blockchain system, two pieces of ledger data may be generated in the ledger database based on the output information out of the UTXO. One of the ledger data at least comprises: transaction id b83cd00_1 and an outstanding id, and another ledger data contains at least: transaction identification b83cd00_2 and an unspent identification. It should be reminded that the ledger data is different from the transaction flow generated in the following step S14, and the ledger data is generated by the blockchain system and belongs to the blockchain data; and the transaction pipeline is generated by the UTXO construction system and belongs to centralized data.
It should also be noted that: the blockchain system may also perform a double-flower check before processing each UTXO. Specifically, the block chain system queries, for each transaction identifier included in the UTXO input information in, a piece of account data corresponding to the transaction identifier, and then determines whether the account data includes an identifier that is not spent. If the ledger data corresponding to each transaction identifier contains the uneconomical identifier, the double-flower check is determined to pass, so that the UTXO can be continuously processed, and the uneconomical identifier in the ledger data corresponding to each transaction identifier is replaced by the spent identifier. Otherwise, it is determined that the double blossom test failed, and thus it can be determined that the UTXO process failed. For example, before processing the UTXO shown in table 1, the block chain system may query the corresponding account book data for the transaction identifier 8c30147a _1 in the input information in of the UTXO, and determine whether the account book data includes an identifier of non-cost. Likewise, for transaction identification dc5d0302_2, the corresponding ledger data is queried and it is determined whether the ledger data contains an identity not to be spent. Similarly, for the transaction id 48e0fd16_1, the corresponding account book data is queried, and whether the account book data contains an identity of not spending is determined. And if the three pieces of account book data contain the non-cost identifiers, processing the UTXO, and replacing the non-cost identifiers contained in the three pieces of account book data with the cost identifiers after the UTXO is successfully processed. And if the three pieces of book data do not contain the costless marks, determining that the UTXO processing fails.
It is further noted that the blockchain system, after successfully processing the UTXO shown in table 1, transferred 100 of the 120 assets at the address of 5837baa2d1 to the address of 7a6073ed5b and another 20 assets to the address of 5837baa2d1 itself.
Step S14: and responding to the UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount.
During specific implementation, the UTXO construction system can transfer the asset into an address as the address of the transaction running water to be generated, and use the asset transfer amount as the asset amount of the transaction running water to be generated, so that a new transaction running water is generated.
Optionally, in some embodiments, after the block-chain system successfully processes the UTXO, the UTXO processing result is returned to the UTXO construction system. After the UTXO construction system obtains the UTXO processing result, a new transaction flow can be generated according to the asset transfer address and the asset transfer amount.
Optionally, in other embodiments, after the block chain system successfully processes the UTXO, the UTXO processing result is returned to the UTXO construction system, where the UTXO processing result carries an identifier in the form of YES. When the block chain system fails to process the UTXO, the UTXO processing result is returned to the UTXO construction system, and the UTXO processing result carries the identifier in the form of NO. After receiving the UTXO processing result, the UTXO construction system firstly judges whether the processing result carries an identifier in the form of YES. If yes, a new transaction flow can be generated according to the asset transfer address and the asset transfer amount. Otherwise, no transaction pipeline is generated.
Optionally, in some embodiments, the UTXO processing result may also carry a UTXO identification (e.g., the UTXO identification shown in table 1). And after receiving the UTXO processing result, the UTXO construction system queries the pre-established UTXO according to the carried UTXO identification. Then, based on the output information in the UTXO, a transaction pipeline is established. For understanding, along the example in table 1, assuming that the UTXO identifier carried by the UTXO processing result is b83cd00, the UTXO construction system queries the UTXO shown in table 1 according to the UTXO identifier b83cd00, and then establishes the following two new transaction pipelines according to the output information in the UTXO.
The first transaction pipeline comprises: transaction identification b83cd00_ 1; address 7a6073ed5 b; the asset amount is 100.
The second transaction pipeline includes: transaction identification b83cd00_ 2; address 5837baa2d 1; the asset amount is 20.
In summary, in the above embodiment, the UTXO construction system generates a new transaction pipeline according to the asset transfer-in address and the asset transfer amount in response to the UTXO processing result returned by the blockchain system. The UTXO construction system also responds to the UTXO processing result returned by the blockchain system and generates a new transaction running water according to the asset transfer-out address and the asset balance. Wherein the asset difference is a difference between a total of the asset amounts of the transaction running and the asset transfer amount for each entry.
By executing the transaction processing method based on the UTXO model including the above-described steps S11 to S14, when a user needs to perform asset transfer based on the blockchain system, the user can submit a pending transaction to an execution subject (e.g., the UTXO construction system) of the present invention, and the user can easily specify an asset transfer-out address, an asset transfer-in address, and an asset transfer amount in the pending transaction without personally constructing the UTXO. After the execution main body obtains the to-be-processed transaction, the address is transferred out according to the assets in the to-be-processed transaction, and the target transaction flow containing the address is read out from a plurality of pre-generated transaction flows. Wherein the target transaction pipeline corresponds to an unspent transaction for the asset roll-out address. And then, the execution main body generates UTXO according to the target transaction flow, the asset transfer-in address and the asset transfer amount, and submits the UTXO to the blockchain system for processing. Wherein, the input information of UTXO is generated by the target transaction flow, and the output information of UTXO contains the asset transfer-in address and the asset transfer amount.
In addition, after obtaining the UTXO processing result of the blockchain system, the execution main body also generates a new transaction running water according to the asset transfer-in address and the asset transfer amount, and the transaction running water corresponds to the non-cost transaction of the asset transfer-in address. If a user who transfers the asset to an address in the future needs to transfer to another address, the executing agent may read out the transaction pipeline to generate input information for another UTXO. Therefore, the execution main body can automatically construct the UTXO for the user according to the to-be-processed transaction of the user, thereby reducing the technical threshold of the UTXO.
Optionally, in some embodiments, each transaction flow may further include a first state identifier or a second state identifier, where the first state identifier is used to characterize that the transaction flow is not spent, and the second state identifier is used to characterize that the transaction flow is spent.
When the UTXO building system executes step S12, in particular, the target transaction pipeline that contains the address and includes the first status identifier may be read from the plurality of transaction pipelines generated in advance according to the asset roll-out address.
In specific implementation, the UTXO building system may first determine, from a plurality of sets of transaction streams, a set of transaction streams corresponding to an address (i.e., a set of transaction streams including the address) by using an asset roll-out address carried by a to-be-processed transaction as an index, and then read the transaction stream including the first state identifier from the determined set of transaction streams. For ease of explanation, the transaction pipeline containing the asset rollout address and the first state identification is referred to herein as the target transaction pipeline.
When the UTXO construction system performs step S14, specifically, a new transaction pipeline may be generated according to the asset transfer address and the asset transfer amount, and a first status flag may be set in the transaction pipeline.
Furthermore, the UTXO construction system may further perform the steps of: and replacing the first state identifier of the target transaction pipeline with the second state identifier in response to the UTXO processing result returned by the blockchain system.
During specific implementation, the UTXO construction system can inquire the pre-established UTXO according to the UTXO identification carried by the UTXO processing result. And then replacing the first state identifier of the target transaction pipeline contained in the input information with a second state identifier according to the input information in the UTXO. For easy understanding, along the example in table 1, assuming that the UTXO identifier carried by the UTXO processing result is b83cd00, the UTXO construction system queries the UTXO shown in table 1 according to the UTXO identifier b83cd00, and then replaces 3 entries such as 8c30147a _1, dc5d0302_2, and 48e0fd16_1 with the second state identifier according to the input information in the UTXO.
In the above specific embodiment, each transaction flow carries the first state identifier or the second state identifier, and because the newly generated transaction flows are not yet spent, both the transaction flows carry the first state identifier. And the target transaction pipeline is called by the UTXO, and after the blockchain system generates a corresponding UTXO processing result, the first state identifier of the target transaction pipeline is replaced by the second state identifier. Therefore, the target transaction pipeline cannot be called again, and the UTXO construction system can avoid the double-flower condition in advance.
Optionally, in other embodiments, the UTXO construction system may delete the target transaction pipeline in response to UTXO processing results returned by the blockchain system.
During specific implementation, the UTXO construction system can inquire the pre-established UTXO according to the UTXO identification carried by the UTXO processing result. Then, according to the target transaction running water contained in the input information of the UTXO, the corresponding target transaction running water is deleted. For the sake of understanding, along the example in table 1, assuming that the UTXO identifier carried by the UTXO processing result is b83cd00, the UTXO construction system queries the UTXO shown in table 1 according to the UTXO identifier b83cd00, and then deletes 3 entries such as 8c30147a _1, dc5d0302_2, and 48e0fd16_1 from the multiple pieces of transaction streams generated in advance according to the input information in the UTXO.
In the above embodiments, the target transaction pipeline is already called by the UTXO, and the target transaction pipeline is deleted after the blockchain system has generated the corresponding UTXO processing result. Therefore, the target transaction pipeline cannot be called again, and the UTXO construction system can avoid the double-flower condition in advance.
Optionally, in some specific embodiments, when the UTXO construction system performs step S12, as shown in fig. 2, the following sub-steps may be specifically performed:
substep S12-1: and reading a preset number of transaction running water containing the address from a plurality of pieces of transaction running water generated in advance according to the asset transferring-out address, wherein the preset number is a natural number greater than 1.
Substep S12-2: executing an accumulation operation aiming at the preset number of transaction running water, wherein the accumulation operation comprises the following steps: and accumulating the asset amount of each transaction flow one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction flow participating in the accumulation as the target transaction flow.
Substep S12-3: and reading the next batch of transaction running water with the address from the plurality of pre-generated transaction running water according to the asset transfer-out address under the condition that the accumulated value does not reach the asset transfer amount after the asset amount of the preset number of transaction running water is accumulated, and continuously executing the accumulation operation.
For ease of understanding, assume illustratively that the preset number equals 5 and the asset transfer amount equals 100. When executing step S12, the UTXO construction system first reads five transaction streams, i.e., the transaction stream 1, the transaction stream 2, the transaction stream 3, the transaction stream 4, and the transaction stream 5, from the plurality of transaction streams, each of which contains the asset roll-out address, according to the asset roll-out address, and the five transaction streams each contain 20, 40, 30, and 60 assets.
The UTXO construction system first accumulates the asset amount 20 of the transaction pipeline 1 with the asset amount 40 of the transaction pipeline 2 to obtain an accumulated value 60, which does not reach the asset transfer amount 100. The UTXO building system then accumulates the asset amount 30 for the transaction pipeline 3 with an accumulated value equal to 90 and the accumulated value has not yet reached the asset transfer amount 100. The UTXO building system then accumulates the asset amount 30 for the transaction pipeline 4 with an accumulated value equal to 120 and the accumulated value reaches the transfer amount 100. Thus, the UTXO building system determines transaction pipeline 1, transaction pipeline 2, transaction pipeline 3, and transaction pipeline 4 as the final target transaction pipeline.
Or, for example, assuming the preset number is equal to 5, the asset transfer amount is equal to 100. When executing step S12, the UTXO construction system first reads five transaction streams, i.e., the transaction stream 1, the transaction stream 2, the transaction stream 3, the transaction stream 4, and the transaction stream 5, from the plurality of transaction streams, each of which contains the asset roll-out address, according to the asset roll-out address, and assumes that the five transaction streams respectively contain asset amounts of 20, 10, 30, 10, and 5.
The UTXO construction system first accumulates the asset amount 20 of the transaction pipeline 1 with the asset amount 10 of the transaction pipeline 2 to obtain an accumulated value 30, which does not reach the asset transfer amount 100. The UTXO building system then accumulates the asset amount 30 for the transaction pipeline 3 with an accumulated value equal to 60 and the accumulated value has not yet reached the asset transfer amount 100. The UTXO construction system then accumulates the asset amount 10 for the transaction pipeline 4 with an accumulated value equal to 70 and the accumulated value has not yet reached the asset transfer amount 100. The UTXO building system then accumulates the asset amount 5 of the transaction pipeline 5 with an accumulated value equal to 75 and the accumulated value has not yet reached the asset transfer amount 100.
Thus, the UTXO construction system reads five additional transaction streams, i.e., the transaction stream 6, the transaction stream 7, the transaction stream 8, the transaction stream 9, and the transaction stream 10, from the plurality of transaction streams, each containing the asset roll-out address, according to the asset roll-out address, assuming that the five transaction streams each contain 10, 30, 5, 10, and 50 assets.
The UTXO construction system then accumulates the asset amount 10 of the transaction pipeline 6 with an accumulated value equal to 85 and the accumulated value has not yet reached the asset transfer amount 100. The UTXO building system then accumulates the asset amount 30 for the transaction pipeline 7 with an accumulated value equal to 115 and the accumulated value reaches the asset transfer amount 100. Thus, the UTXO building system determines the transaction pipeline 1, the transaction pipeline 2, the transaction pipeline 3, the transaction pipeline 4, the transaction pipeline 5, the transaction pipeline 6, and the transaction pipeline 7 as final target transaction pipelines.
Compared with the method that only one transaction pipeline is read from a plurality of transaction pipelines each time, in the above specific embodiment, a preset number (greater than 1) of transaction pipelines are read each time, so that the number of times of reading the transaction pipelines can be reduced, and the construction efficiency of the UTXO is improved. Compared with the method for reading all the transaction running water every time, in the above specific embodiment, a preset number of transaction running water is read every time, so that a large amount of memory consumption caused by reading all the transaction running water at one time can be avoided.
Further, if the total amount of the read transaction flow reaches a preset threshold and the cumulative value of the asset amounts of all transaction flows does not reach the asset transfer amount, it may be determined that the pending transaction process has failed.
Specifically, the UTXO build system has read out batches of transaction pipelines. And if the total amount of the read transaction flow of each batch reaches a preset threshold value and the accumulated value of the asset amounts of all the transaction flow does not reach the asset transfer amount, determining that the to-be-processed transaction processing fails.
For ease of understanding, it is assumed that the preset threshold is equal to 50, and it is further assumed that the UTXO building system currently reads the 10 th transaction pipeline, where the 10 th transaction pipeline includes five transaction pipelines, i.e., a transaction pipeline 46, a transaction pipeline 47, a transaction pipeline 48, a transaction pipeline 49, and a transaction pipeline 50, and the five transaction pipelines each contain an asset roll-out address, and the five transaction pipelines each contain asset amounts of 0.1, and 0.1, respectively. Further assume that after the UTXO construction system accumulates the asset amount of the transaction pipeline 50, the accumulated value equals 5 and the accumulated value does not reach the asset transfer amount 100. Then the UTXO build system does not continue to read the transaction pipeline and determines that the pending transaction failed because the transaction pipeline read by the UTXO build system has reached the preset threshold 50.
In the invention, the failure of the transaction processing to be processed is determined by setting a preset threshold value and under the condition that the total amount of each batch of transaction flow reaches the preset threshold value and the accumulated value of the asset amounts of all the transaction flow does not reach the asset transfer amount. In this way, the following attacks on UTXO construction systems and blockchain systems by malicious users can be avoided: for example, a malicious user operates through business in advance, so that the UTXO construction system generates a large number (e.g., tens of thousands) of transaction streamers for which the asset amount is equal to 0.1; then, the malicious user requests transfer of money to a certain address 10000. If the preset threshold value is not set, the UTXO construction system needs to read 100000 transaction pipelines of the malicious user to construct the UTXO. Accordingly, the blockchain system also needs to process at least 100000 pieces of data in the UTXO. This easily causes a downtime of the apparatus running the UTXO construction system or the blockchain system. In the above specific embodiment, the occurrence of the above situation can be effectively avoided by setting the preset threshold.
In addition, if all the transaction streams containing the address are read from a plurality of transaction streams generated in advance according to the asset roll-out address, and the accumulated value of the asset amount of all the transaction streams does not reach the asset transfer amount, the pending transaction processing is determined to be failed.
For ease of understanding, assuming that the asset transfer amount is equal to 100, the UTXO construction system accumulates the asset amounts of the first 5 transaction streams to obtain an accumulated value equal to 35, and the accumulated value does not reach the asset transfer amount of 100. The UTXO building system attempts to read the second batch of transaction pipelines. However, when the UTXO attempts to read the second batch of transaction pipelines, it is assumed that only 3 transaction pipelines containing asset rollout addresses are read. As can be seen, the asset rollout address has only 8 transactions running without spending. Assuming that the UTXO construction system further accumulates the asset amounts for the second batch of 3 transaction streams to the above accumulated value of 35, the accumulated value still does not reach the asset transfer amount of 100, assuming the resulting accumulated value is equal to 80. The UTXO building system determines that the pending transaction failed.
Based on the same inventive concept, the embodiment of the invention also provides a transaction processing device based on the UTXO model. Referring to fig. 3, fig. 3 is a schematic diagram of a transaction processing apparatus based on the UTXO model according to an embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the transaction obtaining module 31 is configured to obtain a to-be-processed transaction, where the to-be-processed transaction carries an asset transfer-out address, an asset transfer-in address, and an asset transfer amount;
a pipeline reading module 32, configured to read a target transaction pipeline containing an address from a plurality of pre-generated transaction pipelines according to the asset transfer-out address, where each transaction pipeline in the plurality of transaction pipelines contains the address and the asset amount;
the UTXO construction module 33 is used for constructing UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and the pipelining generation module 34 is used for responding to the UTXO processing result returned by the blockchain system, and generating a new transaction pipelining according to the asset transfer-in address and the asset transfer amount.
Optionally, in some embodiments, each transaction flow further includes a first state identifier or a second state identifier, where the first state identifier is used to characterize that the transaction flow is not spent and the second state identifier is used to characterize that the transaction flow is spent.
The pipeline reading module is specifically configured to: and reading the target transaction flow containing the address and the first state identification from a plurality of pre-generated transaction flows according to the asset roll-out address.
The pipeline generation module is specifically configured to: and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount, and setting a first state identifier in the transaction flow.
The device also comprises a state identifier replacing module which is used for responding to the UTXO processing result returned by the blockchain system and replacing the first state identifier of the target transaction pipeline with the second state identifier.
Optionally, in some embodiments, the apparatus further includes a pipeline deleting module configured to delete the target transaction pipeline in response to a UTXO processing result returned by the blockchain system.
Optionally, in some specific embodiments, the pipeline reading module is specifically configured to: reading a preset number of transaction running water containing the address from a plurality of pieces of transaction running water generated in advance according to the asset transferring-out address, wherein the preset number is a natural number greater than 1; executing an accumulation operation aiming at the preset number of transaction running water, wherein the accumulation operation comprises the following steps: accumulating the asset amount of each transaction flow one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction flow participating in the accumulation as a target transaction flow; and reading the next batch of transaction running water with the address from the plurality of pre-generated transaction running water according to the asset transfer-out address under the condition that the accumulated value does not reach the asset transfer amount after the asset amount of the preset number of transaction running water is accumulated, and continuously executing the accumulation operation.
Optionally, in some specific embodiments, the pipeline reading module is further specifically configured to: if the total amount of the read transaction flow of each batch reaches a preset threshold value and the accumulated value of the asset amounts of all the transaction flow does not reach the asset transfer amount, determining that the to-be-processed transaction processing fails; and if all the transaction streams containing the address are read from a plurality of pieces of transaction streams generated in advance according to the asset transfer-out address, and the accumulated value of the asset amount of all the transaction streams does not reach the asset transfer amount, determining that the to-be-processed transaction processing fails.
Optionally, in some embodiments, in the case that the asset amount in the target transaction pipelining exceeds the asset transfer amount, the output information of the UTXO further includes the asset roll-out address and an asset differential, the asset differential being a difference between the asset amount of the target transaction pipelining and the asset transfer amount.
The pipeline generation module is further configured to: and generating a new transaction pipeline according to the asset roll-out address and the asset balance in response to the UTXO processing result returned by the blockchain system.
Optionally, in some specific embodiments, the pipeline generation module is specifically configured to: and transferring the asset into an address to be used as an address of the transaction flow to be generated, and using the asset transfer amount as the asset amount of the transaction flow to be generated, so as to generate a new transaction flow.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete communication with each other through the communication bus 404.
The memory 403 is used for storing computer programs;
the processor 401 is configured to implement the following steps when executing the program stored in the memory 403:
acquiring a transaction to be processed, wherein the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount;
reading a target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the plurality of transaction flows contains the address and the asset amount;
building a UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and responding to the UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount.
Alternatively, the processor 401 is configured to implement the UTXO model-based transaction processing method steps provided in the above other method embodiments of the present invention when executing the program stored in the memory 403.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the UTXO model-based transaction processing method as described in any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A transaction processing method based on a UTXO model, the method comprising:
acquiring a transaction to be processed, wherein the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount;
reading a target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the plurality of transaction flows contains the address and the asset amount;
building a UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and responding to the UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer-in address and the asset transfer amount.
2. The method of claim 1, wherein each transaction flow further comprises a first state identifier or a second state identifier, wherein the first state identifier is used to characterize that the transaction flow is not spent and the second state identifier is used to characterize that the transaction flow is spent;
the reading out the target transaction flow containing the address from the plurality of pre-generated transaction flows according to the asset roll-out address comprises the following steps: reading a target transaction flow containing the address and a first state identifier from a plurality of pre-generated transaction flows according to the asset transfer-out address;
generating a new transaction flow according to the asset transfer-in address and the asset transfer amount, wherein the method comprises the following steps: generating a new transaction flow according to the asset transfer address and the asset transfer amount, and setting a first state identifier in the transaction flow;
the method further comprises the following steps: and replacing the first state identifier of the target transaction pipeline with a second state identifier in response to the UTXO processing result returned by the blockchain system.
3. The method of claim 1, further comprising: deleting the target transaction pipeline in response to the UTXO processing result returned by the blockchain system.
4. The method of claim 1, wherein reading a target transaction pipeline containing an address from a plurality of pre-generated transaction pipelines according to the asset roll-out address comprises:
reading a preset number of transaction running water containing the address from a plurality of pieces of transaction running water generated in advance according to the asset transferring-out address, wherein the preset number is a natural number greater than 1;
executing an accumulation operation aiming at the preset number of transaction running water, wherein the accumulation operation comprises the following steps: accumulating the asset amount of each transaction flow one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction flow participating in the accumulation as a target transaction flow;
and reading the next batch of transaction running water with the address from the plurality of pre-generated transaction running water according to the asset transfer-out address under the condition that the accumulated value does not reach the asset transfer amount after the asset amount of the preset number of transaction running water is accumulated, and continuously executing the accumulation operation.
5. The method of claim 4, further comprising:
if the total amount of the read transaction flow of each batch reaches a preset threshold value and the accumulated value of the asset amounts of all the transaction flow does not reach the asset transfer amount, determining that the to-be-processed transaction processing fails;
and if all the transaction streams containing the address are read from a plurality of pieces of transaction streams generated in advance according to the asset transfer-out address, and the accumulated value of the asset amount of all the transaction streams does not reach the asset transfer amount, determining that the to-be-processed transaction processing fails.
6. The method of any of claims 1 to 5, wherein in the event that the amount of assets in the target transaction stream exceeds the asset transfer amount, the output information of the UTXO further comprises the asset roll-out address and an asset differential, the asset differential being the difference between the amount of assets in the target transaction stream and the asset transfer amount;
the method further comprises the following steps: and generating a new transaction pipeline according to the asset roll-out address and the asset balance in response to the UTXO processing result returned by the blockchain system.
7. The method according to any one of claims 1 to 5, wherein said generating a new transaction stream based on said asset transfer-in address and said asset transfer amount comprises: and transferring the asset into an address to be used as an address of the transaction flow to be generated, and using the asset transfer amount as the asset amount of the transaction flow to be generated, so as to generate a new transaction flow.
8. A transaction processing apparatus based on a UTXO model, the apparatus comprising:
the system comprises a transaction obtaining module, a transaction obtaining module and a transaction processing module, wherein the transaction obtaining module is used for obtaining a transaction to be processed, and the transaction to be processed carries an asset transfer-out address, an asset transfer-in address and an asset transfer amount;
the flow reading module is used for reading target transaction flow containing the address from a plurality of pre-generated transaction flows according to the asset transfer-out address, wherein each transaction flow in the transaction flows contains the address and the asset amount;
the UTXO construction module is used for constructing the UTXO according to the target transaction running water, the asset transfer-in address and the asset transfer amount and submitting the UTXO to a blockchain system for processing; wherein the input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises the asset transfer-in address and the asset transfer amount;
and the pipelining generation module is used for responding to the UTXO processing result returned by the blockchain system and generating a new transaction pipelining according to the asset transfer-in address and the asset transfer amount.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
the memory is used for storing a computer program;
the processor, when executing a program stored in the memory, is adapted to perform the method steps of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202110788160.7A 2021-07-13 2021-07-13 Transaction processing method, device, equipment and storage medium based on UTXO model Active CN113450224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110788160.7A CN113450224B (en) 2021-07-13 2021-07-13 Transaction processing method, device, equipment and storage medium based on UTXO model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110788160.7A CN113450224B (en) 2021-07-13 2021-07-13 Transaction processing method, device, equipment and storage medium based on UTXO model

Publications (2)

Publication Number Publication Date
CN113450224A true CN113450224A (en) 2021-09-28
CN113450224B CN113450224B (en) 2024-02-27

Family

ID=77816111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110788160.7A Active CN113450224B (en) 2021-07-13 2021-07-13 Transaction processing method, device, equipment and storage medium based on UTXO model

Country Status (1)

Country Link
CN (1) CN113450224B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357346A (en) * 2022-10-13 2022-11-18 北京百度网讯科技有限公司 Transaction processing method and device based on block chain, electronic equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1706156A (en) * 2001-05-04 2005-12-07 艾利森公司 Emergency packet data service
CN108615156A (en) * 2018-05-09 2018-10-02 上海魅联信息技术有限公司 A kind of data structure based on block chain
CN108694575A (en) * 2018-06-13 2018-10-23 深圳前海微众银行股份有限公司 Verification method of transferring accounts, device and storage medium based on block chain
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
US20190180047A1 (en) * 2017-12-08 2019-06-13 Nec Europe Ltd. Method and system of preserving privacy for usage of lightweight blockchain clients
CN110473105A (en) * 2019-08-20 2019-11-19 深圳市网心科技有限公司 A kind of block chain transaction settlement method, system and relevant device
US20200050780A1 (en) * 2017-04-17 2020-02-13 Coinplug, Inc. Method for managing document on basis of blockchain by using utxo-based protocol, and document management server using same
CN111010280A (en) * 2019-12-09 2020-04-14 中山大学 Group signature-based construction method for monitorable block chain
CN111161071A (en) * 2019-12-30 2020-05-15 致信互链(北京)科技有限公司 Data processing method, device, equipment and storage medium based on block chain
CN112015766A (en) * 2020-08-24 2020-12-01 京东数字科技控股股份有限公司 Data processing method and device based on pipelining and data processing system
CN112511590A (en) * 2020-10-26 2021-03-16 南京辰阔网络科技有限公司 Efficient storage reconfiguration method for block chain fragmentation

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1706156A (en) * 2001-05-04 2005-12-07 艾利森公司 Emergency packet data service
US20200050780A1 (en) * 2017-04-17 2020-02-13 Coinplug, Inc. Method for managing document on basis of blockchain by using utxo-based protocol, and document management server using same
US20190180047A1 (en) * 2017-12-08 2019-06-13 Nec Europe Ltd. Method and system of preserving privacy for usage of lightweight blockchain clients
CN108615156A (en) * 2018-05-09 2018-10-02 上海魅联信息技术有限公司 A kind of data structure based on block chain
CN108694575A (en) * 2018-06-13 2018-10-23 深圳前海微众银行股份有限公司 Verification method of transferring accounts, device and storage medium based on block chain
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
CN110473105A (en) * 2019-08-20 2019-11-19 深圳市网心科技有限公司 A kind of block chain transaction settlement method, system and relevant device
CN111010280A (en) * 2019-12-09 2020-04-14 中山大学 Group signature-based construction method for monitorable block chain
CN111161071A (en) * 2019-12-30 2020-05-15 致信互链(北京)科技有限公司 Data processing method, device, equipment and storage medium based on block chain
CN112015766A (en) * 2020-08-24 2020-12-01 京东数字科技控股股份有限公司 Data processing method and device based on pipelining and data processing system
CN112511590A (en) * 2020-10-26 2021-03-16 南京辰阔网络科技有限公司 Efficient storage reconfiguration method for block chain fragmentation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357346A (en) * 2022-10-13 2022-11-18 北京百度网讯科技有限公司 Transaction processing method and device based on block chain, electronic equipment and medium

Also Published As

Publication number Publication date
CN113450224B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
US11915332B2 (en) System and process for tokenization and management of liability
US9965364B2 (en) Fault tolerant listener registration in the presence of node crashes in a data grid
CN106033437A (en) Method and system for processing distributed transaction
WO2016118429A1 (en) System for efficient processing of transaction requests related to an account in a database
CN113722520B (en) Graph data query method and device
US9591059B2 (en) File change notifications in a scale-out NAS system
CN112671881B (en) Node organization management method and device, electronic equipment and readable storage medium
KR102327572B1 (en) Methods and devices for data storage and service processing
CN111061748A (en) Hot account accounting method and device
CN112202633A (en) Block chain network testing method and device, electronic equipment and readable storage medium
CN113450224B (en) Transaction processing method, device, equipment and storage medium based on UTXO model
US20170147704A1 (en) Processing large xml files by splitting and hierarchical ordering
CN112835885A (en) Processing method, device and system for distributed table storage
CN114372868A (en) Method and device for associating and managing paper files and electronic files
CN112084201B (en) Distributed account book processing method and device, storage medium and electronic equipment
CN113450223A (en) Transaction processing method, device and equipment based on UTXO model and storage medium
CN116450637A (en) Data management method, device, electronic equipment and storage medium
CN113849482A (en) Data migration method and device and electronic equipment
US20220012673A1 (en) Maintaining status information for customer-support agents across multiple channels
CN114493583A (en) Member management method and device based on decentralized peer-to-peer network technology
CN112202581A (en) Group joining method and device and electronic equipment
CN112596867A (en) Suspension transaction processing method and distributed database system
CN112634012A (en) Service data processing method, device, server and storage medium
CN113992566B (en) Message broadcasting method and device
RU2682010C1 (en) Data in the database access separation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant