CN110445853B - Parallel chain node excitation method, device and storage medium - Google Patents

Parallel chain node excitation method, device and storage medium Download PDF

Info

Publication number
CN110445853B
CN110445853B CN201910688076.0A CN201910688076A CN110445853B CN 110445853 B CN110445853 B CN 110445853B CN 201910688076 A CN201910688076 A CN 201910688076A CN 110445853 B CN110445853 B CN 110445853B
Authority
CN
China
Prior art keywords
consensus
parallel chain
transaction
parallel
chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910688076.0A
Other languages
Chinese (zh)
Other versions
CN110445853A (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

Images

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 invention provides a parallel chain node excitation method, equipment and a storage medium, wherein the method generates a first parallel chain mine excavation transaction through accounts which are uniformly pre-configured for all nodes of a current parallel chain; triggering a parallel chain mining contract to add and issue a plurality of proofs in the contract when a first parallel chain block comprising a first parallel chain mining transaction is executed, and generating a first consensus transaction; and when the self-consensus is carried out on a plurality of consensus transactions including the first consensus transaction and the self-consensus is successful, triggering a parallel chain mining contract to issue a plurality of evidence-based methods according to the pre-configured incentive rules, and motivating parallel chain nodes to build and maintain parallel chains.

Description

Parallel chain node excitation method, device and storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a parallel chain node excitation method, device, and storage medium.
Background
In the current block chain public chain technology, an excitation method of public chain nodes is configured for an excitation node to actively participate in the construction and maintenance of a public chain, and the most common method is a POW and POS method: different public link nodes compete for blocks, and nodes which compete for the block-issuing right and issue the blocks correctly receive a full amount of evidence.
The parallel chain also needs active construction and maintenance of parallel chain nodes, and based on a mechanism that parallel chain nodes do not communicate with each other, the nodes of the parallel chain cannot compete out blocks.
Disclosure of Invention
In view of the above-mentioned shortcomings or drawbacks of the prior art, it is desirable to provide a parallel chain node excitation method, apparatus, and storage medium for exciting parallel chain nodes to build and maintain parallel chains.
In a first aspect, the present invention provides a parallel chain link point excitation method for authorized nodes of a parallel chain, the method comprising:
in response to each first parallel chain transaction synchronized from the first main chain block to the parallel chain, generating a first parallel chain mining transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
generating a first parallel chain block according to each first parallel chain transaction and the first parallel chain mining transaction;
executing the first parallel chain block to generate a first consensus transaction; executing a first parallel chain mining transaction, wherein the executing of the first parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of proofs in the contract;
sending a first consensus transaction to a first main chain node for the first main chain node to broadcast, pack and execute the first consensus transaction;
synchronizing the first consensus transaction and the second consensus transactions from the main chain blocks to perform parallel chain self-consensus, and triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule when the self-consensus is successful;
the second consensus transaction is the consensus transaction of the parallel chain blocks generated by other authorized nodes of the current parallel chain and having the same block height as the first parallel chain block.
In a second aspect, the present invention provides a parallel chain node excitation method for unauthorized nodes of a parallel chain, the method comprising:
in response to synchronizing each second parallel chain transaction of the parallel chain from the second main chain block, generating a second parallel chain mine excavation transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
generating a second parallel chain block according to each second parallel chain transaction and the second parallel chain mining transaction;
executing the second parallel chain block; executing a second parallel chain mining transaction, wherein the executing of the second parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of certificates in the contract;
synchronizing each third consensus transaction from a plurality of main chain blocks to perform self-consensus, and triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule when the self-consensus is successful;
and the third consensus transaction is a consensus transaction of the parallel chain blocks which are generated by the authorization node of the current parallel chain and have the same block height as the second parallel chain blocks.
In a third aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a parallel link point excitation method provided in accordance with embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program for causing a computer to execute the parallel link point excitation method provided according to the embodiments of the present invention.
According to the parallel chain node excitation method, the parallel chain node excitation equipment and the storage medium provided by the embodiments of the invention, a first parallel chain mine excavation transaction is generated through accounts which are pre-configured uniformly for all nodes of a current parallel chain; triggering a parallel chain mining contract to add and issue a plurality of proofs in the contract when a first parallel chain block comprising a first parallel chain mining transaction is executed, and generating a first consensus transaction; and when the self-consensus is carried out on a plurality of consensus transactions including the first consensus transaction and the self-consensus is successful, triggering a parallel chain mining contract to issue a plurality of evidence-based methods according to the pre-configured incentive rules, and motivating parallel chain nodes to build and maintain parallel chains.
In some embodiments of the present invention, the parallel link node excitation method, apparatus, and storage medium further perform self-consensus by synchronizing the first consensus transaction and the second consensus transactions from the plurality of main chain blocks, and when the self-consensus is successful, determine whether a first execution result of the first consensus transaction is the same as a second execution result of the self-consensus: if yes, triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule; if not, the method for stopping the operation of the node forcibly stops the operation of the node with the execution result different from the execution result after the self-consensus is successful, and the robustness of the parallel chain is enhanced.
Some embodiments of the present invention provide methods, apparatuses, and storage media for parallel chain node incentive, which further encourage parallel chain nodes to build and maintain parallel chains by encouraging parallel chain authorized nodes to actively participate in parallel chain block generation by configuring preconfigured incentive rules as a method for distributing several certificates to several parallel chain authorized nodes that have previously generated correct consensus transactions.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a parallel link point excitation method according to an embodiment of the present invention.
Fig. 2 is a flow chart of step S15 in a preferred embodiment of the method of fig. 1.
Fig. 3 is a flow chart of another parallel link point activation method according to an embodiment of the present invention.
Fig. 4 is a flow chart of step S24 in a preferred embodiment of the method shown in fig. 3.
Fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The parallel chain nodes are divided into authorized nodes and unauthorized nodes at present, and the authorized nodes and the unauthorized nodes can dig mines, synchronize parallel chain transactions from a main chain block, generate parallel chain blocks and verify the parallel chain blocks; in addition, the authorization node can generate a consensus transaction for the generated and executed parallel link blocks and send the consensus transaction to the main chain node for consensus and reward seeking.
The consensus transaction is broadcasted, packaged and executed among the main chain nodes and recorded on the main chain block; when the consensus condition is met, for example, when the consensus transactions with the same execution result are recorded on the main chain block, the number of authorized nodes exceeding 2/3 is considered to be the same as the main chain block;
the parallel chain nodes synchronize all the consensus transactions executed by the main chain node from the main chain block back to the local node for re-execution, and the self-consensus succeeds when the consensus condition is met, for example, when the parallel chain block records more than 2/3 consensus transactions with the same execution result as the authorized nodes, the consensus transactions are considered to be already known by the main chain;
only authorized nodes that generate correct consensus transactions can receive mining incentives.
Fig. 1 is a flowchart of a parallel link point excitation method according to an embodiment of the present invention. In the present embodiment, as shown in fig. 1, the present invention provides a parallel link point excitation method for authorized nodes of a parallel chain, the method includes:
s11: in response to each first parallel chain transaction synchronized from the first main chain block to the parallel chain, generating a first parallel chain mining transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
s12: generating a first parallel chain block according to each first parallel chain transaction and the first parallel chain mining transaction;
s13: executing the first parallel chain block to generate a first consensus transaction; executing a first parallel chain mining transaction, wherein the executing of the first parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of proofs in the contract;
s14: sending a first consensus transaction to a first main chain node for the first main chain node to broadcast, pack and execute the first consensus transaction;
s15: synchronizing the first consensus transaction and the second consensus transactions from the main chain blocks to perform parallel chain self-consensus, and triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule when the self-consensus is successful;
the second consensus transaction is the consensus transaction of the parallel chain blocks generated by other authorized nodes of the current parallel chain and having the same block height as the first parallel chain block.
Specifically, four authorization nodes a, B, C and D are arranged in the current parallel chain, a corresponding main chain node is A, B is B, C is C, and D is D;
taking A-a as an example, assume that there are two first parallel chain transactions tx1, tx2 of this parallel chain in the first backbone block;
in step S11, a generating a first parallel chain mine excavation transaction tx (mining _ a) by an account which is pre-configured uniformly by all nodes of the current parallel chain in response to synchronization from the first main chain block to tx1, tx 2;
in step S12, a generates a first parallel chain block according to tx1, tx2, tx (mining _ a);
in step S13, a executes the first parallel chain block to generate a first consensus transaction tx (consensus _ a); executing tx (mining _ a) comprises triggering a parallel chain mining contract to increase and issue a plurality of proofs in the contract;
tx (mining _ a) transaction initiator is the angel account address of the parallel chain, and transaction receiver is the contract address of the parallel chain mining contract;
in step S14, a sends tx (consensus _ a) to a, a broadcasts and packetizes, executes tx (consensus _ a);
meanwhile, other authorized nodes b, c and d of the current parallel chain generate second consensus transactions tx (consensus _ b), tx (consensus _ c) and tx (consensus _ d) with the same block height as the first parallel chain block; b. c, the mode of generating the second consensus transaction is the same as that of a, and the details are not repeated herein;
b, transmitting tx (consensus _ B) to B, broadcasting and packaging by B, and executing tx (consensus _ B);
c, transmitting tx (consensus _ C) to C, broadcasting and packaging by C, and executing tx (consensus _ C);
d, transmitting tx (consensus _ D) to D, broadcasting and packaging by D, and executing tx (consensus _ D);
finally, tx (consensus _ a), tx (consensus _ b), tx (consensus _ c) and tx (consensus _ d) are received on all the main chain nodes;
the main chain nodes execute and recognize tx (consensus _ a), tx (consensus _ b), tx (consensus _ c) and tx (consensus _ d);
preferably, the first parallel chain mining transaction is configured as a first transaction of the first parallel chain block; in further embodiments, the first parallel chain mining transaction may also be configured as a transaction of other fixed position of the first parallel chain block according to actual requirements, or as a last transaction of the first parallel chain block; this embodiment facilitates checking the legitimacy of each parallel chain transaction;
in step S15, a synchronizes tx (consensus _ a) and tx (consensus _ b), tx (consensus _ c), tx (consensus _ d) from a plurality of main chain blocks to perform parallel chain self-consensus, and triggers the parallel chain mining contract to issue a plurality of certificates according to the pre-configured excitation rules when the self-consensus is successful.
In the embodiment, the first parallel chain mine excavation transaction is generated through accounts which are pre-configured uniformly for all nodes of the current parallel chain; triggering a parallel chain mining contract to add and issue a plurality of proofs in the contract when a first parallel chain block comprising a first parallel chain mining transaction is executed, and generating a first consensus transaction; and when the self-consensus is carried out on a plurality of consensus transactions including the first consensus transaction and the self-consensus is successful, triggering a parallel chain mining contract to issue a plurality of evidence-based methods according to the pre-configured incentive rules, and motivating parallel chain nodes to build and maintain parallel chains.
Fig. 2 is a flow chart of step S15 in a preferred embodiment of the method of fig. 1. As shown in fig. 2, in a preferred embodiment, step S15 includes:
s151: synchronizing the first consensus transaction and the second consensus transactions from the main chain blocks to perform self-consensus, and judging whether a first execution result of the first consensus transaction is the same as a second execution result of the self-consensus when the self-consensus is successful:
if yes, go to step S152: triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, step S153 is executed: and stopping the operation of the node.
Specifically, in step S151, a synchronizes tx (consensus _ a) and tx (consensus _ b), tx (consensus _ c), and tx (consensus _ d) from several main chain blocks to perform parallel chain self-consensus, and determines whether a first execution result of tx (consensus _ a) is the same as a second execution result of the self-consensus when the self-consensus is successful:
if yes, go to step S152: triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, step S153 is executed: and stopping the operation of the node.
Preferably, when joining the parallel chain to become a node of the parallel chain, the node mortises a plurality of certificates, and when executing step S153, triggers the preconfigured contract to deduct part of the certificates of the account corresponding to the node.
Preferably, the number of times of the suspended operation of the node is monitored, and when step S153 is executed, the preconfigured contract is triggered to record the number of times of the suspended operation of the node: when the number of times of operation suspension reaches a pre-configured threshold value, adding the node into a blacklist; adding a black list may be configured to disallow the node to become a node of the present parallel chain again within a preconfigured time, e.g., 1 week.
The above embodiment forces to suspend the operation of the node whose execution result is different from the execution result after the consensus is successful, thereby enhancing the robustness of the parallel chain.
In a preferred embodiment, the pre-configured incentive rules are the distribution of several certificates to several parallel chain authorization nodes that first generate correct consensus transactions.
Specifically, with the preconfigured incentive rules: when the self-consensus succeeds, allocating 2/3 of a plurality of certificates averagely to the front 2/3 authorization node which completes the consensus firstly in each authorization node, and allocating 1/3 of a plurality of certificates to fund accounts of parallel chains for example;
assuming that the authorization nodes are a, b, c and d and the execution results of the consensus transaction generated by a, b, c and d are consistent, the authorization nodes of 2/3 before the consensus is completed are a, b and c; the number of the general certificates is 999;
and triggering the parallel chain mining contract when the self-consensus is successful, averagely allocating 666 certificates to a, b and c according to a pre-configured incentive rule, and allocating 333 certificates to fund accounts of the parallel chain.
In further embodiments, the preconfigured incentive rules may be configured as other reasonable incentive rules according to actual requirements, for example, ladder distribution permit (when self-consensus succeeds, 1/3 of several permits are distributed to the authorization node which completes consensus first, 1/4 of several permits are distributed to the authorization node which completes consensus second, and the rest permits are distributed to the rest authorization nodes which complete consensus averagely); for another example, the same technical effect can be achieved by averagely allocating all of the certificates to the authorization nodes which complete the consensus first (when the self-consensus succeeds, the certificates are averagely allocated to the authorization node which is 2/3 before the consensus is completed first in the authorization nodes).
In the above embodiment, the incentive parallel chain authorization node actively participates in the generation of the parallel chain block for obtaining the incentive, and further encourages the parallel chain node to build and maintain the parallel chain.
Fig. 3 is a flow chart of another parallel link point activation method according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the present invention provides a parallel chain node excitation method for unauthorized nodes in a parallel chain, where the method includes:
s21: in response to synchronizing each second parallel chain transaction of the parallel chain from the second main chain block, generating a second parallel chain mine excavation transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
s22: generating a second parallel chain block according to each second parallel chain transaction and the second parallel chain mining transaction;
s23: executing the second parallel chain block; executing a second parallel chain mining transaction, wherein the executing of the second parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of certificates in the contract;
s24: synchronizing each third consensus transaction from a plurality of main chain blocks to perform self-consensus, and triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule when the self-consensus is successful;
and the third consensus transaction is a consensus transaction of the parallel chain blocks which are generated by the authorization node of the current parallel chain and have the same block height as the second parallel chain blocks.
Specifically, four authorized nodes H, I, J and k, and three unauthorized nodes L, M and N are present in the current parallel chain, the main chain node corresponding to H is H, the main chain node corresponding to I is I, the main chain node corresponding to J is J, the main chain node corresponding to k is D, the main chain node corresponding to L is L, the main chain node corresponding to M is M, and the main chain node corresponding to N is N;
taking N-N as an example, assume that there are two second parallel chain transactions tx3, tx4 for this parallel chain in the second backbone block;
in step S21, n generates a second parallel chain mine excavation transaction tx (mining _ e) by an account which is pre-configured uniformly by all nodes of the current parallel chain in response to synchronization from the second main chain block to tx3, tx 4;
in step S22, n generates a second parallel chain block according to tx3, tx4, tx (mining _ n);
in step S23, n executes a second parallel-chain tile; executing tx (mining _ n) comprises triggering a parallel chain mining contract to increase and issue a plurality of proofs in the contract;
tx (mining _ n) transaction initiator is angel account address of parallel chain, transaction receiver is contract address of parallel chain mining contract;
meanwhile, other authorized nodes h, i, j and k of the current parallel chain generate a third consensus transaction with the same block height as the second parallel chain block;
h sends tx (consensus _ H) to H, and H broadcasts, packs and executes tx (consensus _ H);
i sends tx (consensus _ I) to I, I broadcasts and packs, and executes tx (consensus _ I);
j sends tx (consensus _ J) to J, J broadcasts and packs, and executes tx (consensus _ J);
k sends tx (consensus _ K) to K, and the K broadcasts, packs and executes the tx (consensus _ K);
finally, tx (consensus _ h), tx (consensus _ i), tx (consensus _ j) and tx (consensus _ k) are received on all the main chain nodes;
the main chain nodes execute and recognize tx (consensus _ h), tx (consensus _ i), tx (consensus _ j) and tx (consensus _ k);
in step S24, n synchronizes tx (consensus _ h), tx (consensus _ i), tx (consensus _ j), tx (consensus _ k) from a plurality of main chain blocks to perform self-consensus, and triggers the parallel chain mining contract to issue a plurality of certificates according to the pre-configured excitation rules when the self-consensus is successful.
Fig. 4 is a flow chart of step S24 in a preferred embodiment of the method shown in fig. 3. As shown in fig. 4, in a preferred embodiment, step S24 includes:
s241: synchronizing each third consensus transaction from a plurality of main chain blocks to perform parallel chain self-consensus, and judging whether a third execution result of the second parallel chain block is the same as a fourth execution result of the self-consensus when the self-consensus is successful:
if yes, go to step S242: triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, step S243 is executed: and stopping the operation of the node.
Specifically, in step S241, n synchronizes tx (consensus _ h), tx (consensus _ i), tx (consensus _ j), tx (consensus _ k) from several main chain blocks to perform parallel chain self-consensus, and determines whether the third execution result of the second parallel chain block is the same as the second execution result of the self-consensus when the self-consensus is successful:
if yes, go to step S242: triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, step S243 is executed: and stopping the operation of the node.
Preferably, when joining the parallel chain to become a node of the parallel chain, the node mortises a plurality of certificates, and when executing step S243, triggers the pre-configured contract to deduct part of the certificates of the account corresponding to the node.
Preferably, the number of times of the suspended operation of the node is monitored, and when the step S243 is executed, the preconfigured contract is triggered to record the number of times of the suspended operation of the node: when the number of times of operation suspension reaches a pre-configured threshold value, adding the node into a blacklist; adding a black list may be configured to disallow the node to become a node of the present parallel chain again within a preconfigured time, e.g., 1 week.
The above embodiment forces to suspend the operation of the node whose execution result is different from the execution result after the consensus is successful, thereby enhancing the robustness of the parallel chain.
In a preferred embodiment, the pre-configured incentive rules are the distribution of several certificates to several parallel chain authorization nodes that first generate correct consensus transactions.
Fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 5, as another aspect, the present application also provides an apparatus 500 including one or more Central Processing Units (CPUs) 501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the apparatus 500 are also stored. The CPU501, ROM502, and RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the parallel link point excitation method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing a parallel link point excitation method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the parallel chain node excitation methods described herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (8)

1. A parallel chain link point excitation method, applied to authorized nodes of a parallel chain, the method comprising:
in response to each first parallel chain transaction synchronized from the first main chain block to the parallel chain, generating a first parallel chain mining transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
generating a first parallel chain block according to each first parallel chain transaction and the first parallel chain mining transaction;
executing the first parallel chain block to generate a first consensus transaction; executing the first parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of proofs in the contract;
sending the first consensus transaction to a first main chain node for the first main chain node to broadcast, pack and execute the first consensus transaction;
synchronizing the first consensus transaction and the second consensus transactions from a plurality of main chain blocks to perform parallel chain self-consensus, and triggering the parallel chain mining contract to issue a plurality of certificates according to a pre-configured incentive rule when the self-consensus is successful;
wherein the second consensus transaction is a consensus transaction of a parallel chain block generated by other authorized nodes of the current parallel chain and having the same block height as the first parallel chain block.
2. The method of claim 1, wherein synchronizing the first consensus transaction and the second consensus transactions from the plurality of backbone blocks for parallel chain self-consensus and triggering the parallel chain mining contract to issue a plurality of certificates according to pre-configured incentive rules when self-consensus is successful comprises:
synchronizing the first consensus transaction and the second consensus transactions from the main chain blocks to perform self-consensus, and judging whether a first execution result of the first consensus transaction is the same as a second execution result of the self-consensus when the self-consensus is successful:
if yes, triggering a parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, stopping the operation of the node.
3. A method according to claim 1 or 2, characterized in that the pre-configured incentive rules are distributing several certificates to several parallel chain authorisation nodes where correct consensus transactions are generated.
4. A parallel chain link point excitation method, applied to unauthorized nodes of a parallel chain, the method comprising:
in response to synchronizing each second parallel chain transaction of the parallel chain from the second main chain block, generating a second parallel chain mine excavation transaction through accounts which are pre-configured uniformly by all nodes of the current parallel chain;
generating a second parallel chain block according to each second parallel chain transaction and the second parallel chain mining transaction;
executing the second parallel chain block; executing the second parallel chain mining transaction comprises triggering a parallel chain mining contract to additionally issue a plurality of proofs in the contract;
synchronizing each third consensus transaction from a plurality of main chain blocks to perform self-consensus, and triggering the parallel chain mining contract to issue a plurality of certificates according to a pre-configured incentive rule when the self-consensus is successful;
wherein the third consensus transaction is a consensus transaction of a parallel chain block generated by an authorization node of a current parallel chain and having the same block height as the second parallel chain block.
5. The method of claim 4, wherein synchronizing each third consensus transaction from a number of backbone blocks for parallel chain self-consensus and triggering the parallel chain mining contract to issue a number of certificates according to pre-configured incentive rules when self-consensus is successful comprises:
synchronizing each third consensus transaction from a plurality of main chain blocks to perform parallel chain self-consensus, and judging whether a third execution result of the second parallel chain block is the same as a fourth execution result of the self-consensus when the self-consensus is successful:
if yes, triggering the parallel chain mining contract to issue a plurality of certificates according to a pre-configured excitation rule;
otherwise, stopping the operation of the node.
6. The method according to claim 4 or 5, characterized in that the pre-configured incentive rules are distributing several certificates to several parallel chain authorization nodes where correct consensus transactions are generated.
7. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-6.
8. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 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 CN110445853A (en) 2019-11-12
CN110445853B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524010B (en) * 2020-05-06 2023-06-02 杭州复杂美科技有限公司 Parallel chain consensus method, apparatus and storage medium
CN112801791B (en) * 2021-01-29 2023-06-16 武汉大学 Block chain consensus method and system based on authorization

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917864B (en) * 2017-02-22 2023-08-22 创新先进技术有限公司 Service verification method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110445853A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN108985774B (en) Excitation method, device, equipment and storage medium of block chain network
US11630808B2 (en) Proof of lottery (PoL) blockchain
CN108848055B (en) Block chain consensus method, accounting node and node
CN108959621B (en) Method, device, equipment and storage medium for realizing block chain network
CN110445853B (en) Parallel chain node excitation method, device and storage medium
US20220035796A1 (en) Block Confirmation Method, Device and Storage Medium
CN110866824A (en) Cross-chain transaction method and device based on parallel chain and block chain system
EP3763078B1 (en) Methods of electing leader nodes in a blockchain network using a role-based consensus protocol
CN108846750B (en) Stock right certification consensus method
CN112381543A (en) Multiple signature transaction method, device and storage medium
Kang et al. Simulation‐Based Optimization on the System‐of‐Systems Model via Model Transformation and Genetic Algorithm: A Case Study of Network‐Centric Warfare
CN111008249B (en) Parallel chain block synchronization method, device and storage medium
CN111401866A (en) Method, apparatus and storage medium for pre-storing and deducting commission fee
CN109685506B (en) Multi-signature account generation method and multi-signature account signature confirmation method
CN112819625B (en) Parallel chain arbitration consensus method, computer device, and storage medium
CN111831738A (en) Method and device for storing Internet recruitment data on block chain
CN112733202A (en) Parallel chain supervision consensus method, computer device and storage medium
Baniata et al. Distributed scalability tuning for evolutionary sharding optimization with Random-equivalent security in permissionless Blockchain
US10548022B1 (en) Distributed ledger for wireless channel assignment
CN113900814B (en) Method and system for realizing dynamic adjustment of frequency of billing blocks on chain
CN111833051A (en) Physical mortgage data storage method and device based on PBFT consensus
CN112804322B (en) Block generation method, computer device and storage medium
EP4250110A1 (en) Transaction control method, transaction control program, and information processing device
CN112967079A (en) Parallel chain binding mining method, computer equipment and storage medium
Comert et al. Assessment of system-level cyber attack vulnerability for connected and autonomous vehicles using bayesian networks

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