+

CN111709735B - System and method for processing trusted transaction based on blockchain - Google Patents

System and method for processing trusted transaction based on blockchain Download PDF

Info

Publication number
CN111709735B
CN111709735B CN202010349298.2A CN202010349298A CN111709735B CN 111709735 B CN111709735 B CN 111709735B CN 202010349298 A CN202010349298 A CN 202010349298A CN 111709735 B CN111709735 B CN 111709735B
Authority
CN
China
Prior art keywords
tree
transaction
transaction processing
node
information
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
CN202010349298.2A
Other languages
Chinese (zh)
Other versions
CN111709735A (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.)
Shanghai Moheng Network Technology Co ltd
Original Assignee
Shanghai Moheng Network 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 Shanghai Moheng Network Technology Co ltd filed Critical Shanghai Moheng Network Technology Co ltd
Priority to CN202010349298.2A priority Critical patent/CN111709735B/en
Publication of CN111709735A publication Critical patent/CN111709735A/en
Application granted granted Critical
Publication of CN111709735B publication Critical patent/CN111709735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a trusted transaction processing system and a method based on a blockchain, wherein the system comprises: the transaction processing module is used for processing a transaction process; and the blockchain system is used for recording root hash of the transaction processing module and related information. The transaction processing module comprises a expenditure C-Tree unit, a expenditure processing unit and a transaction processing unit, wherein the expenditure C-Tree unit is used for recording the expenditure part of a transaction set in a set time; and a revenue C-Tree unit for recording a revenue portion of the transaction set within a set time; the sum information of the expenditure C-Tree units and the income C-Tree units and corresponding root hash information are recorded in the blockchain system. The block chain-based trusted transaction processing system and method provided by the application realize the purpose of providing quick payment for mass users for any amount of digital assets.

Description

System and method for processing trusted transaction based on blockchain
Technical Field
The application relates to the technical field of internet digital transactions, in particular to a trusted transaction processing system and method based on a blockchain.
Background
The conventional blockchain can be widely used for the functions of decentralization payment and the like. But such blockchain systems are less efficient in terms of payment and are not able to support the massive payment needs of massive users. At the same time, these blockchain systems are not able to support offline payments and all transactions must be confirmed by the blockchain to ensure that the payment is properly completed. The prior application 'an extensible quick payment method and system based on block chain' can support a great deal of payment requirements of massive users and realize functions such as offline payment.
The above-described application can be used for trading and paying for non-standard digital assets, but the entire asset must be transferred inseparably. One approach is to represent digital assets of different denominations with multiple non-standard assets. This way the actual demand can be achieved by a combination of assets of different denominations. However, such a combination requires a relatively high client, and the transaction cost is also high, and the handling cost of the transaction cannot be well supported.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the technical problem to be solved by the present application is to achieve a fast payment for a large number of users for any number of digital assets.
To achieve the above object, the present application provides a trusted transaction processing system based on blockchain, including the following parts:
the transaction processing module is used for processing a transaction process;
the block chain system is used for recording root hash of the transaction processing module and related information;
wherein the transaction processing module comprises
A payout C-Tree unit for recording a payout portion of the transaction set within a set time;
and
a income C-Tree unit for recording income part of the transaction set in a set time;
the sum information of the expenditure C-Tree units and the income C-Tree units and corresponding root hash information are recorded in the blockchain system.
Further, the sum information of the payout C-Tree units and the sum information of the income C-Tree units meet a set operation relation. The total information of the payoff C-Tree units and the total information of the incomes C-Tree units may be equal or some operational relationship, such as supporting total = incomes total + costs.
Further, the transaction processing module further comprises a recharging C-Tree unit, and is used for processing recharging business by the transaction processing module;
and
and the extraction C-Tree unit is used for processing the extraction service by the transaction processing module.
Further, the transaction processing module further includes a control module for implementing one or more of the following functions:
recording root hashes and related information of a plurality of C-Tree submitted by a transaction processing module;
providing a query function for a user: the user has a legal C-Tree proof, and the user submits a root hash of the legal C-Tree proof to verify whether the root hash is recorded in the control module;
providing a complaint function of a user: if the legally proven root hash is not stored in the control module within the set time, the user can submit complaints and punish the transaction processing party;
providing a recharging function for a user: the user locks the digital asset A of the user to the control module, and the transaction processing party adds the digital asset B of the user with corresponding proportion in the transaction processing module in the recharging C-Tree unit within the set time; ( Wherein recharging occurs at the control module level. The control modules are typically implemented with smart contracts on the blockchain. The user can recharge the assets in the blockchain to the control module, namely, the user can lock the assets in the control module, and then the transaction processing party can add the corresponding internal assets to the user in the transaction system. )
Providing a user's extraction function: and the user submits an extraction request to the transaction processing module, the digital asset B in the transaction processing system to be extracted is sent to a transaction processing party, the transaction processing party sends a request to the control module, and the corresponding digital asset A in the control module is sent to the extraction user.
Yet another embodiment of the present application provides a trusted transaction processing method of a blockchain-based trusted transaction processing system, including the steps of:
creating a transaction by the payoff party to the transaction, the transaction comprising the address of the payoff party and the transfer amount;
after receiving the transaction signed by the expenditure party, the transaction processing party creates a corresponding transaction record of the income party, wherein the transaction record comprises the transfer amount, and the transaction processing party signs the transaction record;
the transaction processing party adds the transaction of the paying party in the paying C-Tree unit, and then adds the transaction record of the income party in the income C-Tree unit;
the transaction processing party processes the expenditure C-Tree unit and the income C-Tree unit simultaneously within a set time, and records root hashes and related information of the expenditure C-Tree unit and the income C-Tree unit to a blockchain system;
the transaction processor returns a new C-Tree proof of the transaction expenditures and incomes.
Further, the C-Tree certification of the payoff party includes the following information: key/value pairs corresponding to the token of the payparty, paths from the page node to the root node in the payoff C-Tree unit, and information of brother nodes of each path node;
the C-Tree certification of the revenue party includes the following information: the key/value pair corresponding to the token of the incorporator, and its path from the page node to the root node in the incorporator C-Tree unit, and the sibling node information of each path node.
Further, the transaction party's asset is recorded by a leaf node of the C-Tree in the form of a key/value pair belonging to a parent node;
key is the unique identification of the asset;
value records the asset owner's public key address, the current asset quantity, the correctly signed transaction history.
Further, the method also comprises the step that the transaction processing party clears the expenditure C-Tree unit and the income C-Tree unit, waits for the transaction request in the next period and processes correspondingly.
A further preferred embodiment of the application provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a method according to any of the above, when executing the program.
A further preferred embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a trusted transaction processing method as defined in any one of the above.
Technical effects
The application discloses a trusted transaction processing system and a trusted transaction processing method based on a blockchain, which adopt a plurality of related C-Tree in a transaction system and support the realization of the universal certificate of any digital asset transfer, record root hash and related information of the plurality of C-Tree in the blockchain, and realize the trusted record of the transaction of the digital asset.
The conception, specific structure, and technical effects of the present application will be further described with reference to the accompanying drawings to fully understand the objects, features, and effects of the present application.
Drawings
FIG. 1 is an overall architecture diagram of a blockchain-based trusted transaction processing system in accordance with a preferred embodiment of the present application;
FIG. 2 is a schematic diagram of a blockchain-based asset transaction according to a preferred embodiment of the present application.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular internal procedures, techniques, etc. in order to provide a thorough understanding of embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Example 1
As shown in FIG. 1, an embodiment of the present application provides a blockchain-based trusted transaction processing system including the following:
a transaction processing module 103 for processing transactions, which is in fact a transaction processing system; as part of the trusted transaction processing system of the present application;
a blockchain system 101 for recording hash related information of the transaction processing system;
wherein the transaction processing module 103 comprises a payment C-Tree unit 105 for recording a payment part of the transaction set within a set time;
and
a revenue C-Tree unit 106 for recording the revenue portion of the transaction set for the set time;
the payouts of the C-Tree units 106 are recorded in the blockchain system together with the total amount information and corresponding root hashes of the C-Tree units 106 and related information;
the sum information of the expenditure C-Tree units and the sum information of the income C-Tree units meet the set operation relation. The set operational relationship indicates that the total amount information of the payout C-Tree unit and the total amount information of the income C-Tree unit may be equal, or some operational relationship, such as support total amount=income total amount+expense.
The transaction processing module also comprises a recharging C-Tree unit, which is used for processing recharging business by the transaction processing module;
and
and the extraction C-Tree unit is used for processing the extraction service by the transaction processing module.
In addition, the blockchain system 101 deploys a control module 102 that performs any one or a combination of the following functions:
recording root hashes and related information of a plurality of C-Tree submitted by a transaction processing system;
providing a query function for a user: the user has a legal C-Tree certificate, and the user submits a root hash of the legal certificate to verify whether the root hash is recorded in the control module;
providing a complaint function of a user: if the legally proven root hash is not stored in the control module within the set time, the user can submit complaints and punish the transaction processing party;
providing a recharging function for a user: the user locks the digital asset A of the user to the control module, and the transaction processing party adds the digital asset B of the user in the corresponding proportion in the transaction processing system in the recharging C-Tree unit within the set time;
providing a user's extraction function: and the user submits an extraction request to the transaction processing system, the digital asset B in the transaction processing system to be extracted is sent to a transaction processing party, the transaction processing party sends a request to the control module, and the corresponding digital asset A in the control module is sent to the extraction user.
Wherein "user" as described in the present application refers to both the payor and the incomer.
C-Tree, having the following features:
1. C-Tree is an ordered binary Tree;
2. the same C-Tree stores a plurality of similar digital assets issued by the issuers;
3. two leaf nodes of the same parent node of the C-Tree respectively store a unique number 107 of the digital asset and a history record 106 of an owner of the digital asset in the circulation process;
4. the parent node of the leaf node of the C-Tree records the ternary information 108: the digital asset number of its child node, the asset change (delta_value) of the current transaction, and the hash value of the combined information of the left and right child nodes;
5. the parent node of the non-leaf node of the C-Tree records the quaternary information: the minimum digital asset number of its child node, the maximum digital asset number of its child node, the total sum of asset changes of all child nodes (the sum of asset changes of the left subtree plus the sum of asset changes of the right subtree), and the hash value of the combined information of the left and right child nodes;
6. the root node of the C-Tree records the quaternary information: the minimum digital asset number of the whole C-Tree, the maximum digital asset number of the whole C-Tree, the asset change total sum of the whole C-Tree and the hash value of the combined information of the left child node and the right child node;
7. the quaternary information of the root node of the C-Tree is periodically written to the blockchain system.
The embodiment of the application provides a trusted transaction processing method of a trusted transaction processing system based on a blockchain, which comprises the following steps of:
creating a transaction by the payoff party to the transaction, the transaction comprising the address of the payoff party and the transfer amount;
after receiving the transaction signed by the expenditure party, the transaction processing party creates a corresponding transaction record of the income party, wherein the transaction record comprises the transfer amount, and the transaction processing party signs the transaction record;
the transaction processing party adds the transaction of the paying party in the paying C-Tree unit, and then adds the transaction record of the income party in the income C-Tree unit;
the transaction processing party processes the expenditure C-Tree unit and the income C-Tree unit simultaneously within a set time, and records root hashes and related information of the expenditure C-Tree unit and the income C-Tree unit to a blockchain system;
the transaction processor returns a new C-Tree proof of the transaction expenditures and incomes.
As shown in fig. 2, is a transaction implementation process in a transaction processing system.
Reference numeral 201 denotes two differently numbered assets #1001, #1002, each corresponding to the history 202 of the owner of a digital asset during circulation.
Each asset history 202 contains a record head, and transaction records segments. The recording head contains two parts, an initialization asset amount 203, and an owner address 204 of the current asset.
As shown in fig. 2, user a owns asset #1001, with an initial amount of 100. User B owns asset #1002, an initial amount of 10.
User a now needs to transfer asset amount 30 from #1001 to #1002 of user B. At this time, the user a is a paying party and the user B is a receiving party.
User a needs to create a transaction record segment that includes a type identifier 205, a new amount after the transaction is completed 206, a target address or target asset number 207, and a legal signature of the user 208 of the above information.
Specifically, user a creates a transaction record segment with type identifier = 0 (representing a payment transaction); new amount = 70 (indicating 30 deductions from the original 100 total); target address=0x237 … (address of token #1002 representing user B); signature of user a pair (0, 70,0x237 …) =0xa 16 …. The target address may also be a token address, such as: target address=1002.
User a submits this transaction record segment to the transaction processing system.
The transaction processor updates the transaction history of user B. As shown in fig. 2, the transaction processor adds a transaction record segment at token #1002 that includes a type identifier 210, a new amount 211 after the transaction is completed, a transaction processor address 212, and a legal signature 213 of the transaction processor for the above information.
Specifically, type identifier = 1 (meaning is a revenue transaction); new amount = 40 (indicating 30 increases from the original 10 total); transaction handler address = 0x86c …; signature of transaction handler pair (1, 40,0x86c …) =0x7e ….
The transaction processor adds token #1001 to the expense C-Tree 105 and #1002 to the revenue C-Tree 104, respectively.
The transaction processor must ensure that the sum of the root node of the payout C-Tree 105 is consistent with the sum of the root node of the revenue C-Tree 104 or meets a set operational relationship.
The transaction processing party processes the expenditure C-Tree and the income C-Tree simultaneously within a set time, and records root hashes and related information of each C-Tree to a blockchain;
the transaction processor returns the C-Tree proof of token #1001 to user A and, in the case of user B request, returns the C-Tree proof of token #1002 to user B.
The transaction processor clears the expenditure C-Tree and the income C-Tree, waits for the transaction request in the next period and processes correspondingly.
The number of digital assets in the prior art is arbitrary, but the denomination is fixed. For example, 100 tens of thousands of digital assets with 5 denominations can be issued, and 50 tens of thousands of 10 denominations can be issued. Transfer requires 5/10 th of the transfer to the other party, and ownership of this digital asset, representing 5/10 th of the transfer, is changing. The amount that can be transferred is not arbitrary.
While in the embodiment of the application, the denomination represented in each digital asset can be changed, for example, a digital asset represents 100.24 yuan, 34 yuan can be transferred to other people, 66.24 yuan is reserved, and the ownership of the asset is still owned by the people.
The application discloses a trusted transaction processing system and a trusted transaction processing method based on a blockchain, which adopt a plurality of related C-Tree in a transaction system and support the realization of the universal certificate of any digital asset transfer, record root hash and related information of the plurality of C-Tree in the blockchain, and realize the trusted record of the transaction of the digital asset.
Example two
The second embodiment of the application provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the method of any one of the above.
The computer device of this embodiment includes: a processor, a memory, and a computer program, such as a transaction processing program, stored in the memory and executable on the processor. The steps of the above-described respective data synchronization method embodiments are implemented when the processor executes the computer program. Alternatively, the processor may implement the functions of the modules/units in the above-described device embodiments when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present application, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device. Further, the memory may also include both internal storage units and external storage devices of the computer device. The memory is used for storing the computer program and other programs and data required by the computer device. The memory may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer readable storage medium storing a computer program, which is characterized in that the computer program enables a computer to realize a trusted transaction processing method of a trusted transaction processing system based on a blockchain when being executed.
The foregoing describes in detail preferred embodiments of the present application. It should be understood that numerous modifications and variations can be made in accordance with the concepts of the application by one of ordinary skill in the art without undue burden. Therefore, all technical solutions which can be obtained by logic analysis, reasoning or limited experiments based on the prior art by the person skilled in the art according to the inventive concept shall be within the scope of protection defined by the claims.

Claims (9)

1. A blockchain-based trusted transaction processing system, comprising:
the transaction processing module is used for processing a transaction process;
the block chain system is used for recording root hash and related information of the transaction processing module;
wherein the transaction processing module comprises
A payout C-Tree unit for recording a payout portion of the transaction set within a set time;
and
a income C-Tree unit for recording income part of the transaction set in a set time;
the sum information of the expenditure C-Tree unit and the income C-Tree unit and corresponding root hash information are recorded in the blockchain system; the sum information of the expenditure C-Tree units and the sum information of the income C-Tree units meet a set operation relation; the set operational relationship indicates that the total amount information of the expenditure C-Tree unit and the total amount information of the income C-Tree unit can be equal, or a certain operational relationship;
wherein the C-Tree has the following characteristics:
1. is an ordered binary tree;
2. the same C-Tree stores a plurality of similar digital assets issued by the issuers;
3. two leaf nodes of the C-Tree belonging to the same father node respectively store the unique number of the digital asset and the history record of the owner of the digital asset in the circulation process;
4. the parent node of the leaf node of the C-Tree records ternary information: the digital asset number of the child node, the asset change amount of the current transaction and the hash value of the combined information of the left child node and the right child node;
5. the parent node of the non-leaf node of the C-Tree records the quaternary information: the minimum digital asset number of the child node, the maximum digital asset number of the child node, the total sum of asset changes of all the child nodes, the sum of asset changes of the left subtree plus the sum of asset changes of the right subtree, and the hash value of the combined information of the left and right child nodes;
6. the root node of the C-Tree records the quaternary information: the minimum digital asset number of the whole C-Tree, the maximum digital asset number of the whole C-Tree, the asset change total sum of the whole C-Tree and the hash value of the combined information of the left child node and the right child node;
7. the quaternary information of the root node of the C-Tree is periodically written to the blockchain system.
2. The blockchain-based trusted transaction processing system of claim 1, wherein the transaction processing module further includes a recharge C-Tree unit for the transaction processing module to process recharge traffic;
and
and the extraction C-Tree unit is used for processing the extraction service by the transaction processing module.
3. The blockchain-based trusted transaction processing system of claim 2, wherein the transaction processing module further includes a control module to implement one or more of the following functions:
recording root hashes and related information of a plurality of C-Tree submitted by the transaction processing module;
providing a query function for a user: the user has a legal C-Tree certificate, and submits a root hash of the legal C-Tree certificate to verify whether the root hash is recorded in the control module;
providing a complaint function of a user: if the legally proven root hash is not stored in the control module within the set time, the user can submit complaints and punish the transaction processing party;
providing a recharging function for a user: the user locks the digital asset A of the user to the control module, and a transaction processing party adds the digital asset B of the user with corresponding proportion in the transaction processing module in the recharging C-Tree unit within a set time;
providing a user's extraction function: and the user submits an extraction request to the transaction processing module, and sends the digital asset B in the transaction processing system to be extracted to a transaction processing party, and the transaction processing party sends a request to the control module and sends the corresponding digital asset A in the control module to the extraction user.
4. A method of trusted transaction processing for a blockchain-based trusted transaction processing system, comprising the steps of:
creating a transaction by a party to be paid for the transaction, the transaction comprising an address of the party to be paid and an amount to be transferred;
signing the transaction by a expenditure party of the transaction, and submitting the signed transaction to a transaction processing module;
after receiving the transaction signed by the expenditure party, the transaction processing party creates a corresponding transaction record of the income party, wherein the transaction record comprises the transfer amount, and the transaction processing party signs the transaction record;
the transaction processing party adds the transaction of the paying party in a paying C-Tree unit, and then adds the transaction record of the income party in a income C-Tree unit;
the transaction processing party processes the expenditure C-Tree unit and the income C-Tree unit simultaneously within a set time, and records root hashes and related information of the expenditure C-Tree unit and the income C-Tree unit to a blockchain system;
the transaction processing party returns a new C-Tree proof of the transaction paying party and the income party;
wherein the C-Tree has the following characteristics:
1. is an ordered binary tree;
2. the same C-Tree stores a plurality of similar digital assets issued by the issuers;
3. two leaf nodes of the C-Tree belonging to the same father node respectively store the unique number of the digital asset and the history record of the owner of the digital asset in the circulation process;
4. the parent node of the leaf node of the C-Tree records ternary information: the digital asset number of the child node, the asset change amount of the current transaction and the hash value of the combined information of the left child node and the right child node;
5. the parent node of the non-leaf node of the C-Tree records the quaternary information: the minimum digital asset number of the child node, the maximum digital asset number of the child node, the total sum of asset changes of all the child nodes, the sum of asset changes of the left subtree plus the sum of asset changes of the right subtree, and the hash value of the combined information of the left and right child nodes;
6. the root node of the C-Tree records the quaternary information: the minimum digital asset number of the whole C-Tree, the maximum digital asset number of the whole C-Tree, the asset change total sum of the whole C-Tree and the hash value of the combined information of the left child node and the right child node;
7. the quaternary information of the root node of the C-Tree is periodically written to the blockchain system.
5. The method of trusted transaction processing as claimed in claim 4, wherein said C-Tree certification of the payparty includes the following information: key/value pairs corresponding to the token of the payparty, paths from the page node to the root node in the payoff C-Tree unit, and information of brother nodes of each path node;
the C-Tree certification of the revenue party includes the following information: the key/value pair corresponding to the token of the incorporator, and its path from the page node to the root node in the incorporator C-Tree unit, and the sibling node information of each path node.
6. The method of claim 4, wherein the transaction party's assets are recorded by leaf nodes of the C-Tree in the form of key/value pairs belonging to a parent node;
key is the unique identification of the asset;
value records the asset owner's public key address, the current asset quantity, the correctly signed transaction history.
7. The method of claim 4, further comprising the transaction processor clearing out the payoff C-Tree unit and the payoff C-Tree unit, waiting for a transaction request in a next cycle and processing accordingly.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 4-7 when the program is executed by the processor.
9. A computer readable storage medium storing a computer program, wherein the computer program when executed causes a computer to implement a trusted transaction processing method as claimed in any one of claims 4 to 7.
CN202010349298.2A 2020-04-28 2020-04-28 System and method for processing trusted transaction based on blockchain Active CN111709735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010349298.2A CN111709735B (en) 2020-04-28 2020-04-28 System and method for processing trusted transaction based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010349298.2A CN111709735B (en) 2020-04-28 2020-04-28 System and method for processing trusted transaction based on blockchain

Publications (2)

Publication Number Publication Date
CN111709735A CN111709735A (en) 2020-09-25
CN111709735B true CN111709735B (en) 2023-10-20

Family

ID=72536602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010349298.2A Active CN111709735B (en) 2020-04-28 2020-04-28 System and method for processing trusted transaction based on blockchain

Country Status (1)

Country Link
CN (1) CN111709735B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608146A (en) * 2015-12-17 2016-05-25 布比(北京)网络技术有限公司 Block chain tracing method
CN106780025A (en) * 2016-11-30 2017-05-31 中国银行股份有限公司 The transfer method of digital asset, apparatus and system in block chain
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN108171601A (en) * 2016-12-07 2018-06-15 中国电信股份有限公司 Block chain tracing methods, devices and systems
CN110009334A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A method and device for constructing Merkle tree and simple payment verification
CN110992182A (en) * 2019-12-04 2020-04-10 福州博泉网络科技有限公司 Transaction method and system of block chain wallet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608146A (en) * 2015-12-17 2016-05-25 布比(北京)网络技术有限公司 Block chain tracing method
CN106780025A (en) * 2016-11-30 2017-05-31 中国银行股份有限公司 The transfer method of digital asset, apparatus and system in block chain
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN108171601A (en) * 2016-12-07 2018-06-15 中国电信股份有限公司 Block chain tracing methods, devices and systems
CN110009334A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A method and device for constructing Merkle tree and simple payment verification
CN110992182A (en) * 2019-12-04 2020-04-10 福州博泉网络科技有限公司 Transaction method and system of block chain wallet

Also Published As

Publication number Publication date
CN111709735A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
JP7716822B2 (en) Securely providing pending data from pending sources into a locking script of a blockchain transaction
US11829997B2 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
US11544794B2 (en) Claim settlement method and apparatus employing blockchain technology
US11216802B2 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
US20220083683A1 (en) Distributed self-governing computer network to correlate blockchain and private computer system transactions method, apparatus, and system
CN110009489B (en) Asset transfer method and device based on block chain and electronic equipment
TW202022857A (en) Invoice creating method and device based on block chain and electronic device
US11361054B2 (en) Blockchain-based infringement detection method, apparatus, and electronic device
CN110033377B (en) Blockchain-based asset sorting method and device, electronic equipment
US10614454B1 (en) Remote population and redaction of high security data
US12073176B2 (en) System and method for a thing machine to perform models
WO2020119286A1 (en) Blockchain-based invoice creating method and apparatus, and electronic device
CN110020948B (en) Blockchain-based asset traceability method and device, electronic equipment
WO2021017438A1 (en) Blockchain-based electronic bill cancellation method and apparatus, and electronic device
CN111402033A (en) Asset information management method and device based on block chain
WO2020220740A1 (en) Blockchain-based invoice creation method, apparatus and electronic device
CN111597264A (en) Block chain accounting method and device
CN111260364B (en) Block chain-based extensible quick payment method and system
CN113297594B (en) Cross-chain transaction method, device, electronic equipment and storage medium
CN110766403A (en) Data processing device and method based on block chain and storage medium
CN110033367A (en) Based on the contract record method and device of block chain, electronic equipment
CN111709735B (en) System and method for processing trusted transaction based on blockchain
CN115330365A (en) Data processing method and device based on block chain and computer equipment
CN119788358B (en) A control method, device, equipment and storage medium for receiving virtual rights
US11683173B2 (en) Consensus algorithm for distributed ledger technology

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载