CN110443708A - Parallel chain method of commerce, equipment and storage medium - Google Patents

Parallel chain method of commerce, equipment and storage medium Download PDF

Info

Publication number
CN110443708A
CN110443708A CN201910688325.6A CN201910688325A CN110443708A CN 110443708 A CN110443708 A CN 110443708A CN 201910688325 A CN201910688325 A CN 201910688325A CN 110443708 A CN110443708 A CN 110443708A
Authority
CN
China
Prior art keywords
transaction
parallel chain
common recognition
chain
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910688325.6A
Other languages
Chinese (zh)
Other versions
CN110443708B (en
Inventor
马登极
林敬
王志文
吴思进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN201910688325.6A priority Critical patent/CN110443708B/en
Publication of CN110443708A publication Critical patent/CN110443708A/en
Application granted granted Critical
Publication of CN110443708B publication Critical patent/CN110443708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Multi Processors (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of parallel chain method of commerce, equipment and storage medium, this method comprises: receiving, being packaged and execute the first trading group, the first trading group is recorded on main chain;Receive, be packaged respectively and execute it is each first common recognition transaction and it is each second common recognition transaction with carry out respectively two parallel chains parallel chain common recognition, for each node of two parallel chains carry out respectively parallel chain from know together;The second trading group is received, is packaged and execute, judges whether the second trading group runs succeeded according to the implementing result of the first transaction and the second transaction known together by parallel chain: being that then the second trading group is recorded on main chain;The transaction of each third common recognition and each 4th common recognition transaction are received, are packaged and execute respectively to carry out the parallel chain common recognition of two articles of parallel chains respectively, so that each node of two parallel chains carries out parallel chain from knowing together respectively.The application realizes the direct dealing ensured between atomicity and two parallel chains of high efficiency.

Description

Parallel chain method of commerce, equipment and storage medium
Technical field
This application involves block chain technical fields, and in particular to a kind of parallel chain method of commerce, equipment and storage medium.
Background technique
(the applied every parallel chain patent text of applicant is specifically referred in the parallel chain mechanism that applicant is proposed This) in, parallel chain carries out parallel chain common recognition from main chain isochronous transaction, and by the common recognition of main chain.
Based on above-mentioned mechanism, across the chain transaction of main chain and parallel chain can be carried out at present, and ensures its atomicity, but at present Across the chain transaction between parallel chain and parallel chain still can not be directly carried out, across the chain transaction by parallel chain twice and main chain is needed To complete across the chain transaction between parallel chain and parallel chain indirectly.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, it is intended to provide between two parallel chains of one kind and directly carries out across chain Transaction, while ensureing parallel chain method of commerce, equipment and the storage medium of atomicity and high efficiency.
In a first aspect, the present invention provides a kind of parallel chain method of commerce suitable for main chain node, comprising:
The first trading group is received, is packaged and execute, the first trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, is packaged and executes the first transaction to freeze the first traded assets;
Each node of second parallel chain is synchronous respectively, is packaged and executes the second transaction to freeze the second traded assets;
Each common recognition node of first parallel chain generates the first common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the second common recognition respectively and trades and be sent to corresponding main chain node;Its In, the first trading group includes the first transaction of the first parallel chain and the second transaction of the second parallel chain, and the first common recognition transaction includes The implementing result of first transaction, the second common recognition transaction include the implementing result of the second transaction;
Receive, be packaged and execute each first common recognition transaction and each second common recognition transaction respectively to carry out the first parallel chain respectively It knows together with the parallel chain of the second parallel chain, so as to synchronize each first common recognition transaction respectively flat to carry out for each node of the first parallel chain From knowing together, each node of the second parallel chain synchronizes each second common recognition transaction respectively and is known together certainly with carrying out parallel chain row chain;
The second trading group is received, is packaged and execute, according to the implementing result and for the first transaction known together by parallel chain The implementing result of two transaction judges whether the second trading group runs succeeded:
It is that then the second trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, be packaged and executes third transaction to complete transfer, the solution of the first assets Freeze the first assets or does not execute operation;
Each node of second parallel chain is synchronous respectively, be packaged and executes the 4th transaction to complete transfer, the solution of the second assets Freeze the second assets or does not execute operation;
Each common recognition node of first parallel chain generates third common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the 4th common recognition respectively and trades and be sent to corresponding main chain node;Its In, the second trading group includes the third transaction of the first parallel chain and the 4th transaction of the second parallel chain, and third common recognition transaction includes The implementing result of third transaction, the 4th common recognition transaction include the implementing result of the 4th transaction;
Receive, be packaged and execute each third common recognition transaction and each 4th common recognition transaction respectively to carry out the first parallel chain respectively It knows together with the parallel chain of the second parallel chain, so as to synchronize each third common recognition transaction respectively flat to carry out for each node of the first parallel chain From knowing together, each node of the second parallel chain synchronizes each 4th common recognition transaction respectively and is known together certainly with carrying out parallel chain row chain.
Second aspect, the present invention provide a kind of parallel chain method of commerce of common recognition node suitable for parallel chain, comprising:
The first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Wherein, First transaction and the second transaction of another parallel chain are packaged as the first trading group, after the first trading group is packaged execution by main chain node Be recorded on main chain, the second transaction by another parallel chain each node it is synchronous respectively, be packaged and execute to freeze traded the Two assets;
The first common recognition is generated to trade and be sent to main chain node for carrying out the parallel chain common recognition of current parallel chain;Wherein, First common recognition transaction include first transaction implementing result, second transaction implementing result by another parallel chain each common recognition node The second common recognition is generated respectively to trade and be sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
Each first common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is to carry out parallel chain From common recognition;
The third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete the transfer of the first assets, defrosting first Assets do not execute operation;Wherein, third transaction and the 4th transaction of another parallel chain are packaged as the second trading group, the second transaction Group is packaged by main chain node to be executed, according to the implementing result for the first transaction known together by parallel chain and the execution knot of the second transaction Fruit judges to be recorded on main chain after the second trading group runs succeeded, the 4th trades is synchronized respectively by each node of another parallel chain, It is packaged and executes to complete the transfer of the second assets, the second assets of thawing or not execute operation;
Third common recognition is generated to trade and be sent to corresponding main chain node for carrying out the parallel chain common recognition of current parallel chain; Wherein, the transaction of third common recognition includes the implementing result of third transaction, and the implementing result of the 4th transaction is by each total of another parallel chain Know node and generates the parallel chain common recognition that the 4th common recognition trades and is sent to main chain node for another parallel chain of progress respectively;
Each third common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is to carry out parallel chain From common recognition.
The third aspect, the present invention provide a kind of parallel chain method of commerce of non-common recognition node suitable for parallel chain, comprising:
The first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Wherein, First transaction and the second transaction of another parallel chain are packaged as the first trading group, after the first trading group is packaged execution by main chain node Be recorded on main chain, the second transaction by another parallel chain each node it is synchronous respectively, be packaged and execute to freeze traded the Two assets;
Each first common recognition transaction of current parallel chain is synchronized from main chain to carry out parallel chain from common recognition;Wherein, the first common recognition Transaction includes the implementing result of the first transaction, is generated and sent to main chain node by the common recognition node of current parallel chain for carrying out The parallel chain common recognition of current parallel chain, the implementing result of the second transaction generate second by each common recognition node of another parallel chain respectively Common recognition trades and is sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
The third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete the transfer of the first assets, defrosting first Assets do not execute operation;Wherein, third transaction and the 4th transaction of another parallel chain are packaged as the second trading group, the second transaction Group is packaged by main chain node to be executed, according to the implementing result for the first transaction known together by parallel chain and the execution knot of the second transaction Fruit judges to be recorded on main chain after the second trading group runs succeeded, the 4th trades is synchronized respectively by each node of another parallel chain, It is packaged and executes to complete the transfer of the second assets, the second assets of thawing or not execute operation;
Each third common recognition transaction of current parallel chain is synchronized from main chain to carry out parallel chain from common recognition;Wherein, third is known together Transaction includes the implementing result of third transaction, is generated and sent to main chain node by the common recognition node of current parallel chain for carrying out The parallel chain common recognition of current parallel chain, the implementing result of the 4th transaction generate the 4th by each common recognition node of another parallel chain respectively Common recognition trades and is sent to main chain node for carrying out the parallel chain common recognition of another parallel chain.
Fourth aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory Comprising can by instruction that the one or more processors execute so that the one or more processors execute it is each according to the present invention The parallel chain method of commerce that embodiment provides.
5th aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count Calculation machine executes the parallel chain method of commerce that each embodiment provides according to the present invention.
Parallel chain method of commerce, equipment and the storage medium that many embodiments of the present invention provide are by being packaged the first trading group It synchronizes and freezes the assets to be traded on two parallel chains, and master is recorded in implementing result by parallel chain common recognition and from common recognition On chain and parallel chain, then by being packaged the second trading group, the assets that transfer (or defrosting) is freezed are synchronized, and total by parallel chain Know and implementing result is recorded on main chain and parallel chain from common recognition, ensures that two of atomicity and high efficiency are put down to realize Direct dealing between row chain.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart for parallel chain method of commerce that one embodiment of the invention provides.
Fig. 2 is the flow chart of step S16 in a kind of embodiment of method shown in Fig. 1.
Fig. 3 is the flow chart for another parallel chain method of commerce that one embodiment of the invention provides.
Fig. 4 is the flow chart for another parallel chain method of commerce that one embodiment of the invention provides.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is a kind of flow chart for parallel chain method of commerce that one embodiment of the invention provides.
As shown in Figure 1, in the present embodiment, the present invention provides a kind of parallel chain method of commerce suitable for main chain node, Include:
S12: receiving, be packaged and executes the first trading group, and the first trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, is packaged and executes the first transaction to freeze the first traded assets;
Each node of second parallel chain is synchronous respectively, is packaged and executes the second transaction to freeze the second traded assets;
Each common recognition node of first parallel chain generates the first common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the second common recognition respectively and trades and be sent to corresponding main chain node;Its In, the first trading group includes the first transaction of the first parallel chain and the second transaction of the second parallel chain, and the first common recognition transaction includes The implementing result of first transaction, the second common recognition transaction include the implementing result of the second transaction;
S14: receiving respectively, be packaged and executes each first common recognition transaction and each second common recognition transaction is flat to carry out first respectively The parallel chain of row chain and the second parallel chain common recognition, for each node of the first parallel chain synchronize respectively it is each first common recognition transaction with into From knowing together, each node of the second parallel chain synchronizes each second common recognition transaction respectively and is known together certainly with carrying out parallel chain row parallel chain;
S16: receiving, be packaged and executes the second trading group, according to the implementing result for the first transaction known together by parallel chain Judge whether the second trading group runs succeeded with the implementing result of the second transaction:
It is that then the second trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, be packaged and executes third transaction to complete transfer, the solution of the first assets Freeze the first assets or does not execute operation;
Each node of second parallel chain is synchronous respectively, be packaged and executes the 4th transaction to complete transfer, the solution of the second assets Freeze the second assets or does not execute operation;
Each common recognition node of first parallel chain generates third common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the 4th common recognition respectively and trades and be sent to corresponding main chain node;Its In, the second trading group includes the third transaction of the first parallel chain and the 4th transaction of the second parallel chain, and third common recognition transaction includes The implementing result of third transaction, the 4th common recognition transaction include the implementing result of the 4th transaction;
S18: receiving respectively, be packaged and executes each third common recognition transaction and each 4th common recognition transaction is flat to carry out first respectively The parallel chain of row chain and the second parallel chain common recognition, for each node of the first parallel chain synchronize respectively the transaction of each third common recognition with into From knowing together, each node of the second parallel chain synchronizes each 4th common recognition transaction respectively and is known together certainly with carrying out parallel chain row parallel chain.
Specifically, a is configured with the first parallel chain below1、b1、c1、d1Four common recognition nodes (correspond respectively to master link Point A, B, C, D) and several non-common recognition nodes, the second parallel chain is configured with e2、f2、g2、h2Four common recognition nodes (correspond respectively to Main chain node E, F, G, H) and several non-common recognition nodes for, exemplary elaboration is carried out to the above method.In more embodiments, First parallel chain and the second parallel chain may be configured with different number common recognition node, and each parallel chain node can correspond to different or phase Same main chain node is, it can be achieved that identical technical effect.
When user's first and user's second reach a transaction, 10 abc tokens of user's first to hold on the first parallel chain With user's second when the 5 efg tokens held on the second parallel chain are exchanged, the user terminal of user's first generates parallel first Freeze the first transaction tx1 of 10 abc tokens for the account transfer to user's second on chain, the user terminal of user's second generates The the second transaction tx2 for freezing 5 efg tokens for the account transfer to user's first on second parallel chain, by user's first and use Tx1 and tx2 is packaged or, brining server-side together and generates the first trading group (tx1, tx2) by user terminal either in the second of family, and will First trading group (tx1, tx2) is sent to main chain node.
In step s 12, main chain node, which is received, broadcasted and is packaged, executes the first trading group (tx1, tx2), by the first transaction Group (tx1, tx2) is recorded in main chain block block1In.
Each node of first parallel chain is from main chain block block1Middle synchronization (it can be with active synchronization, it can also be by master link Point push) to tx1 the transaction of other first parallel chains (and in the block), it is packaged the parallel chain block for generating the first parallel chain block1-1And execute, when executing tx1, judge (non-freezing) the abc token for whether having full-amount in the account of user's first:
It is that then tx1 runs succeeded, freezes 10 abc tokens in user's first account in contract;
No, then tx1 executes failure.
Each common recognition node a of first parallel chain1、b1、c1、d1Respectively according to the parallel chain block block of respective node1-1's Implementing result generates respective first common recognition transaction tx1-1-a1、tx1-1-b1、tx1-1-c1、tx1-1-d1, and be respectively sent to corresponding Main chain node A, B, C, D.
At the same time, each node of the second parallel chain is synchronous respectively, is packaged and executes tx2 to freeze 5 traded efg Token, each common recognition node of the second parallel chain generate respective second common recognition transaction tx respectively1-2-e2、tx1-2-f2、tx1-2-g2、 tx1-2-h2, and it is respectively sent to corresponding main chain node E, F, G, H, principle is identical with the first parallel chain, detailed process It repeats no more.
In step S14, each main chain node receive, broadcast, be packaged respectively and execute the transaction of above-mentioned 4 first common recognitions and on 4 second common recognition transaction are stated, to carry out the block block of the first parallel chain respectively1-1Parallel chain common recognition, and, second is flat The block block of row chain1-2Parallel chain common recognition, by above-mentioned 4 first common recognitions transaction, above-mentioned 4 second common recognitions trade, pass through The block block of first parallel chain of parallel chain common recognition1-1Implementing result (implementing result including tx1), total by parallel chain The block block for the second parallel chain known1-2Implementing result (implementing result including tx2) be recorded on main chain that (parallel chain is total The principle of knowledge is compared according to the common recognition transaction of each pen in brief, and comparison result meets rule and knows together successfully, specifically may be used With reference to CN201811005421.8 patent text).
Each node of first parallel chain respectively from be synchronized in several main chain blocks after the common recognition transaction of each pen first carry out it is flat Row chain from common recognition (in brief, be first compared according to the common recognition transaction of each pen, then by comparison result and local implementing result into Row compares, and specifically refers to CN201910157805.X patent text).
At the same time, each node of the second parallel chain is synchronized to each common recognition of pen second transaction from several main chain blocks respectively Parallel chain is carried out afterwards from knowing together, and is repeated no more.
The user terminal of user's first and the user terminal of user's second can generate the third transaction of transaction tx3 and the 4th respectively in advance Tx4, be packaged in a manner of above-mentioned the first trading group of packing the second trading group (tx3, tx4) and timing (or monitor main chain increase After the block of specified quantity) it is sent to main chain node;Tx1, tx2 for knowing together by parallel chain can also be being inquired by main chain Implementing result or by each parallel chain inquire respectively by parallel chain from common recognition tx1, tx2 implementing result after, then Generate that the third transaction of transaction tx3 and the 4th tx4, in a manner of above-mentioned the first trading group of packing to be packaged the second trading group concurrent respectively It send to main chain node.
Wherein, the transaction Hash hash (tx1) that the content of third transaction tx3 is tx1, action type are configurable to complete Or revocation, the transaction Hash hash (tx2) that the content of the 4th transaction tx4 is tx2, action type are configurable to complete or remove Pin.
Fig. 2 is the flow chart of step S16 in a kind of embodiment of method shown in Fig. 1.As shown in Fig. 2, in the present embodiment In, third transaction and the 4th transaction include identical action type, that is, the action type of tx3 and tx4 is all to complete, or, being all Revocation;
Step S16 includes:
S161: receiving, be packaged and executes the second trading group;
S162: the action type for judging third transaction and the 4th transaction is to complete or cancel:
If completing, S163 is thened follow the steps: judging the implementing result and second of the first transaction known together by parallel chain Whether the implementing result of transaction is to run succeeded:
It is that then the second trading group runs succeeded, executes step S165: the second trading group is recorded on main chain;
No, then the second trading group executes failure;
If revocation, thens follow the steps S164: judging the implementing result and second of the first transaction known together by parallel chain Whether the implementing result of transaction is to run succeeded:
It is that then the second trading group executes failure;
No, then the second trading group runs succeeded, and executes step S165: the second trading group is recorded on main chain.
Specifically, in step S162, if detecting, the action type of tx3 and tx4 is different, and the second trading group executes mistake It loses, no longer execution step S163 or S164.
When tx1 and tx2 are performed both by successfully and are completion by the action type of parallel chain common recognition, tx3 and tx4, (tx3, tx4) runs succeeded and is recorded on main chain;
When tx1 and tx2 are performed both by successfully and are revocation by the action type of parallel chain common recognition, tx3 and tx4, (tx3, tx4) executes failure;
When there is at least one to execute failure in tx1 and tx2 and known together by parallel chain, the action type of tx3 and tx4 are When completion, (tx3, tx4) executes failure;
When there is at least one to execute failure in tx1 and tx2 and known together by parallel chain, the action type of tx3 and tx4 are When revocation, (tx3, tx4) runs succeeded and is recorded on main chain.
When main chain block block is recorded in the second trading group (tx3, tx4)2In after, each node of the first parallel chain from Main chain block block2In be synchronized to tx3 the transaction of other first parallel chains (and in the block), be packaged and generate the first parallel chain Parallel chain block block2-1And it executes;
Wherein, when executing tx3:
If tx1 runs succeeded, and the action type of tx3 is to complete, then will execute 10 abc tokens that tx1 is freezed and turn Account of the account to user's second;
If tx1 runs succeeded, and the action type of tx3 is revocation, the then 10 abc token solutions that will be executed tx1 and freezed Freeze;
If tx1 executes failure, and the action type of tx3 is revocation, then does not execute operation.
Each common recognition node a of first parallel chain1、b1、c1、d1Respectively according to the parallel chain block block of respective node2-1's Implementing result generates respective third common recognition transaction tx2-1-a1、tx2-1-b1、tx2-1-c1、tx2-1-d1, and be respectively sent to corresponding Main chain node A, B, C, D.
At the same time, each node of the second parallel chain is synchronous respectively, be packaged and execute tx4 will execute that tx2 is freezed 5 The account that a efg token is transferred accounts to user's first executes 5 efg tokens that tx2 is freezed or, thawing, or, not executing operation;The Each common recognition node of two parallel chains generates respective 4th common recognition transaction tx respectively2-2-e2、tx2-2-f2、tx2-2-g2、tx2-2-h2, and It is respectively sent to corresponding main chain node E, F, G, H, principle is identical with the first parallel chain, and detailed process repeats no more.
In step S18, each main chain node receive, broadcast, be packaged respectively and execute the transaction of above-mentioned 4 thirds common recognition and on 4 the 4th common recognition transaction are stated, to carry out the block block of the first parallel chain respectively2-1Parallel chain common recognition, and, second is flat The block block of row chain2-2Parallel chain common recognition, by above-mentioned 4 thirds common recognition transaction, above-mentioned 4 the 4th common recognitions trade, pass through The block block of first parallel chain of parallel chain common recognition2-1Implementing result (implementing result including tx3), total by parallel chain The block block for the second parallel chain known2-2Implementing result (implementing result including tx4) be recorded on main chain.
Each node of first parallel chain respectively from be synchronized in several main chain blocks after the common recognition transaction of each third carry out it is flat Row chain is known together certainly;
Each node of second parallel chain respectively from be synchronized in several main chain blocks after the common recognition transaction of each pen the 4th carry out it is flat Row chain is known together certainly.
In the above-described embodiments, since tx1 and tx2 are packaged as trading group, the same master is necessarily packetized on main chain In chain block, tx3 and tx4 are similarly packetized in the same main chain block, therefore, when the feelings such as bifurcated, rollback occur for main chain When condition, two parallel chains can keep synchronous state, to ensure the atomicity of transaction.
In the above-described embodiments, third transaction tx3 and the 4th transaction tx4 must include identical action type, that is, two It transfers accounts or does not transfer accounts simultaneously simultaneously on parallel chain;In another embodiment, second can also be handed over according to different actual demands Easy group is configured to that tx3 and tx4 is allowed to include different action types.
For example, in certain special applications scenes, tx1 runs succeeded, tx2 executes failure and total by parallel chain respectively After knowledge, negotiates through user's first and user's second, mode of doing business is revised as user's first by mutual consent, unilaterally user's second is turned Account then has:
The user terminal of user's first generates the transaction Hash hash (tx1) that transaction content be tx1, action type is completion the Three transaction tx3;
The user terminal of user's second generates the transaction Hash hash (tx2) that transaction content be tx2, action type is the cancelled Four transaction tx4;
In step s 16, main chain node is only verified parallel chain common recognition when executing the second trading group (tx3, tx4) The implementing result of tx1 and the action type of tx3 whether corresponding (run succeeded corresponding to complete, execute unsuccessfully to correspond to revocation), Whether the implementing result of the tx2 to be known together by parallel chain is corresponding with the action type of tx4: both corresponding to, then runs succeeded;Instead Then execute failure.
In another embodiment, can also configure main chain contract to be compatible with above two mode (only allows while transferring accounts Or do not transfer accounts simultaneously, allow unilaterally to transfer accounts), concrete implementation mode are as follows:
When using the mode for only allowing while transferring accounts or do not transfer accounts simultaneously, user terminal is respectively by the operation class of tx3, tx4 Type is configured to synchronously complete or synchronize revocation;
When using the mode for allowing unilaterally to transfer accounts, user terminal respectively configures the action type of tx3, tx4 to individually It completes or individually cancels;
Main chain contract selects to execute accordingly when executing the second trading group by detecting the action type of tx3 and tx4 Method:
When tx3 and the action type of tx4 are to synchronously complete or when synchronous revocation, using method shown in Fig. 2;
When the action type of tx3 and tx4 be it is independent complete or when individually revocation, using above-mentioned only verifying implementing result with The execution method of the corresponding relationship of action type;
When the action type of tx3 and tx4 is respectively configured as the action type of above two different mode, the second trading group Execute failure.
Above-described embodiment freezes the assets to be traded on two parallel chains by being packaged the first trading group and synchronizing, and passes through Parallel chain knows together and implementing result is recorded on main chain and parallel chain from common recognition, then passes through and be packaged the second trading group, and synchronous turn The assets that (or defrosting) is freezed are moved, and main chain and parallel chain is recorded in implementing result by parallel chain common recognition and from common recognition On, to realize the direct dealing ensured between atomicity and two parallel chains of high efficiency.
Fig. 3 is the flow chart for another parallel chain method of commerce that one embodiment of the invention provides.Method shown in Fig. 3 can Method shown in Fig. 1-2 is cooperated to execute.
As shown in figure 3, in the present embodiment, the present invention also provides a kind of parallel chains of common recognition node suitable for parallel chain Method of commerce, comprising:
S21: the first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Its In, the first transaction and the second transaction of another parallel chain are packaged as the first trading group, and the first trading group is held by the packing of main chain node It is recorded on main chain after row, the second transaction is synchronized, be packaged and executed to freeze to be traded respectively by each node of another parallel chain The second assets;
S22: it generates the first common recognition and trades and be sent to main chain node for carrying out the parallel chain common recognition of current parallel chain;Its In, first common recognition transaction include first transaction implementing result, second transaction implementing result by another parallel chain each common recognition Node generates the second common recognition respectively and trades and be sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
S23: each first common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is flat to carry out Row chain is known together certainly;
S24: the third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete the transfer of the first assets, thaw First assets do not execute operation;Wherein, third transaction trades with the 4th of another parallel chain and is packaged as the second trading group, and second Trading group is packaged by main chain node to be executed, according to the implementing result of the first transaction and holding for the second transaction known together by parallel chain Row result judges to be recorded on main chain after the second trading group runs succeeded, and the 4th transaction is same respectively by each node of another parallel chain It walks, be packaged and execute to complete the transfer of the second assets, the second assets of thawing or not execute operation;
S25: it generates third common recognition and trades and be sent to corresponding main chain node for carrying out the parallel chain of current parallel chain Common recognition;Wherein, the transaction of third common recognition includes the implementing result of third transaction, and the implementing result of the 4th transaction is by another parallel chain Each common recognition node generates the 4th common recognition respectively and trades and be sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
S26: each third common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is flat to carry out Row chain is known together certainly.
Preferably, third transaction and the 4th transaction include identical action type, and above-mentioned basis is known together by parallel chain The implementing result of first transaction and the implementing result of the second transaction judge that the second trading group runs succeeded and include:
The action type for judging third transaction and the 4th transaction is to complete or cancel:
If completing, then the implementing result for the first transaction known together by parallel chain and the implementing result of the second transaction are judged Whether it is to run succeeded:
It is that then the second trading group runs succeeded;
No, then the second trading group executes failure;
If revocation, then the implementing result for the first transaction known together by parallel chain and the implementing result of the second transaction are judged Whether it is to run succeeded:
It is that then the second trading group executes failure;
No, then the second trading group runs succeeded.
Fig. 4 is the flow chart for another parallel chain method of commerce that one embodiment of the invention provides.Method shown in Fig. 4 can Method shown in Fig. 1-3 is cooperated to execute.
As shown in figure 4, in the present embodiment, the present invention also provides a kind of the parallel of non-common recognition node suitable for parallel chain Chain method of commerce, comprising:
S31: the first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Its In, the first transaction and the second transaction of another parallel chain are packaged as the first trading group, and the first trading group is held by the packing of main chain node It is recorded on main chain after row, the second transaction is synchronized, be packaged and executed to freeze to be traded respectively by each node of another parallel chain The second assets;
S33: each first common recognition transaction of current parallel chain is synchronized to carry out parallel chain from common recognition from main chain;Wherein, first Common recognition transaction include first transaction implementing result, by the common recognition node of current parallel chain generate and send to main chain node for The parallel chain common recognition of current parallel chain is carried out, the implementing result of the second transaction is generated respectively by each common recognition node of another parallel chain Second common recognition trades and is sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
S35: the third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete the transfer of the first assets, thaw First assets do not execute operation;Wherein, third transaction trades with the 4th of another parallel chain and is packaged as the second trading group, and second Trading group is packaged by main chain node to be executed, according to the implementing result of the first transaction and holding for the second transaction known together by parallel chain Row result judges to be recorded on main chain after the second trading group runs succeeded, and the 4th transaction is same respectively by each node of another parallel chain It walks, be packaged and execute to complete the transfer of the second assets, the second assets of thawing or not execute operation;
S37: each third common recognition transaction of current parallel chain is synchronized to carry out parallel chain from common recognition from main chain;Wherein, third Common recognition transaction include third transaction implementing result, by the common recognition node of current parallel chain generate and send to main chain node for The parallel chain common recognition of current parallel chain is carried out, the implementing result of the 4th transaction is generated respectively by each common recognition node of another parallel chain 4th common recognition trades and is sent to main chain node for carrying out the parallel chain common recognition of another parallel chain.
Preferably, third transaction and the 4th transaction include identical action type, and above-mentioned basis is known together by parallel chain The implementing result of first transaction and the implementing result of the second transaction judge that the second trading group runs succeeded and include:
The action type for judging third transaction and the 4th transaction is to complete or cancel:
If completing, then the implementing result for the first transaction known together by parallel chain and the implementing result of the second transaction are judged Whether it is to run succeeded:
It is that then the second trading group runs succeeded;
No, then the second trading group executes failure;
If revocation, then the implementing result for the first transaction known together by parallel chain and the implementing result of the second transaction are judged Whether it is to run succeeded:
It is that then the second trading group executes failure;
No, then the second trading group runs succeeded.
The transaction principles of method shown in Fig. 3-4 can refer to method shown in Fig. 1-2, and details are not described herein again.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in figure 5, present invention also provides a kind of equipment 500, including one or more centres as on the other hand Unit (CPU) 501 is managed, can be added according to the program being stored in read-only memory (ROM) 502 or from storage section 508 The program that is downloaded in random access storage device (RAM) 503 and execute various movements appropriate and processing.In RAM503, also deposit It contains equipment 500 and operates required various programs and data.CPU501, ROM502 and RAM503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, in accordance with an embodiment of the present disclosure, the parallel chain method of commerce of any of the above-described embodiment description can be by reality It is now computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising physically include Computer program on a machine-readable medium, computer program include the program code for executing parallel chain method of commerce. In such embodiments, which can be downloaded and installed from network by communications portion 509, and/or from Detachable media 511 is mounted.
As another aspect, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums Matter can be computer readable storage medium included in the device of above-described embodiment;It is also possible to individualism, it is unassembled Enter the computer readable storage medium in equipment.Computer-readable recording medium storage has one or more than one program, should Program is used to execute the parallel chain method of commerce for being described in the application by one or more than one processor.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depending on related function.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yitong The dedicated hardware based system of functions or operations as defined in executing is crossed to realize, or by specialized hardware and can be calculated The combination of machine instruction is realized.
Being described in the embodiment of the present application involved unit or module can be realized by way of software, can also be with It is realized by way of hardware.Described unit or module also can be set in the processor, for example, each unit can be Software program in computer or intelligent movable equipment is set, the hardware device being separately configured is also possible to.Wherein, these lists The title of member or module does not constitute the restriction to the unit or module itself under certain conditions.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the application design, appointed by above-mentioned technical characteristic or its equivalent feature Other technical solutions of meaning combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions Technical characteristic replaced mutually and the technical solution that is formed.

Claims (8)

1. a kind of parallel chain method of commerce, which is characterized in that the method is suitable for main chain node, which comprises
The first trading group is received, is packaged and execute, first trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, is packaged and executes the first transaction to freeze the first traded assets;
Each node of second parallel chain is synchronous respectively, is packaged and executes the second transaction to freeze the second traded assets;
Each common recognition node of first parallel chain generates the first common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the second common recognition respectively and trades and be sent to corresponding main chain node;Wherein, institute Stating the first trading group includes the first transaction of the first parallel chain and the second transaction of the second parallel chain, the first common recognition transaction packet The implementing result of first transaction is included, the second common recognition transaction includes the implementing result of second transaction;
Receive, be packaged and execute each first common recognition transaction and each second common recognition transaction respectively to carry out described the respectively The parallel chain of one parallel chain and second parallel chain common recognition, so that each node of the first parallel chain synchronizes each described first respectively To carry out parallel chain from knowing together, each node of the second parallel chain synchronizes each second common recognition transaction respectively to carry out for common recognition transaction Parallel chain is known together certainly;
The second trading group is received, is packaged and execute, according to the implementing result for first transaction known together by parallel chain and institute The implementing result for stating the second transaction judges whether second trading group runs succeeded:
It is that then second trading group is recorded on main chain, for:
Each node of first parallel chain is synchronous respectively, be packaged and executes third transaction to complete transfer, the solution of first assets Freeze first assets or does not execute operation;
Each node of second parallel chain is synchronous respectively, be packaged and executes the 4th transaction to complete transfer, the solution of second assets Freeze second assets or does not execute operation;
Each common recognition node of first parallel chain generates third common recognition respectively and trades and be sent to corresponding main chain node;
Each common recognition node of second parallel chain generates the 4th common recognition respectively and trades and be sent to corresponding main chain node;Wherein, institute Stating the second trading group includes the third transaction of the first parallel chain and the 4th transaction of the second parallel chain, the third common recognition transaction packet The implementing result of the third transaction is included, the 4th common recognition transaction includes the implementing result of the 4th transaction;
Receive, be packaged and execute each third common recognition transaction and each 4th common recognition transaction respectively to carry out described the respectively The parallel chain of one parallel chain and second parallel chain common recognition, so that each node of the first parallel chain synchronizes each third respectively To carry out parallel chain from knowing together, each node of the second parallel chain synchronizes each 4th common recognition transaction respectively to carry out for common recognition transaction Parallel chain is known together certainly.
2. the method according to claim 1, wherein third transaction and the 4th transaction include identical Action type, the execution knot of the described first implementing result traded and second transaction that the basis is known together by parallel chain Fruit judges whether second trading group runs succeeded
The action type for judging the third transaction and the 4th transaction is to complete or cancel:
If completing, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group runs succeeded;
No, then second trading group executes failure;
If revocation, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group executes failure;
No, then second trading group runs succeeded.
3. a kind of parallel chain method of commerce, which is characterized in that the method is suitable for the common recognition node of parallel chain, the method packet It includes:
The first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Wherein, described First transaction and the second transaction of another parallel chain are packaged as the first trading group, and first trading group is held by the packing of main chain node It is recorded on main chain after row, second transaction is synchronized, be packaged and executed respectively to be frozen by each node of another parallel chain Tie the second traded assets;
The first common recognition is generated to trade and be sent to main chain node for carrying out the parallel chain common recognition of current parallel chain;Wherein, described First common recognition transaction includes the implementing result of first transaction, and the implementing result of second transaction is by another parallel chain Each common recognition node generate the second common recognition respectively and trade and be sent to main chain node for carrying out the parallel of another parallel chain Chain common recognition;
Each first common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is to carry out parallel chain from altogether Know;
The third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete described in the transfer of first assets, defrosting First assets do not execute operation;Wherein, the third transaction and the 4th transaction of another parallel chain are packaged as the second trading group, Second trading group by main chain node be packaged execute, according to by parallel chain know together it is described first transaction implementing result and It is described second transaction implementing result judge to be recorded on main chain after second trading group runs succeeded, it is described 4th trade by Each node of another parallel chain is synchronous respectively, is packaged and executes to complete the transfer of second assets, thaw described the Two assets do not execute operation;
Third common recognition is generated to trade and be sent to corresponding main chain node for carrying out the parallel chain common recognition of current parallel chain;Its In, the third common recognition transaction includes the implementing result of third transaction, and the implementing result of the 4th transaction is by described another Each common recognition node of one parallel chain generates the 4th common recognition respectively and trades and be sent to main chain node so that progress is described another parallel The parallel chain of chain is known together;
Each third common recognition transaction that each common recognition node for synchronizing current parallel chain from main chain generates respectively is to carry out parallel chain from altogether Know.
4. according to the method described in claim 3, it is characterized in that, third transaction and the 4th transaction include identical Action type, the execution knot of the described first implementing result traded and second transaction that the basis is known together by parallel chain Fruit judges that second trading group runs succeeded
The action type for judging the third transaction and the 4th transaction is to complete or cancel:
If completing, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group runs succeeded;
No, then second trading group executes failure;
If revocation, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group executes failure;
No, then second trading group runs succeeded.
5. a kind of parallel chain method of commerce, which is characterized in that the method is suitable for the non-common recognition node of parallel chain, the method Include:
The first transaction of current parallel chain is synchronized from main chain and is packaged execution to freeze the first traded assets;Wherein, described First transaction and the second transaction of another parallel chain are packaged as the first trading group, and first trading group is held by the packing of main chain node It is recorded on main chain after row, second transaction is synchronized, be packaged and executed respectively to be frozen by each node of another parallel chain Tie the second traded assets;
Each first common recognition transaction of current parallel chain is synchronized from main chain to carry out parallel chain from common recognition;Wherein, first common recognition Transaction include it is described first transaction implementing result, by the common recognition node of current parallel chain generate and send to main chain node for Carry out current parallel chain parallel chain common recognition, it is described second transaction implementing result by another parallel chain each common recognition node The second common recognition is generated respectively to trade and be sent to main chain node for carrying out the parallel chain common recognition of another parallel chain;
The third for synchronizing current parallel chain from main chain is traded and is packaged and executes to complete described in the transfer of first assets, defrosting First assets do not execute operation;Wherein, the third transaction and the 4th transaction of another parallel chain are packaged as the second trading group, Second trading group by main chain node be packaged execute, according to by parallel chain know together it is described first transaction implementing result and It is described second transaction implementing result judge to be recorded on main chain after second trading group runs succeeded, it is described 4th trade by Each node of another parallel chain is synchronous respectively, is packaged and executes to complete the transfer of second assets, thaw described the Two assets do not execute operation;
Each third common recognition transaction of current parallel chain is synchronized from main chain to carry out parallel chain from common recognition;Wherein, the third common recognition Transaction include the third transaction implementing result, by the common recognition node of current parallel chain generate and send to main chain node for Carry out current parallel chain parallel chain common recognition, it is described 4th transaction implementing result by another parallel chain each common recognition node The 4th common recognition is generated respectively to trade and be sent to main chain node for carrying out the parallel chain common recognition of another parallel chain.
6. according to the method described in claim 5, it is characterized in that, third transaction and the 4th transaction include identical Action type, the execution knot of the described first implementing result traded and second transaction that the basis is known together by parallel chain Fruit judges that second trading group runs succeeded
The action type for judging the third transaction and the 4th transaction is to complete or cancel:
If completing, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group runs succeeded;
No, then second trading group executes failure;
If revocation, then the implementing result for first transaction known together by parallel chain and the execution of second transaction are judged As a result whether it is to run succeeded:
It is that then second trading group executes failure;
No, then second trading group runs succeeded.
7. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Execute such as method of any of claims 1-6.
8. a kind of storage medium for being stored with computer program, which is characterized in that realize when the program is executed by processor as weighed Benefit requires method described in any one of 1-6.
CN201910688325.6A 2019-07-29 2019-07-29 Parallel chain transaction method, device and storage medium Active CN110443708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688325.6A CN110443708B (en) 2019-07-29 2019-07-29 Parallel chain transaction method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910688325.6A CN110443708B (en) 2019-07-29 2019-07-29 Parallel chain transaction method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110443708A true CN110443708A (en) 2019-11-12
CN110443708B CN110443708B (en) 2022-03-04

Family

ID=68432067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910688325.6A Active CN110443708B (en) 2019-07-29 2019-07-29 Parallel chain transaction method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110443708B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242780A (en) * 2020-01-12 2020-06-05 杭州复杂美科技有限公司 Method, device and storage medium for sending consensus transaction
CN111524011A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus confirming method, equipment and storage medium
CN111524010A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium
CN112202863A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112948495A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Parallel chain constant block output method, computer device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109325762A (en) * 2018-08-30 2019-02-12 杭州复杂美科技有限公司 Across the chain method of commerce of parallel chain, equipment and storage medium
CN109345387A (en) * 2018-09-04 2019-02-15 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, across chain communication device and storage medium
CN109377365A (en) * 2018-10-18 2019-02-22 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109395393A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Game dispositions method and method for gaming, equipment and storage medium based on parallel chain
CN109493015A (en) * 2018-10-18 2019-03-19 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109831514A (en) * 2019-03-02 2019-05-31 杭州复杂美科技有限公司 Parallel chain common recognition method, data exception processing method, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain
CN109325762A (en) * 2018-08-30 2019-02-12 杭州复杂美科技有限公司 Across the chain method of commerce of parallel chain, equipment and storage medium
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109345387A (en) * 2018-09-04 2019-02-15 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, across chain communication device and storage medium
CN109395393A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Game dispositions method and method for gaming, equipment and storage medium based on parallel chain
CN109377365A (en) * 2018-10-18 2019-02-22 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109493015A (en) * 2018-10-18 2019-03-19 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109831514A (en) * 2019-03-02 2019-05-31 杭州复杂美科技有限公司 Parallel chain common recognition method, data exception processing method, equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242780A (en) * 2020-01-12 2020-06-05 杭州复杂美科技有限公司 Method, device and storage medium for sending consensus transaction
CN111524011A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus confirming method, equipment and storage medium
CN111524010A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium
CN111524010B (en) * 2020-05-06 2023-06-02 杭州复杂美科技有限公司 Parallel chain consensus method, apparatus and storage medium
CN112202863A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112202863B (en) * 2020-09-24 2022-09-20 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112948495A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Parallel chain constant block output method, computer device and storage medium
CN112948495B (en) * 2021-03-05 2022-05-24 杭州复杂美科技有限公司 Parallel chain constant block output method, computer device and storage medium

Also Published As

Publication number Publication date
CN110443708B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN110443708A (en) Parallel chain method of commerce, equipment and storage medium
CN109325762A (en) Across the chain method of commerce of parallel chain, equipment and storage medium
CN109377365A (en) A kind of assets transfer method, equipment and storage medium
CN109831514A (en) Parallel chain common recognition method, data exception processing method, equipment and storage medium
CN110428332A (en) A kind of across the chain method of commerce of parallel chain, equipment and storage medium
CN109271446A (en) A kind of parallel chain method of data synchronization, equipment and storage medium
CN109558454A (en) Parallel chain digs mine common recognition method, equipment and storage medium
CN109087080A (en) Across chain method of commerce, equipment and storage medium
CN108269072A (en) For the transaction processing method and network node of block chain
CN109584072A (en) A kind of transaction sending method, equipment and the storage medium of parallel chain common recognition
WO2021139533A1 (en) Method for sending consensus transaction, and device and storage medium
CN109587271A (en) Main chain parallel chain architecture system and block synchronous method, equipment and storage medium
CN109727009A (en) Red packet processing method, equipment and storage medium
CN109656599A (en) The method and system updated for client release
WO2023160089A1 (en) Message broadcasting method for blockchain network, and blockchain node and blockchain system
CN109741052A (en) Red packet processing method, equipment and storage medium
CN109493015A (en) A kind of assets transfer method, equipment and storage medium
CN109948989A (en) Order status update method, device, equipment and storage medium based on block chain
Hu et al. A robust retail POS system based on blockchain and edge computing
CN110210972A (en) Common recognition transaction sending method, equipment and storage medium
CN110445843A (en) Parallel chain block method for pushing, equipment and storage medium
CN110287263A (en) Parallel chain is from knowing together method, equipment and storage medium
Bassoli et al. Quantum communication networks: design and simulation
WO2021017693A1 (en) Method for asset transfer between parachains, and device and storage medium
CN109995585A (en) A kind of abnormality eliminating method, equipment and storage medium

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