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

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

Info

Publication number
CN113450224B
CN113450224B CN202110788160.7A CN202110788160A CN113450224B CN 113450224 B CN113450224 B CN 113450224B CN 202110788160 A CN202110788160 A CN 202110788160A CN 113450224 B CN113450224 B CN 113450224B
Authority
CN
China
Prior art keywords
transaction
address
utxo
asset transfer
asset
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.)
Active
Application number
CN202110788160.7A
Other languages
Chinese (zh)
Other versions
CN113450224A (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

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, device, equipment and storage medium based on a UTXO model, aiming at reducing the technical threshold of the UTXO. Wherein the method comprises the following steps: obtaining 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 running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer address; constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount; and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer address and the asset transfer amount.

Description

Transaction processing method, device, equipment and storage medium based on UTXO model
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing transactions 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 for short) in the block chain network realizes generation, consensus and storage of block data by running a block chain program, finally achieves a tamper-proof mechanism of the data, and provides a safe and credible technical new idea for business development. The blockchain technology can be applied to various business scenes, such as financial field, electronic commerce field, commodity or raw material tracing field, electronic certificate storing field and the like, and can be used for developing business due to the fact that the blockchain technology realizes a data tamper-proof mechanism, so that the trust crisis among parties involved in the business can be solved.
The unexpired transaction output (Unspent Transaction Output, UTXO) model is a common record keeping method in blockchain systems, and blockchain systems supporting the UTXO model can process transactions in UTXO mode (hereinafter, the transactions in UTXO mode will be simply referred to as UTXOs). UTXOs contain input information, which typically points to another transaction that has been completed, and output information, which typically contains an asset transfer address, asset transfer amount, etc. The blockchain system processes transfer transactions based on the UTXO model, so that asset transfer and asset management can be realized more safely and efficiently. However, the complexity of the UTXO model is high for an average user, who has difficulty in writing transactions in the UTXO mode.
Disclosure of Invention
The embodiment of the invention aims to provide a transaction processing method, device, equipment and storage medium based on a UTXO model, aiming at reducing the technical threshold of the UTXO. The specific technical scheme is as follows:
in a first aspect of the embodiment of the present invention, there is provided a transaction processing method based on a UTXO model, the method including:
obtaining 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 running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein each transaction running water in the plurality of transaction running water contains the address and the asset amount;
constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount;
and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer address and the asset transfer amount.
In a second aspect of the embodiment of the present invention, there is provided a transaction processing apparatus based on a UTXO model, the apparatus including:
the transaction obtaining module is used for obtaining 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;
the running water reading module is used for reading a target transaction running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein each transaction running water in the plurality of transaction running water contains the address and the asset amount;
the UTXO construction module is used for constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount;
and the running water generating module is used for responding to the UTXO processing result returned by the blockchain system and generating a new transaction running water according to the asset transfer address and the asset transfer amount.
In a third aspect of the embodiments of the present invention, there is provided an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory perform communication with each other through the communication bus;
The memory is used for storing a computer program;
the processor is configured to implement the UTXO model-based transaction processing method provided by any of the embodiments of the present invention when executing a program stored in the memory.
In a fourth aspect of the embodiments of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for processing transactions based on the UTXO model provided by any of the embodiments of the present invention.
In the invention, when a user needs to implement asset transfer based on a blockchain system, the user can submit a transaction to be processed to an execution subject of the invention, and the user can specify information such as an asset transfer-out address, an asset transfer-in address, an asset transfer amount and the like in the transaction to be processed very simply without constructing a UTXO in person. After the execution body obtains the transaction to be processed, the target transaction running water containing the address is read from a plurality of transaction running water which are generated in advance according to the address of the asset transfer-out. Wherein the target transaction pipeline corresponds to an unexpired transaction for the asset transfer-out address. The executing body then generates a UTXO based on the target transaction pipeline, the asset transfer address, and the asset transfer amount, and submits the UTXO to the blockchain system for processing. The input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises an asset transfer address and an asset transfer amount. In addition, after obtaining the UTXO processing result of the blockchain system, the execution body also generates a new transaction flow according to the asset transfer address and the asset transfer amount, wherein the transaction flow corresponds to the unexpired transaction of the asset transfer address. If a user transferring the asset to an address in the future needs to transfer to another address, the executing body may read the transaction in a pipeline to generate input information of another UTXO to construct another UTXO.
In the invention, the execution main body can automatically construct the UTXO for the user according to the transaction to be processed 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 evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings by those of ordinary skill in the art 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 chart of transaction flow reading according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a transaction processing device based on a 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 solutions 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 will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The unexpired transaction output (Unspent Transact ion Output, UTXO) model is a common record keeping method in blockchain systems, and blockchain systems supporting the UTXO model can process transactions in UTXO mode (hereinafter, the transactions in UTXO mode will be simply referred to as UTXOs). UTXOs contain input information, which typically points to another transaction that has been completed, and output information, which typically contains an asset transfer address, asset transfer amount, etc. The blockchain system processes transfer transactions based on the UTXO model, so that asset transfer and asset management can be realized more safely and efficiently. However, the complexity of the UTXO model is high for an average user, who has difficulty in writing transactions in the UTXO mode.
In view of this, the present invention proposes a transaction processing method, apparatus, device and storage medium based on the UTXO model by the following embodiments, which aims to reduce the technical threshold of UTXOs.
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 body of the present invention may be referred to as a UTXO build 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 simultaneously on the same device. During operation, the device constructs a UTXO by running a UTXO construction system to realize the following steps S11 to S14, submits the constructed UTXO to a block chain system running on the device, and receives a UTXO processing result returned by the block chain system. The device also processes the UTXO submitted by the UTXO construction system by running the blockchain 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, with the UTXO construction system and the blockchain system being deployed on separate devices. Specifically, the blockchain system is deployed on multiple devices that are organized into a blockchain network, and the UTXO building system is deployed on other devices. And during operation, the other equipment constructs the UTXO by running the UTXO construction system to realize the following steps S11 to S14, submits the constructed UTXO to any node of the blockchain network, and receives a UTXO processing result returned by the blockchain system. Each node of the blockchain network processes the UTXO submitted by the UTXO construction system by running the blockchain 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 obtaining 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.
In some embodiments, the UTXO construction system receives a transaction to be processed sent by the client, thereby obtaining the transaction to be processed.
In other embodiments, the UTXO construction system receives a pending transaction sent by the middleware system to obtain the pending transaction. The middleware system is used for transferring the transaction to be processed written by the user side or generating the transaction to be processed according to the service message sent by the user side.
In some embodiments, the transaction to be processed may be a transaction to be processed that is a transaction mode not supported by the UTXO model of the blockchain system, e.g., the transaction mode of the transaction is an account/balance mode. During implementation of the invention, the UTXO build system receives an account/balance mode pending transaction carrying 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 performs the following steps S12 and S13, thereby converting the transaction to be processed into a transaction in UTXO mode (abbreviated as UTXO).
Step S12: and reading a target transaction stream containing the address from a plurality of transaction streams generated in advance according to the asset transfer-out address, wherein each transaction stream in the plurality of transaction streams contains the address and the asset amount.
Wherein the read target transaction pipelining should meet the following requirements: the asset amount of the read target transaction flows should be up to the asset transfer amount. By "reached" is meant equal to or greater than. For ease of understanding, assuming, by way of example, that the asset transfer amount is 100 and assuming that the UTXO build system reads a total of 3 subject transaction runs, each of which 3 subject transaction runs contains asset amounts of 40, 50, 30, respectively, the sum of the asset amounts of the 3 subject transaction runs is equal to 120, and the asset transfer amount of 100 is achieved, meeting the above requirements.
In the invention, each transaction flow contains an address and an asset amount, each transaction flow corresponds to one unexpired transaction of the address, and the unexpired transaction corresponds to the unexpired asset yield, namely the asset amount. For ease of understanding, it is assumed by way of example that a transaction stream contains addresses 04591d192e and an asset amount 240. The transaction stream corresponds to an unexpired transaction for 04591d192e address that corresponds to an unexpired asset quantity equal to 240.
In the invention, the UTXO construction system takes an asset transfer address carried by a transaction to be processed as an index, and reads transaction pipelining containing the address from a plurality of transaction pipelining generated in advance. For ease of illustration, the present invention refers to a transaction pipeline containing asset transfer-out addresses as a target transaction pipeline. For ease of understanding, by way of example, assuming that the asset rollout address carried by the pending transaction is 5837baa d1, the UTXO construction system, after obtaining the pending transaction, reads the transaction stream containing the 5837baa2d1 address from the pre-generated transaction streams with the 5837baa d1 address as an index.
Alternatively, in some embodiments, multiple transaction streams are stored separately in groups, where transaction streams containing the same address are located in the same group. In particular, the transaction flow may be stored by a database, where the database includes multiple data tables, and the transaction flow containing the same address is stored in the same data table. When the UTXO construction system reads the target transaction running water, the address can be transferred out according to the asset carried by the transaction to be processed, a group of transaction running water corresponding to the address (namely, a group of transaction running water containing the address) is determined from a plurality of groups of transaction running water, and then the target transaction running water is read from the determined group of transaction running water. By storing the transaction streamlines in groups and reading the target transaction streamlines in the manner, the reading efficiency of the target transaction streamlines can be improved, particularly when multi-item target transaction streamlines need to be read out.
Step S13: constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount.
In particular, each transaction flow may also contain a transaction identifier, where the transaction identifier is unique, in other words, different transaction flows each contain a different transaction identifier. When constructing the UTXO, on one hand, the UTXO construction system generates input information of the UTXO to be constructed according to the read target transaction streamlines, wherein the input information comprises each target transaction streamline. On the other hand, output information of the UTXO to be constructed is generated according to the asset transfer address and the asset transfer amount, and the output information comprises the asset transfer address and the asset transfer amount.
In addition, in the case that the sum of the asset amounts of the respective target transaction flows exceeds the asset transfer amount, in order to make the sum of the asset amounts of the respective target transaction flows (i.e., the input of the UTXOs) equal to the output of the UTXOs to achieve balance of the total amounts of assets, the output information of the UTXOs further includes an asset transfer-out address and an asset differential, which is a difference between the sum of the asset amounts in the respective target transaction flows and the asset transfer amount.
The term "each-entry transaction pipeline" refers to all the read target transaction pipelines, and may include one or more of the term "each-entry transaction pipeline" according to the actual reading situation.
For ease of understanding, along with the above example, assume that the original transaction identification of the transaction to be processed is b83cd00. Assume again that the transfer address of the asset carried by the pending transaction is 5837baa d1, the transfer address of the asset carried by the pending transaction is 7a6073ed5b, and the transfer amount of the asset carried by the pending transaction is 100. Assuming again that the UTXO construction system reads a total of 3 target transaction streamlines based on the 5837baa2d1 address, the specific information for the 3 target transaction streamlines is as follows.
The first tag transaction pipeline includes: transaction identification 8c30147a_1; address 5837baa d1; asset amount 40.
The second target transaction pipeline includes: transaction identity d5d0302_2; address 5837baa d1; asset amount 50.
The third target transaction pipeline includes: transaction identification 480 fd16_1; address 5837baa d1; asset amount 30.
The UTXO construction system, after reading the 3-item label transaction stream, constructs a UTXO as shown in table 1. It should be noted that UTXOs shown in table 1 are only examples, and should not be construed as limiting the present invention.
Table 1 UTXO schematic table
Wherein the UTXO identification follows the original transaction identification of the transaction to be processed. The transaction identifier in the column of the output information out is composed of an original transaction identifier and a number, for example, the transaction identifier b83cd00_1 contains the original transaction identifier b83cd00 and the number 1, and for example, the transaction identifier b83cd00_2 contains the original transaction identifier b83cd00 and the number 2.
It should be noted that, after each UTXO is processed by the blockchain system, the blockchain system may generate a plurality of pieces of ledger data in the ledger database according to the output information out of the UTXO. For example, after the blocking chain system processes the UTXOs shown in table 1, two pieces of ledger data may be generated in the ledger database according to the output information out of the UTXOs. One of the pieces of account data at least includes: transaction identifier b83cd00_1 and unexpired identifier, and the other piece of account data at least contains: transaction identification b83cd00_2 and unexpired identification. It should be noted that, the account book data is different from the transaction flow generated in the following step S14, and the account book data is generated by a blockchain system and belongs to block data; and transaction pipelining is generated by a UTXO construction system and belongs to centralized data.
Also to be described is: the blockchain system may also perform a double-flower check before processing each UTXO. Specifically, the blockchain system queries, for each transaction identifier included in the UTXO input information in, one piece of ledger data corresponding to the transaction identifier, and then determines whether the ledger data includes an unexpired identifier. If the ledger data corresponding to each transaction identifier contains an unexpired identifier, determining that the double-flower check passes, and therefore, processing the UTXO can be continued, and replacing the unexpired identifier in the ledger data corresponding to each transaction identifier with the spent identifier. Otherwise, it is determined that the double-flower check fails, so that it can be determined that the UTXO processing fails. For example, before processing the UTXO shown in table 1, the blockchain system may query the corresponding ledger data for the transaction identifier 8c30147a_1 in the input information in of the UTXO, and determine whether the ledger data includes an unexpired identifier. Likewise, for transaction identification dc5d0302_2, the corresponding ledger data is queried and it is determined whether the ledger data contains an unexpired identification. Likewise, for transaction identification 480 fd16_1, the corresponding ledger data is queried and a determination is made as to whether the ledger data contains an unexplained identification. And if all the three pieces of account book data contain the unexpired identifiers, processing the UTXO, and after the UTXO is successfully processed, replacing the unexpired identifiers contained in all the three pieces of account book data with the spent identifiers. If all the three pieces of account book data do not contain unexpired identifiers, determining that the UTXO processing fails.
It should also be noted that the blockchain system transfers 100 parts of the 120 parts of the asset at the 5837baa2d1 address to the 7a6073ed5b address and the other 20 parts of the asset to the 5837baa2d1 address itself after successfully processing the UTXOs shown in table 1.
Step S14: and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer address and the asset transfer amount.
In particular, the UTXO construction system may use the asset transfer address as the address of the transaction stream to be generated and the asset transfer amount as the asset amount of the transaction stream to be generated, thereby generating a new transaction stream.
Optionally, in some embodiments, after the blockchain 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 blockchain system successfully processes the UTXO, a UTXO processing result is returned to the UTXO construction system, where the UTXO processing result carries an identifier that is YES. And after the block chain system fails to process the UTXO, returning a UTXO processing result to the UTXO construction system, wherein the UTXO processing result carries an identification like NO. After receiving the UTXO processing result, the UTXO construction system firstly judges whether the processing result carries an identification like YES. If so, a new transaction sequence may be generated based on 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 identifier (e.g., the UTXO identifier shown in table 1). After receiving the UTXO processing result, the UTXO construction system inquires out a pre-established UTXO according to the carried UTXO identifier. And then establishing transaction pipelining according to the output information in the UTXO. For easy understanding, in the example of 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 streamlines according to the output information in the UTXO.
The first transaction pipeline comprises: transaction identifier b83cd00_1; address 7a6073ed5b; asset amount 100.
The second transaction pipeline comprises: transaction identifier b83cd00_2; address 5837baa d1; asset amount 20.
In summary, in the above embodiments, the UTXO construction system generates a new transaction pipeline based on the asset transfer 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 pipeline according to the asset transfer-out address and the asset balance. Wherein the asset balance is the difference between the sum of asset amounts and the transfer amount of the asset per transaction running.
By executing the transaction processing method based on the UTXO model including the above steps S11 to S14, when a user needs to perform asset transfer based on the blockchain system, a pending transaction can be submitted to an execution subject of the present invention (e.g., the UTXO construction system), 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 a UTXO. After the execution body obtains the transaction to be processed, the target transaction running water containing the address is read from a plurality of transaction running water which are generated in advance according to the address of the asset transfer-out. Wherein the target transaction pipeline corresponds to an unexpired transaction for the asset transfer-out address. The executing body then generates a UTXO based on the target transaction pipeline, the asset transfer address, and the asset transfer amount, and submits the UTXO to the blockchain system for processing. The input information of the UTXO is generated by the target transaction pipeline, and the output information of the UTXO comprises an asset transfer address and an asset transfer amount.
In addition, after obtaining the UTXO processing result of the blockchain system, the execution body also generates a new transaction flow according to the asset transfer address and the asset transfer amount, wherein the transaction flow corresponds to the unexpired transaction of the asset transfer address. If a user transferring the asset to an address in the future needs to transfer to another address, the executing body may read the transaction in a pipeline to generate input information for another UTXO. In the invention, the execution main body can automatically construct the UTXO for the user according to the transaction to be processed of the user, thereby reducing the technical threshold of the UTXO.
Optionally, in some embodiments, each transaction pipeline may also contain a first state identification or a second state identification, wherein the first state identification is used to indicate that the transaction pipeline is not spent and the second state identification is used to indicate that the transaction pipeline is spent.
When executing the above step S12, the UTXO construction system may specifically read, from a plurality of transaction streams generated in advance, a target transaction stream containing the address and the first status identifier, based on the asset transfer address.
In specific implementation, the UTXO construction system may first determine a set of transaction flows corresponding to the address (i.e., a set of transaction flows containing the address) from a plurality of sets of transaction flows by using an asset transfer address carried by a transaction to be processed as an index, and then read a transaction flow containing the first state identifier from the determined set of transaction flows. For ease of illustration, the transaction pipeline containing the asset transfer out address and the first state identification will be referred to herein as the target transaction pipeline.
When executing the step S14, the UTXO construction system may specifically generate a new transaction flow according to the asset transfer address and the asset transfer amount, and set a first status identifier in the transaction flow.
In addition, the UTXO construction system may further perform the steps of: and replacing the first state identifier of the target transaction stream with the second state identifier in response to the UTXO processing result returned by the blockchain system.
In specific implementation, the UTXO construction system may query a preset UTXO according to a UTXO identifier carried by a UTXO processing result. And then, according to the input information in the UTXO, replacing the first state identifier of the target transaction stream contained in the input information with the second state identifier. For easy understanding, 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 the first state identifier of the 3-item transaction flow such as 8c30147a_1, dc5d0302_2, and 480 f 16_1 with the second state identifier according to the input information in the UTXO.
In the above embodiment, each transaction flow carries the first state identifier or the second state identifier, and since the newly generated transaction flow is not yet spent, each transaction flow carries the first state identifier. The target transaction flow is invoked by the UTXO, and the first state identifier of the target transaction flow is replaced by the second state identifier after the blockchain system has generated the corresponding UTXO processing result. Therefore, the target transaction flow cannot be called again, and the UTXO construction system can avoid double-flower situations in advance.
Alternatively, in other embodiments, the UTXO construction system may delete the target transaction pipeline in response to a UTXO processing result returned by the blockchain system.
In specific implementation, the UTXO construction system may query a preset UTXO according to a UTXO identifier carried by a UTXO processing result. And then deleting the corresponding target transaction stream according to the target transaction stream contained in the input information of the UTXO. For easy understanding, 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 deletes the 3-item standard transaction streams such as 8c30147a_1, dc5d0302_2, and 48e0fd16_1 from the multiple transaction streams generated in advance according to the input information in the UTXO.
In the above embodiments, the target transaction pipeline has been invoked 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 flow cannot be called again, and the UTXO construction system can avoid double-flower situations in advance.
Optionally, in some embodiments, the UTXO construction system may specifically perform the following sub-steps when performing step S12 described above, as shown in fig. 2:
Substep S12-1: and reading a preset number of transaction streamlines containing the address from a plurality of transaction streamlines which are generated in advance according to the asset transfer-out address, wherein the preset number is a natural number greater than 1.
Substep S12-2: executing a cumulative operation for the preset number of transaction streams, wherein the cumulative operation comprises: and accumulating the asset amount of each transaction running water one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction running water participating in accumulation as a target transaction running water.
Substep S12-3: and reading the next batch of transaction running water containing the address from the pre-generated transaction running water according to the address transferred from the asset 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, by way of example, that the preset number is equal to 5 and the asset transfer amount is equal to 100. When executing step S12, the UTXO construction system first reads five transaction flows, such as transaction flow 1, transaction flow 2, transaction flow 3, transaction flow 4, and transaction flow 5, from the plurality of transaction flows according to the asset transfer addresses, where the five transaction flows each include the asset transfer addresses, and the amounts of assets included in the five transaction flows are 20, 40, 30, and 60, respectively.
The UTXO build system first accumulates 20 the asset amount of transaction flow 1 with 40 the asset amount of transaction flow 2 to obtain an accumulated value 60, which does not reach 100 the asset transfer amount. The UTXO construction system then accumulates the asset amount 30 for transaction flow 3 by an accumulated value equal to 90, the accumulated value still not reaching the asset transfer amount 100. The UTXO construction system then accumulates the asset amount 30 for transaction flow 4 by an amount equal to 120 and up to transfer amount 100. Thus, the UTXO construction 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 that 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 flows, such as transaction flow 1, transaction flow 2, transaction flow 3, transaction flow 4, and transaction flow 5, from the plurality of transaction flows according to the asset transfer addresses, where the five transaction flows all contain the asset transfer addresses, and it is assumed that the amounts of assets contained in the five transaction flows are 20, 10, 30, 10, and 5, respectively.
The UTXO build system first accumulates the asset amount 20 of transaction flow 1 with the asset amount 10 of transaction flow 2 to obtain an accumulated value 30, which does not reach the asset transfer amount 100. The UTXO construction system then accumulates the asset amount 30 for transaction flow 3 by an accumulation value equal to 60, the accumulation value not yet reaching the asset transfer amount 100. The UTXO construction system then accumulates the asset amount 10 for transaction flow 4 by an accumulation value equal to 70, the accumulation value not yet reaching the asset transfer amount 100. The UTXO construction system then accumulates asset amount 5 for transaction flow 5 by an amount equal to 75 and the accumulated value has not yet reached asset transfer amount 100.
In this way, the UTXO construction system reads five other transaction streamers, such as transaction streamers 6, 7, 8, 9, and 10, from the plurality of transaction streamers according to the asset transfer address, where the five transaction streamers all contain the asset transfer address, assuming that the five transaction streamers each contain 10, 30, 5, 10, and 50 amounts of assets.
The UTXO construction system then accumulates the asset amount 10 for transaction flow 6 by an accumulated value equal to 85, the accumulated value still not reaching the asset transfer amount 100. The UTXO construction system then accumulates the asset amount 30 of transaction flow 7 for an accumulated value equal to 115 and the accumulated value reaches the asset transfer amount 100. Thus, the UTXO build system determines transaction streamers 1, 2, 3, 4, 5, 6, and 7 as the final target transaction streamers.
Compared with the method that only one transaction stream is read out from a plurality of transaction streams at a time, in the specific embodiment, the method can reduce the reading times of the transaction streams by reading out the preset number (more than 1) of transaction streams at a time, thereby improving the construction efficiency of UTXOs. Compared with the method that all the transaction streams are read out each time, in the specific embodiment, the method can avoid the memory consumption caused by reading out all the transaction streams at one time when the preset number of transaction streams are read out each time.
Further, if the total amount of transaction flows read out reaches a preset threshold and the accumulated value of asset amounts of all transaction flows does not reach the asset transfer amount, it may be determined that the pending transaction has failed.
Specifically, UTXO build systems have read out multiple batches of transaction streams. If the total amount of each batch of transaction flowing water read out reaches a preset threshold value and the accumulated value of the asset amount of all transaction flowing water does not reach the asset transfer amount, the failure of the transaction to be processed can be determined.
For ease of understanding, it is assumed by way of example that the preset threshold is equal to 50, and that the UTXO build system currently reads out batch 10 of transaction streamers, the batch 10 of transaction streamers including five transaction streamers, transaction streamers 46, 47, 48, 49, and 50, each of which contains an asset transfer-out address, the five transaction streamers each containing asset amounts of 0.1, respectively. Again, assume that the UTXO build system has accumulated the asset amount of transaction flow 50, and the accumulated value is equal to 5, and the accumulated value has not reached 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 to be processed is determined by setting a preset threshold value and under the condition that the total amount of running water of each batch of transactions reaches the preset threshold value and the accumulated value of the asset amount of all the running water of the transactions still does not reach the asset transfer amount. Thus, the following attacks on UTXO construction system and blockchain system manufacturing by malicious users can be avoided: for example, a malicious user performs business operations in advance, so that the UTXO construction system generates a large number (for example, tens of thousands) of transaction streamlines with an asset amount equal to 0.1 for the malicious user; next, the malicious user requests a transfer 10000 to a certain address. If the preset threshold is not set, the UTXO construction system needs to read 100000 transaction flows 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 can easily lead to downtime of equipment running the UTXO build system or the blockchain system. In the specific embodiment, the occurrence of the above situation can be effectively avoided by setting the preset threshold.
Further, if an address has been transferred from the asset, reading out all transaction streamers containing the address from a plurality of transaction streamers generated in advance, and the accumulated value of the asset amount of all transaction streamers still does not reach the asset transfer amount, determining that the transaction to be processed fails.
For ease of understanding, and by way of example, assuming that the asset transfer amount is equal to 100, the utxo construction system integrates the asset amount of the first 5 transaction runs to a cumulative value equal to 35, and the cumulative value does not reach the asset transfer amount of 100. The UTXO construction system attempts to read the second batch of transaction streamlines. However, the UTXO assumes that only 3 transaction streamlines containing the asset transfer-out address are read in an attempt to read the second batch of transaction streamlines. It can be seen that the asset transfer-out address has only 8 unused transaction streamlines. Assuming that the UTXO construction system further accumulates the asset amount of the running water of the 3 transactions of the second batch to the above-mentioned accumulated value 35, the accumulated value is assumed to be equal to 80, and the accumulated value has not yet reached the asset transfer amount 100. The UTXO construction 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 device based on a UTXO model according to an embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a transaction obtaining module 31, configured to obtain a transaction to be processed, where the transaction to be processed 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 the address from a plurality of transaction pipelines generated in advance according to the asset transfer-out address, where each transaction pipeline in the plurality of transaction pipelines contains the address and the asset amount;
a UTXO construction module 33, configured to construct a UTXO according to the target transaction stream, the asset transfer address, and the asset transfer amount, and submit the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer 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 address and the asset transfer amount.
Optionally, in some embodiments, each transaction pipeline further contains a first state identification or a second state identification, wherein the first state identification is used for indicating that the transaction pipeline is not spent, and the second state identification is used for indicating that the transaction pipeline is spent.
The flow reading module is specifically used for: and reading a target transaction pipeline which contains the address and contains the first state identification from a plurality of transaction pipelines which are generated in advance according to the asset transfer-out address.
The running water generation module is specifically used for: and generating a new transaction flow according to the asset transfer address and the asset transfer amount, and setting a first state identification in the transaction flow.
The apparatus further includes a state identifier replacing module configured to replace a first state identifier of the target transaction stream with a second state identifier in response to a UTXO processing result returned by the blockchain system.
Optionally, in some specific embodiments, the apparatus further includes a pipeline delete module, configured to delete the target transaction pipeline in response to a UTXO processing result returned by the blockchain system.
Optionally, in some embodiments, the pipeline reading module is specifically configured to: reading a preset number of transaction running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein the preset number is a natural number greater than 1; executing a cumulative operation for the preset number of transaction streams, wherein the cumulative operation comprises: accumulating the asset amount of each transaction running water one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction running water participating in accumulation as a target transaction running water; and reading the next batch of transaction running water containing the address from the pre-generated transaction running water according to the address transferred from the asset 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 embodiments, the pipeline reading module is further specifically configured to: if the total amount of all the transaction running water reaches a preset threshold value and the accumulated value of the asset amount of all the transaction running water still does not reach the asset transfer amount, determining that the transaction to be processed fails; if the address is forwarded according to the asset, reading all transaction running water containing the address from a plurality of transaction running water generated in advance, and the accumulated value of the asset amount of all transaction running water still does not reach the asset transfer amount, determining that the transaction to be processed fails.
Optionally, in some embodiments, in a case where the asset amount in the target transaction flow exceeds the asset transfer amount, the output information of the UTXO further includes the asset transfer address and an asset balance, the asset balance being a difference between the asset amount of the target transaction flow and the asset transfer amount.
The running water generation module is further configured to: and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction pipeline according to the asset transfer-out address and the asset balance.
Optionally, in some embodiments, the running water generating module is specifically configured to: and taking the asset transfer address as an address of the transaction running water to be generated and taking 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.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Based on the same inventive concept, the embodiment of the invention also provides an electronic device, as shown in fig. 4, which comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein 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 a computer program;
the processor 401 is configured to implement the following steps when executing a program stored in the memory 403:
obtaining 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 running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein each transaction running water in the plurality of transaction running water contains the address and the asset amount;
Constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount;
and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer address and the asset transfer amount.
Alternatively, the processor 401 is configured to implement the steps of the transaction processing method based on the UTXO model provided in the other method embodiments of the present invention when executing the program stored in the memory 403.
The communication bus mentioned by the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The memory may include random access memory (Random Access Memory, RAM) or 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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer readable storage medium is provided, where instructions are stored, which when executed on a computer, cause the computer to perform the method for processing transactions based on the UTXO model as described in any of the above embodiments.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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)), etc.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A method of transaction processing based on a UTXO model, the method comprising:
obtaining 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 running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein each transaction running water in the plurality of transaction running water contains the address and the asset amount;
constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount, and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount;
responding to a UTXO processing result returned by the blockchain system, and generating a new transaction flow according to the asset transfer address and the asset transfer amount;
Wherein, the reading the target transaction stream containing the address from the pre-generated transaction streams comprises:
grouping a plurality of transaction streamers according to the same address, storing the transaction streamers of the same group into the same data table of a database, wherein the database comprises a plurality of data tables;
and determining the target transaction pipeline from the determined group of transaction pipelines according to the asset transfer-out address carried by the transaction to be processed.
2. The method of claim 1, wherein each transaction pipeline further contains a first state identification or a second state identification, wherein the first state identification is used to indicate that the transaction pipeline is not spent and the second state identification is used to indicate that the transaction pipeline is spent;
the reading the target transaction stream containing the address from a plurality of transaction streams generated in advance according to the asset transfer-out address comprises the following steps: reading a target transaction pipeline which contains the address and contains a first state identifier from a plurality of transaction pipelines which are generated in advance according to the asset transfer address;
said generating a new transaction sequence based on said asset transfer address and said asset transfer amount, comprising: generating a new transaction flow according to the asset transfer address and the asset transfer amount, and setting a first state identification in the transaction flow;
The method further comprises the steps of: and replacing the first state identifier of the target transaction stream with the second state identifier in response to a UTXO processing result returned by the blockchain system.
3. The method according to claim 1, wherein the method further comprises: and deleting the target transaction flow in response to the UTXO processing result returned by the blockchain system.
4. The method of claim 1, wherein reading the target transaction stream containing the address from the pre-generated plurality of transaction streams based on the asset roll-out address comprises:
reading a preset number of transaction running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein the preset number is a natural number greater than 1;
executing a cumulative operation for the preset number of transaction streams, wherein the cumulative operation comprises: accumulating the asset amount of each transaction running water one by one until the accumulated value reaches the asset transfer amount, and then determining the transaction running water participating in accumulation as a target transaction running water;
and reading the next batch of transaction running water containing the address from the pre-generated transaction running water according to the address transferred from the asset 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 according to claim 4, wherein the method further comprises:
if the total amount of all the transaction running water reaches a preset threshold value and the accumulated value of the asset amount of all the transaction running water still does not reach the asset transfer amount, determining that the transaction to be processed fails;
if the address is forwarded according to the asset, reading all transaction running water containing the address from a plurality of transaction running water generated in advance, and the accumulated value of the asset amount of all transaction running water still does not reach the asset transfer amount, determining that the transaction to be processed fails.
6. The method according to any one of claims 1 to 5, wherein in case the asset amount in the target transaction flow exceeds the asset transfer amount, the output information of the UTXO further comprises the asset transfer address and an asset margin, the asset margin being a difference between the asset amount of the target transaction flow and the asset transfer amount;
the method further comprises the steps of: and responding to a UTXO processing result returned by the blockchain system, and generating a new transaction pipeline according to the asset transfer-out address and the asset balance.
7. The method of any one of claims 1 to 5, wherein generating a new transaction sequence based on the asset transfer address and the asset transfer amount comprises: and taking the asset transfer address as an address of the transaction running water to be generated and taking 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.
8. A transaction processing apparatus based on a UTXO model, the apparatus comprising:
the transaction obtaining module is used for obtaining 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;
the running water reading module is used for reading a target transaction running water containing the address from a plurality of transaction running water generated in advance according to the asset transfer-out address, wherein each transaction running water in the plurality of transaction running water contains the address and the asset amount;
the UTXO construction module is used for constructing a UTXO according to the target transaction flow, the asset transfer address and the asset transfer amount and submitting the UTXO to a blockchain system for processing; the input information of the UTXO is generated by the target transaction flow, and the output information of the UTXO comprises the asset transfer address and the asset transfer amount;
The running water generating module is used for responding to the UTXO processing result returned by the blockchain system and generating a new transaction running water according to the asset transfer address and the asset transfer amount;
wherein, the reading the target transaction stream containing the address from the pre-generated transaction streams comprises:
grouping a plurality of transaction streamers according to the same address, storing the transaction streamers of the same group into the same data table of a database, wherein the database comprises a plurality of data tables;
and determining the target transaction pipeline from the determined group of transaction pipelines according to the asset transfer-out address carried by the transaction to be processed.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method steps of any of claims 1-7 when executing a program stored on a memory.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method steps of any of claims 1-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 CN113450224A (en) 2021-09-28
CN113450224B true 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)

Families Citing this family (1)

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

Citations (9)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101882802B1 (en) * 2017-04-17 2018-07-27 주식회사 코인플러그 Method for blockchain based management of documents in use of unspent transaction output based protocol and document management server using the same
US10783272B2 (en) * 2017-12-08 2020-09-22 Nec Corporation Method and system of preserving privacy for usage of lightweight blockchain clients

Patent Citations (9)

* 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
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

Also Published As

Publication number Publication date
CN113450224A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
US11321303B2 (en) Conflict resolution for multi-master distributed databases
JP6560308B2 (en) System and method for implementing a data storage service
WO2020186901A1 (en) Block chain-based data check system and method, computing device, and storage medium
US9965364B2 (en) Fault tolerant listener registration in the presence of node crashes in a data grid
US10579973B2 (en) System for efficient processing of transaction requests related to an account in a database
CN106033437A (en) Method and system for processing distributed transaction
US20170213209A1 (en) Enterprise blockchains and transactional systems
CN105988862A (en) Distributed transaction processing method and device
CN112597153B (en) Block chain-based data storage method, device and storage medium
US20240126817A1 (en) Graph data query
WO2021051782A1 (en) Consensus method, apparatus and device of block chain
WO2017113962A1 (en) Method of accessing distributed database and device providing distributed data service
TWI686703B (en) Method and device for data storage and business processing
CN113450224B (en) Transaction processing method, device, equipment and storage medium based on UTXO model
WO2022111380A1 (en) Information processing method and apparatus, and storage medium
WO2016169420A1 (en) Method, device and system for querying service request execution state
CN113450223A (en) Transaction processing method, device and equipment based on UTXO model and storage medium
Gonzalez-Aparicio et al. Evaluation of ACE properties of traditional SQL and NoSQL big data systems
US9652766B1 (en) Managing data stored in memory locations having size limitations
CN114298585A (en) Material purchasing quota distribution method and device for purchasing scene
CN116450637A (en) Data management method, device, electronic equipment and storage medium
CN113849482A (en) Data migration method and device and electronic equipment
CN112202581A (en) Group joining method and device and electronic equipment
CN117194080B (en) Message processing method and device
US20070088700A1 (en) Sending keys that identify changes to clients

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