CN107392608A - Digital asset method of commerce and block catenary system based on block catenary system - Google Patents

Digital asset method of commerce and block catenary system based on block catenary system Download PDF

Info

Publication number
CN107392608A
CN107392608A CN201710561462.4A CN201710561462A CN107392608A CN 107392608 A CN107392608 A CN 107392608A CN 201710561462 A CN201710561462 A CN 201710561462A CN 107392608 A CN107392608 A CN 107392608A
Authority
CN
China
Prior art keywords
block chain
digital asset
assets
transaction
node
Prior art date
Application number
CN201710561462.4A
Other languages
Chinese (zh)
Other versions
CN107392608B (en
Inventor
张健
张博
赵海涛
Original Assignee
北京博晨技术有限公司
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 北京博晨技术有限公司 filed Critical 北京博晨技术有限公司
Priority to CN201710561462.4A priority Critical patent/CN107392608B/en
Publication of CN107392608A publication Critical patent/CN107392608A/en
Application granted granted Critical
Publication of CN107392608B publication Critical patent/CN107392608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0209Architectural arrangements, e.g. perimeter networks or demilitarized zones
    • H04L63/0218Distributed architectures, e.g. distributed firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communication
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communication including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communication including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communication including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communication
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communication including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communication including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/38Chaining, e.g. hash chain or certificate chain

Abstract

The invention discloses a kind of digital asset method of commerce and block catenary system based on block catenary system.Wherein, block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, and method includes:First block chain receives the digital asset transaction request from client, it is determined that the digital asset corresponding with digital asset transaction request;Judge whether the ownership block chain corresponding with digital asset is the first block chain;If so, then the first block chain handles digital asset transaction request;If it is not, then the first block chain refuses digital asset transaction request;Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.Which is particularly suitable for use in one time one and is used only once with the transaction of digital asset, the digital asset;Also, which can also realize across the chain transaction between digital asset, across chain transaction performs front and rear digital asset and corresponds respectively to different ownership block chains, thus improves the security of assets.

Description

Digital asset method of commerce and block catenary system based on block catenary system
Technical field
The present invention relates to areas of information technology, and in particular to a kind of digital asset method of commerce based on block catenary system and Block catenary system.
Background technology
Block chain technology be using block linked data structure come verify with data storage, utilize distributed node common recognition algorithm Ensure the safety of data transfer and access to generate and update the data, using the mode of cryptography, using by automatized script generation Code composition intelligent contract come program and a kind of brand-new distributed basis framework of operation data with calculate normal form.Block chain skill Art has many advantages in itself:On the one hand, because block chain network can realize selfdiscipline, any malice deception by algorithm The behavior of system all can be by the repulsion and suppression of other nodes in network, and therefore, block catenary system need not rely on central authority The network trading of safety can be achieved in mechanism supports and credit endorsement.On the other hand, because block chain takes one-way hash function algorithm, Block caused by simultaneously each new promotes in strict accordance with time linear order, and the irreversibility of time causes any to attempt invasion and usurp The behavior for changing data message in block chain is all easy to be traced, and causes by the repulsion of other nodes, so as to limit correlation Malfeasance.Therefore, block chain technology has obtained increasingly extensive application in various fields such as finance, banks.
But traditional block catenary system is realized using the distributed structure/architecture of decentralization mostly, each network trading It is required to just come into force by the common recognition operation of all block chain nodes in system, and the transaction need to be recorded in by all blocks On the big account book of system that chain node is safeguarded jointly.But inventor has found during the present invention is realized, in the prior art extremely It is few that there are the following problems:When realizing the transaction of digital asset using block catenary system, the process of exchange of each stroke numeral assets It is both needed to be completed jointly by all nodes in block catenary system, therefore, not only efficiency is low, and more transactions can not be performed concurrently, And it also add the risk that digital asset is attacked by malicious node.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State a kind of the digital asset method of commerce and block catenary system based on block catenary system of problem.
According to an aspect of the invention, there is provided a kind of digital asset method of commerce based on block catenary system, wherein, The block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, and methods described includes:First Block chain receives the digital asset transaction request from client, it is determined that the numeral corresponding with the digital asset transaction request Assets;Judge whether the ownership block chain corresponding with the digital asset is the first block chain;If so, then described first The block chain processing digital asset transaction request;If it is not, then the first block chain refuses the digital asset transaction request; Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
According to another aspect of the present invention, there is provided a kind of block catenary system for being used to realize digital asset transaction, wherein, The block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, also, the block linkwork Comprised at least in system:First block chain, suitable for receiving the digital asset transaction request from client, it is determined that being provided with the numeral Produce the corresponding digital asset of transaction request;Judge whether the ownership block chain corresponding with the digital asset is described first Block chain;If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain is refused The exhausted digital asset transaction request;Wherein, the ownership block chain corresponding with digital asset is to generate the stroke numeral assets Block chain.
In summary, in digital asset method of commerce and system provided by the invention based on block catenary system, due to Block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, by draw a hierarchical mode make be Each block chain in system can be with the independent process transaction relevant with this block chain.Also, the block chain of digital asset will be generated Ownership block chain as the digital asset, it can be seen that, the only corresponding unique ownership block chain of each digital asset, and be only capable of Related transactional operation is carried out by the ownership block chain, so as to not only contribute to realize the concurrent of more stroke numeral transactions in assets, Trading efficiency is improved, the security of digital asset has also been obviously improved, has avoided digital asset and attacked by unrelated malice block chain The risk hit.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the integrated stand composition of block catenary system;
Fig. 2 shows the flow chart for the digital asset method of commerce that embodiment two provides;
Fig. 3 a show the schematic flow sheet of step S230 the first implementation;
Fig. 3 b show the schematic flow sheet of step S230 second of implementation;
Fig. 4 shows the schematic diagram of common recognition operation.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Embodiment one
The embodiment of the present invention one provides a kind of digital asset method of commerce based on block catenary system, the block catenary system It is the tree form distribution formula block catenary system for the block chain for including multiple levels, this method comprises the following steps:First block links The digital asset transaction request from client is received, it is determined that the digital asset corresponding with the digital asset transaction request;Judge Whether the ownership block chain corresponding with the digital asset is the first block chain;If so, then at the first block chain Manage the digital asset transaction request;If it is not, then the first block chain refuses the digital asset transaction request;Wherein, with The corresponding ownership block chain of digital asset is the block chain for generating the stroke numeral assets.
Wherein, the tree form distribution formula block catenary system includes the block chain of multiple levels, specific level quantity and each The block chain quantity that level includes can flexibly be set by those skilled in the art.In addition, the first block chain can be in any The block chain of level.The type of digital asset transaction request can include a variety of:For example, the request of assets consumption type, assets Request of transfering type etc..
Due to the tree form distribution formula block catenary system that block catenary system is the block chain for including multiple levels, by dividing layer The mode of level makes each block chain in system can be with the independent process transaction relevant with this block chain.Also, will generation numeral Ownership block chain of the block chain of assets as the digital asset, it can be seen that, the only corresponding unique ownership of each digital asset Block chain, and be only capable of carrying out related transactional operation by the ownership block chain, so as to not only contribute to realize more stroke numeral moneys Production is merchandised concurrent, is improved trading efficiency, has also been obviously improved the security of digital asset, has avoided digital asset by unrelated The risk of malice block chain attack.
Embodiment two
The embodiment of the present invention two provides a kind of specifically digital asset method of commerce based on block catenary system.In order to just In understanding, block catenary system involved in the embodiment of the present invention two is introduced first below:
The block catenary system is divided into multiple levels from top to bottom, specifically includes:Top-level in multiple levels Top layer block chain, the middle level block chain of intermediate level in multiple levels, multiple bottom layers being located in multiple levels The bottom block chain of level.Wherein, the level quantity of top-level and bottom level is respectively 1, the level quantity of intermediate level For N, and N is the integer more than or equal to 0.For example, when N is equal to 1, as shown in figure 1, the block catenary system includes three layers Level:Positioned at the top layer block chain 0 of top-level, one layer of middle level block chain 00,01,02 for being located at intermediate level, and multiple positions In bottom block chain 000, the 001...022 of bottom level.Wherein, each middle level block chain 00,01,02 and the top layer block chain 0 is joined directly together, and is under the jurisdiction of the top layer block chain 0, i.e.,:The top layer block chain 0 is the father of each middle level block chain 00,01,02 Node (also calls a grade block chain), and each middle level block chain 00,01,02 (is also named area of subordinate for the child node of the top layer block chain 0 Block chain).Each bottom block chain is joined directly together with a middle level block chain, and is under the jurisdiction of the middle level block chain.I.e.:The middle layer region Father node (also call a grade block chain) of the block chain as directly connected bottom block chain, each bottom block chain as with The child node (being also subordinate's block chain) of its middle level block chain being joined directly together.Specifically, bottom block chain 000,001,002 with Middle level block chain 00 be connected, bottom block chain 010,011 is connected with middle level block chain 01, bottom block chain 020,021,022 and Middle level block chain 02 is connected.As can be seen here, each block chain has corresponding higher level's block chain and/or subordinate's block chain;Wherein, The quantity of higher level's block chain corresponding to each block chain is for one (certainly, corresponding to some in particular cases each block chain The quantity of higher level's block chain can also be multiple), the quantity of subordinate's block chain corresponding to each block chain is one or more.Example Such as, the first level block chain 0 has three subordinate's block chains (i.e.:Second level block chain 00,01 and 02), third layer level block Chain 000 has higher level's block chain (i.e.:Second level block chain 00).Wherein, (also it is mark by the chain ID of each block chain Know) it can quickly determine horizontal and vertical position of the block chain in whole block catenary system.Wherein, institute in the present embodiment The block chain stated substantially refers to a block chain node (or block chain network node), or, described in the present embodiment Block chain can also be a block scm cluster.
In the block catenary system shown in Fig. 1, on the one hand, carry out block chain laterally to divide chain, so-called transverse direction divides chain to be Refer to:It can include the block chain of multiple same levels in same level, it is fraternal each other between the block chain of these same levels Node.By laterally dividing chain that all transaction are divided into transaction and across chain transaction in the chain between the block chain of multi-layer, make institute The transaction for having different blocks chain can be parallel, so as to greatly improve the performance of whole block catenary system.On the other hand, by block chain Carry out it is longitudinal layered, it is so-called longitudinal layered to refer to:All block chains are divided into multiple different levels from top to bottom.Pass through Multigroup block chain that block chain can be divided into different levels longitudinal layered to block chain, the block chain of lower floor is by the friendship after collecting Upper strata easily is submitted to, while realizes the transaction between some levels accounts.As can be seen here, by laterally dividing chain and longitudinal layered The flexibility of block catenary system can be lifted, is provided safeguard for the concurrently execution of more transactions.
In addition, each block chain network node in block catenary system shown in Fig. 1 can independently carry out common recognition operation Operated with book keeping operation.Specifically, each block chain is used to be known together for the transaction related to the block chain network node, and will Successful transaction record know together in the account book of this block chain.Wherein, the transaction related to the block chain network node include with It is at least one of lower:Generation is merchandised in the chain of the block chain network intra-node, and is occurred in the block chain network section Across chain transaction between point and other block chain network nodes;Wherein, across chain transaction further comprises:With across the chain transaction of level with And across the chain transaction of cross-layer level.As can be seen here, with only providing unified common recognition operation entry in traditional block catenary system Mode is different, and (the common recognition operation of All Activity all must be real via the unified common recognition operation entry in traditional block catenary system It is existing, thus can not concurrently perform multiple transaction), mode in the present invention is equivalent to providing multiple common recognitions that can be used parallel Operation entry (is respectively provided with an entrance for being capable of complete independently common recognition operation) in each block chain network node, and each area Block chain network node is known together only for relative network trading, other block chain network sections unrelated with the transaction Point is not involved in the common recognition operation of the transaction, therefore, it is possible to concurrently carry out the operation of the common recognition of multiple transaction, both improves system Concurrency, reduce again common recognition operation time delay.Also, the side with only providing one big account book in traditional block catenary system Formula difference (traditional block catenary system records each transaction between all block chain network nodes by one big account book), this (being respectively provided with one in each block chain network node can be only equivalent to multiple independent small account books are provided for mode in invention The vertical account book child node for completing book keeping operation operation), moreover, the account book in each block chain network node need to only record and the block chain The related transaction account of network node, without recording the transaction account unrelated with the block chain network node, so as to be lifted Book keeping operation and the efficiency of inquiry.As can be seen here, enter in the block catenary system shown in Fig. 1 essentially by tree form distribution formula account book Row book keeping operation.So-called tree form distribution formula account book refers to:Account book by more sub- account books by the tree-like tree structure formed, it is different There is hierarchical relationship between sub- account book (each block chain has corresponding sub- account book).
In addition, it is in communication with each other for the ease of multiple block chain network nodes between each level, the block chain in the present embodiment At least one news network unit can also be further set in system.Wherein, each message network node and each level Block chain network node is respectively connected with, and common recognition results messages between block chain network node for forwarding each level etc. are each The class message related to transaction.
Based on the block catenary system shown in Fig. 1, Fig. 2 shows the flow for the digital asset method of commerce that embodiment two provides Figure.As shown in Fig. 2 this method comprises the following steps:
Step S210:First block chain receives the digital asset generation request from client, is and the digital asset Asset identification corresponding to the corresponding digital asset distribution of generation request, generates and stores the assets mark for the digital asset Block chain signing messages caused by knowledge.
Wherein, the first block chain can be the block chain that any level is in block catenary system, and the present invention is to the firstth area The chain ID of block chain is not limited.In addition, digital asset can generate on either block chain, only with the first block in the present embodiment It is described exemplified by the digital asset generated on chain.Specifically, digital asset can in the form of account ID+ account balances body It is existing, the numeral of latter form marked the digital asset of ownership to represent, can also mainly be described in the present embodiment Assets.Also, if digital asset only allows using once, it is possible to is referred to as one time one and (is also one time one use with digital asset Fictitious assets), the digital asset being mentioned below in the present embodiment refers both to one time one and uses digital asset.Wherein, one time one use numeral UTXO (Unspent Transaction Output, the transaction output not spent) during assets can be merchandised by bit coin comes Realize, the script comprising value (value) and using the value.Wherein value represents the value of the assets, and script is used to limit The use condition of the assets.Certainly, one time one in the present embodiment is not limited to UTXO forms with digital asset, can also use it His form.
Basic digital asset includes assets description information and assets use condition script two parts content.Wherein, assets Description information includes at least one of the following:Asset character (for example, film ticket, reward voucher, purchase card etc.), assets value (or being denomination), asset identification (such as ID) etc..The mark of the assets and specific category can be known by assets description information Property.Assets use condition script is used to setting the use conditions of the assets, and can only be provided in client and meet this and use bar Just client is allowed to access the assets during information of part.For example, use condition can by character string and/or numeral cryptographic Hash Lai Represent.It can prevent illegal user from malicious from operating the assets by assets use condition script.In addition, in order to improve performance, number Word assets can also further include block chain signing messages in addition to comprising assets description information and assets use condition script And asset key.Wherein, block chain signing messages is to belong to the information after block chain is signed as corresponding to the assets, mainly Belong to the legitimacy on block chain at it for identifying the assets, it was demonstrated that the assets are belonged to the book keeping operation of block chain by it.Assets are close Key is also account public key, is indicated by asset owner, when including the part in assets, only holds the client of corresponding private key And/or block chain can just operate to the assets.
In this step, after the first block chain receives the digital asset generation request from client, it is and the numeral Asset identification corresponding to the corresponding digital asset distribution of assets generation request, generates and stores the assets for the digital asset Block chain signing messages caused by mark.In the present embodiment, the block chain of digital asset will be generated as the digital asset Belong to block chain, in block chain is belonged to, be stored with for block chain signing messages caused by the asset identification of digital asset.Often Individual digital asset is only capable of ownership block chain corresponding to it and performs associative operation, thus improves the security of digital asset.
Step S220:First block chain receive the digital asset transaction request from client, it is determined that with the digital asset The corresponding digital asset of transaction request, judge whether the ownership block chain corresponding with the digital asset is the first block chain; If the determination result is YES, then step S230 is performed;If it is not, then perform step S240.
First, after the first block chain receives the digital asset transaction request from client, according to the money wherein included Production mark determines the digital asset corresponding with the digital asset transaction request.Then, judge whether stored in the first block chain There is the block chain signing messages that the asset identification for the digital asset generates, if, it is determined that it is relative with the digital asset The ownership block chain answered is the first block chain, performs step S230;If not, it is determined that the home zone corresponding with the digital asset Block chain is not the first block chain, performs step S240.In step S240, the first block chain refuses digital asset transaction please Ask, to prevent unrelated regions block chain from carrying out malicious operation for digital asset.As can be seen here, can by belonging to the concept of block chain Make the only corresponding ownership block chain of a digital asset, and be only capable of being operated by the ownership block chain, so as to not only improve The security of assets is improved, is advantageously implemented the concurrently execution of more transactions in assets again.
Step S230:First block chain handles the digital asset transaction request.
Wherein, specific processing mode depends on the type of digital asset transaction request, the class of digital asset transaction request Type is including a variety of, for example, it may be the request of assets transfer class or the consumer request of assets etc..If assets transfer class Request, because the digital asset in the present embodiment is one time one, so, the process of trade give-ups is to destroy old money in fact Production, new assets are issued, and new assets can be changed to the corresponding new owner.If the consumer request of assets, then directly State corresponding to the assets is changed after consuming the assets.
As can be seen here, in step S230 concrete processing procedure, double decision logic can be included:First major punishment is disconnected to patrol Volume it is used for the type (including assets transfer class, assets are consumer, New Asset class etc.) for judging digital asset transaction request, so Afterwards, the operation corresponding with the type is performed according to the type for the digital asset transaction request judged.Second heavy decision logic For judging that the digital asset transaction request belongs to transaction or across chain transaction in chain, and performed according to judged result in corresponding chain Transaction flow or across chain transaction flow.Specifically, the assets side of being transferred to for judging to include in digital asset transaction request and money are passed through Whether the block chain corresponding to the production side of producing is same block chain to determine that the transaction belongs to transaction or across chain transaction in chain:If The assets side of being transferred to that is included in digital asset transaction request and the block chain corresponding to the assets side of producing for same block chain (such as It is the first block chain), it is determined that the transaction is merchandises in chain, correspondingly, perform corresponding with transaction in chain treat Journey (referring in particular to Fig. 3 a);If the assets side of being transferred to included in digital asset transaction request and the block corresponding to the assets side of producing Chain is belonging respectively to different block chains, and (such as the assets side of producing belongs to the first block chain, and the assets side of being transferred to belongs to the second block Chain), it is determined that the transaction is across chain transaction, correspondingly, performs the processing procedure corresponding with across chain transaction (referring in particular to figure 3b).In addition, the execution sequencing present invention of above-mentioned double decision logic does not limit, the class of transaction both can have first been judged Type, it can also first judge transaction for chain is interior or across chain transaction.In addition, when type of transaction is only limitted to assets transfer class, can also Omit the first heavy decision logic.In a word, the specific implementation details that those skilled in the art can be to step S230 carries out various change Dynamic and deformation.
In the present embodiment, illustrated by taking the request of assets transfer class as an example, correspondingly, the number that the first block chain receives Word transaction in assets request is specially assets transfer request.Specifically, the assets side of being transferred to included in being asked according to assets transfer class The position of corresponding block chain, step S230 can be further divided into two kinds of implementations again.Fig. 3 a show step The schematic flow sheet of S230 the first implementation, in the mode shown in Fig. 3 a, the block chain corresponding to the assets side of being transferred to It is the first block chain, i.e.,:The assets side of producing and the assets side of being transferred to belong to same block chain, and therefore, corresponding transaction is in chain Transaction.Fig. 3 b show the schematic flow sheet of step S230 second of implementation, and in the mode shown in Fig. 3 b, assets turn Block chain corresponding to the side of entering is not the first block chain, i.e.,:The assets side of producing and the assets side of being transferred to belong to different block chains, because This, corresponding transaction is across chain transaction.
As shown in Figure 3 a, when the digital asset transaction request that the first block chain receives turns for assets transfer request and assets When block chain corresponding to the side of entering is the first block chain, step S230 specifically includes following sub-step:
Step S231:The block chain corresponding to the assets side of being transferred to for determining to include in assets transfer request is the first block Chain, i.e.,:Judge that assets transfer request belongs in chain to merchandise.
Specifically, assets are specifically included and are produced not only comprising the information corresponding to the assets side of producing in assets transfer request The chain ID of block chain corresponding to former assets holder and former assets holder corresponding to side;It is also right comprising an assets side of being transferred to The information answered, specifically include block chain corresponding to the new assets holder and new assets holder corresponding to the assets side of being transferred to Chain ID.Block chain according to corresponding to above- mentioned information is capable of determining that the assets side of being transferred to that includes in assets transfer request whether be First block chain, the block chain corresponding to the assets side of being transferred to that the mode shown in Fig. 3 a only describes to include in assets transfer request are The scene of first block chain, if the area according to corresponding to above- mentioned information judges the assets side of being transferred to that includes in assets transfer request Block chain is not the first block chain, then is handled by way of shown in Fig. 3 b.
,, can be with step S231 also for the generation for preventing maloperation in addition, in order to improve the security of transaction Determine whether to send whether the user corresponding to the client of the digital asset transaction request is that the legal of the digital asset is held Someone, and only perform subsequent step when judged result is to be.Also, judgement operation can also perform in step S220, The present invention was not limited the specific execution opportunity of judgement operation.When judging, it can obtain and be included in assets transfer request The assets side of producing information, if the information of the assets side of producing included and the phase recorded in digital asset in assets transfer request Close information matches, it is determined that user corresponding to the client is holder in due course.Included alternatively, it is also possible to combine in digital asset The information such as asset character, assets value, asset identification, assets use condition script, and/or asset key judged.Example Such as, transaction can be constructed by the owner of assets to be transacted, and to trading signature or the proof for submitting assets to use, afterwards will The ownership block chain of digital asset is submitted in transaction, by ownership block chain by verify assets signature or use condition whether just True mode judges the legitimacy of the transaction.
Step S232:Each node in first block chain is for the first corresponding Transaction Information of assets transfer request Known together.
Wherein, the first Transaction Information comprises at least:Assets holder information before assets transfer, for being supplied to the firstth area Block chain, to destroy the digital asset corresponding with digital asset transaction request in the first block chain;Money after assets transfer Holder information is produced, for being supplied to the first block chain, so as to generation and destroyed digital asset etc. in the first block chain The digital asset of volume, and for generation and the digital asset corresponding asset identification of setting of destroyed digital asset single-candidate and New assets holder information.Specifically, in a real transaction, the first Transaction Information may include:The assets of payment (by submitting the client of transaction to generate, for identifying digital asset to be transferred), Send only Account signature are (by the visitor for submitting transaction The generation of family end subscriber, for verify user whether be assets holder in due course), collecting account is (by the client for submitting transaction Specify, for determining the assets holder after assets transfer) and transaction id (by the distribution of the first block chain, for uniquely identifying Transaction, in order to the processing of subsequent step).
For example, it is assumed that the assets before assets transfer hold artificial user A, it corresponds to the first client;After assets transfer Assets hold artificial user B, it corresponds to the second client.Also, the first client and the second client are under the jurisdiction of Fig. 1 In bottom block chain 000 (i.e. the first block chain is bottom block chain 000).Correspondingly, user A submits above-mentioned assets transfer Request, the first block chain checking user A is legal to possess the assets and after the assets have not been used, first, in bottom block The old digital asset that user A is held is destroyed in chain 000, wherein, the asset identification corresponding to old digital asset is, for example, 000X.Then, new digital asset is issued in bottom block chain 000, the asset identification corresponding to new digital asset can be with 000YY is defined as by default algorithm, also, new digital asset is equal with old digital asset value, and user B is new The holder of digital asset.As can be seen here, because the ownership block chain corresponding to new and old digital asset is the first block chain, because This, the prefix of its asset identification is the chain ID000 of the first block chain.Correspondingly, user A confirms old digital asset by pin Ruin, user B acknowledges receipt of new digital asset.
Further, since multiple network nodes are generally comprised in the first block chain, therefore, it is necessary to by each in the first block chain Individual network node participates in the common recognition and accounting procedure of the transaction jointly.Wherein, the detailed process of operation of knowing together can be by this area Technical staff is flexibly set.The core of this programme is:Each block chain can be inside complete independently this block chain all friendships Easy common recognition and book keeping operation operation, participate in common recognition and book keeping operation without other block chains, so as to improve operating efficiency, are advantageous to more Transaction concurrently performs on different blocks chain.
Step S233:If result of knowing together is successfully, to be kept accounts in the first block chain for the first Transaction Information.
Specifically, the first Transaction Information as corresponding to each node in the first block chain by the transaction recorded the firstth area In the account book of block chain.As can be seen here, the transaction is recorded only in the account book of the first block chain, will not recorded other block chains Account book in, thus can either simplify account book scale, be easy to inquire about again.Digital asset is realized same through the above way Transfer operation in block chain.
As shown in Figure 3 b, when the digital asset transaction request that the first block chain receives turns for assets transfer request and assets When block chain corresponding to the side of entering is the second block chain, step S230 specifically includes following steps:
Step S231 ':The block chain corresponding to the assets side of being transferred to for determining to include in assets transfer request is the second block Chain, i.e.,:Judge that assets transfer request belongs to across chain transaction.
Specifically, assets are specifically included and are produced not only comprising the information corresponding to the assets side of producing in assets transfer request The chain ID of block chain corresponding to former assets holder and former assets holder corresponding to side;It is also right comprising an assets side of being transferred to The information answered, specifically include block chain corresponding to the new assets holder and new assets holder corresponding to the assets side of being transferred to Chain ID.Block chain according to corresponding to above- mentioned information is capable of determining that the assets side of being transferred to that includes in assets transfer request whether be First block chain.In the flow shown in Fig. 3 b, the block chain corresponding to the assets side of being transferred to is the second block chain.Wherein, second Block chain is probably the block chain that any one in block catenary system is different from the first block chain, and the present invention is to the second block chain Chain ID is not limited.
In addition, in order to improve the security of transaction,, can also in step S231 ' also for the generation for preventing maloperation Determine whether to send whether the user corresponding to the client of the digital asset transaction request is that the legal of the digital asset is held Someone, and only perform subsequent step when judged result is to be.Also, judgement operation can also perform in step S220, The present invention was not limited the specific execution opportunity of judgement operation.When judging, it can obtain and be included in assets transfer request The assets side of producing information, if the information of the assets side of producing included and the phase recorded in digital asset in assets transfer request Close information matches, it is determined that user corresponding to the client is holder in due course.Included alternatively, it is also possible to combine in digital asset The information such as asset character, assets value, asset identification, assets use condition script, and/or asset key judged.Example Such as, transaction can be constructed by the owner of assets to be transacted, and to trading signature or the proof for submitting assets to use, afterwards will The ownership block chain of digital asset is submitted in transaction, by ownership block chain by verify assets signature or use condition whether just True mode judges the legitimacy of the transaction.
Step S232 ':Assets transfer is asked the second corresponding Transaction Information to be sent to the second block by the first block chain Chain.
Specifically, in the present embodiment, the second Transaction Information can be sent by the host node included in the first block chain To the second block chain, the host node in the first block chain can be determined by way to elect or other modes.When it is implemented, can With the host node being only sent in the second block chain, each node that can also be sent to simultaneously in the second block chain, the present invention Specific implementation details is not limited.
Wherein, the second Transaction Information comprises at least:Assets holder information before assets transfer, for being supplied to the firstth area Block chain, to destroy the digital asset corresponding with digital asset transaction request in the first block chain;Money after assets transfer Holder information is produced, for being supplied to the second block chain, so as to generation and destroyed digital asset etc. in the second block chain The digital asset of volume, and for generation and the digital asset corresponding asset identification of setting of destroyed digital asset single-candidate and New assets holder information.In addition, for generation the digital asset setting with destroyed digital asset single-candidate it is corresponding money Production mark and assets holder information after, the second block chain further generate and store for the generation with it is destroyed Block chain signing messages caused by the asset identification of the digital asset of digital asset single-candidate.
Wherein, the particular content of the second Transaction Information is similar with the first Transaction Information, differs only in:Second Transaction Information The block chain where assets holder after corresponding assets transfer is different from where the assets holder before assets transfer The first block chain, i.e.,:The transfer transactions of this assets are across chain transaction.Correspondingly, the transfer transactions of this assets are needed tree-like Completed in two chains of distributed account book, it is desirable to input digital asset and belong to a chain, output digital asset belongs to another Individual chain, it is therefore, consistent, it is necessary to which two chains have been known together with the establishment of output digital asset in order to ensure the destruction of input digital asset Synchronously kept accounts on two chains after.
Step S233 ':First block chain and the second block chain are known together collectively for the second Transaction Information.
Because the second Transaction Information is related to two block chains, therefore, it is necessary to two block chains common recognition and book keeping operation jointly.Example Such as, it is assumed that the assets before assets transfer hold artificial user A, and it corresponds to the first client;Assets after assets transfer are held Artificial user C, it corresponds to the 3rd client.Also, the first client is under the jurisdiction of the bottom block chain 000 (i.e. first in Fig. 1 Block chain is bottom block chain 000), (i.e. the second block chain is bottom to the bottom block chain 002 that the 3rd client is under the jurisdiction of in Fig. 1 Layer block chain 002).Correspondingly, user A submits above-mentioned assets transfer to ask to the first block chain, and the checking of the first block chain is used Family A is legal to possess the assets and after the assets have not been used, and need to be sent to the second Transaction Information corresponding to the request Second block chain is jointly processed by:On the one hand, the first block chain destroys the old numeral money that user A is held in block chain 000 Production, wherein, the asset identification corresponding to old digital asset is, for example, 000S.On the other hand, the second block chain is in block chain 002 The new digital asset of middle distribution, the asset identification corresponding to new digital asset can be defined as 002ZZ by default algorithm, Also, new digital asset is equal with old digital asset value, user C is the holder of new digital asset.As can be seen here, Because the ownership block chain corresponding to new and old digital asset is different, therefore, the prefix of its asset identification is also different:The money of old assets Production mark prefix is 000, and the ownership block chain for illustrating the assets is 000;The asset identification prefix of new assets is 002, illustrates this The ownership block chain of assets is 002.Correspondingly, user A confirms that old digital asset is destroyed, and user C acknowledges receipt of new Digital asset.
Next, by taking a kind of optional common recognition algorithm as an example, the specific implementation of common recognition operation in step S233 ' is described in detail Process.
Specifically, know together operation set-up procedure it is as follows:First, included in the first block chain (i.e. bottom block chain 000) Host node for the second Transaction Information generation corresponding to the first pre-preparation message (i.e. pre-prepare message), it is pre- by first Preparation message is broadcast to each from node in the first block chain.Specifically, the host node included in bottom block chain 000 is directed to Each transaction received is ranked up, and is sequence number corresponding to each transaction allocation, correspondingly, is wrapped in the first pre-preparation message Containing the first transaction sequence number that the first block chain is the distribution of the second Transaction Information, for each section included in bottom block chain 000 The transaction is uniquely identified in point.Then, the host node included in the second block chain (i.e. bottom block chain 002) is directed to second Transaction Information generation corresponding to the second pre-preparation message, by the second pre-preparation message be broadcast in the second block chain it is each from Node.Specifically, the host node included in bottom block chain 002 is directed to each transaction received and is ranked up, and is each Sequence number corresponding to transaction allocation, correspondingly, distributed in the second pre-preparation message comprising the second block chain for the second Transaction Information Second transaction sequence number, for uniquely identifying the transaction in each node for being included in bottom block chain 002.Pass through above-mentioned side Formula, the set-up procedure of common recognition operation is just completed, next, in the implementation procedure of common recognition operation, by being wrapped in the first block chain The host node and each host node included from node, and the second block chain that contain and each merchandised jointly to second from node Information is known together.Specifically, the implementation procedure of operation of knowing together specifically includes following steps:
Step 1: the host node that is included in the first block chain and each being confirmed from node for the first pre-preparation message The host node and each host node included from node and the second block chain that are included in backward first block chain and it is each from Node sends first and prepares message (i.e. prepare message);The host node that is included in second block chain and each it is directed to from node Second pre-preparation message confirm the host node included in backward first block chain and each from node and the second block chain In the host node that includes and each send second from node and prepare message.
Prepare message more than the first of preset first threshold value and more than default the Step 2: being received in the first block chain The host node that is included into the first block chain of node of second preparation message of two threshold values and each from node and the second block The host node that is included in chain and each send the first confirmation message (i.e. commit message) from node;Received in second block chain Prepare message more than the first of preset first threshold value and prepare the node of message to first more than the second of default Second Threshold The host node and each host node included from node and the second block chain that are included in block chain and each sent from node Second confirmation message.Wherein, first threshold and Second Threshold can be set according to actual conditions, for example, when in the first block chain When including 3f+1 node altogether, first threshold could be arranged to 2f+1;When including 3k+1 node altogether in the second block chain, the One threshold value could be arranged to 2k+1 (f be natural number with k).In a word, first threshold and Second Threshold can according in network most Big tolerable error node number is set, with the reliability service of safeguards system.
Step 3: if the first block chain is received more than the first confirmation message of preset first threshold value and more than default the Second confirmation message of two threshold values, and the second block chain receive more than preset first threshold value the first confirmation message and be more than Second confirmation message of default Second Threshold, it is determined that common recognition result is successfully.
In order to make it easy to understand, Fig. 4 shows the schematic diagram of above-mentioned common recognition operation.In Fig. 4, the first block chain altogether comprising 0, 1st, 2,3 four nodes, wherein 0 is host node;Second block chain also includes 0,1,2,3 four node, wherein 0 is host node.Its In, the i.e. common recognition message of host node sends node, and message of being known together from node ballot node, main and subordinate node can be by electing determination. Also, whole common recognition process is divided into five stages by Fig. 4.Before common recognition operation performs, it is under the jurisdiction of the visitor of the first block chain Family end sends assets transfer request to the first block chain.In the first stage of common recognition operation, assets transfer request is broadcast to the All nodes in one block chain, the first block chain are responsible for verifying the legitimacy of assets transfer request, and after being verified, The corresponding information of assets transfer request is sent from host node 0 of the host node 0 in the first block chain into the second block chain. Host node 0 in the second stage of common recognition operation, the first block chain is the second corresponding transaction letter of assets transfer request First transaction sequence number corresponding to breath distribution, and second Transaction Information is packed and write in transaction List Table, believe for the second transaction First pre-preparation message (i.e. pre-prepare message) corresponding to breath generation, the first block is broadcast to by the first pre-preparation message Each node inside chain.Therewith similarly, the host node 0 in the second block chain is corresponding second of assets transfer request Second transaction sequence number corresponding to Transaction Information distribution, and second Transaction Information is packed and write in transaction List Table, for second Second pre-preparation message (i.e. pre-prepare message) corresponding to Transaction Information generation, the second pre-preparation message is broadcast to the Each node inside two block chains.In the phase III of common recognition operation, each node in the first block chain is pre- for first Prepare message to be verified, if being verified, node generation first prepares message (i.e. prepare message), and by first Prepare message and be broadcast to the whole nodes included in the first block chain and the second block chain;Similarly, it is every in the second block chain Individual node is verified for the second pre-preparation message, if being verified, node generation second prepares message (i.e. Prepare message), and the second preparation message is broadcast to the whole nodes included in the first block chain and the second block chain. In Fig. 4, only described by taking the node 1 in the first block chain as an example, in fact, in the phase III, two block chains Each node can perform the operating process similar with node 1.Certainly, if some node verification fails, will not generate and wide Broadcast first/second and prepare message.What each node in the fourth stage of common recognition operation, the first block chain judged to receive comes Whether it is more than first threshold from the first quantity for preparing message of other nodes, and second from other nodes received is accurate Whether the quantity of standby message is more than Second Threshold, if so, then the node generates the first confirmation message, and the first confirmation message is wide Broadcast to whole nodes in the first block chain and the second block chain;Similarly, each node in the second block chain judges to receive The quantity of the preparation message of first from other nodes whether be more than first threshold, and the from other nodes received Whether the quantity of two preparation message is more than Second Threshold, if so, then the node generates the second confirmation message, and second is confirmed to disappear Breath is broadcast to whole nodes in the first block chain and the second block chain.Certainly, if certain in the block chain of the first block chain/second The quantity for the preparation message of first from other nodes that node receives is not more than first threshold, or what is received come from it The quantity of second preparation message of his node is not more than Second Threshold, then the node will not generate simultaneously broadcast acknowledgements message.In Fig. 4 In, only described by taking the node 2 in the second block chain as an example, in fact, each section in fourth stage, two block chains Point can perform the operating process similar with node 2.In the 5th stage of common recognition operation, if each node judges what is received It is more than first threshold from the quantity of the first confirmation message of other nodes, and second from other nodes received confirms to disappear The quantity of breath is more than Second Threshold, then confirms that common recognition operates successfully, confirmed for the transaction and remembered in subsequent step Account.
Step S234 ':If common recognition result is successfully, the first block chain and the second block chain are respectively for the described second transaction Information is kept accounts.
Specifically, the second Transaction Information as corresponding to each node in the first block chain by the transaction recorded the firstth area In the account book of block chain;Meanwhile the second Transaction Information as corresponding to each node in the second block chain by the transaction recorded In the account book of two block chains.As can be seen here, the transaction is recorded only in the account book of the first block chain and the second block chain, will not In the account book that recorded other unrelated block chains, it thus can either simplify account book scale, be easy to inquire about again.Moreover, pass through two The mode that individual Correlation block chain is synchronously kept accounts can lift the accuracy of account.
In addition, in the present embodiment, for the ease of inquiry, this method can further include following step:Block chain Each block chain in system collects to the Transaction Information corresponding to each digital asset for being generated as this block chain, and will Transaction summarized results after collecting submits to higher level's block chain of this block chain, for higher level's block chain root of described block chain Described in the transaction summarized results submitted according at least one subordinate's block chain corresponding to higher level's block chain of described block chain determines Collect Transaction Information corresponding to higher level's block chain of this block chain;And/or each block chain in the block catenary system receives The transaction summarized results that at least one subordinate's block chain corresponding to this block chain is submitted, and according to corresponding to described block chain extremely The transaction summarized results that few subordinate's block chain is submitted determines to collect Transaction Information corresponding to this block chain.Wherein, for area For the block chain for not having higher level's block chain in block catenary system, the block chain is merely responsible for receiving at least one corresponding to this block chain The transaction summarized results that subordinate's block chain is submitted, and at least one subordinate's block chain submission according to corresponding to described block chain Transaction summarized results determines to collect Transaction Information corresponding to this block chain.For example, for the top layer block chain 0 in Fig. 1, by It is root node in block chain 0, it is without corresponding higher level's block chain (being also father node), and therefore, top layer block chain 0 is used to receive The transaction summarized results that its corresponding three subordinates block chain 00,01 and 02 is submitted, and determine therefrom that and collect corresponding to block chain 0 Transaction Information.In addition, for not having the block chain of subordinate's block chain in block catenary system, the block chain is merely responsible for by this Transaction Information corresponding to each digital asset of block chain generation is collected, and the transaction summarized results after collecting is submitted Higher level's block chain to this block chain.For example, for the bottom block chain 000 in Fig. 1, because block chain 000 is leaf segment Point, it is without corresponding subordinate's block chain (also whistle node), and therefore, bottom block chain 000 is used for being generated by this block chain Each digital asset corresponding to Transaction Information collected, and the transaction summarized results after collecting submits to this block chain Higher level's block chain 00.Further, since the either block chain in block catenary system can perform and collect related operation to merchandising, Therefore, each transaction in block catenary system can collect operation by the transaction of cross-layer, finally collect into the system Root node.
For example, it is assumed that following three stroke numerals assets transfer is performed between bottom block chain 000 and bottom block chain 010 altogether Operation:
000AA-->010BB, its implication are:By assets holder A by asset identification be 000AA, ownership block chain be 000 Digital asset be transferred to assets holder B, the asset identification after transfer is 010BB, and it is 010 to belong to block chain;The stroke count The amount of money of word assets is 1000 yuan;
000A’A’-->010B ' B ', its implication are:By assets holder A by asset identification be 000A ' A ', ownership block The digital asset that chain is 000 is transferred to assets holder B, and the asset identification after transfer is 010B ' B ', and belongs to block chain and be 010;The amount of money of the stroke numeral assets is 2000 yuan;
000A”A”-->010B " B ", its implication are:By assets holder A by asset identification be 000A " A ", ownership block The digital asset that chain is 000 is transferred to assets holder B, and the asset identification after transfer is 010B " B ", and belongs to block chain and be 010;The amount of money of the stroke numeral assets is 3000 yuan.
Correspondingly, bottom block chain 000 and bottom block chain 010 are converged for this three stroke numerals assets transfer transaction Always, the Transaction Information after collecting is submitted into its corresponding higher level's block chain 00 and 01.Higher level's block chain 00 is according to the block The transaction summarized results that each subordinate's block chain (including block chain 000,001,002) corresponding to chain is submitted determines the block chain pair That answers collects Transaction Information.For example, it is assumed that three subordinate's block chains corresponding to block chain 00 are within this section of time cycle, only Block chain 000 have submitted the Transaction Information after collecting, correspondingly, block chain 00 according to block chain 000 submit collect after friendship Easy information is collected Transaction Information as follows:
00CC-->01DD, its implication are:By assets holder A by asset identification be 00CC, ownership block chain be 00 number Assets holder B is given in word assets transfer, and the asset identification of the digital asset after transfer is 01DD, and it is 01 to belong to block chain;Should The amount of money of stroke numeral assets is 6000 yuan.Wherein, the digital asset that asset identification 00CC, ownership block chain are 00 is for upper State obtained after three stroke numeral assets (000AA, 000A ' A ', 000A " A ") are collected collect assets;Similarly, asset identification is The digital asset that 01DD, ownership block chain are 01 is to enter for above-mentioned three stroke numerals assets (010BB, 010B ' B ', 010B " B ") What row obtained after collecting collects assets.
In addition, block chain 00 further can submit the Transaction Information after collecting to its higher level's block chain, for its parent-zone The generation of block chain collects Transaction Information.Similarly, the processing procedure of block chain 01 is similar, and here is omitted.For example, in upper example In, it is assumed that three subordinate's block chains corresponding to block chain 0 are within this section of time cycle, and only block chain 00 and 01 have submitted remittance The Transaction Information of the General Logistics Department, correspondingly, block chain 0 according to block chain 00 and 01 submit collect after Transaction Information converged as follows Total Transaction Information:
0EE-->0DD, its implication are:The numeral that asset identification is 0EE, ownership block chain is 0 is provided by assets holder A Production is transferred to assets holder B, and the asset identification of the digital asset after transfer is 0DD, and it is 0 to belong to block chain;The stroke numeral The amount of money of assets is 6000 yuan.Wherein, the digital asset that asset identification 0EE, ownership block chain are 0 is to be provided for above-mentioned numeral What production 00CC was obtained after being collected collects assets;Similarly, the digital asset that asset identification 0DD, ownership block chain are 0 is pin What is obtained after collecting to above-mentioned digital asset 01DD collects assets.
In the examples described above, the transaction only between block chain 000 and 010 illustrates exemplified by collecting, art technology Personnel are, it is understood that transaction collects operation generation between each block chain and its higher level's block chain.Correspondingly, parent-zone Block chain need to only be kept accounts for the Transaction Information that collects obtained after collecting.Turn in addition, collecting operation and being not limited only to digital asset Move operation, in addition to digital asset newly-built operation, destroy each generic operations such as operation and collect.
As can be seen here, by this kind of mode, the stratified management of account book is realized, because the management organization in upper strata is past Toward the details for each penny ante being not relevant between underlying user, and only it is concerned about the subordinate for being directly under the jurisdiction of the management organization The transaction record of mechanism, therefore this kind of mode more conforms to actual regulatory requirement.Moreover, by the way that account book is split, is classified, one Aspect can simplify the overhead of account book, unusual convenient and efficient when on the other hand being inquired about according to level.
In addition, the embodiment of the present invention additionally provides a kind of block catenary system for being used to realize digital asset transaction, wherein, should Block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, also, in the block catenary system extremely Include less:
First block chain, suitable for receiving the digital asset transaction request from client, it is determined that being handed over the digital asset Easily ask corresponding digital asset;
Judge whether the ownership block chain corresponding with the digital asset is the first block chain;
If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain is refused The exhausted digital asset transaction request;
Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
Optionally, the first block chain is particularly adapted to:
The digital asset generation request from client is received, is the numeral corresponding with digital asset generation request Asset identification corresponding to asset allocation, generate and store for block chain A.L.S. caused by the asset identification of the digital asset Breath;And/or
Judge the block chain generated for the asset identification of the digital asset whether is stored with the first block chain Signing messages, if, it is determined that the ownership block chain corresponding with the digital asset is the first block chain;If it is not, then It is determined that the ownership block chain corresponding with the digital asset is not the first block chain.
Optionally, when the digital asset transaction request is that assets transfer is asked, the first block chain is particularly adapted to:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
It is each in the first block chain if the block chain corresponding to the assets side of being transferred to is the first block chain Individual node is known together for the first corresponding Transaction Information of assets transfer request, if common recognition result is successfully, Kept accounts in the first block chain for first Transaction Information.
Optionally, first Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the first block chain, so as in firstth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
Optionally, the system further comprises:Second block chain, when the digital asset transaction request is assets transfer During request, the first block chain is particularly adapted to:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
If the block chain corresponding to the assets side of being transferred to is the second block chain, assets transfer request is corresponding Second Transaction Information is sent to the second block chain;
Known together by the first block chain and the second block chain collectively for second Transaction Information;
If the common recognition result of common recognition be successfully, the first block chain and the second block chain are respectively for described the Two Transaction Informations are kept accounts.
Optionally, second Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the second block chain, so as in secondth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
Optionally, the second block chain is further adapted for:Generate and store for described in the generation with it is destroyed Digital asset single-candidate digital asset asset identification caused by block chain signing messages.
Optionally, the first block chain further comprises:Primary node and secondary node;The second block chain further wraps Include:Primary node and secondary node;
The host node included in first block chain is used to second Transaction Information being sent to the second block chain;
The host node included in the first block chain is further used for for corresponding to second Transaction Information generation First pre-preparation message, the first pre-preparation message is broadcast to each from node in the first block chain;
The host node included in the second block chain is used for pre- for corresponding to second Transaction Information generation second Prepare message, the second pre-preparation message is broadcast to each from node in the second block chain;
The host node included in the first block chain and each master included from node, and the second block chain Node and each it is used to jointly know together to second Transaction Information from node.
Optionally, the host node that is included in the first block chain and it is each be specifically used for from node it is pre- for described first Prepare message and confirm the host node that is included in the backward first block chain and each from node and the second block chain Comprising host node and it is each from node send first prepare message;
The host node that includes in the second block chain and each it is specifically used for disappearing for second pre-preparation from node Breath confirm the host node that is included in the backward first block chain and each included from node and the second block chain Host node and it is each from node send second prepare message;
Received in the first block chain and prepare message and more than default second more than the first of preset first threshold value The node of second preparation message of threshold value is used for the host node that is included into the first block chain and each from node and the The host node that is included in two block chains and each send the first confirmation message from node;
Received in the second block chain and prepare message and more than default second more than the first of preset first threshold value The node of second preparation message of threshold value is used for the host node that is included into the first block chain and each from node and the The host node that is included in two block chains and each send the second confirmation message from node;
If the first block chain is received more than the first confirmation message of preset first threshold value and more than default Second Threshold The second confirmation message, and the second block chain is received more than the first confirmation message of preset first threshold value and more than default the Second confirmation message of two threshold values, it is determined that common recognition result is successfully.
Optionally, it is second Transaction Information distribution comprising the first block chain in the first pre-preparation message First transaction sequence number;That the second block chain is second Transaction Information distribution is included in the second pre-preparation message Two transaction sequence numbers.
Optionally, the digital asset has corresponding assets holder signature, asset key and/or assets use condition Script, then the first block chain be specifically used for:
Judge to submit the numeral according to assets holder signature, asset key and/or assets use condition script Whether the client of transaction in assets request is legal, if so, then handling the digital asset transaction request.
Optionally, the block catenary system is divided into multiple levels from top to bottom, specifically includes:In multiple levels The top layer block chain of top-level, the intermediate level in multiple levels middle level block chain, it is multiple be located at multiple levels in Bottom level bottom block chain;Wherein, the level quantity of the top-level and the bottom level is respectively 1, institute The level quantity for stating intermediate level is N, and N is the integer more than or equal to 0;Wherein, each block chain is directed to and the block chain Related transaction is known together and kept accounts.
Optionally, each block chain in the block catenary system is further used for:It is each to being generated by this block chain Transaction Information corresponding to digital asset is collected, and the transaction summarized results after collecting submits to the higher level of this block chain Block chain, for described block chain higher level's block chain according to corresponding to higher level's block chain of described block chain it is at least one The transaction summarized results that subordinate's block chain is submitted determines to collect Transaction Information corresponding to higher level's block chain of described block chain; And/or
Each block chain in the block catenary system is further used for:Receive at least one subordinate corresponding to this block chain The transaction summarized results that block chain is submitted, and the transaction that at least one subordinate's block chain according to corresponding to described block chain is submitted Summarized results determines to collect Transaction Information corresponding to this block chain.
Optionally, the digital asset transaction request includes:For consuming the assets consumer requests of digital asset;Also, The digital asset uses digital asset for one time one.
The concrete structure of the system and realize that details can refer to the description of above appropriate section and embodiment of the method, this Place repeats no more.
In summary, in digital asset method of commerce and system provided by the invention based on block catenary system, due to Block catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, by draw a hierarchical mode make be Each block chain in system can be with the independent process transaction relevant with this block chain.Also, the block chain of digital asset will be generated Ownership block chain as the digital asset, it can be seen that, the only corresponding unique ownership block chain of each digital asset, and be only capable of Related transactional operation is carried out by the ownership block chain, so as to not only contribute to realize the concurrent of more stroke numeral transactions in assets, Trading efficiency is improved, the security of digital asset has also been obviously improved, has avoided digital asset and attacked by unrelated malice block chain The risk hit.In addition, the common recognition algorithm in the present embodiment can be only quick and accurate in two block chains related to transaction Completion common recognition.Also, the concept by belonging to block chain can also effectively realize digital asset on tree form distribution formula account book Checking, and avoid one time one with the honeysuckle problem of digital asset (i.e.:Same assets are by secondary cost).
Which is particularly suitable for use in one time one and is used only once with the transaction of digital asset, the digital asset;Also, should Mode can also realize across the chain transaction between digital asset, and across chain transaction performs front and rear digital asset and corresponds respectively to difference Ownership block chain, thus improve the securities of assets.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize that the network according to embodiments of the present invention based on block catenary system is handed over The some or all functions of some or all parts in easy device.The present invention is also implemented as being used to perform institute here The some or all equipment or program of device of the method for description are (for example, computer program and computer program production Product).Such program for realizing the present invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, and either be provided or on carrier signal to appoint What other forms provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The invention discloses a kind of digital asset method of commerce based on block catenary system of A1., wherein, the block linkwork System is the tree form distribution formula block catenary system for the block chain for including multiple levels, and methods described includes:
First block chain receive the digital asset transaction request from client, it is determined that with the digital asset transaction request Corresponding digital asset;
Judge whether the ownership block chain corresponding with the digital asset is the first block chain;
If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain is refused The exhausted digital asset transaction request;
Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
A2. the method according to A1, wherein, the first block chain receives the digital asset transaction from client please Before the step of asking, further comprise step:
The digital asset generation request from client is received, is the numeral corresponding with digital asset generation request Asset identification corresponding to asset allocation, generate and store for block chain A.L.S. caused by the asset identification of the digital asset Breath;And/or
It is described to judge that the step of whether the ownership block chain corresponding with the digital asset is the first block chain has Body includes:
Judge the block chain generated for the asset identification of the digital asset whether is stored with the first block chain Signing messages, if, it is determined that the ownership block chain corresponding with the digital asset is the first block chain;If it is not, then It is determined that the ownership block chain corresponding with the digital asset is not the first block chain.
A3. the method according to A1 or 2, wherein, when the digital asset transaction request is that assets transfer is asked, institute The step of the first block chain handles the digital asset transaction request is stated to specifically include:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
It is each in the first block chain if the block chain corresponding to the assets side of being transferred to is the first block chain Individual node is known together for the first corresponding Transaction Information of assets transfer request, if common recognition result is successfully, Kept accounts in the first block chain for first Transaction Information.
A4. the method according to A3, wherein, first Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the first block chain, so as in firstth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
A5. according to any described methods of A1-4, wherein, when the digital asset transaction request is asked for assets transfer When, the step of the first block chain handles the digital asset transaction request, specifically includes:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
If the block chain corresponding to the assets side of being transferred to is the second block chain, the first block chain turns the assets Move the second corresponding Transaction Information of request and be sent to the second block chain;
The first block chain and the second block chain are known together collectively for second Transaction Information;
If the common recognition result of common recognition is successfully, the first block chain and the second block chain are directed to described second respectively Transaction Information is kept accounts.
A6. the method according to A5, wherein, second Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the second block chain, so as in secondth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
A7. the method according to A6, wherein, the numeral with destroyed digital asset single-candidate for generation Assets set corresponding to asset identification and the step of assets holder information after further comprise:
The second block chain is generated and stored for the number described in the generation with destroyed digital asset single-candidate Block chain signing messages caused by the asset identification of word assets.
A8. according to any described methods of A5-7, wherein, the first block chain is by corresponding to assets transfer request The second Transaction Information the step of being sent to the second block chain specifically include:
Second Transaction Information is sent to the second block chain by the host node included in the first block chain;
The step that then the first block chain and the second block chain are known together collectively for second Transaction Information Suddenly specifically include:
The host node included in the first block chain is for the first pre-preparation corresponding to second Transaction Information generation Message, the first pre-preparation message is broadcast to each from node in the first block chain;
The host node included in the second block chain is for the second pre-preparation corresponding to second Transaction Information generation Message, the second pre-preparation message is broadcast to each from node in the second block chain;
Each include by the host node that is included in the first block chain and from node, and the second block chain Host node and each second Transaction Information is known together jointly from node.
A9. the method according to A8, wherein, by the host node that is included in the first block chain and each from node, And the host node that is included in the second block chain and each second Transaction Information is known together jointly from node Step specifically includes:
The host node that is included in the first block chain and it is each carried out from node for the first pre-preparation message it is true Recognize in the backward first block chain host node included and each host node included from node and the second block chain and It is each to send the first preparation message from node;
The host node that is included in the second block chain and it is each carried out from node for the second pre-preparation message it is true Recognize in the backward first block chain host node included and each host node included from node and the second block chain and It is each to send the second preparation message from node;
Received in the first block chain and prepare message and more than default second more than the first of preset first threshold value The host node that is included into the first block chain of node of second preparation message of threshold value and each from node and the secondth area The host node that is included in block chain and each send the first confirmation message from node;
Received in the second block chain and prepare message and more than default second more than the first of preset first threshold value The host node that is included into the first block chain of node of second preparation message of threshold value and each from node and the secondth area The host node that is included in block chain and each send the second confirmation message from node;
If the first block chain is received more than the first confirmation message of preset first threshold value and more than default Second Threshold The second confirmation message, and the second block chain is received more than the first confirmation message of preset first threshold value and more than default the Second confirmation message of two threshold values, it is determined that common recognition result is successfully.
A10. the method according to A8 or 9, wherein, it is comprising the first block chain in the first pre-preparation message First transaction sequence number of the second Transaction Information distribution;Comprising the second block chain it is institute in the second pre-preparation message State the second transaction sequence number of the second Transaction Information distribution.
A11. according to any described methods of A1-10, wherein, the digital asset has corresponding assets holder label The step of name, asset key and/or assets use condition script, then the first block chain processing digital asset transaction request Suddenly specifically include:
Judge to submit the numeral according to assets holder signature, asset key and/or assets use condition script Whether the client of transaction in assets request is legal, if so, then handling the digital asset transaction request.
A12. according to any described methods of A1-11, wherein, the block catenary system is divided into multiple layers from top to bottom Level, is specifically included:The top layer block chain of top-level in multiple levels, in the intermediate level in multiple levels The bottom block chain of layer block chain, multiple bottom levels being located in multiple levels;Wherein, the top-level and the bottom The level quantity of portion's level is respectively 1, and the level quantity of the intermediate level is N, and N is the integer more than or equal to 0;
Wherein, each block chain is known together and kept accounts for the transaction related to the block chain.
A13. according to any described methods of A1-12, wherein, methods described further comprises:In the block catenary system Each block chain the Transaction Information corresponding to each digital asset for being generated as this block chain is collected, and after collecting Transaction summarized results submit to higher level's block chain of this block chain, for described block chain higher level's block chain according to The transaction summarized results that at least one subordinate's block chain corresponding to higher level's block chain of this block chain is submitted determines described block Collect Transaction Information corresponding to higher level's block chain of chain;And/or
Each block chain in the block catenary system receives at least one subordinate's block chain corresponding to local area block chain and submitted Transaction summarized results, and the transaction summarized results that at least one subordinate's block chain according to corresponding to described block chain is submitted is true Collect Transaction Information corresponding to fixed this block chain.
A14. according to any described methods of A1-13, wherein, the digital asset transaction request includes:For consuming number The assets consumer requests of word assets;Also, the digital asset uses digital asset for one time one.
The invention also discloses a kind of block catenary systems for being used to realize digital asset transaction of B15., wherein, the block Catenary system is the tree form distribution formula block catenary system for the block chain for including multiple levels, also, in the block catenary system at least Including:
First block chain, suitable for receiving the digital asset transaction request from client, it is determined that being handed over the digital asset Easily ask corresponding digital asset;
Judge whether the ownership block chain corresponding with the digital asset is the first block chain;
If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain is refused The exhausted digital asset transaction request;
Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
B16. the system according to B15, wherein, the first block chain is particularly adapted to:
The digital asset generation request from client is received, is the numeral corresponding with digital asset generation request Asset identification corresponding to asset allocation, generate and store for block chain A.L.S. caused by the asset identification of the digital asset Breath;And/or
Judge the block chain generated for the asset identification of the digital asset whether is stored with the first block chain Signing messages, if, it is determined that the ownership block chain corresponding with the digital asset is the first block chain;If it is not, then It is determined that the ownership block chain corresponding with the digital asset is not the first block chain.
B17. the system according to B15 or 16, wherein, when the digital asset transaction request is asked for assets transfer When, the first block chain is particularly adapted to:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
It is each in the first block chain if the block chain corresponding to the assets side of being transferred to is the first block chain Individual node is known together for the first corresponding Transaction Information of assets transfer request, if common recognition result is successfully, Kept accounts in the first block chain for first Transaction Information.
B18. the system according to B17, wherein, first Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the first block chain, so as in firstth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
B19. according to any described systems of B15-18, wherein, the system further comprises:Second block chain, works as institute State digital asset transaction request for assets transfer request when, the first block chain is particularly adapted to:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
If the block chain corresponding to the assets side of being transferred to is the second block chain, assets transfer request is corresponding Second Transaction Information is sent to the second block chain;
Known together by the first block chain and the second block chain collectively for second Transaction Information;
If the common recognition result of common recognition be successfully, the first block chain and the second block chain are respectively for described the Two Transaction Informations are kept accounts.
B20. the system according to B19, wherein, second Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in firstth area The digital asset corresponding with the digital asset transaction request is destroyed in block chain;
Assets holder information after assets transfer, for being supplied to the second block chain, so as in secondth area Generation and the digital asset of destroyed digital asset single-candidate in block chain, and described and destroyed digital asset for generation etc. Asset identification and assets holder information corresponding to the digital asset setting of volume.
B21. the system according to B20, wherein, the second block chain is further adapted for:Generate and store for institute State block chain signing messages caused by the described and asset identification of the digital asset of destroyed digital asset single-candidate of generation.
B22. according to any described systems of B15-21, wherein, the first block chain further comprises:Host node and from Node;The second block chain further comprises:Primary node and secondary node;
The host node included in first block chain is used to second Transaction Information being sent to the second block chain;
The host node included in the first block chain is further used for for corresponding to second Transaction Information generation First pre-preparation message, the first pre-preparation message is broadcast to each from node in the first block chain;
The host node included in the second block chain is used for pre- for corresponding to second Transaction Information generation second Prepare message, the second pre-preparation message is broadcast to each from node in the second block chain;
The host node included in the first block chain and each master included from node, and the second block chain Node and each it is used to jointly know together to second Transaction Information from node.
B23. the system according to B22, wherein,
The host node that includes in the first block chain and each it is specifically used for disappearing for first pre-preparation from node Breath confirm the host node that is included in the backward first block chain and each included from node and the second block chain Host node and it is each from node send first prepare message;
The host node that includes in the second block chain and each it is specifically used for disappearing for second pre-preparation from node Breath confirm the host node that is included in the backward first block chain and each included from node and the second block chain Host node and it is each from node send second prepare message;
Received in the first block chain and prepare message and more than default second more than the first of preset first threshold value The node of second preparation message of threshold value is used for the host node that is included into the first block chain and each from node and the The host node that is included in two block chains and each send the first confirmation message from node;
Received in the second block chain and prepare message and more than default second more than the first of preset first threshold value The node of second preparation message of threshold value is used for the host node that is included into the first block chain and each from node and the The host node that is included in two block chains and each send the second confirmation message from node;
If the first block chain is received more than the first confirmation message of preset first threshold value and more than default Second Threshold The second confirmation message, and the second block chain is received more than the first confirmation message of preset first threshold value and more than default the Second confirmation message of two threshold values, it is determined that common recognition result is successfully.
B24. the system according to B22 or 23, wherein, the first block chain is included in the first pre-preparation message For the first transaction sequence number of second Transaction Information distribution;It is comprising the second block chain in the second pre-preparation message Second transaction sequence number of the second Transaction Information distribution.
B25. according to any described systems of B15-24, wherein, the digital asset has corresponding assets holder label Name, asset key and/or assets use condition script, then the first block chain be specifically used for:
Judge to submit the numeral according to assets holder signature, asset key and/or assets use condition script Whether the client of transaction in assets request is legal, if so, then handling the digital asset transaction request.
B26. according to any described systems of B15-25, wherein, the block catenary system is divided into multiple layers from top to bottom Level, is specifically included:The top layer block chain of top-level in multiple levels, in the intermediate level in multiple levels The bottom block chain of layer block chain, multiple bottom levels being located in multiple levels;Wherein, the top-level and the bottom The level quantity of portion's level is respectively 1, and the level quantity of the intermediate level is N, and N is the integer more than or equal to 0;
Wherein, each block chain is known together and kept accounts for the transaction related to the block chain.
B27. according to any described systems of B15-26, wherein, each block chain in the block catenary system is further For:Transaction Information corresponding to each digital asset for being generated as this block chain is collected, and by the transaction after collecting Summarized results submits to higher level's block chain of this block chain, for described block chain higher level's block chain according to described block The transaction summarized results that at least one subordinate's block chain corresponding to higher level's block chain of chain is submitted determines the upper of described block chain Collect Transaction Information corresponding to level block chain;And/or
Each block chain in the block catenary system is further used for:Receive at least one subordinate corresponding to this block chain The transaction summarized results that block chain is submitted, and the transaction that at least one subordinate's block chain according to corresponding to described block chain is submitted Summarized results determines to collect Transaction Information corresponding to this block chain.
B28. according to any described systems of B15-27, wherein, the digital asset transaction request includes:For consuming number The assets consumer requests of word assets;Also, the digital asset uses digital asset for one time one.

Claims (10)

1. a kind of digital asset method of commerce based on block catenary system, wherein, the block catenary system is to include multiple levels Block chain tree form distribution formula block catenary system, methods described includes:
First block chain receives the digital asset transaction request from client, it is determined that relative with the digital asset transaction request The digital asset answered;
Judge whether the ownership block chain corresponding with the digital asset is the first block chain;
If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain refuses institute State digital asset transaction request;
Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
2. according to the method for claim 1, wherein, the first block chain receives the digital asset transaction from client Before the step of request, further comprise step:
The digital asset generation request from client is received, is the digital asset corresponding with digital asset generation request Asset identification corresponding to distribution, generate and store for block chain signing messages caused by the asset identification of the digital asset; And/or
It is described to judge that the step of whether the ownership block chain corresponding with the digital asset is the first block chain is specifically wrapped Include:
Judge that the block chain generated for the asset identification of the digital asset whether is stored with the first block chain is signed Information, if, it is determined that the ownership block chain corresponding with the digital asset is the first block chain;If not, it is determined that The ownership block chain corresponding with the digital asset is not the first block chain.
3. method according to claim 1 or 2, wherein, when the digital asset transaction request is that assets transfer is asked, The step of first block chain processing digital asset transaction request, specifically includes:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
If the block chain corresponding to the assets side of being transferred to is the first block chain, each section in the first block chain Point is known together for the first corresponding Transaction Information of assets transfer request, if common recognition result is successfully, described Kept accounts in first block chain for first Transaction Information.
4. according to the method for claim 3, wherein, first Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in the first block chain It is middle to destroy the digital asset corresponding with the digital asset transaction request;
Assets holder information after assets transfer, for being supplied to the first block chain, so as in the first block chain Middle generation and the digital asset of destroyed digital asset single-candidate, and the described and destroyed digital asset single-candidate to generate Asset identification and assets holder information corresponding to digital asset setting.
5. according to any described methods of claim 1-4, wherein, when the digital asset transaction request is asked for assets transfer When, the step of the first block chain handles the digital asset transaction request, specifically includes:
Determine the block chain corresponding to the assets side of being transferred to that the assets transfer includes in asking;
If the block chain corresponding to the assets side of being transferred to is the second block chain, the first block chain please by the assets transfer The second corresponding Transaction Information is asked to be sent to the second block chain;
The first block chain and the second block chain are known together collectively for second Transaction Information;
If the common recognition result of common recognition is successfully, the first block chain and the second block chain are respectively for the described second transaction Information is kept accounts.
6. according to the method for claim 5, wherein, second Transaction Information specifically includes:
Assets holder information before assets transfer, for being supplied to the first block chain, so as in the first block chain It is middle to destroy the digital asset corresponding with the digital asset transaction request;
Assets holder information after assets transfer, for being supplied to the second block chain, so as in the second block chain Middle generation and the digital asset of destroyed digital asset single-candidate, and the described and destroyed digital asset single-candidate to generate Asset identification and assets holder information corresponding to digital asset setting.
7. according to the method for claim 6, wherein, described is the number with destroyed digital asset single-candidate of generation Word assets set corresponding to asset identification and the step of assets holder information after further comprise:
The second block chain is generated and stored and provided for the numeral described in the generation with destroyed digital asset single-candidate Block chain signing messages caused by the asset identification of production.
8. according to any described methods of claim 5-7, wherein, the first block chain is right by assets transfer request institute The step of the second Transaction Information answered is sent to the second block chain specifically includes:
Second Transaction Information is sent to the second block chain by the host node included in the first block chain;
The step of then the first block chain and the second block chain are known together collectively for second Transaction Information has Body includes:
The host node included in the first block chain is directed to the first pre-preparation message corresponding to second Transaction Information generation, The first pre-preparation message is broadcast to each from node in the first block chain;
The host node included in the second block chain is directed to the second pre-preparation message corresponding to second Transaction Information generation, The second pre-preparation message is broadcast to each from node in the second block chain;
By the host node included in the first block chain and each main section included from node, and the second block chain Point and each second Transaction Information is known together jointly from node.
9. according to the method for claim 8, wherein, by the host node that is included in the first block chain and each from section The host node that is included in point, and the second block chain and each second Transaction Information is known together jointly from node The step of specifically include:
The host node that is included in the first block chain and each after node is confirmed for the first pre-preparation message The host node and each host node included from node and the second block chain that are included into the first block chain and each First, which is sent, from node prepares message;
The host node that is included in the second block chain and each after node is confirmed for the second pre-preparation message The host node and each host node included from node and the second block chain that are included into the first block chain and each Second, which is sent, from node prepares message;
Received in the first block chain and prepare message and more than default Second Threshold more than the first of preset first threshold value The host node that is included into the first block chain of node of the second preparation message and each from node and the second block chain In the host node that includes and each send the first confirmation message from node;
Received in the second block chain and prepare message and more than default Second Threshold more than the first of preset first threshold value The host node that is included into the first block chain of node of the second preparation message and each from node and the second block chain In the host node that includes and each send the second confirmation message from node;
If the first block chain receives the first confirmation message more than preset first threshold value and more than default Second Threshold Two confirmation messages, and the second block chain is received more than the first confirmation message of preset first threshold value and more than default second threshold Second confirmation message of value, it is determined that common recognition result is successfully.
10. a kind of block catenary system for being used to realize digital asset transaction, wherein, the block catenary system is to include multiple levels Block chain tree form distribution formula block catenary system, also, comprised at least in the block catenary system:
First block chain, suitable for receiving the digital asset transaction request from client, it is determined that please with digital asset transaction Seek corresponding digital asset;
Judge whether the ownership block chain corresponding with the digital asset is the first block chain;
If so, then the first block chain handles the digital asset transaction request;If it is not, then the first block chain refuses institute State digital asset transaction request;
Wherein, the ownership block chain corresponding with digital asset is the block chain for generating the stroke numeral assets.
CN201710561462.4A 2017-07-11 2017-07-11 Block chain system-based digital asset transaction method and block chain system Active CN107392608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710561462.4A CN107392608B (en) 2017-07-11 2017-07-11 Block chain system-based digital asset transaction method and block chain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710561462.4A CN107392608B (en) 2017-07-11 2017-07-11 Block chain system-based digital asset transaction method and block chain system

Publications (2)

Publication Number Publication Date
CN107392608A true CN107392608A (en) 2017-11-24
CN107392608B CN107392608B (en) 2020-07-07

Family

ID=60340313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710561462.4A Active CN107392608B (en) 2017-07-11 2017-07-11 Block chain system-based digital asset transaction method and block chain system

Country Status (1)

Country Link
CN (1) CN107392608B (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944285A (en) * 2017-11-30 2018-04-20 深圳市轱辘车联数据技术有限公司 The method of commerce and device of a kind of unique right to use of data message
CN107993069A (en) * 2017-12-13 2018-05-04 清华大学 A kind of online transaction method and system based on block chain network
CN108154367A (en) * 2017-12-26 2018-06-12 质数链网科技成都有限公司 A kind of block chain business method of calibration and device
CN108235806A (en) * 2017-12-28 2018-06-29 深圳达闼科技控股有限公司 Have secure access to method, apparatus, system, storage medium and the electronic equipment of block chain
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium
CN108521328A (en) * 2018-03-26 2018-09-11 杭州秘猿科技有限公司 A kind of block chain common recognition method, apparatus and electronic equipment
CN108648082A (en) * 2018-05-09 2018-10-12 合肥达朴汇联科技有限公司 A kind of computer system reached for block chain common recognition
CN108681565A (en) * 2018-04-28 2018-10-19 百度在线网络技术(北京)有限公司 block chain data parallel processing method, device, equipment and storage medium
CN108694500A (en) * 2018-04-26 2018-10-23 布比(北京)网络技术有限公司 A kind of digital asset circulation method and system based on block chain
CN108765129A (en) * 2018-05-17 2018-11-06 北京众享比特科技有限公司 Traditional bank assets distribution based on block chain and system for settling account and method
CN108876607A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 Assets transfer method and device, electronic equipment
CN108900585A (en) * 2018-06-15 2018-11-27 浙江华信区块链科技服务有限公司 Across chain transaction consistency implementation method
CN109309707A (en) * 2018-08-15 2019-02-05 泰链(厦门)科技有限公司 Information transmitting methods and medium between different blocks catenary system
CN109447599A (en) * 2018-09-30 2019-03-08 中链科技有限公司 Digital asset distributing method and system based on block chain
CN109472569A (en) * 2018-10-25 2019-03-15 杭州云象网络技术有限公司 A kind of education services transaction implementation method based on alliance's chain
CN109587131A (en) * 2018-11-29 2019-04-05 浙江超脑时空科技有限公司 Data communications method and device between a kind of block chain network
CN109600433A (en) * 2018-12-06 2019-04-09 北京磁云数字科技有限公司 Data summarization method and device in a kind of system
CN109635165A (en) * 2018-12-06 2019-04-16 北京磁云数字科技有限公司 Data summarization method, device, equipment and medium based on tree-like block chain network
CN109639550A (en) * 2018-12-06 2019-04-16 北京磁云数字科技有限公司 A kind of multi-tiling chain network network-building method, apparatus and system
CN109658229A (en) * 2018-12-11 2019-04-19 莆田市烛火信息技术有限公司 A kind of legal electronic money issuing system based on block chain
CN109729163A (en) * 2018-12-28 2019-05-07 合肥达朴汇联科技有限公司 A kind of data processing method of block chain, device electronic equipment and storage medium
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition
WO2019141984A1 (en) * 2018-01-17 2019-07-25 SETL Development Limited Interaction between blockchains
CN110443077A (en) * 2019-08-09 2019-11-12 北京阿尔山区块链联盟科技有限公司 Processing method, device and the electronic equipment of digital asset
WO2019237276A1 (en) * 2018-06-13 2019-12-19 汪华东 Block chain technology-based digital currency distribution system and distribution method therefor
TWI685767B (en) * 2018-06-07 2020-02-21 艾維克科技股份有限公司 Decentralized software information creation system and method
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN111652615A (en) * 2020-06-24 2020-09-11 杨刘琴 Safety identification method based on block chain big data and artificial intelligence cloud service platform
WO2020098835A3 (en) * 2020-02-03 2020-12-10 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based trustable guarantees
WO2020258912A1 (en) * 2019-06-26 2020-12-30 京东数字科技控股有限公司 Blockchain consensus method, device and system
CN111311209B (en) * 2020-02-03 2021-03-16 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488722A (en) * 2015-11-30 2016-04-13 布比(北京)网络技术有限公司 Asset data processing method and device based on derivation chain
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
US20160292672A1 (en) * 2015-03-31 2016-10-06 Nasdaq, Inc. Systems and methods of blockchain transaction recordation
CN106447309A (en) * 2016-11-13 2017-02-22 杭州复杂美科技有限公司 Across-chain transaction of source chain and lateral chain
CN106600403A (en) * 2016-11-07 2017-04-26 北京金股链科技有限公司 Asset management method, device and system
CN106886560A (en) * 2016-12-29 2017-06-23 北京瑞卓喜投科技发展有限公司 The generation method and system of tree-like block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160292672A1 (en) * 2015-03-31 2016-10-06 Nasdaq, Inc. Systems and methods of blockchain transaction recordation
CN105488722A (en) * 2015-11-30 2016-04-13 布比(北京)网络技术有限公司 Asset data processing method and device based on derivation chain
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN106600403A (en) * 2016-11-07 2017-04-26 北京金股链科技有限公司 Asset management method, device and system
CN106447309A (en) * 2016-11-13 2017-02-22 杭州复杂美科技有限公司 Across-chain transaction of source chain and lateral chain
CN106886560A (en) * 2016-12-29 2017-06-23 北京瑞卓喜投科技发展有限公司 The generation method and system of tree-like block chain

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944285A (en) * 2017-11-30 2018-04-20 深圳市轱辘车联数据技术有限公司 The method of commerce and device of a kind of unique right to use of data message
CN107944285B (en) * 2017-11-30 2019-12-10 深圳市轱辘汽车维修技术有限公司 Transaction method, device, server and readable storage medium for unique use right of data information
CN107993069A (en) * 2017-12-13 2018-05-04 清华大学 A kind of online transaction method and system based on block chain network
CN108154367A (en) * 2017-12-26 2018-06-12 质数链网科技成都有限公司 A kind of block chain business method of calibration and device
CN108235806A (en) * 2017-12-28 2018-06-29 深圳达闼科技控股有限公司 Have secure access to method, apparatus, system, storage medium and the electronic equipment of block chain
WO2019141984A1 (en) * 2018-01-17 2019-07-25 SETL Development Limited Interaction between blockchains
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium
CN108521328A (en) * 2018-03-26 2018-09-11 杭州秘猿科技有限公司 A kind of block chain common recognition method, apparatus and electronic equipment
CN108694500A (en) * 2018-04-26 2018-10-23 布比(北京)网络技术有限公司 A kind of digital asset circulation method and system based on block chain
CN108681565A (en) * 2018-04-28 2018-10-19 百度在线网络技术(北京)有限公司 block chain data parallel processing method, device, equipment and storage medium
CN108648082A (en) * 2018-05-09 2018-10-12 合肥达朴汇联科技有限公司 A kind of computer system reached for block chain common recognition
CN108765129A (en) * 2018-05-17 2018-11-06 北京众享比特科技有限公司 Traditional bank assets distribution based on block chain and system for settling account and method
CN108765129B (en) * 2018-05-17 2019-08-23 北京众享比特科技有限公司 The distribution of traditional bank assets and system for settling account and method based on block chain
CN108876607A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 Assets transfer method and device, electronic equipment
TWI685767B (en) * 2018-06-07 2020-02-21 艾維克科技股份有限公司 Decentralized software information creation system and method
WO2019237276A1 (en) * 2018-06-13 2019-12-19 汪华东 Block chain technology-based digital currency distribution system and distribution method therefor
CN108900585A (en) * 2018-06-15 2018-11-27 浙江华信区块链科技服务有限公司 Across chain transaction consistency implementation method
CN109309707A (en) * 2018-08-15 2019-02-05 泰链(厦门)科技有限公司 Information transmitting methods and medium between different blocks catenary system
CN109447599A (en) * 2018-09-30 2019-03-08 中链科技有限公司 Digital asset distributing method and system based on block chain
CN109472569A (en) * 2018-10-25 2019-03-15 杭州云象网络技术有限公司 A kind of education services transaction implementation method based on alliance's chain
CN109587131A (en) * 2018-11-29 2019-04-05 浙江超脑时空科技有限公司 Data communications method and device between a kind of block chain network
CN109639550A (en) * 2018-12-06 2019-04-16 北京磁云数字科技有限公司 A kind of multi-tiling chain network network-building method, apparatus and system
CN109600433A (en) * 2018-12-06 2019-04-09 北京磁云数字科技有限公司 Data summarization method and device in a kind of system
CN109635165A (en) * 2018-12-06 2019-04-16 北京磁云数字科技有限公司 Data summarization method, device, equipment and medium based on tree-like block chain network
CN109658229A (en) * 2018-12-11 2019-04-19 莆田市烛火信息技术有限公司 A kind of legal electronic money issuing system based on block chain
CN109729163A (en) * 2018-12-28 2019-05-07 合肥达朴汇联科技有限公司 A kind of data processing method of block chain, device electronic equipment and storage medium
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition
WO2020258912A1 (en) * 2019-06-26 2020-12-30 京东数字科技控股有限公司 Blockchain consensus method, device and system
CN110443077A (en) * 2019-08-09 2019-11-12 北京阿尔山区块链联盟科技有限公司 Processing method, device and the electronic equipment of digital asset
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
WO2020098835A3 (en) * 2020-02-03 2020-12-10 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based trustable guarantees
CN111311209B (en) * 2020-02-03 2021-03-16 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN111652615A (en) * 2020-06-24 2020-09-11 杨刘琴 Safety identification method based on block chain big data and artificial intelligence cloud service platform
CN111652615B (en) * 2020-06-24 2021-01-29 广西新农商供应链科技有限公司 Safety identification method based on block chain big data and artificial intelligence cloud service platform

Also Published As

Publication number Publication date
CN107392608B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
US10496923B2 (en) Architectures, systems and methods for program defined transaction system and decentralized cryptocurrency system
KR20180112061A (en) Registry and automation management methods for smart contracts in block chain enforcement
KR101637868B1 (en) Financial institution document verification system that is based on the block chain
Xu et al. Architecture for blockchain applications
US10269009B1 (en) Systems, methods, and program products for a digital math-based asset exchange
US20190068365A1 (en) Methods and systems for efficient transfer of entities on a peer-to-peer distributed ledger using the blockchain
CN106952094B (en) Electronic bill management method and device
KR20180114915A (en) Block Chain Based Exchange Using Tokenization
KR101837166B1 (en) Method for issuing and paying money using updated status of balance database by respective blocks in blockchain, and server using the same
US20180253464A1 (en) Method and system for storage and transfer of verified data via blockchain
US9123044B2 (en) Generation systems and methods for transaction identifiers having biometric keys associated therewith
CN105719185B (en) The data comparison and common recognition method of block chain
KR20180114939A (en) Systems and methods for controlling asset-related activities through block chaining
AU2020277120A1 (en) Systems and methods of blockchain transaction recordation
CN107657438A (en) A kind of block chain generation method, data verification method, node and system
CN108604344A (en) Method and system for using digital signature creation Trusted Digital assets transfer
US7801828B2 (en) Method and system for detecting identity theft in non-personal and personal transactions
CN107392608B (en) Block chain system-based digital asset transaction method and block chain system
CA2602317C (en) Negotiable instrument authentication systems and methods
EP1552447B1 (en) Universal merchant platform for payment authentication
US6341353B1 (en) Smart electronic receipt system
US6119229A (en) Virtual property system
CN108292396A (en) Method and system for handling the transaction of the block chain in transaction processing network
CN108292397A (en) The method and system of block chain is used in transaction processing network
CN107660293A (en) Property rights electronic certificate(EDT)Distribution management method and its system

Legal Events

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