CN106504094A - Transaction match method and system based on the distributed general ledger system of block chain technology - Google Patents

Transaction match method and system based on the distributed general ledger system of block chain technology Download PDF

Info

Publication number
CN106504094A
CN106504094A CN201611055621.5A CN201611055621A CN106504094A CN 106504094 A CN106504094 A CN 106504094A CN 201611055621 A CN201611055621 A CN 201611055621A CN 106504094 A CN106504094 A CN 106504094A
Authority
CN
China
Prior art keywords
information
transaction
ownership transfer
general ledger
ledger system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611055621.5A
Other languages
Chinese (zh)
Other versions
CN106504094B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201611055621.5A priority Critical patent/CN106504094B/en
Publication of CN106504094A publication Critical patent/CN106504094A/en
Application granted granted Critical
Publication of CN106504094B publication Critical patent/CN106504094B/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

Abstract

The invention provides a kind of transaction match method of the distributed general ledger system based on block chain technology and system, are related to transaction and bring technical field together.Method includes:Distributed general ledger system receives the transaction request information in seller terminal input;Transaction request information is verified, legal after output assets information to be transacted and the first ownership transfer conditional information;Distributed general ledger system to be received and receive Transaction Information what buyer terminal was input into;Judge that the second ownership transfer proves whether information meets the first ownership transfer condition, and judge that the 3rd ownership transfer proves whether information is legal;Prove that information meets the first ownership transfer condition in the second ownership transfer, and the 3rd ownership transfer prove information legal when, output buyer is used for the assets information of transaction, and its second ownership transfer condition known to the corresponding seller, and export assets information to be transacted, and its 3rd ownership transfer condition known to corresponding buyer.

Description

Transaction match method and system based on the distributed general ledger system of block chain technology
Technical field
The present invention relates to technical field, more particularly to a kind of distributed general ledger system based on block chain technology are brought in transaction together Transaction match method and system.
Background technology
Currently, with the development of information technology, assets digitrend is more and more universal.In current assets numeral Under change trend, including digital cash, digital ticket, digital equity, digitally multiple digital assets such as property right be used equally to conclude the business. For example, people go the digital equity of stock exchange dealing, remove bank's dealing digital cash etc., and this act of purchase and sale is referred to as concluded the business Bring together.
At present, mode is brought in transaction of the prior art together, and relying primarily on to concentrate with exchange carries out trade matching, numeral money Produce, digital cash is hosted in exchange, there is complete control in exchange to digital asset, digital cash.This mode exists scarce Fall into, if exchange is attacked or the network operator of exchange has the behaviors such as fraud, the trade matching of digital asset may be very Dangerous.In addition, current also take distributed general ledger transaction system to carry out what transaction in assets was brought together, but need during which Third-party involvement, third party take in process of exchange trade quotation, quotation show, transaction bring together, assets trustship, fund trustship Role.This mode yet suffers from relying on third-party defect, and fund can not be cleared in real time.Rely on third party not only to increase Plus to transaction cost and risk, and it is difficult to obtain due to credible third party so that many business scenarios are deposited in popularization practical In obstacle.
Content of the invention
Embodiments of the invention provide a kind of transaction match method of the distributed general ledger system based on block chain technology and System, with solve transaction of the prior art bring together mode generally require the dependence third party such as exchange come carry out digital asset, The control of digital cash etc., causes transaction to bring the unsafe problem of process together.
For reaching above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of transaction match method of the distributed general ledger system based on block chain technology, be applied to a kind of transaction and bring together be System, the trade match system include seller terminal, buyer terminal and the distributed general ledger system, the distributed general ledger System includes the multiple working nodes in the range of different tissues;The seller terminal and buyer terminal respectively with the plurality of work Node is communicated to connect;
Methods described includes:
Distributed general ledger system receives the transaction request information in seller terminal input;The transaction request information includes One input reference information and the first ownership transfer prove information;The first input reference information includes distributed general ledger system In recorded seller transaction output content;
Distributed general ledger system proves information to described according to the described first input reference information and the first ownership transfer Transaction request information is verified, and after determining that transaction is legal, exports assets information to be transacted and the first ownership transfer Conditional information;The transaction request information, assets information to be transacted and the first ownership transfer conditional information are recorded in point In the background data base of cloth general ledger system;
Each working node inquires the transaction request information in the rear in platform database, and by the assets to be transacted Information and the first ownership transfer conditional information are shown;
Distributed general ledger system to be received and receive Transaction Information what buyer terminal was input into;The Transaction Information that receives includes Two input reference informations, the second ownership transfer prove information, the 3rd input reference information and the 3rd ownership transfer permit Breath;The second input reference information includes assets information to be transacted and the first ownership transfer conditional information;Described 3rd Input reference information includes recorded buyer transaction output content in distributed general ledger system;
Distributed general ledger system judges that second ownership transfer proves whether information meets the first ownership transfer bar Part, and judge that the 3rd ownership transfer proves whether information is legal;
In the second ownership transfer, distributed general ledger system proves that information meets the first ownership transfer condition, and described the When three ownership transfers prove that information is legal, exporting buyer is used for the assets information of transaction, and its known to the corresponding seller Two ownership transfer conditions, and export the assets information to be transacted, and its 3rd ownership transfer known to corresponding buyer Condition.
Specifically, recorded in distributed general ledger system seller transaction output content includes to be transacted with described The corresponding seller of assets has had assets, and the seller has had the ownership transfer condition of assets;
In the reception of distributed general ledger system after the transaction request information of seller terminal input, including:
Whether not recorded seller transaction described in distributed general ledger system judgement exports content quilt in other transaction Input is quoted;
If the recorded seller transaction output content is not transfused to reference, distributed general ledger system in other transaction System the first ownership transfer of operation proves the unblock script of information;First ownership transfer proves that information is included with the seller's The private key signature that public key matches;
After the unblock script success for running the first ownership transfer proof information, the distributed general ledger system operation seller is Have the locking script of the ownership transfer condition of assets;The seller had the ownership transfer condition of assets for provide with The private key signature of the public key match of the seller;
If the locking script that the seller has had the ownership transfer condition of assets runs successfully, distributed general ledger system determines Input of seller terminal this transaction can be quoted recorded seller transaction and be exported content.
Specifically, recorded in distributed general ledger system buyer transaction output content includes using with the buyer In the assets of transaction, corresponding buyer has had assets, and the buyer has had the ownership transfer condition of assets;
Distributed general ledger system receive buyer terminal input receive Transaction Information after, including:
Whether not recorded buyer transaction described in distributed general ledger system judgement exports content quilt in other transaction Input is quoted;
If the recorded buyer transaction output content is not transfused to reference, distributed general ledger system in other transaction System the 3rd ownership transfer of operation proves the unblock script of information;3rd ownership transfer proves that information is included with buyer's The private key signature that public key matches;
After the unblock script success for running the 3rd ownership transfer proof information, distributed general ledger system operation buyer is Have the locking script of the ownership transfer condition of assets;The buyer had the ownership transfer condition of assets for provide with The private key signature of the public key match of buyer;
If the locking script that buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger system determines Input of buyer terminal this transaction can be quoted recorded buyer transaction and be exported content.
Specifically, distributed general ledger system proves information according to the described first input reference information and the first ownership transfer The transaction request information is verified, and after determining that transaction is legal, is exported assets information to be transacted and first and is owned Power jump condition information, including:
Distributed general ledger system determines whether deposit in recorded seller transaction output content in distributed general ledger system In assets information to be transacted, and determine whether seller terminal have input the private key signature matched with the public key of the seller;
If there is assets information to be transacted in recorded seller transaction output content in distributed general ledger system, and sell Square terminal have input the private key signature matched with the public key of the seller, then distributed general ledger system determines that transaction is legal;
The first ownership transfer conditional information be shift assets to be transacted proprietorial output valve be predetermined content, Or the private key signature that the public key of offer and the seller matches.
Further, should also be included based on the transaction match method of the distributed general ledger system of block chain technology:
Distributed general ledger system receives the Transaction Reversal solicited message in seller terminal input;The Transaction Reversal request disappears Breath includes that the 4th input reference information and the 4th ownership transfer prove information;The 4th input reference information includes described treating Transaction assets information and the first ownership transfer conditional information;4th ownership transfer proves that information includes and sells The private key signature that the public key of side matches;
Distributed general ledger system proves information to described according to the described 4th input reference information and the 4th ownership transfer Transaction Reversal solicited message is verified, and after determining that Transaction Reversal request is legal, exports assets information to be transacted and the Four ownership transfer conditional informations;The 4th ownership transfer conditional information includes providing the private matched with the public key of the seller Key is signed.
Further, distributed general ledger system receive buyer terminal input receive Transaction Information after, also include:
Distributed general ledger system judges whether the second input reference information is transfused to reference in other transaction;
If the second input reference information is transfused to reference in other transaction, distributed general ledger system is to buyer terminal Send refuse information.
Specifically, the distributed general ledger system judges that second ownership transfer proves whether information meets the first institute Have the right jump condition, and judge that the 3rd ownership transfer proves whether information is legal, including:
Distributed general ledger system judges in the second ownership transfer proof information the whether transfer containing predetermined content The proprietorial output valve of assets to be transacted;
Distributed general ledger system judges whether the private key signature that the public key of buyer matches is legal.
Specifically, the second ownership transfer condition is to provide the private key signature with the public key match of the seller;Described Three ownership transfer conditions are to provide the private key signature with the public key match of buyer.
A kind of trade match system, the distributed general ledger including seller terminal, buyer terminal and based on block chain technology System, the distributed general ledger system include the multiple working nodes in the range of different tissues;The seller terminal and buyer's end End is communicated to connect with the plurality of working node respectively;
Distributed general ledger system, for receiving the transaction request information in seller terminal input;The transaction request information Information is proved including the first input reference information and the first ownership transfer;The first input reference information includes distributed total Recorded seller transaction output content in account system;
Distributed general ledger system, is additionally operable to prove information according to the described first input reference information and the first ownership transfer The transaction request information is verified, and after determining that transaction is legal, is exported assets information to be transacted and first and is owned Power jump condition information;The transaction request information, assets information to be transacted and the first ownership transfer conditional information are remembered Record in the background data base of distributed general ledger system;
Each working node, for inquiring the transaction request information in platform database in the rear, and waits to hand over by described Easily assets information and the first ownership transfer conditional information are shown;
Distributed general ledger system, is additionally operable to reception what buyer terminal was input into and receives Transaction Information;The acceptance transaction letter Breath includes that the second input reference information, the second ownership transfer prove that information, the 3rd input reference information and the 3rd ownership turn Move proof information;The second input reference information includes assets information to be transacted and the first ownership transfer conditional information; The 3rd input reference information includes recorded buyer transaction output content in distributed general ledger system;
Distributed general ledger system, is additionally operable to judge that second ownership transfer proves whether information meets the first ownership Jump condition, and judge that the 3rd ownership transfer proves whether information is legal;
Distributed general ledger system, is additionally operable to prove that information meets the first ownership transfer condition in the second ownership transfer, And the 3rd ownership transfer, when proving that information is legal, exporting buyer is used for the assets information of transaction, and its corresponding seller Known second ownership transfer condition, and export the assets information to be transacted, and its 3rd institute known to corresponding buyer Have the right jump condition.
Specifically, recorded in distributed general ledger system seller transaction output content includes to be transacted with described The corresponding seller of assets has had assets, and the seller has had the ownership transfer condition of assets;
Whether the distributed general ledger system, be additionally operable to recorded seller transaction output content described in judging not at which He is transfused to reference in concluding the business;
If the recorded seller transaction output content is not transfused to reference, distributed general ledger system in other transaction System, is additionally operable to the unblock script for running the first ownership transfer proof information;First ownership transfer proves that information includes The private key signature matched with the public key of the seller;
After the unblock script success for running the first ownership transfer proof information, distributed general ledger system is additionally operable to run The seller has had the locking script of the ownership transfer condition of assets;The seller has had the ownership transfer condition of assets Private key signature with the public key match of the seller is provided;
If the locking script that the seller has had the ownership transfer condition of assets runs successfully, distributed general ledger system is also used This input that concludes the business in determination seller terminal can quote recorded seller transaction output content.
Specifically, recorded in distributed general ledger system buyer transaction output content includes using with the buyer In the assets of transaction, corresponding buyer has had assets, and the buyer has had the ownership transfer condition of assets;
Distributed general ledger system, is additionally operable to whether recorded buyer transaction output content described in judging is not handed at other Reference is transfused in easily;
If the recorded buyer transaction output content is not transfused to reference, distributed general ledger system in other transaction System is additionally operable to the unblock script for running the 3rd ownership transfer proof information;3rd ownership transfer prove information include with The private key signature that the public key of buyer matches;
After the unblock script success for running the 3rd ownership transfer proof information, distributed general ledger system is additionally operable to run Buyer has had the locking script of the ownership transfer condition of assets;The buyer has had the ownership transfer condition of assets Private key signature with the public key match of buyer is provided;
If the locking script that buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger system is also used This input that concludes the business in determination buyer terminal can quote recorded buyer transaction output content.
Additionally, distributed general ledger system, specifically for:
Determine and believe with the presence or absence of assets to be transacted in recorded seller transaction output content in distributed general ledger system Breath, and determine whether seller terminal have input the private key signature matched with the public key of the seller;
If there is assets information to be transacted in recorded seller transaction output content in distributed general ledger system, and sell Square terminal have input the private key signature matched with the public key of the seller, it is determined that transaction is legal;
The first ownership transfer conditional information be shift assets to be transacted proprietorial output valve be predetermined content, Or the private key signature that the public key of offer and the seller matches.
Additionally, the distributed general ledger system, is additionally operable to:
Receive the Transaction Reversal solicited message in seller terminal input;The Transaction Reversal request message includes the 4th input Reference information and the 4th ownership transfer prove information;Described 4th input reference information include the assets information to be transacted with And the first ownership transfer conditional information;4th ownership transfer proves that information includes matching with the public key of the seller Private key signature;
Prove information to Transaction Reversal request letter according to the described 4th input reference information and the 4th ownership transfer Breath is verified, and after determining that Transaction Reversal request is legal, exports assets information to be transacted and the 4th ownership transfer article Part information;The 4th ownership transfer conditional information includes providing the private key signature matched with the public key of the seller.
Additionally, the distributed general ledger system, is additionally operable to:
Judge whether the second input reference information is transfused to reference in other transaction;
If the second input reference information is transfused to reference in other transaction, refuse information is sent to buyer terminal.
Additionally, the distributed general ledger system, specifically for:
Judge in the second ownership transfer proof information the whether institute of the assets to be transacted of the transfer containing predetermined content The output valve having the right;
Judge whether the private key signature that the public key of buyer matches is legal.
Specifically, the second ownership transfer condition is to provide the private key signature with the public key match of the seller;Described Three ownership transfer conditions are to provide the private key signature with the public key match of buyer.
A kind of transaction match method of distributed general ledger system based on block chain technology provided in an embodiment of the present invention and System, its can realize that transaction is brought together in distributed general ledger system, in the case where third-party platform is completely disengaged from, realize handing over The functions such as easy quotation, quotation show, transaction order matching, and during transaction order matching, the assets to be transacted of the seller are used with buyer Synchronously can transfer in the ownership of assets of transaction.As third party need not be introduced in whole process of exchange carry out quotation displaying, money Golden trustship, assets trustship, guarantee, Trading Authorization or signature, can save third-party Charge exchange cost in a large number.Further, since The synchronous transfer of ownership of assets is can achieve during brining together, i.e., " collect on delivery, collect on delivery ", there is no letter in process of exchange With risk, while departing from third-party platform can also avoid third-party credit risk.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of transaction side of brining together of distributed general ledger system based on block chain technology provided in an embodiment of the present invention The flow chart one of method;
Fig. 2 is a kind of trade match system provided in an embodiment of the present invention;
Fig. 3 is a kind of transaction side of brining together of distributed general ledger system based on block chain technology provided in an embodiment of the present invention The flowchart 2 of method.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of transaction of the distributed general ledger system based on block chain technology pinch Conjunction method, is applied to a kind of trade match system 20 as shown in Figure 2, the trade match system 20 include seller terminal 201, Buyer terminal 202 and the distributed general ledger system 203, the distributed general ledger system 203 are included in the range of different tissues Multiple working nodes 204;The seller terminal 201 and buyer terminal 202 respectively with 204 communication link of the plurality of working node Connect.Multiple action nodes in the range of different tissues herein can be the server of different banks, different exchanges Server etc., because multiple working nodes are in the different scope of organizations, will not be come by same tissue (such as one exchange) The digital asset of the control seller and buyer, digital cash etc., therefore increased the security that transaction is brought together.
Method shown in Fig. 1 includes:
Step 101, distributed general ledger system receive the transaction request information in seller terminal input.
Wherein, the transaction request information includes that the first input reference information and the first ownership transfer prove information;Institute Stating the first input reference information includes recorded seller transaction output content in distributed general ledger system.
Step 102, distributed general ledger system are according to the described first input reference information and the first ownership transfer permit Breath is verified to the transaction request information, and after determining that transaction is legal, exports assets information to be transacted and the first institute Jump condition of having the right information;By the transaction request information, assets information to be transacted and the first ownership transfer conditional information It is recorded in the background data base of distributed general ledger system.
Step 103, each working node inquire the transaction request information in platform database in the rear, and treat described Transaction assets information and the first ownership transfer conditional information are shown.
Step 104, distributed general ledger system to be received and receive Transaction Information what buyer terminal was input into.
Wherein, described receive Transaction Information include the second input reference information, the second ownership transfer prove information, the 3rd Input reference information and the 3rd ownership transfer prove information;Described second input reference information include assets information to be transacted with And the first ownership transfer conditional information;The 3rd input reference information includes recorded in distributed general ledger system buying Side's transaction output content.
Step 105, distributed general ledger system judge that second ownership transfer proves whether information meets first and own Power jump condition, and judge that the 3rd ownership transfer proves whether information is legal.
In the second ownership transfer, step 106, distributed general ledger system prove that information meets the first ownership transfer condition, And the 3rd ownership transfer, when proving that information is legal, exporting buyer is used for the assets information of transaction, and its corresponding seller Known second ownership transfer condition, and export the assets information to be transacted, and its 3rd institute known to corresponding buyer Have the right jump condition.
So, the seller pass through its known second ownership transfer condition, you can obtain buyer for conclude the business assets believe Breath.Meanwhile, buyer passes through its known 3rd ownership transfer condition, you can obtain the assets information to be transacted of the seller.
A kind of transaction match method of distributed general ledger system based on block chain technology provided in an embodiment of the present invention, its Can realize that transaction is brought together in distributed general ledger system, in the case where third-party platform is completely disengaged from, realize trade quotation, The functions such as quotation shows, transaction order matching, and during transaction order matching, the assets to be transacted of the seller are used for concluding the business with buyer Ownership of assets synchronously can transfer.Due to need not introduce in whole process of exchange third party carry out quotation displaying, fund trustship, Assets trustship, guarantee, Trading Authorization or signature, can save third-party Charge exchange cost in a large number.Further, since brining process together In can achieve the synchronous transfer of ownership of assets, i.e., " collect on delivery, collect on delivery ", in process of exchange, there is no credit risk, Depart from third-party platform simultaneously and can also avoid third-party credit risk.
In order that those skilled in the art is better understood by the present invention, with reference to instantiation, to do to the present invention Further elucidated above, as shown in figure 3, the embodiment of the present invention provides a kind of friendship of the distributed general ledger system based on block chain technology Easy match method, including:
Step 301, distributed general ledger system receive the transaction request information in seller terminal input.
Wherein, the transaction request information includes that the first input reference information and the first ownership transfer prove information;Institute Stating the first input reference information includes recorded seller transaction output content in distributed general ledger system.Herein, described point Recorded in cloth general ledger system seller transaction output content includes that the seller corresponding with the assets to be transacted has Assets, and the seller had the ownership transfer condition of assets.
For recorded seller transaction output content in distributed general ledger system, which is can come from distributed general ledger The transaction X carried out in system.Transaction X is output as:The corresponding seller of assets to be transacted has had assets, and described The seller has had the ownership transfer condition of assets.
For example, the seller has had assets and is:Digital asset a.And the ownership transfer condition that the seller has had assets can be with For providing the private key signature with the public key match of the seller (referred to herein as seller A).The seller has had the ownership transfer of assets The locking script of condition is:DUP HASH160<pubkhash_A>EQUALVERIFY CHECKSIG.
Cited in the first input reference information is the output of transaction X.
Whether recorded seller transaction output content described in step 302, the judgement of distributed general ledger system is at other Reference is transfused in transaction.
If the step 303 recorded seller transaction output content is not transfused to reference in other transaction, it is distributed The first ownership transfer of formula general ledger system operation proves the unblock script of information.
Wherein, first ownership transfer proves that information includes the private key signature that the public key with the seller matches.For example, First ownership transfer proves that the corresponding unblock script of information can be:<sig_A><pubk_A>.
Step 304, after the unblock script success for running the first ownership transfer and proving information, distributed general ledger system fortune The row seller has had the locking script of the ownership transfer condition of assets.
Wherein, the ownership transfer condition that the seller has had assets is to provide the private key label with the public key match of the seller Name.
If the locking script that step 305 seller has had the ownership transfer condition of assets runs successfully, distributed general ledger System determines that input of seller terminal this transaction can be quoted recorded seller transaction and be exported content.
Step 306, distributed general ledger system determine recorded seller transaction output content in distributed general ledger system In whether there is assets information to be transacted, and determine whether seller terminal have input the private key label matched with the public key of the seller Name.
If there are assets to be transacted in recorded seller transaction output content in the distributed general ledger system of step 307 Information, and seller terminal have input the private key signature matched with the public key of the seller, then distributed general ledger system determines that transaction is closed Method.
Step 308, distributed general ledger system export assets information to be transacted and the first ownership transfer conditional information;Will The transaction request information, assets information to be transacted and the first ownership transfer conditional information are recorded in distributed general ledger system Background data base in.
For example, assets information to be transacted can be digital asset a;
Herein, the first ownership transfer conditional information is that to shift the proprietorial output valve of assets to be transacted be predetermined Content, or the private key signature that the public key of offer and the seller matches.For example, the predetermined content can be a preset value, example Such as<Txout1>;And locking script corresponding with the private key signature that the public key of the seller matches can be:OUT1<Txout1> EQUAL IF ELSE DUP HASH160<pubkhash_A>EQUALVERIFY CHECKSIG ENDIF.
Wherein,<Txout1>It is that the transaction that seller A sets is exported, in the acceptance of offer transaction that buyer (counterparty) initiates Output is necessary for this value, and the content of the transaction output that buyer initiates is pair valency of this time transaction, i.e. digital cash b must be synchronous It is transferred to seller A under one's name.
Selectable, herein command code OUT1 not only limit take using transaction output 1, can with defining operation code OUT2, OUT3 ... uses the output 2 of transaction, output 3 ... to take.I.e. for a transaction input, multiple transaction can be corresponded to defeated Go out.
The first ownership transfer conditional information herein is to shift the proprietorial output valve of assets to be transacted in predetermined Hold, or the private key signature matched with the public key of the seller is provided, the purpose of so setting is, both can be in the transaction of buyer B Output valve obtains the ownership of assets to be transacted when meeting predetermined content, can be that seller A passes through to provide the public key with the seller again The private key signature for matching, so that complete the revocation that concludes the business.
Step 309, each working node inquire the transaction request information in platform database in the rear, and treat described Transaction assets information and the first ownership transfer conditional information are shown.
After step 309, can be with execution step 310 or step 312.
Step 310, distributed general ledger system receive the Transaction Reversal solicited message in seller terminal input.
Wherein, the Transaction Reversal request message includes the 4th input reference information and the 4th ownership transfer permit Breath;The 4th input reference information includes the assets information to be transacted and the first ownership transfer conditional information; 4th ownership transfer proves that information includes the private key signature that the public key with the seller matches.
Herein, the 4th input reference information can be the output in step 308.And the 4th ownership transfer proves information Corresponding unblock script can be<sig_A><pubk_A>.
Step 311, distributed general ledger system are according to the described 4th input reference information and the 4th ownership transfer permit Breath is verified to the Transaction Reversal solicited message, and after determining that Transaction Reversal request is legal, exports assets letter to be transacted Breath and the 4th ownership transfer conditional information.
The assets information to be transacted can be digital asset a;And the 4th ownership transfer conditional information can be provide with The private key signature that the public key of the seller matches, its corresponding locking script be:DUP HASH160<pubkhash_A> EQUALVERIFY CHECKSIG.
After step 311, step 312 is can also carry out.
Step 312, distributed general ledger system to be received and receive Transaction Information what buyer terminal was input into.
Wherein, described receive Transaction Information include the second input reference information, the second ownership transfer prove information, the 3rd Input reference information and the 3rd ownership transfer prove information;Described second input reference information include assets information to be transacted with And the first ownership transfer conditional information;The 3rd input reference information includes recorded in distributed general ledger system buying Side's transaction output content.Recorded buyer transaction output content in the distributed general ledger system includes using with the buyer In the assets of transaction, corresponding buyer has had assets, and the buyer has had the ownership transfer condition of assets.
For recorded buyer transaction output content in distributed general ledger system, which can come from distributed general ledger system The transaction Y carried out in system, transaction Y are output as:Buyer has had assets, and the buyer has had the institute of assets Have the right jump condition.
For example, it can be digital cash b that the buyer has had assets;The buyer has had the ownership transfer condition of assets Can be that the private key signature with the public key match of buyer (referred to herein as buyer B) is provided.The buyer has had the ownership of assets The locking script of jump condition is:DUP HASH160<pubkhash_B>EQUALVERIFY CHECKSIG.
Step 313, distributed general ledger system judge whether the second input reference information is transfused in other transaction Quote.
For example, this second input reference information can by other transaction in be transfused to reference (equivalent to other buyers Receive the transaction of seller A), or (can be found in above-mentioned steps 310 to step 311) is cancelled by seller A itself.
If the step 314 second input reference information is transfused to reference in other transaction, distributed general ledger system to Buyer terminal sends refuse information.
If the step 315 second input reference information is not transfused to reference, distributed general ledger system in other transaction Described in judging, whether recorded buyer transaction output content is not transfused to reference in other transaction.
If the step 316 recorded buyer transaction output content is not transfused to reference in other transaction, it is distributed The 3rd ownership transfer of formula general ledger system operation proves the unblock script of information.
Wherein, the 3rd ownership transfer proves that information includes the private key signature that the public key with buyer matches;Which solves Locking script can be<sig_B><pubk_B>.
Step 317, after the unblock script success for running the 3rd ownership transfer and proving information, distributed general ledger system fortune Row buyer has had the locking script of the ownership transfer condition of assets.
Wherein, the ownership transfer condition that the buyer has had assets is to provide the private key label with the public key match of buyer Name.It is DUP HASH160 which locks script<pubkhash_B>EQUALVERIFY CHECKSIG.
If the locking script that step 318 buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger System determines that input of buyer terminal this transaction can be quoted recorded buyer transaction and be exported content.
Whether step 319, distributed general ledger system are judged in the second ownership transfer proof information containing predetermined interior The proprietorial output valve for shifting assets to be transacted of appearance, and judge whether the private key signature that the public key of buyer matches is legal.
Herein in the second ownership transfer proof information in step 319, if containing the preset value in step 308< Txout1>, and the second ownership transfer prove unblock script be<TRUE>, the private key signature that the public key of buyer matches closes Method, then can complete transaction and bring together.
The transfer containing predetermined content in the second ownership transfer proof information of step 320, distributed general ledger system is treated The proprietorial output valve of transaction assets, and the private key signature that matches of the public key of buyer legal when, output buyer is used for concluding the business Assets information, and its second ownership transfer condition known to the corresponding seller, and export the assets information to be transacted, and 3rd ownership transfer condition known to its corresponding buyer.
Specifically, the second ownership transfer condition is to provide the private key signature with the public key match of the seller, for example its Locking script is DUP HASH160<pubkhash_A>EQUALVERIFY CHECKSIG;The 3rd ownership transfer condition For providing the private key signature with the public key match of buyer, it is DUP HASH160 that for example which locks script<pubkhash_B> EQUALVERIFY CHECKSIG.
So, the seller pass through its known second ownership transfer condition, you can obtain buyer for conclude the business assets believe Breath.Meanwhile, buyer passes through its known 3rd ownership transfer condition, you can obtain the assets information to be transacted of the seller.
For the instantiation of above-mentioned seller A and buyer B, unblock script therein and locking script can adopt head sea orchid table Show the execution language based on storehouse of method.
Following command code can for example be preset:
DUP:Replicate stack top element;
HASH160:Stack top item carries out HASH twice, first uses SHA-256, then uses RIPEMD-160;
EQUAL:If two numbers of input are equal, 1 is returned, otherwise return 0;
EQUALVERIFY:If two numbers of input are equal, continue executing with, otherwise return 0, and marker transactions are invalid;
CHECKSIG:The signature of exchange must be effective signature of cryptographic Hash and public key, if true, return 1, no 0 is then returned;
BOOLOR:It is not 0 that two have one, and output 1 otherwise exports 0;
OUT1:Take the output 1 using transaction;
Following constant can be preset in this programme:
<pubk_A>:The public key of A;
<pubk_B>:The public key of B;
<pubkhash_A>:The public key of A carries out the result of HASH160 computings;
<pubkhash_B>:The public key of B carries out the result of HASH160 computings;
<sig_A>:The cryptographic Hash of transaction using A private key signed after result;
<sig_B>:The cryptographic Hash of transaction using B private key signed after result;
<Txout1>:The transaction output that transaction initiator sets;
<TRUE>:Constant 1.
A kind of transaction match method of distributed general ledger system based on block chain technology provided in an embodiment of the present invention, its Can realize that transaction is brought together in distributed general ledger system, in the case where third-party platform is completely disengaged from, realize trade quotation, The functions such as quotation shows, transaction order matching, and during transaction order matching, the assets to be transacted of the seller are used for concluding the business with buyer Ownership of assets synchronously can transfer.Due to need not introduce in whole process of exchange third party carry out quotation displaying, fund trustship, Assets trustship, guarantee, Trading Authorization or signature, can save third-party Charge exchange cost in a large number.Further, since brining process together In can achieve the synchronous transfer of ownership of assets, i.e., " collect on delivery, collect on delivery ", in process of exchange, there is no credit risk, Depart from third-party platform simultaneously and can also avoid third-party credit risk.
As shown in Fig. 2 the embodiment of the present invention provides a kind of trade match system 20, including seller terminal 201, buyer terminal 202 and the distributed general ledger system 203 based on block chain technology, the distributed general ledger system 203 includes different tissues model Multiple working nodes 204 in enclosing;The seller terminal 201 is logical with the plurality of working node 204 respectively with buyer terminal 202 Letter connection.
The distributed general ledger system 203, for receiving the transaction request information in the input of seller terminal 201;The transaction Solicited message includes that the first input reference information and the first ownership transfer prove information;The first input reference information includes Recorded seller transaction output content in distributed general ledger system 203;
Distributed general ledger system 203, is additionally operable to be proved according to the described first input reference information and the first ownership transfer Information is verified to the transaction request information, and after determining that transaction is legal, exports assets information to be transacted and first Ownership transfer conditional information;The transaction request information, assets information to be transacted and the first ownership transfer condition are believed Breath is recorded in the background data base of distributed general ledger system 203;
Each working node, for inquiring the transaction request information in platform database in the rear, and waits to hand over by described Easily assets information and the first ownership transfer conditional information are shown;
Distributed general ledger system 203, is additionally operable to reception what buyer terminal 202 was input into and receives Transaction Information;The acceptance Transaction Information includes that the second input reference information, the second ownership transfer prove information, the 3rd input reference information and the 3rd institute Have the right to shift proof information;The second input reference information includes assets information to be transacted and the first ownership transfer condition Information;The 3rd input reference information includes recorded buyer transaction output content in distributed general ledger system 203;
Distributed general ledger system 203, is additionally operable to judge that second ownership transfer proves whether information meets the first institute Have the right jump condition, and judge that the 3rd ownership transfer proves whether information is legal;
Distributed general ledger system 203, is additionally operable to prove that information meets the first ownership transfer bar in the second ownership transfer Part, and the 3rd ownership transfer, when proving that information is legal, exporting buyer is used for the assets information of transaction, and its corresponding sells Second ownership transfer condition known to side, and the assets information to be transacted is exported, and its 3rd known to corresponding buyer Ownership transfer condition.
Specifically, recorded in the distributed general ledger system 203 seller transaction output content includes treating with described The corresponding seller of transaction assets has had assets, and the seller has had the ownership transfer condition of assets;
Whether not the distributed general ledger system 203, be additionally operable to recorded seller transaction output content described in judging Reference is transfused in other transaction;
If the recorded seller transaction output content is not transfused to reference, distributed general ledger system in other transaction System 203, is additionally operable to the unblock script for running the first ownership transfer proof information;First ownership transfer proves packet Include the private key signature matched with the public key of the seller;
After the unblock script success for running the first ownership transfer proof information, distributed general ledger system 203 is additionally operable to The operation seller has had the locking script of the ownership transfer condition of assets;The seller has had the ownership transfer bar of assets Part is to provide the private key signature with the public key match of the seller;
If the locking script that the seller has had the ownership transfer condition of assets runs successfully, distributed general ledger system 203 It is additionally operable to determine that input of seller terminal this transaction can be quoted recorded seller transaction and be exported content.
Specifically, recorded in the distributed general ledger system 203 buyer transaction output content includes buying with described Side is used for the corresponding buyer of assets of transaction and has had assets, and the buyer has had the ownership transfer condition of assets;
Whether distributed general ledger system 203, be additionally operable to recorded buyer transaction output content described in judging not at which He is transfused to reference in concluding the business;
If the recorded buyer transaction output content is not transfused to reference, distributed general ledger system in other transaction System 203 is additionally operable to the unblock script for running the 3rd ownership transfer proof information;3rd ownership transfer proves packet Include the private key signature matched with the public key of buyer;
After the unblock script success for running the 3rd ownership transfer proof information, distributed general ledger system 203 is additionally operable to Operation buyer has had the locking script of the ownership transfer condition of assets;The buyer has had the ownership transfer bar of assets Part is to provide the private key signature with the public key match of buyer;
If the locking script that buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger system 203 It is additionally operable to determine that input of buyer terminal this transaction can be quoted recorded buyer transaction and be exported content.
Additionally, distributed general ledger system 203, specifically for:
Determine in recorded seller transaction output content in distributed general ledger system 203 with the presence or absence of assets to be transacted Information, and determine whether seller terminal have input the private key signature matched with the public key of the seller;
If there is assets information to be transacted in recorded seller transaction output content in distributed general ledger system 203, And seller terminal have input the private key signature matched with the public key of the seller, it is determined that transaction is legal;
The first ownership transfer conditional information be shift assets to be transacted proprietorial output valve be predetermined content, Or the private key signature that the public key of offer and the seller matches.
Additionally, the distributed general ledger system 203, is additionally operable to:
Receive the Transaction Reversal solicited message in seller terminal input;The Transaction Reversal request message includes the 4th input Reference information and the 4th ownership transfer prove information;Described 4th input reference information include the assets information to be transacted with And the first ownership transfer conditional information;4th ownership transfer proves that information includes matching with the public key of the seller Private key signature;
Prove information to Transaction Reversal request letter according to the described 4th input reference information and the 4th ownership transfer Breath is verified, and after determining that Transaction Reversal request is legal, exports assets information to be transacted and the 4th ownership transfer article Part information;The 4th ownership transfer conditional information includes providing the private key signature matched with the public key of the seller.
Additionally, the distributed general ledger system 203, is additionally operable to:
Judge whether the second input reference information is transfused to reference in other transaction;
If the second input reference information is transfused to reference in other transaction, refuse information is sent to buyer terminal.
Additionally, the distributed general ledger system 203, specifically for:
Judge in the second ownership transfer proof information the whether institute of the assets to be transacted of the transfer containing predetermined content The output valve having the right;
Judge whether the private key signature that the public key of buyer matches is legal.
Specifically, the second ownership transfer condition is to provide the private key signature with the public key match of the seller;Described Three ownership transfer conditions are to provide the private key signature with the public key match of buyer.
What deserves to be explained is, a kind of specific implementation of trade match system provided in an embodiment of the present invention may refer to The corresponding embodiments of the method for above-mentioned Fig. 1 and Fig. 3, here is omitted.
A kind of trade match system provided in an embodiment of the present invention, its can realize transaction pinch in distributed general ledger system Close, in the case where third-party platform is completely disengaged from, realize the functions such as trade quotation, quotation displaying, transaction order matching, and During transaction order matching, assets to be transacted and the buyer of the seller is used for the ownership of assets concluded the business and synchronously can transfer.Due to whole friendship Third party need not be introduced during easily carries out quotation displaying, fund trustship, assets trustship, guarantee, Trading Authorization or signature, can save Save third-party Charge exchange cost in a large number.Further, since during brining together, can achieve the synchronous transfer of ownership of assets, i.e., , there is no credit risk in process of exchange in " collect on delivery, collect on delivery ", while departing from third-party platform can also avoid third party Credit risk.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of reality Apply the form of example.And, the present invention can be adopted in one or more computers for wherein including computer usable program code The upper computer program that implements of usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram Journey and/or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided Instruct the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter Series of operation steps is executed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction executed on other programmable devices is provided for realization in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Apply specific embodiment to be set forth principle of the invention and embodiment in the present invention, above example Explanation be only intended to help and understand the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, According to the thought of the present invention, will change in specific embodiments and applications, in sum, in this specification Appearance should not be construed as limiting the invention.

Claims (16)

1. a kind of transaction match method of the distributed general ledger system based on block chain technology, it is characterised in that be applied to one kind Trade match system, the trade match system include seller terminal, buyer terminal and the distributed general ledger system, described Distributed general ledger system includes the multiple working nodes in the range of different tissues;The seller terminal and buyer terminal respectively with institute State multiple working node communication connections;
Methods described includes:
Distributed general ledger system receives the transaction request information in seller terminal input;The transaction request information includes that first is defeated Entering reference information and the first ownership transfer proves information;The first input reference information is included in distributed general ledger system Recorded seller transaction output content;
Distributed general ledger system proves information to the transaction according to the described first input reference information and the first ownership transfer Solicited message is verified, and after determining that transaction is legal, exports assets information to be transacted and the first ownership transfer condition Information;The transaction request information, assets information to be transacted and the first ownership transfer conditional information are recorded in distributed In the background data base of general ledger system;
Each working node inquires the transaction request information in the rear in platform database, and by the assets information to be transacted It is shown with the first ownership transfer conditional information;
Distributed general ledger system to be received and receive Transaction Information what buyer terminal was input into;The Transaction Information that receives includes that second is defeated Entering reference information, the second ownership transfer proves that information, the 3rd input reference information and the 3rd ownership transfer prove information;Institute Stating the second input reference information includes assets information to be transacted and the first ownership transfer conditional information;3rd input is drawn Include recorded buyer transaction output content in distributed general ledger system with information;
Distributed general ledger system judges that second ownership transfer proves whether information meets the first ownership transfer condition, and Judge that the 3rd ownership transfer proves whether information is legal;
In the second ownership transfer, distributed general ledger system proves that information meets the first ownership transfer condition, and the 3rd institute When transfer proof information of having the right is legal, exporting buyer is used for the assets information of transaction, and its second institute known to the corresponding seller Have the right jump condition, and export the assets information to be transacted, and its 3rd ownership transfer condition known to corresponding buyer.
2. the transaction match method of the distributed general ledger system based on block chain technology according to claim 1, its feature It is, recorded seller transaction output content in the distributed general ledger system includes corresponding with the assets to be transacted The seller has had assets, and the seller has had the ownership transfer condition of assets;
In the reception of distributed general ledger system after the transaction request information of seller terminal input, including:
Described in distributed general ledger system judgement, whether recorded seller transaction output content is not transfused in other transaction Quote;
If the recorded seller transaction output content is not transfused to reference, distributed general ledger system fortune in other transaction The first ownership transfer of row proves the unblock script of information;First ownership transfer proves that information includes the public key with the seller The private key signature for matching;
After the unblock script success for running the first ownership transfer proof information, the distributed general ledger system operation seller has The locking script of the ownership transfer condition of assets;It is offer and the seller that the seller has had the ownership transfer condition of assets Public key match private key signature;
If the locking script that the seller has had the ownership transfer condition of assets runs successfully, distributed general ledger system determines the seller Input of terminal this transaction can be quoted recorded seller transaction and be exported content.
3. the transaction match method of the distributed general ledger system based on block chain technology according to claim 2, its feature It is, recorded buyer transaction output content in the distributed general ledger system includes the money for being used for transaction with the buyer Produce corresponding buyer and had assets, and the buyer has had the ownership transfer condition of assets;
Distributed general ledger system receive buyer terminal input receive Transaction Information after, including:
Described in distributed general ledger system judgement, whether recorded buyer transaction output content is not transfused in other transaction Quote;
If the recorded buyer transaction output content is not transfused to reference, distributed general ledger system fortune in other transaction The 3rd ownership transfer of row proves the unblock script of information;3rd ownership transfer proves that information includes the public key with buyer The private key signature for matching;
After the unblock script success for running the 3rd ownership transfer proof information, distributed general ledger system operation buyer has The locking script of the ownership transfer condition of assets;It is offer and buyer that the buyer has had the ownership transfer condition of assets Public key match private key signature;
If the locking script that buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger system determines buyer Input of terminal this transaction can be quoted recorded buyer transaction and be exported content.
4. the transaction match method of the distributed general ledger system based on block chain technology according to claim 3, its feature It is, distributed general ledger system proves information to the transaction according to the described first input reference information and the first ownership transfer Solicited message is verified, and after determining that transaction is legal, exports assets information to be transacted and the first ownership transfer condition Information, including:
Distributed general ledger system determines to whether there is in recorded seller transaction output content in distributed general ledger system to be treated Transaction assets information, and determine whether seller terminal have input the private key signature matched with the public key of the seller;
If there is assets information to be transacted, and seller's end in recorded seller transaction output content in distributed general ledger system End have input the private key signature matched with the public key of the seller, then distributed general ledger system determines that transaction is legal;
The first ownership transfer conditional information be shift assets to be transacted proprietorial output valve be predetermined content, or The private key signature that the public key of offer and the seller matches.
5. the transaction match method of the distributed general ledger system based on block chain technology according to claim 4, its feature It is, also includes:
Distributed general ledger system receives the Transaction Reversal solicited message in seller terminal input;The Transaction Reversal request message bag Including the 4th input reference information and the 4th ownership transfer proves information;The 4th input reference information includes described to be transacted Assets information and the first ownership transfer conditional information;4th ownership transfer proves that information is included with the seller's The private key signature that public key matches;
Distributed general ledger system proves information to the transaction according to the described 4th input reference information and the 4th ownership transfer Revocation solicited message is verified, and after determining that Transaction Reversal request is legal, exports assets information to be transacted and the 4th institute Jump condition of having the right information;The 4th ownership transfer conditional information includes providing the private key label matched with the public key of the seller Name.
6. the transaction match method of the distributed general ledger system based on block chain technology according to claim 5, its feature Be, distributed general ledger system receive buyer terminal input receive Transaction Information after, also include:
Distributed general ledger system judges whether the second input reference information is transfused to reference in other transaction;
If the second input reference information is transfused to reference in other transaction, distributed general ledger system is sent to buyer terminal Refuse information.
7. the transaction match method of the distributed general ledger system based on block chain technology according to claim 6, its feature It is, the distributed general ledger system judges that second ownership transfer proves whether information meets the first ownership transfer bar Part, and judge that the 3rd ownership transfer proves whether information is legal, including:
Distributed general ledger system judges whether shifting containing predetermined content waits to hand in the second ownership transfer proof information The proprietorial output valve of easy assets;
Distributed general ledger system judges whether the private key signature that the public key of buyer matches is legal.
8. the transaction match method of the distributed general ledger system based on block chain technology according to claim 7, its feature It is, the second ownership transfer condition is to provide the private key signature with the public key match of the seller;3rd ownership turns Shifting condition is to provide the private key signature with the public key match of buyer.
9. a kind of trade match system, it is characterised in that including seller terminal, buyer terminal and based on block chain technology point Cloth general ledger system, the distributed general ledger system include the multiple working nodes in the range of different tissues;The seller terminal Communicated to connect with the plurality of working node with buyer terminal respectively;
Distributed general ledger system, for receiving the transaction request information in seller terminal input;The transaction request information includes First input reference information and the first ownership transfer prove information;The first input reference information includes distributed general ledger system Recorded seller transaction output content in system;
Distributed general ledger system, is additionally operable to prove information to institute according to the described first input reference information and the first ownership transfer State transaction request information to be verified, and after determining that transaction is legal, export assets information to be transacted and the first ownership turns Move conditional information;The transaction request information, assets information to be transacted and the first ownership transfer conditional information are recorded in In the background data base of distributed general ledger system;
Each working node, for inquiring the transaction request information, and by the money to be transacted in platform database in the rear Product information and the first ownership transfer conditional information are shown;
Distributed general ledger system, is additionally operable to reception what buyer terminal was input into and receives Transaction Information;Described receive Transaction Information bag Including the second input reference information, the second ownership transfer proves information, the 3rd input reference information and the 3rd ownership transfer card Bright information;The second input reference information includes assets information to be transacted and the first ownership transfer conditional information;Described 3rd input reference information includes recorded buyer transaction output content in distributed general ledger system;
Distributed general ledger system, is additionally operable to judge that second ownership transfer proves whether information meets the first ownership transfer Condition, and judge that the 3rd ownership transfer proves whether information is legal;
Distributed general ledger system, is additionally operable to prove that information meets the first ownership transfer condition, and institute in the second ownership transfer When stating the 3rd ownership transfer and proving that information is legal, exporting buyer is used for the assets information of transaction, and its known to the corresponding seller The second ownership transfer condition, and export the assets information to be transacted, and its 3rd ownership known to corresponding buyer Jump condition.
10. trade match system according to claim 9, it is characterised in that remembered in the distributed general ledger system The seller transaction output content of record includes that the seller corresponding with the assets to be transacted has had assets, and the seller gathers around There is the ownership transfer condition of assets;
The distributed general ledger system, is additionally operable to whether recorded seller transaction output content described in judging is not handed at other Reference is transfused in easily;
If the recorded seller transaction output content is not transfused to reference in other transaction, distributed general ledger system, It is additionally operable to the unblock script for running the first ownership transfer proof information;First ownership transfer proves that information includes and sells The private key signature that the public key of side matches;
After the unblock script success for running the first ownership transfer proof information, distributed general ledger system is additionally operable to run the seller The locking script of the ownership transfer condition of assets is had;It is offer that the seller has had the ownership transfer condition of assets Private key signature with the public key match of the seller;
If the locking script that the seller has had the ownership transfer condition of assets runs successfully, distributed general ledger system is additionally operable to really The input for determining seller terminal this transaction can be quoted recorded seller transaction and be exported content.
11. trade match systems according to claim 10, it is characterised in that remembered in the distributed general ledger system The buyer transaction output content of record includes that buyer corresponding with the assets that the buyer is used for transaction has had assets, and described Buyer has had the ownership transfer condition of assets;
Distributed general ledger system, be additionally operable to judge described in recorded buyer transaction export content whether not in other transaction It is transfused to reference;
If the recorded buyer transaction output content is not transfused to reference in other transaction, distributed general ledger system is also The unblock script of information is proved for running the 3rd ownership transfer;3rd ownership transfer proves that information includes and buyer The private key signature that matches of public key;
After the unblock script success for running the 3rd ownership transfer proof information, distributed general ledger system is additionally operable to run buyer The locking script of the ownership transfer condition of assets is had;It is offer that the buyer has had the ownership transfer condition of assets Private key signature with the public key match of buyer;
If the locking script that buyer has had the ownership transfer condition of assets runs successfully, distributed general ledger system is additionally operable to really The input for determining buyer terminal this transaction can be quoted recorded buyer transaction and be exported content.
12. trade match systems according to claim 11, it is characterised in that distributed general ledger system, specifically for:
Determine in recorded seller transaction output content in distributed general ledger system with the presence or absence of assets information to be transacted, and Determine whether seller terminal have input the private key signature matched with the public key of the seller;
If there is assets information to be transacted, and seller's end in recorded seller transaction output content in distributed general ledger system End have input the private key signature matched with the public key of the seller, it is determined that transaction is legal;
The first ownership transfer conditional information be shift assets to be transacted proprietorial output valve be predetermined content, or The private key signature that the public key of offer and the seller matches.
13. trade match systems according to claim 12, it is characterised in that distributed general ledger system, are additionally operable to:
Receive the Transaction Reversal solicited message in seller terminal input;The Transaction Reversal request message includes that the 4th input is quoted Information and the 4th ownership transfer prove information;The 4th input reference information includes the assets information to be transacted and institute State the first ownership transfer conditional information;4th ownership transfer proves that information includes the private that the public key with the seller matches Key is signed;
Prove that information is entered to the Transaction Reversal solicited message according to the described 4th input reference information and the 4th ownership transfer Row verification, and after determining that Transaction Reversal request is legal, export assets information to be transacted and the 4th ownership transfer condition letter Breath;The 4th ownership transfer conditional information includes providing the private key signature matched with the public key of the seller.
14. trade match systems according to claim 13, it is characterised in that the distributed general ledger system, are additionally operable to:
Judge whether the second input reference information is transfused to reference in other transaction;
If the second input reference information is transfused to reference in other transaction, refuse information is sent to buyer terminal.
15. trade match systems according to claim 14, it is characterised in that the distributed general ledger system, concrete use In:
Judge in the second ownership transfer proof information the whether ownership of the assets to be transacted of the transfer containing predetermined content Output valve;
Judge whether the private key signature that the public key of buyer matches is legal.
16. trade match systems according to claim 15, it is characterised in that the second ownership transfer condition is to carry For the private key signature with the public key match of the seller;The 3rd ownership transfer condition is to provide the private with the public key match of buyer Key is signed.
CN201611055621.5A 2016-11-25 2016-11-25 Transaction matching method and system of distributed general ledger system based on block chain technology Active CN106504094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611055621.5A CN106504094B (en) 2016-11-25 2016-11-25 Transaction matching method and system of distributed general ledger system based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611055621.5A CN106504094B (en) 2016-11-25 2016-11-25 Transaction matching method and system of distributed general ledger system based on block chain technology

Publications (2)

Publication Number Publication Date
CN106504094A true CN106504094A (en) 2017-03-15
CN106504094B CN106504094B (en) 2021-06-15

Family

ID=58328847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611055621.5A Active CN106504094B (en) 2016-11-25 2016-11-25 Transaction matching method and system of distributed general ledger system based on block chain technology

Country Status (1)

Country Link
CN (1) CN106504094B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103537A (en) * 2017-06-20 2017-08-29 北京汇通金财信息科技有限公司 Block chain-based digital asset transaction method and system
CN107133866A (en) * 2017-04-23 2017-09-05 杭州复杂美科技有限公司 Block chain credit match system
CN107180353A (en) * 2017-06-29 2017-09-19 飞天诚信科技股份有限公司 The implementation method and device of a kind of revocable intelligent contract transaction
CN107292629A (en) * 2017-05-12 2017-10-24 深圳蜂链科技有限公司 Anti-counterfeit tracking verification method based on block chain and the device using this method
CN107480987A (en) * 2017-07-25 2017-12-15 浙江大学 Green electric power supply certificate core hair based on block chain technology subscribes method and system
CN107909440A (en) * 2017-11-21 2018-04-13 中国银行股份有限公司 A kind of distribution general ledger system transaction synchronization liquidation method and system
WO2019019134A1 (en) * 2017-07-28 2019-01-31 杭州复杂美科技有限公司 Block chain information matching platform
CN109345251A (en) * 2018-08-24 2019-02-15 深圳壹账通智能科技有限公司 Negotiable block chain method of commerce, device, equipment and storage medium
CN109961286A (en) * 2017-12-26 2019-07-02 库币科技有限公司 Digital asset method of commerce
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device
CN110390528A (en) * 2019-07-22 2019-10-29 中汇信息技术(上海)有限公司 Information matching method and readable storage medium storing program for executing
CN110458543A (en) * 2019-07-31 2019-11-15 腾讯科技(深圳)有限公司 Data processing method, relevant device and medium
CN110546604A (en) * 2017-04-10 2019-12-06 区块链控股有限公司 Securing blockchain transactions based on undetermined data
CN110663054A (en) * 2017-05-22 2020-01-07 区块链控股有限公司 Copying smart contracts with termination conditions
CN110838068A (en) * 2018-08-16 2020-02-25 杨少铭 Weak-centered fund transaction platform and method thereof
CN110942288A (en) * 2018-09-25 2020-03-31 美凯利株式会社 Information processing method, information processing apparatus, and storage apparatus
CN110998630A (en) * 2017-08-15 2020-04-10 区块链控股有限公司 Random number generation in block chains
CN111177274A (en) * 2019-12-31 2020-05-19 中国建设银行股份有限公司 Article leasing method and device based on block chain, server and storage medium
WO2020114266A1 (en) * 2018-12-05 2020-06-11 腾讯科技(深圳)有限公司 Resource transfer method and apparatus, electronic device, and storage medium
JP2020526069A (en) * 2017-06-26 2020-08-27 エヌチェーン ホールディングス リミテッドNchain Holdings Limited Controlled cryptographic private key release
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
CN113781220A (en) * 2021-09-06 2021-12-10 上海卡方信息科技有限公司 Distributed stock transaction matching system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427104A (en) * 2015-12-08 2016-03-23 布比(北京)网络技术有限公司 Method and method for handling digital assets by means of distributed general ledger
CN105487816A (en) * 2015-11-26 2016-04-13 布比(北京)网络技术有限公司 Data transfer method and apparatus
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106055597A (en) * 2016-05-24 2016-10-26 布比(北京)网络技术有限公司 Digital transaction system, and account information query method therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487816A (en) * 2015-11-26 2016-04-13 布比(北京)网络技术有限公司 Data transfer method and apparatus
CN105427104A (en) * 2015-12-08 2016-03-23 布比(北京)网络技术有限公司 Method and method for handling digital assets by means of distributed general ledger
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN106055597A (en) * 2016-05-24 2016-10-26 布比(北京)网络技术有限公司 Digital transaction system, and account information query method therefor
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110546604A (en) * 2017-04-10 2019-12-06 区块链控股有限公司 Securing blockchain transactions based on undetermined data
CN107133866A (en) * 2017-04-23 2017-09-05 杭州复杂美科技有限公司 Block chain credit match system
CN107292629A (en) * 2017-05-12 2017-10-24 深圳蜂链科技有限公司 Anti-counterfeit tracking verification method based on block chain and the device using this method
CN110663054A (en) * 2017-05-22 2020-01-07 区块链控股有限公司 Copying smart contracts with termination conditions
CN107103537B (en) * 2017-06-20 2021-01-22 北京汇通金财信息科技有限公司 Block chain-based digital asset transaction method and system
CN107103537A (en) * 2017-06-20 2017-08-29 北京汇通金财信息科技有限公司 Block chain-based digital asset transaction method and system
US11870894B2 (en) 2017-06-26 2024-01-09 Nchain Licensing Ag Controlled cryptographic private key release
JP2020526069A (en) * 2017-06-26 2020-08-27 エヌチェーン ホールディングス リミテッドNchain Holdings Limited Controlled cryptographic private key release
JP7208930B2 (en) 2017-06-26 2023-01-19 エヌチェーン ライセンシング アーゲー Release of controlled cryptographic private keys
CN107180353A (en) * 2017-06-29 2017-09-19 飞天诚信科技股份有限公司 The implementation method and device of a kind of revocable intelligent contract transaction
CN107480987A (en) * 2017-07-25 2017-12-15 浙江大学 Green electric power supply certificate core hair based on block chain technology subscribes method and system
WO2019019134A1 (en) * 2017-07-28 2019-01-31 杭州复杂美科技有限公司 Block chain information matching platform
CN110998630A (en) * 2017-08-15 2020-04-10 区块链控股有限公司 Random number generation in block chains
CN107909440A (en) * 2017-11-21 2018-04-13 中国银行股份有限公司 A kind of distribution general ledger system transaction synchronization liquidation method and system
CN109961286A (en) * 2017-12-26 2019-07-02 库币科技有限公司 Digital asset method of commerce
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device
CN110838068B (en) * 2018-08-16 2023-04-07 杨少铭 Weak-centered fund transaction platform and method thereof
CN110838068A (en) * 2018-08-16 2020-02-25 杨少铭 Weak-centered fund transaction platform and method thereof
CN109345251A (en) * 2018-08-24 2019-02-15 深圳壹账通智能科技有限公司 Negotiable block chain method of commerce, device, equipment and storage medium
WO2020037927A1 (en) * 2018-08-24 2020-02-27 深圳壹账通智能科技有限公司 Negotiable block chain transaction method, apparatus, device, and storage medium
CN110942288A (en) * 2018-09-25 2020-03-31 美凯利株式会社 Information processing method, information processing apparatus, and storage apparatus
WO2020114266A1 (en) * 2018-12-05 2020-06-11 腾讯科技(深圳)有限公司 Resource transfer method and apparatus, electronic device, and storage medium
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
CN110390528B (en) * 2019-07-22 2022-11-04 中汇信息技术(上海)有限公司 Information matching method and readable storage medium
CN110390528A (en) * 2019-07-22 2019-10-29 中汇信息技术(上海)有限公司 Information matching method and readable storage medium storing program for executing
CN110458543B (en) * 2019-07-31 2021-04-30 腾讯科技(深圳)有限公司 Data processing method, related device and medium
CN110458543A (en) * 2019-07-31 2019-11-15 腾讯科技(深圳)有限公司 Data processing method, relevant device and medium
CN111177274A (en) * 2019-12-31 2020-05-19 中国建设银行股份有限公司 Article leasing method and device based on block chain, server and storage medium
CN111177274B (en) * 2019-12-31 2023-10-27 中国建设银行股份有限公司 Block chain-based item leasing method, device, server and storage medium
CN113781220A (en) * 2021-09-06 2021-12-10 上海卡方信息科技有限公司 Distributed stock transaction matching system and method

Also Published As

Publication number Publication date
CN106504094B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN106504094A (en) Transaction match method and system based on the distributed general ledger system of block chain technology
CN109544160A (en) A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
CN107844978A (en) A kind of staple commodities transaction processing method and system based on block chain
CN109863719A (en) Method and system for conducting transactions associated with anonymously held tokens over a blockchain
CN109154885A (en) Business processing on block platform chain executes
CN107330788A (en) A kind of block chain digital asset transaction match method, system, device and medium
CZ380597A3 (en) System of open distribution of electronic money
CN108764911A (en) Interconnect network accumulated method of commerce and system
CN106411950B (en) Authentication method, apparatus and system based on block chain transaction id
CN107480988A (en) A kind of block chain realizes the supervisory systems of stock exchange
CN109934582A (en) Digital cash transaction data processing method, server, client and system
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN108701270A (en) Management method, system and the data management server of maintenance factory
CN109432781A (en) A kind of current game stage property transaction system and method based on block chain intelligence contract
CN107909440B (en) Transaction synchronous clearing method and system for distributed general ledger system
TW201935299A (en) Blockchain system, node server and method for processing strategy model scripts of financial assets
CN109377338A (en) Financial product processing method and processing device based on block chain
Kehrli Blockchain 2.0-from bitcoin transactions to smart contract applications
CN110020928A (en) Anti- conspiracy attack network auction method based on block chain intelligence contract
CN110222120A (en) A kind of exchange of assets method based on UTXO model block chain intelligence contract
CN109919764A (en) Domain name transaction monitoring and managing method and device based on block chain
CN106980965A (en) A kind of method of payment, system and electronic equipment
CN104751364B (en) A kind of trans-regional direct selling bank federation method of commerce and system by safety certification
CN109389376A (en) A kind of merchant method and system based on digital cash
CN107067262A (en) Method for processing business, system and user terminal

Legal Events

Date Code Title Description
C06 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