CN110445853A - Parallel chain node activations method, equipment and storage medium - Google Patents

Parallel chain node activations method, equipment and storage medium Download PDF

Info

Publication number
CN110445853A
CN110445853A CN201910688076.0A CN201910688076A CN110445853A CN 110445853 A CN110445853 A CN 110445853A CN 201910688076 A CN201910688076 A CN 201910688076A CN 110445853 A CN110445853 A CN 110445853A
Authority
CN
China
Prior art keywords
parallel chain
transaction
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
CN201910688076.0A
Other languages
Chinese (zh)
Other versions
CN110445853B (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 CN201910688076.0A priority Critical patent/CN110445853B/en
Publication of CN110445853A publication Critical patent/CN110445853A/en
Application granted granted Critical
Publication of CN110445853B publication Critical patent/CN110445853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/1082Resource delivery mechanisms involving incentive schemes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of parallel chain node activations method, equipment and storage medium, and this method, which passes through the unified account being pre-configured of all nodes of current parallel chain and generates the first parallel chain, digs mine transaction;Execution includes triggering parallel chain digging mine contract when the first parallel chain digs the first parallel chain block that mine is traded to issue additional several logical cards in this contract, and generate the first common recognition and trade;When to including that the first several common recognitions transaction for knowing together transaction is carried out from common recognition, and digs the method that mine contract provides several logical cards according to the excited rules of pre-configuration from triggering parallel chain when knowing together successfully, excitation parallel chain node is built and maintenance parallel chain.

Description

Parallel chain node activations method, equipment and storage medium
Technical field
This application involves block chain technical fields, and in particular to a kind of parallel chain node activations method, equipment and storage are situated between Matter.
Background technique
In current block chain public affairs chain technology, plays an active part in the construction and maintenance of public chain, be configured with for excitation node The motivational techniques of public chain node, the most common one is POW and POS method: competing out block between different public chain nodes, competition is arrived The node that block correctly goes out for the time being block out will receive an abundant logical card.
Parallel chain be also required to parallel chain node actively build with maintenance, based on the mutual mechanism that does not communicate between parallel chain node, The node of parallel chain can not compete out block.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, it is intended to provide a kind of excitation parallel chain node construction and maintenance is flat Parallel chain node activations method, equipment and the storage medium of row chain.
In a first aspect, the present invention provides a kind of parallel chain node activations method of authorization node suitable for parallel chain, on The method of stating includes:
Each first parallel chain in response to being synchronized to this parallel chain from the first main chain block is traded, and current parallel chain institute is passed through There is the unified account being pre-configured of node to generate the first parallel chain and digs mine transaction;
Mine transaction, which is dug, according to the transaction of each first parallel chain, the first parallel chain generates the first parallel chain block;
The first parallel chain block is executed to generate the transaction of the first common recognition;Wherein, it executes the first parallel chain and digs mine and trade and include Triggering parallel chain digs mine contract and issues additional several logical cards in this contract;
To the first main chain node send first common recognition transaction, for the first main chain node broadcasts and be packaged, executes first be total to Know transaction;
The first common recognition transaction and several second common recognition transaction is synchronized from several main chain blocks to know together certainly to carry out parallel chain, and Several logical cards are provided according to the excited rules of pre-configuration digging mine contract from triggering parallel chain when knowing together successfully;
Wherein, the second common recognition transaction is that other authorization nodes of current parallel chain are generated with the first parallel chain block The common recognition transaction of the identical parallel chain block of block height.
Second aspect, the present invention provide a kind of parallel chain node activations method of unauthorized node suitable for parallel chain, The above method includes:
Each second parallel chain in response to synchronizing this parallel chain from the second main chain block is traded, all by current parallel chain The unified account being pre-configured of node generates the second parallel chain and digs mine transaction;
Mine transaction, which is dug, according to the transaction of each second parallel chain, the second parallel chain generates the second parallel chain block;
Execute the second parallel chain block;Wherein, executing the second parallel chain and digging mine transaction includes that triggering parallel chain digs mine contract Several logical cards are issued additional in this contract;
Each third common recognition transaction is synchronized know together certainly from several main chain blocks, and parallel from triggering when knowing together successfully Chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
Wherein, the transaction of third common recognition is the authorization node block generated with the second parallel chain block of current parallel chain The common recognition of highly identical parallel chain block is traded.
The third 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 node activations method that embodiment provides.
Fourth 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 node activations method that each embodiment provides according to the present invention.
Parallel chain node activations method, equipment and the storage medium that many embodiments of the present invention provide pass through current parallel chain The unified account being pre-configured of all nodes generates the first parallel chain and digs mine transaction;Execute include the first parallel chain dig mine transaction the Parallel chain digging mine contract is triggered when one parallel chain block and issues additional several logical cards in this contract, and generates the first common recognition transaction; Know together certainly when to several common recognitions transaction including the first common recognition transaction, and digs mine contract from triggering parallel chain when knowing together successfully According to the method that the excited rules of pre-configuration provide several logical cards, the construction of parallel chain node and maintenance parallel chain are motivated.
If some embodiments of the invention provide parallel chain node activations method, equipment and storage medium further by from The synchronous first common recognition transaction of dry main chain block and several second common recognition transaction are to carry out from knowing together, and from judging when knowing together successfully Whether the first implementing result of the first common recognition transaction and successful second implementing result of knowing together certainly are identical: being then to trigger parallel chain It digs mine contract and provides several logical cards according to the excited rules of pre-configuration;It is no, then stop the method for the operation of this node, forces to stop The operation of the implementing result node different from the implementing result from after knowing together successfully, enhances the robustness of parallel chain.
Parallel chain node activations method, equipment and the storage medium that some embodiments of the invention provide further pass through will be pre- The excited rules of configuration are configured to several logical cards distributing to several parallel chain authorization sections for first generating correctly common recognition transaction The method of point, excitation parallel chain authorization node play an active part in the generation of parallel chain block, further motivate the construction of parallel chain node With maintenance parallel 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 node activations method that one embodiment of the invention provides.
Fig. 2 is the flow chart of step S15 in a kind of preferred embodiment of method shown in Fig. 1.
Fig. 3 is the flow chart for another parallel chain node activations method that one embodiment of the invention provides.
Fig. 4 is the flow chart of step S24 in a kind of preferred embodiment of method shown in Fig. 3.
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.
Parallel chain node is divided into authorization node and unauthorized node at present, and authorization node can be dug with unauthorized node Mine trades from main chain block synchronous parallel chain, generates parallel chain block, verifying parallel chain block;In addition to this, authorization node is also Common recognition transaction can be generated to the parallel chain block for generating and executing, and common recognition transaction is sent to main chain node to know together With seek to reward.
Common recognition transaction is broadcasted between main chain node, is packaged and executed, and is recorded on main chain block;Each common recognition transaction is meeting Know together when common recognition condition successfully, for example, on the main chain block record have more than 2/3 authorization node quantity implementing result it is identical Common recognition transaction when, it is believed that the common recognition transaction known together by main chain;
Each common recognition executed by main chain node transaction re-synchronization is returned this node weight from main chain block by parallel chain node It is new to execute, when meeting common recognition condition from success of knowing together, for example, when recording the authorization node for having more than 2/3 on parallel chain block When the identical common recognition of quantity implementing result is traded, it is believed that common recognition transaction is known together by main chain;
The authorization node for only generating correctly common recognition transaction can just obtain digging mine excitation.
Fig. 1 is a kind of flow chart for parallel chain node activations method that one embodiment of the invention provides.As shown in Figure 1, In In the present embodiment, the present invention provides a kind of parallel chain node activations method of authorization node suitable for parallel chain, the above method Include:
S11: each first parallel chain in response to being synchronized to this parallel chain from the first main chain block is traded, by current parallel The unified account being pre-configured of all nodes of chain generates the first parallel chain and digs mine transaction;
S12: mine transaction is dug according to the transaction of each first parallel chain, the first parallel chain and generates the first parallel chain block;
S13: the first parallel chain block is executed to generate the transaction of the first common recognition;Wherein, it executes the first parallel chain and digs mine transaction Mine contract is dug including triggering parallel chain, and several logical cards are issued additional in this contract;
S14: sending the first common recognition transaction to the first main chain node, for the first main chain node broadcasts and is packaged, executes the One common recognition transaction;
S15: from the synchronous first common recognition transaction of several main chain blocks and several second common recognition transaction to carry out parallel chain from altogether Know, and provides several logical cards according to the excited rules of pre-configuration digging mine contract from triggering parallel chain when knowing together successfully;
Wherein, the second common recognition transaction is that other authorization nodes of current parallel chain are generated with the first parallel chain block The common recognition transaction of the identical parallel chain block of block height.
Specifically, there are tetra- authorization nodes of a, b, c, d in current parallel chain, the corresponding main chain node of a is A, the corresponding master of b Chain node is B, and the corresponding main chain node of c is C, and the corresponding main chain node of d is D;
By taking A-a as an example, it is assumed that have the transaction of two the first parallel chains tx1, tx2 of this parallel chain in the first main chain block;
In step s 11, a passes through all nodes of current parallel chain in response to being synchronized to tx1, tx2 from the first main chain block The unified account being pre-configured generates the first parallel chain and digs mine transaction tx (mining_a);
In step s 12, a generates the first parallel chain block according to tx1, tx2, tx (mining_a);
In step s 13, a executes the first parallel chain block to generate the first common recognition transaction tx (consensus_a);Its In, executing tx (mining_a) includes that triggering parallel chain digging mine contract issues additional several logical cards in this contract;
The transaction initiator of tx (mining_a) is angel's account address of parallel chain, and transaction acceptance side is that parallel chain digs mine The contract address of contract;
In step S14, a sends tx (consensus_a) to A, and A is broadcasted and is packaged, executes tx (consensus_a);
Meanwhile other authorization node b, c, d generation of current parallel chain are identical as the block height of the first parallel chain block Second common recognition transaction tx (consensus_b), tx (consensus_c), tx (consensus_d);B, it is total to generate second by c, d The mode for knowing transaction is identical as a, and details are not described herein again;
B sends tx (consensus_b) to B, and B is broadcasted and is packaged, executes tx (consensus_b);
C sends tx (consensus_c) to C, and C is broadcasted and is packaged, executes tx (consensus_c);
D sends tx (consensus_d) to D, and D is broadcasted and is packaged, executes tx (consensus_d);
Tx (consensus_a), tx (consensus_b), tx are all received on final all main chain nodes (consensus_c),tx(consensus_d);
Main chain node executes and the tx that knows together (consensus_a), tx (consensus_b), tx (consensus_c), tx (consensus_d);
Preferably, the first parallel chain digs the first transaction that mine transaction is configured to the first parallel chain block;More implementing In example, the digging mine transaction of the first parallel chain can also be configured to other fixed positions of the first parallel chain block according to actual needs Transaction, or as the last transaction of the first parallel chain block;The embodiment helps to check the legal of each parallel chain transaction Property;
In step S15, a synchronizes tx (consensus_a) and tx (consensus_b), tx from several main chain blocks (consensus_c), tx (consensus_d) is to carry out parallel chain from common recognition, and digs from triggering parallel chain when knowing together successfully Mine contract provides several logical cards according to the excited rules of pre-configuration.
Above-described embodiment generates the first parallel chain by the unified account being pre-configured of all nodes of current parallel chain and digs mine friendship Easily;Triggering parallel chain digs mine contract and increases in this contract when executing the first parallel chain block including the digging mine transaction of the first parallel chain It sends out logical card several, and generates the first common recognition transaction;Know together certainly when to several common recognitions transaction including the first common recognition transaction, And the method that mine contract provides several logical cards according to the excited rules of pre-configuration is dug from triggering parallel chain when knowing together successfully, excitation is flat The construction of row chain node and maintenance parallel chain.
Fig. 2 is the flow chart of step S15 in a kind of preferred embodiment of method shown in Fig. 1.As shown in Fig. 2, preferably one In embodiment, step S15 includes:
S151: synchronizing the first common recognition transaction and several second common recognition transaction from several main chain blocks know together certainly, and From judge when know together successfully the first implementing result that first common recognition is traded and successful second implementing result of common recognition certainly whether phase It is same:
Be to then follow the steps S152: triggering parallel chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
It is no, it thens follow the steps S153: stopping the operation of this node.
Specifically, in step S151, a synchronizes tx (consensus_a) and tx (consensus_ from several main chain blocks B), tx (consensus_c), tx (consensus_d) are to carry out parallel chain from common recognition, and judge tx when knowing together successfully certainly (consensus_a) whether the first implementing result and successful second implementing result of knowing together certainly are identical:
Be to then follow the steps S152: triggering parallel chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
It is no, it thens follow the steps S153: stopping the operation of this node.
Preferably, node mortgages several logical cards when parallel chain, which is added, becomes the node of parallel chain, as execution step S153 When, the contract for triggering pre-configuration deducts the logical card in part of the corresponding account of this node.
Preferably, the number stopped running for monitoring this node triggers the contract note of pre-configuration when executing step S153 It records the number that this node is stopped running: when the number stopped running reaches the threshold value being pre-configured, blacklist is added in this node; Blacklist, which is added, can be configured within the time of pre-configuration, such as in 1 week, not allowing the node again becomes the section of this parallel chain Point.
Above-described embodiment is forced to stop the operation of the implementing result node different from the implementing result from after knowing together successfully, increases The robustness of strong parallel chain.
In a preferred embodiment, the excited rules of pre-configuration are that several logical cards are distributed to several first to generate correctly The parallel chain authorization node of common recognition transaction.
Specifically, with the excited rules of pre-configuration are as follows: when knowing together successfully certainly, the 2/3 of several logical cards is averagely allocated to Preceding 2/3 authorization node for completing common recognition first in each authorization node, the fund for distributing to parallel chain for the 1/3 of several logical cards For account;
Assuming that authorization node is a, b, c, d, and the implementing result traded of knowing together that a, b, c, d are generated is consistent, completes first Preceding 2/3 authorization node of common recognition is a, b, c;Several logical cards are 999 logical cards;
Mine contract is being dug according to the excited rules of pre-configuration from triggering parallel chain when knowing together successfully, and it is average to lead to card for 666 A, b, c are distributed to, 333 logical cards are distributed to the fund account of parallel chain.
In more embodiments, it can also configure the excited rules of pre-configuration to other reasonable according to actual needs Excited rules, for example, the logical card of ladder distribution (when knowing together successfully certainly, the 1/3 of several logical cards is distributed to and is initially completed common recognition Authorization node distributes to second authorization node for completing common recognition for the 1/4 of several logical cards, and remaining logical card is averagely allocated to The remaining authorization node for completing common recognition);It is awarded in another example several logical cards are all averagely allocated to and complete the several of common recognition first Power node is (when knowing together successfully certainly, before being all averagely allocated to the common recognition of completion first in each authorization node for several logical cards 2/3 authorization node), it can be achieved that identical technical effect.
Above-described embodiment excitation parallel chain authorization node is the generation for obtaining excitation and playing an active part in parallel chain block, further Motivate the construction of parallel chain node and maintenance parallel chain.
Fig. 3 is the flow chart for another parallel chain node activations method that one embodiment of the invention provides.As shown in figure 3, In the present embodiment, the present invention provides a kind of parallel chain node activations method of unauthorized node suitable for parallel chain, above-mentioned Method includes:
S21: each second parallel chain in response to synchronizing this parallel chain from the second main chain block is traded, and current parallel chain is passed through The unified account being pre-configured of all nodes generates the second parallel chain and digs mine transaction;
S22: mine transaction is dug according to the transaction of each second parallel chain, the second parallel chain and generates the second parallel chain block;
S23: the second parallel chain block is executed;Wherein, executing the second parallel chain and digging mine transaction includes that triggering parallel chain digs mine Contract issues additional several logical cards in this contract;
S24: each third common recognition transaction is synchronized know together certainly from several main chain blocks, and is triggered when knowing together successfully certainly Parallel chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
Wherein, the transaction of third common recognition is the authorization node block generated with the second parallel chain block of current parallel chain The common recognition of highly identical parallel chain block is traded.
Specifically, there are tetra- authorization nodes of h, i, j, k in current parallel chain, there are also tri- unauthorized nodes of l, m, n, h pairs The main chain node answered be H, the corresponding main chain node of i be I, the corresponding main chain node of j be J, the corresponding main chain node of k be D, l pairs The main chain node answered is L, and the corresponding main chain node of m is M, and the corresponding main chain node of n is N;
By taking N-n as an example, it is assumed that have the transaction of two the second parallel chains tx3, tx4 of this parallel chain in the second main chain block;
In the step s 21, n passes through all nodes of current parallel chain in response to being synchronized to tx3, tx4 from the second main chain block The unified account being pre-configured generates the second parallel chain and digs mine transaction tx (mining_e);
In step S22, n generates the second parallel chain block according to tx3, tx4, tx (mining_n);
In step S23, n executes the second parallel chain block;Wherein, executing tx (mining_n) includes that triggering parallel chain is dug Mine contract issues additional several logical cards in this contract;
The transaction initiator of tx (mining_n) is angel's account address of parallel chain, and transaction acceptance side is that parallel chain digs mine The contract address of contract;
Meanwhile other authorization node h, i, j, k of current parallel chain generate the block height phase with the second parallel chain block Same third, which is known together, trades;
H sends tx (consensus_h) to H, and H is broadcasted and is packaged, executes tx (consensus_h);
I sends tx (consensus_i) to I, and I is broadcasted and is packaged, executes tx (consensus_i);
J sends tx (consensus_j) to J, and J is broadcasted and is packaged, executes tx (consensus_j);
K sends tx (consensus_k) to K, and K is broadcasted and is packaged, executes tx (consensus_k);
Tx (consensus_h), tx (consensus_i), tx are all received on final all main chain nodes (consensus_j),tx(consensus_k);
Main chain node executes and the tx that knows together (consensus_h), tx (consensus_i), tx (consensus_j), tx (consensus_k);
In step s 24, n synchronizes tx (consensus_h), tx (consensus_i), tx from several main chain blocks (consensus_j), tx (consensus_k) is to carry out from common recognition, and is digging mine contract from triggering parallel chain when knowing together successfully Several logical cards are provided according to the excited rules of pre-configuration.
Fig. 4 is the flow chart of step S24 in a kind of preferred embodiment of method shown in Fig. 3.As shown in figure 4, preferably one In embodiment, step S24 includes:
S241: synchronizing the transaction of each third common recognition from several main chain blocks to carry out parallel chain from knowing together, and from common recognition at Judge whether the third implementing result of the second parallel chain block and successful 4th implementing result of knowing together certainly are identical when function:
Be to then follow the steps S242: triggering parallel chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
It is no, it thens follow the steps S243: stopping the operation of this node.
Specifically, in step S241, n synchronizes tx (consensus_h), tx (consensus_ from several main chain blocks I), tx (consensus_j), tx (consensus_k) are to carry out parallel chain from common recognition, and judge second when knowing together successfully certainly Whether the third implementing result of parallel chain block and successful second implementing result of knowing together certainly are identical:
Be to then follow the steps S242: triggering parallel chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
It is no, it thens follow the steps S243: stopping the operation of this node.
Preferably, node mortgages several logical cards when parallel chain, which is added, becomes the node of parallel chain, as execution step S243 When, the contract for triggering pre-configuration deducts the logical card in part of the corresponding account of this node.
Preferably, the number stopped running for monitoring this node triggers the contract note of pre-configuration when executing step S243 It records the number that this node is stopped running: when the number stopped running reaches the threshold value being pre-configured, blacklist is added in this node; Blacklist, which is added, can be configured within the time of pre-configuration, such as in 1 week, not allowing the node again becomes the section of this parallel chain Point.
Above-described embodiment is forced to stop the operation of the implementing result node different from the implementing result from after knowing together successfully, increases The robustness of strong parallel chain.
In a preferred embodiment, the excited rules of pre-configuration are that several logical cards are distributed to several first to generate correctly The parallel chain authorization node of common recognition transaction.
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 node activations method of any of the above-described embodiment description can be with It is implemented as computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising visibly Comprising computer program on a machine-readable medium, the computer program includes for executing parallel chain node activations method Program code.In such embodiments, which can be downloaded and be pacified from network by communications portion 509 Dress, and/or be mounted from detachable media 511.
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 node activations method 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 To be the software program being arranged in computer or intelligent movable equipment, it is also possible to the hardware device being separately configured.Wherein, this The title of a little units 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 node activations method, which is characterized in that the authorization node suitable for parallel chain, which comprises
Each first parallel chain in response to being synchronized to this parallel chain from the first main chain block is traded, and all sections of current parallel chain are passed through The unified account being pre-configured of point generates the first parallel chain and digs mine transaction;
It digs mine transaction according to each first parallel chain transaction, first parallel chain and generates the first parallel chain block;
The first parallel chain block is executed to generate the transaction of the first common recognition;Wherein, it executes first parallel chain and digs mine transaction Mine contract is dug including triggering parallel chain, and several logical cards are issued additional in this contract;
The first common recognition transaction is sent to the first main chain node, for the first main chain node broadcasts and is packaged, executes institute State the transaction of the first common recognition;
The first common recognition transaction and several second common recognition transaction is synchronized from several main chain blocks to know together certainly to carry out parallel chain, and The parallel chain is triggered when knowing together successfully certainly digs mine contract according to several logical cards of the excited rules of pre-configuration granting;
Wherein, the second common recognition transaction is other authorization nodes sequence parallel with described first generated of current parallel chain The common recognition transaction of the identical parallel chain block of block height of block.
2. the method according to claim 1, wherein described synchronize the first common recognition friendship from several main chain blocks Easy and several second common recognition transaction trigger the parallel chain when knowing together successfully certainly and dig mine contract to carry out parallel chain from common recognition Providing several logical cards according to the excited rules of pre-configuration includes:
The first common recognition transaction and several second common recognition transaction are synchronized know together certainly from several main chain blocks, and from altogether Judge whether the first implementing result of the first common recognition transaction and successful second implementing result of knowing together certainly are identical when knowing successfully:
It is then to trigger parallel chain to dig mine contract according to several logical cards of the excited rules of pre-configuration granting;
It is no, then stop the operation of this node.
3. method according to claim 1 or 2, which is characterized in that the excited rules of pre-configuration are to distribute several logical cards The parallel chain authorization node of correctly common recognition transaction is first generated to several.
4. a kind of parallel chain node activations method, which is characterized in that suitable for the unauthorized node of parallel chain, the method packet It includes:
Each second parallel chain in response to synchronizing this parallel chain from the second main chain block is traded, and all nodes of current parallel chain are passed through The unified account being pre-configured generates the second parallel chain and digs mine transaction;
It digs mine transaction according to each second parallel chain transaction, second parallel chain and generates the second parallel chain block;
Execute the second parallel chain block;Wherein, executing second parallel chain and digging mine transaction includes that triggering parallel chain digs mine Contract issues additional several logical cards in this contract;
Each third common recognition transaction is synchronized know together certainly from several main chain blocks, and described parallel from triggering when knowing together successfully Chain digs mine contract and provides several logical cards according to the excited rules of pre-configuration;
Wherein, the transaction of third common recognition is that the authorization node of current parallel chain is generated with the second parallel chain block The common recognition transaction of the identical parallel chain block of block height.
5. according to the method described in claim 4, it is characterized in that, described synchronize each third common recognition transaction from several main chain blocks To carry out parallel chain from common recognition, and the parallel chain is triggered when knowing together successfully certainly and digs mine contract according to the excited rules of pre-configuration Providing several logical cards includes:
Each third common recognition transaction is synchronized to carry out parallel chain from common recognition from several main chain blocks, and judges institute when knowing together successfully certainly It states the third implementing result of the second parallel chain block and whether successful 4th implementing result of knowing together certainly is identical:
It is then to trigger the parallel chain to dig mine contract according to several logical cards of the excited rules of pre-configuration granting;
It is no, then stop the operation of this node.
6. method according to claim 4 or 5, which is characterized in that the excited rules of pre-configuration are to distribute several logical cards The parallel chain authorization node of correctly common recognition transaction is first generated to several.
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.
CN201910688076.0A 2019-07-29 2019-07-29 Parallel chain node excitation method, device and storage medium Active CN110445853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688076.0A CN110445853B (en) 2019-07-29 2019-07-29 Parallel chain node excitation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910688076.0A CN110445853B (en) 2019-07-29 2019-07-29 Parallel chain node excitation method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110445853A true CN110445853A (en) 2019-11-12
CN110445853B CN110445853B (en) 2021-08-06

Family

ID=68431910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910688076.0A Active CN110445853B (en) 2019-07-29 2019-07-29 Parallel chain node excitation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110445853B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524010A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium
CN112801791A (en) * 2021-01-29 2021-05-14 武汉大学 Authorization-based block chain consensus method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180240114A1 (en) * 2017-02-22 2018-08-23 Alibaba Group Holding Limited Transaction verification in a consensus network
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180240114A1 (en) * 2017-02-22 2018-08-23 Alibaba Group Holding Limited Transaction verification in a consensus network
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524010A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium
CN112801791A (en) * 2021-01-29 2021-05-14 武汉大学 Authorization-based block chain consensus method and system

Also Published As

Publication number Publication date
CN110445853B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
Singh et al. Blockchain technology for decentralized autonomous organizations
CN108985774B (en) Excitation method, device, equipment and storage medium of block chain network
Hörner et al. Learning, experimentation and information design
Townsend Optimal multiperiod contracts and the gain from enduring relationships under private information
CN110706114B (en) Block chain-based default asset processing method and device and electronic equipment
Lamghari et al. A variable neighbourhood descent algorithm for the open-pit mine production scheduling problem with metal uncertainty
CN104424354B (en) The method and system of generation model detection abnormal user behavior is operated using user
CN109271446A (en) A kind of parallel chain method of data synchronization, equipment and storage medium
CN105488675A (en) Distributed shared general ledger construction method of block chain
CN110223040A (en) Project management method, device, electronic equipment and storage medium
CN110445853A (en) Parallel chain node activations method, equipment and storage medium
CN109377365A (en) A kind of assets transfer method, equipment and storage medium
Zhang et al. A supply chain network economy: modeling and qualitative analysis
CN109816362A (en) Red packet processing method, equipment and storage medium
CN109727009A (en) Red packet processing method, equipment and storage medium
CN109784888A (en) Red packet processing method, equipment and storage medium
Turkeš et al. A matheuristic for the stochastic facility location problem
CN109558454A (en) Parallel chain digs mine common recognition method, equipment and storage medium
CN108665363A (en) A kind of block chain common recognition reaches device
CN108648082A (en) A kind of computer system reached for block chain common recognition
CN111552573A (en) Block chain heterogeneous system and artificial intelligence computational power network
CN110443708A (en) Parallel chain method of commerce, equipment and storage medium
US8527322B2 (en) Proactive demand shaping for a configurable product portfolio with uncertain demand
CN109741052A (en) Red packet processing method, equipment and storage medium
WO2020033558A1 (en) System and method for a distributed ledger for information technology asset management

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