CN110691122A - Parallel chain consensus method, device and storage medium - Google Patents

Parallel chain consensus method, device and storage medium Download PDF

Info

Publication number
CN110691122A
CN110691122A CN201910900297.XA CN201910900297A CN110691122A CN 110691122 A CN110691122 A CN 110691122A CN 201910900297 A CN201910900297 A CN 201910900297A CN 110691122 A CN110691122 A CN 110691122A
Authority
CN
China
Prior art keywords
parallel chain
consensus
chain
authorization
parallel
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
CN201910900297.XA
Other languages
Chinese (zh)
Other versions
CN110691122B (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 CN201910900297.XA priority Critical patent/CN110691122B/en
Publication of CN110691122A publication Critical patent/CN110691122A/en
Priority to PCT/CN2020/106281 priority patent/WO2021057259A1/en
Application granted granted Critical
Publication of CN110691122B publication Critical patent/CN110691122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Hardware Redundancy (AREA)
  • Retry When Errors Occur (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a parallel chain consensus method, equipment and a storage medium, wherein a contract configured on a main chain for parallel chain consensus and a contract for updating a parallel chain account group are the same contract, and the method comprises the following steps: executing a plurality of parallel chain account group update transactions through the contract to update the parallel chain authorization account group of the first parallel chain: and if the updating is successful, performing parallel chain consensus of the first parallel chain according to the updated parallel chain authorization account group. According to the invention, the parallel chain consensus and the parallel chain account group on the main chain are configured in the same contract, so that the parallel chain consensus can be directly triggered after the parallel chain authorization account group is updated on the main chain through the contract, and the parallel chain consensus can be flexibly triggered after the parallel chain authorization account group is reconfigured.

Description

Parallel chain consensus method, device and storage medium
Technical Field
The present application relates to the field of block chain technology, and in particular, to a parallel chain consensus method, device, and storage medium.
Background
In the parallel chain consensus mechanism proposed by the applicant, parallel chain nodes synchronize parallel chain transactions from a main chain to generate parallel chain blocks, and each authorized node of a parallel chain packages consensus transactions (executed on the main chain and the parallel chain respectively) according to parallel chain block execution results of a current node and sends the consensus transactions to the main chain node;
the master link node records each consensus transaction on the master chain for voting, and if a pre-configured condition is met (for example, the votes exceeding 2/3 are consistent, and the like), the parallel chain block consensus is successful, so that the parallel chain consensus is completed through the master chain consensus;
and after synchronizing the parallel chain nodes from the main chain to the above-mentioned mutual recognition transactions and packaging and executing, voting is carried out locally to complete the self-mutual recognition of the parallel chain.
In the parallel chain consensus mechanism, when part of authorization nodes of a parallel chain do not perform parallel chain consensus normally and the parallel chain consensus cannot be completed normally, an authorization account group of the parallel chain needs to be reconfigured, and at this time, after the parallel chain authorization account group is reconfigured, the problem that the parallel chain consensus cannot be performed again on a parallel chain block in which the prior consensus fails is solved.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a parallel chain consensus method, device and storage medium for flexibly triggering parallel chain consensus after reconfiguring a set of parallel chain authorization accounts.
In a first aspect, the present invention provides a parallel chain consensus method applied to a main chain node, where a contract configured on a main chain for performing parallel chain consensus and a contract configured on a main chain for updating a parallel chain account group are the same contract, the method including:
executing a plurality of parallel chain account group update transactions through the contract to update the parallel chain authorization account group of the first parallel chain:
and if the updating is successful, performing parallel chain consensus of the first parallel chain according to the updated parallel chain authorization account group.
In a second aspect, the present invention further provides a parallel chain consensus method applied to parallel chain nodes, where a contract configured on a parallel chain for performing parallel chain self-consensus and a contract configured on a parallel chain for updating a parallel chain account group are the same contract, the method including:
executing a number of parallel chain account group update transactions through the contract to update the parallel chain authorization account group of the current parallel chain:
and if the updating is successful, performing parallel chain self-consensus on the current parallel chain according to the updated parallel chain authorization account group.
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 chain consensus method provided according to embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program, the computer program causing a computer to execute the parallel chain consensus method provided according to the embodiments of the present invention.
In the parallel chain consensus method, the parallel chain consensus device, and the storage medium provided by the embodiments of the present invention, the parallel chain consensus and the parallel chain account group on the main chain are configured in the same contract, so that the parallel chain consensus can be directly triggered after the parallel chain authorization account group is updated on the main chain by the contract, and the parallel chain consensus can be directly triggered on the main chain after the parallel chain authorization account group is reconfigured without being re-triggered by the parallel chain;
the parallel chain consensus method, the parallel chain consensus device and the storage medium provided by some embodiments of the present invention further configure the trigger mechanism to trigger the parallel chain consensus only when the number of authorized accounts is not increased, so as to avoid triggering the consensus when the consensus is temporarily unsuccessful, thereby optimizing the consensus mechanism.
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 chain consensus method according to an embodiment of the present invention.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1.
FIG. 3 is a flow diagram of a preferred embodiment of the method shown in FIG. 1.
FIG. 4 is a flow diagram of a preferred embodiment of the method shown in FIG. 1.
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.
Fig. 1 is a flowchart of a parallel chain consensus method according to an embodiment of the present invention.
As shown in fig. 1, in the present embodiment, the present invention provides a parallel chain consensus method applied to a main chain node, where a contract configured on a main chain for performing parallel chain consensus and a contract for updating a parallel chain account group are the same contract, and the method includes:
s12: executing a plurality of parallel chain account group update transactions through the contract to update the parallel chain authorization account group of the first parallel chain:
if the update is successful, step S14 is executed: and performing parallel chain consensus on the first parallel chain according to the updated parallel chain authorization account group.
And configuring the votes exceeding 2/3 to be consistent under the condition that the parallel chain consensus is successful, and configuring 6 authorization nodes a-f for the parallel chain authorization account group of the first parallel chain Pa, wherein the authorization nodes a-d normally operate and h-h is the height h of the parallel chain1After the parallel chain block is successfully identified, h-h is respectively sent to the main chain1+1 consensus transaction txa-(h1+1)-txd-(h1+1)And authorized nodes e and f are from parallel chain height h ═ h1An abnormality occurs, resulting in h ═ h1The case where the +1 parallel chain block cannot complete the parallel chain consensus is given as follows:
at the present timeIn the parallel chain common identification scheme, after the authorized nodes e and f quit the authorized node account group of the Pa chain by any method such as authorized account voting, the parallel chain common identification modules of the authorized nodes a-d cannot sense the change of the authorized node account group of the Pa chain, and meanwhile, when the contract configured on the main chain for parallel chain common identification and the contract for updating the parallel chain account group are different contracts, the contract configured on the main chain for parallel chain common identification cannot sense the change of the authorized node account group of the Pa chain, so that h cannot be triggered1The parallel chains of the parallel chain block of +1 are consensus.
In another patent application filed by the applicant at the same time, the applicant proposes a parallel chain consensus triggering scheme for triggering retransmission consensus transaction by monitoring parallel chain block consensus timeout by a parallel chain authorization node, which is not specifically developed herein; in the application, by configuring the contract configured on the main chain for carrying out parallel chain consensus and the contract for updating the parallel chain account group as the same contract, the contract can trigger the parallel chain consensus when the change of the authorized node account group of the parallel chain is sensed.
In the above example, when the authorizing nodes a-d send authorizing node account group update transactions tx to the backbone node, respectivelya-txdIn step S12, the main chain nodes broadcast tx respectivelya-txdTx toa-txdPacking into several main chain blocks and executing tx separately via the contracta-txdAnd updating the transaction (e.g., tx) at the last authorized node account group in which it was executedd) Judging whether the parallel chain authorization account group of the first parallel chain Pa is updated successfully:
if not, not triggering the parallel chain consensus;
if yes, go to step S14: performing parallel chain consensus of the first parallel chain according to the updated authorized node account group (for example, a-d) of the Pa chain: h-h sent to the main chain respectively before according to each authorized node a-d in the updated authorized node account group of the Pa chain by the contract1+1 transaction txa-(h1+1)-txd-(h1+1)Parallel strand consensus was performed.
In the embodiment, the parallel chain consensus and the parallel chain account group on the main chain are configured in the same contract, so that the parallel chain consensus can be directly triggered after the parallel chain authorization account group is updated on the main chain through the contract, and the parallel chain consensus can be directly triggered on the main chain after the parallel chain authorization account group is reconfigured without being triggered again by the parallel chain.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1. As shown in fig. 2, in a preferred embodiment, step S14 includes:
s141: judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
otherwise, step S143 is executed: and performing parallel chain consensus on the first parallel chain block according to each first consensus transaction of the first parallel chain block which is generated by each authorization account in the updated parallel chain authorization account group, successfully executed by the contract and recorded on the main chain.
Specifically, taking the example that the account group of authorized nodes of the Pa chain is changed from a-f to a-g in step S12, since the new authorized node g has not yet sent h-h to the main chain node at this time1+1 consensus transaction, which results in triggering parallel chain consensus still fails to make h ═ h1The parallel chain block consensus of +1 is successful (4/7 < 2/3), and it needs to wait for the grant node g to send h ═ h to the main chain node1+1 consensus transaction txg-(h1+1)Then, tx is executed by the contractg-(h1+1)And trigger h ═ h1The parallel strand consensus of the parallel strand block of +1 (5/7 > 2/3).
In step S141, it is determined whether the number of authorized accounts in the updated parallel-chain authorized account group is increased compared to that before updating:
if yes, not triggering the parallel chain consensus, and waiting for the contract to execute the consensus transaction of the first parallel chain block sent by the new authorization node;
otherwise, step S143 is executed to trigger the parallel chain consensus.
In step S143, there is still a certain probability that the new authorized node has not sent the consensus transaction of the first parallel chain block (when the number of authorized accounts is reduced or unchanged), or the original authorized node is abnormal, so that the parallel chain consensus fails, and at this time, the contract is also waited to execute the consensus transaction of the first parallel chain block sent by the new authorized node, or the parallel chain authorized account group is waited to be updated again to trigger the parallel chain consensus again.
The embodiment further optimizes the consensus mechanism by configuring the trigger mechanism to trigger the parallel chain consensus only when the number of the authorized accounts is not increased, so as to avoid triggering the consensus when the temporary failure of the consensus is successful.
FIG. 3 is a flow diagram of a preferred embodiment of the method shown in FIG. 1. As shown in fig. 3, in another preferred embodiment, step S14 includes:
s142: respectively generating authorization accounts in the updated parallel chain authorization account group, successfully executing the contract and recording each first consensus transaction judgment of a first parallel chain block on the main chain, wherein the first parallel chain block meets the condition that the parallel chain consensus is successful:
if yes, go to step S143: and performing parallel chain consensus on the first parallel chain blocks according to each first consensus transaction.
Specifically, before triggering the parallel chain consensus, the judgment may be performed according to the updated parallel chain authorization account group, and whether each first consensus transaction currently recorded on the main chain meets the condition that the parallel chain consensus is successful or not may not be triggered.
FIG. 4 is a flow diagram of a preferred embodiment of the method shown in FIG. 1. As shown in fig. 4, in a further preferred embodiment, step S14 includes:
s141: judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
otherwise, step S142 is executed: respectively generating authorization accounts in the updated parallel chain authorization account group, successfully executing the contract and recording each first consensus transaction judgment of a first parallel chain block on the main chain, wherein the first parallel chain block meets the condition that the parallel chain consensus is successful:
if yes, go to step S143: and performing parallel chain consensus on the first parallel chain blocks according to each first consensus transaction.
The triggering mechanism of the method shown in fig. 4 can refer to the methods shown in fig. 2 and fig. 3, and is not described herein again.
Similar to the parallel chain consensus method for the main chain node shown in fig. 1-4, the present application also provides a set of parallel chain consensus methods for the parallel chain node, and since the principle of parallel chain self-consensus is the same as the principle of main chain parallel chain consensus, the difference between the set of methods and the method shown in fig. 1-4 is only that the set of methods is performed by parallel chain nodes, and details are not repeated.
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 chain consensus 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 chain consensus 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 consensus method 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 (10)

1. A parallel chain consensus method, wherein a contract configured on a main chain for performing parallel chain consensus and a contract for updating a parallel chain account group are the same contract, the method being applied to a main chain node, the method comprising:
executing a number of parallel chain account group update transactions through the contract to update the parallel chain authorization account group of the first parallel chain:
and if the updating is successful, performing parallel chain consensus on the first parallel chain according to the updated parallel chain authorization account group.
2. The method of claim 1, wherein performing parallel chain consensus for the first parallel chain based on the updated set of parallel chain authorization accounts comprises:
judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
and if not, respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction of the first parallel chain block on the main chain to perform parallel chain consensus on the first parallel chain block.
3. The method of claim 1, wherein performing parallel chain consensus for the first parallel chain based on the updated set of parallel chain authorization accounts comprises:
respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction judgment of a first parallel chain block on a main chain, wherein whether the first parallel chain block meets the condition that parallel chain consensus is successful or not is judged:
if so, performing parallel chain consensus on the first parallel chain blocks according to each first consensus transaction.
4. The method of claim 1, wherein performing parallel chain consensus for the first parallel chain based on the updated set of parallel chain authorization accounts comprises:
judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
if not, respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction judgment of a first parallel chain block on the main chain, wherein the first parallel chain block meets the condition that parallel chain consensus is successful:
if so, performing parallel chain consensus on the first parallel chain blocks according to each first consensus transaction.
5. A parallel chain consensus method, wherein a contract configured on a parallel chain for performing parallel chain self-consensus and a contract for updating a parallel chain account group are the same contract, the method being applied to a parallel chain node, the method comprising:
executing a number of parallel chain account group update transactions through the contract to update a parallel chain authorization account group for a current parallel chain:
and if the updating is successful, performing parallel chain self-consensus on the current parallel chain according to the updated parallel chain authorization account group.
6. The method of claim 5, wherein performing parallel chain self-consensus on the current parallel chain according to the updated set of parallel chain authorization accounts comprises:
judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
and if not, respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction of the first parallel chain block on the parallel chain to perform parallel chain self-consensus on the first parallel chain block.
7. The method of claim 5, wherein performing parallel chain self-consensus on the current parallel chain according to the updated set of parallel chain authorization accounts comprises:
respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction judgment of a first parallel chain block on the parallel chain, wherein the first parallel chain block meets the condition that the parallel chain self-consensus is successful:
if so, performing parallel chain self-consensus on the first parallel chain blocks according to each first consensus transaction.
8. The method of claim 5, wherein performing parallel chain self-consensus on the current parallel chain according to the updated set of parallel chain authorization accounts comprises:
judging whether the number of the authorization accounts in the updated parallel chain authorization account group is increased compared with that before updating or not:
if not, respectively generating and successfully executing the contract according to each authorization account in the updated parallel chain authorization account group, and recording each first consensus transaction judgment of a first parallel chain block on the parallel chain, wherein the first parallel chain block meets the condition that the self consensus of the parallel chain is successful:
if so, performing parallel chain self-consensus on the first parallel chain blocks according to each first consensus transaction.
9. An apparatus, characterized in that the apparatus comprises:
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-8.
10. 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-8.
CN201910900297.XA 2019-09-23 2019-09-23 Parallel chain consensus method, device and storage medium Active CN110691122B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910900297.XA CN110691122B (en) 2019-09-23 2019-09-23 Parallel chain consensus method, device and storage medium
PCT/CN2020/106281 WO2021057259A1 (en) 2019-09-23 2020-07-31 Parallel chain consensus method and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910900297.XA CN110691122B (en) 2019-09-23 2019-09-23 Parallel chain consensus method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110691122A true CN110691122A (en) 2020-01-14
CN110691122B CN110691122B (en) 2022-04-05

Family

ID=69109974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910900297.XA Active CN110691122B (en) 2019-09-23 2019-09-23 Parallel chain consensus method, device and storage medium

Country Status (2)

Country Link
CN (1) CN110691122B (en)
WO (1) WO2021057259A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260476A (en) * 2020-02-19 2020-06-09 杭州复杂美科技有限公司 Parallel chain segment self-consensus method, equipment and storage medium
WO2021057259A1 (en) * 2019-09-23 2021-04-01 杭州复杂美科技有限公司 Parallel chain consensus method and device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626531A (en) * 2021-09-03 2021-11-09 杭州复杂美科技有限公司 Transaction packaging method, computer device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
CN109359956A (en) * 2018-09-12 2019-02-19 杭州复杂美科技有限公司 Contract configuration method, contract application method, equipment and storage medium
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition method, equipment and storage medium
WO2019072305A2 (en) * 2018-12-28 2019-04-18 Alibaba Group Holding Limited Parallel execution of transactions in a blockchain network based on smart contract whitelists
WO2019108358A1 (en) * 2017-11-28 2019-06-06 American Express Travel Related Services Company, Inc. Transaction authorization process using blockchain
CN110084601A (en) * 2019-04-30 2019-08-02 杭州复杂美科技有限公司 Parallel chain main chain stateful transaction synchronous method, equipment and storage medium
CN110113409A (en) * 2019-04-30 2019-08-09 杭州复杂美科技有限公司 Parallel chain authorization node configuration method, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10636033B2 (en) * 2016-02-22 2020-04-28 Bank Of America Corporation System for routing of process authorizations and settlement to a user in a process data network
US10713731B2 (en) * 2016-07-22 2020-07-14 Nec Corporation Method for secure ledger distribution and computer system using secure distributed ledger technology
CN109166037B (en) * 2018-07-25 2022-01-25 上海魅联信息技术有限公司 Consensus method of block chains
CN110691122B (en) * 2019-09-23 2022-04-05 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
WO2019108358A1 (en) * 2017-11-28 2019-06-06 American Express Travel Related Services Company, Inc. Transaction authorization process using blockchain
CN109359956A (en) * 2018-09-12 2019-02-19 杭州复杂美科技有限公司 Contract configuration method, contract application method, equipment and storage medium
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition method, equipment and storage medium
WO2019072305A2 (en) * 2018-12-28 2019-04-18 Alibaba Group Holding Limited Parallel execution of transactions in a blockchain network based on smart contract whitelists
CN110084601A (en) * 2019-04-30 2019-08-02 杭州复杂美科技有限公司 Parallel chain main chain stateful transaction synchronous method, equipment and storage medium
CN110113409A (en) * 2019-04-30 2019-08-09 杭州复杂美科技有限公司 Parallel chain authorization node configuration method, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057259A1 (en) * 2019-09-23 2021-04-01 杭州复杂美科技有限公司 Parallel chain consensus method and device, and storage medium
CN111260476A (en) * 2020-02-19 2020-06-09 杭州复杂美科技有限公司 Parallel chain segment self-consensus method, equipment and storage medium
CN111260476B (en) * 2020-02-19 2023-05-30 杭州复杂美科技有限公司 Parallel chain segment self-consensus method, device and storage medium

Also Published As

Publication number Publication date
CN110691122B (en) 2022-04-05
WO2021057259A1 (en) 2021-04-01

Similar Documents

Publication Publication Date Title
CN110691122B (en) Parallel chain consensus method, device and storage medium
US10579453B2 (en) Stream-processing data
CN110084601B (en) Parallel chain main chain transaction state synchronization method, equipment and storage medium
CN109831514B (en) Parallel chain consensus method, data exception handling method, device and storage medium
US8538930B2 (en) Method and system for database recovery
CN109558454B (en) Parallel chain mining consensus method, apparatus and storage medium
US20160313715A1 (en) Method, Device and Computer Program Product for Programming a Plurality of Control Units
CN110535933B (en) Parallel chain consensus method, device and storage medium
CN111338834B (en) Data storage method and device
CN110780945B (en) Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain
CN108984199B (en) Application function updating method and device and electronic equipment
CN107277108B (en) Method, device and system for processing messages at nodes of block chain
US11601326B1 (en) Problem detection and categorization for integration flows
US11886296B2 (en) Inhibiting recommendation of driver installations for drivers that are likely to cause a system failure
US8285775B2 (en) Expedited transaction failure handling by leveraging a reliable message transport protocol to assist detection of discarded processing
CN111698266B (en) Service node calling method, device, equipment and readable storage medium
CN114416807A (en) Data merging method, device and system for customer account
CN110795445A (en) Concurrent task processing method and device, server equipment and medium
CN107578289B (en) Method and system for settling accounts of machine + X products
CN113204597B (en) Method, equipment and storage medium for horizontal extension of block chain executor
CN117632858B (en) File format verification method, system, equipment and medium based on distributed network
CN114546705B (en) Operation response method, operation response device, electronic apparatus, and storage medium
CN113342499B (en) Distributed task calling method, device, equipment, storage medium and program product
CN112996026B (en) Double-backup upgrading method and system for wireless network equipment
CN113744055B (en) Cross-link message transmission method, device and storage medium

Legal Events

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