WO2024066665A1 - Snowman consensus-based consortium blockchain multi-chain system and interaction and deployment method therefor - Google Patents

Snowman consensus-based consortium blockchain multi-chain system and interaction and deployment method therefor Download PDF

Info

Publication number
WO2024066665A1
WO2024066665A1 PCT/CN2023/106860 CN2023106860W WO2024066665A1 WO 2024066665 A1 WO2024066665 A1 WO 2024066665A1 CN 2023106860 W CN2023106860 W CN 2023106860W WO 2024066665 A1 WO2024066665 A1 WO 2024066665A1
Authority
WO
WIPO (PCT)
Prior art keywords
chain
consensus
snowman
subnet
transactions
Prior art date
Application number
PCT/CN2023/106860
Other languages
French (fr)
Chinese (zh)
Inventor
陈炫慧
Original Assignee
上海万向区块链股份公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海万向区块链股份公司 filed Critical 上海万向区块链股份公司
Publication of WO2024066665A1 publication Critical patent/WO2024066665A1/en

Links

Classifications

    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/085Secret sharing or secret splitting, e.g. threshold schemes
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms

Definitions

  • the present invention relates to the field of blockchain, and in particular to a consortium chain multi-chain system based on Snowman consensus and an interaction and deployment method thereof.
  • Patent document CN107124460A discloses a consortium chain system, which includes: multiple accounting nodes, the multiple accounting nodes include a target accounting node and other accounting nodes, the remaining accounting nodes are accounting nodes other than the target accounting node among the multiple accounting nodes; the target accounting node is used to obtain transaction information sent by the transaction node, initiate consensus on the transaction information to the remaining accounting nodes, and if the consensus is successful, store the obtained transaction information in the corresponding block; wherein, at least two of the multiple accounting nodes correspond to enterprises with different geographical locations, and the multiple accounting nodes are in the same local area network.
  • the existing alliance chain has the disadvantage that it requires all nodes in the network to reach a consensus.
  • the purpose of the embodiments of the present invention is to provide a consortium chain multi-chain system based on Snowman consensus and its interaction and deployment method.
  • consortium chain multi-chain system based on Snowman consensus including:
  • Platform chain carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
  • Contract execution chain The subchain acts as a contract execution chain and is responsible for the execution of transactions
  • Subnet Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
  • Validator module exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
  • Snowman consensus module The consensus executed on the platform chain and contract execution chain includes Snowman consensus
  • Casper FFG finalization module Casper is executed after Snowman consensus is executed on the platform chain and contract chain FFG consensus finalizes the block.
  • subnets of the same validator set can forward and share data with each other.
  • users are allowed to customize the execution environment of the sub-chain, wherein the execution environment includes the consensus algorithm and encryption algorithm that the user needs to use.
  • each subnet is allowed to have multiple execution chains, allowing each execution chain to execute its own consensus protocol and encryption algorithm.
  • the Casper FFG finalization module after executing the Snowman consensus, a random portion of nodes in the network execute the Casper FFG consensus to finalize the blocks that reach the Snowman consensus threshold. After the finalized blocks reach the finalized state, they cannot be forked.
  • the Snowman consensus allows validators in the subnet to verify transactions in their own subnet without having to connect to all nodes in the main network, that is, they can verify transactions in the main network at the same time; using the subnet architecture, the subnet validators simultaneously participate in the Snowman consensus in the main network, wherein the main network includes a platform chain and a contract execution chain.
  • consortium chain multi-chain interaction method based on Snowman consensus interactive communication is performed based on the consortium chain multi-chain system based on Snowman consensus.
  • a multi-chain alliance chain deployment method based on Snowman consensus includes a deployment platform chain, a contract execution chain, a subnet, a validator module, a Snowman consensus module, and a Casper FFG finalization module;
  • Platform chain carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
  • Contract execution chain The subchain acts as a contract execution chain and is responsible for the execution of transactions
  • Subnet Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
  • Validator module exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
  • Snowman consensus module The consensus executed on the platform chain and contract execution chain includes Snowman consensus
  • Casper FFG finalization module After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
  • FIG1 is a schematic diagram showing the principle of the present invention.
  • Platform chain means platform chain
  • Execute chain represents the contract execution chain
  • subnet represents subnet
  • the present invention provides a consortium chain multi-chain system based on Snowman consensus, including: main network, subnet, verifier module, Snowman consensus module, Casper FFG finalization module.
  • the main network includes a platform chain and a contract execution chain.
  • Platform chain carries the metadata of the multi-chain network and is used to coordinate verification nodes and create subnets. To join the alliance chain multi-chain network, you need to send a transaction to the platform chain first.
  • the types of transactions can include: adding a subnet, registering a validator, etc.
  • Contract execution chain Each sub-chain is a contract execution chain. Users can customize the execution environment of the sub-chain, including the consensus algorithm and encryption algorithm they need to use.
  • Subnet A network consisting of a series of validators who work together to reach a consensus on a blockchain. Each blockchain can only be verified by one subnet, and validators on each subnet can verify multiple subnets.
  • Validator module exists in each subnet. The validators in the subnet verify the transactions, package the transactions on the chain, and finally reach a consensus.
  • Snowman consensus module Use the Snowman consensus protocol for consensus, the core module of the alliance chain multi-chain system architecture.
  • the platform chain and contract execution chain execute the Snowman consensus.
  • the validators of each subnet need to Only by joining the platform chain can you join the multi-chain architecture.
  • Snowman consensus is a consensus algorithm with a chain structure. Its characteristic is that it continuously converges the opinions of each node in the network through random sampling. When it converges to a certain threshold, it can be said that the entire system has reached a consensus. Since it is a consensus process of continuous sampling and inquiry, it only needs to reach a certain threshold in the end to consider that the transaction has been finalized. This process does not require all nodes in the network to reach a consensus on the same transaction.
  • nodes that want to join the multi-chain network architecture do not need to broadcast transactions to the entire network and connect all nodes in the network during the consensus process. They only need to connect some nodes to participate in the consensus process of a transaction.
  • Casper FFG Finalization Module Since the transaction can be considered finalized even if a certain threshold is reached after the Snowman consensus is executed, this finalized state is guaranteed probabilistically, that is, there is still a small probability that it will be modified. The random sampling in the Avalanche Protocol reaches a non-deterministic consensus, which will cause the chain system to fork. This tiny probability is very serious for the payment system. Therefore, after the Snowman consensus is executed, a random part of the nodes in the network will execute the Casper FFG consensus to finalize the blocks that reach the Snowman consensus threshold. The finalized blocks cannot be forked after reaching the finalized state. In other words, the present invention uses the Casper FFG algorithm to perform a block finalization process after passing the Snowman consensus.
  • the present invention adopts Snowman consensus.
  • Snowman consensus helps the subnet architecture in that it is beneficial for the verifier in the subnet to verify the transactions of its own subnet without connecting to all the nodes in the main network, and can simultaneously verify the transactions in the main network.
  • the present invention adopts the subnet architecture.
  • the subnet architecture helps Snowman consensus in that the verifier of the subnet will also participate in the Snowman consensus in the main network. More nodes in the subnet architecture participate in the main network Snowman consensus, which improves the security of the main network consensus.
  • the alliance chain multi-chain system based on Snowman consensus provided by the present invention has an architecture that is a complete architecture based on subnet expansion. As long as you register with the platform chain, you can register the subnet to join the multi-chain architecture.
  • the main network in the multi-chain architecture includes a platform chain and a contract execution chain for system operation. Each subchain joining the architecture only needs to register with the platform chain, and the verifier of the subnet also needs to register with the platform chain to join the multi-chain architecture. Subnets with the same set of verifiers can forward and share data with each other. That is, subnets with the same set of verifiers share security.
  • the Snowman consensus protocol is used, and each newly added validator needs to join the main network for consensus.
  • the Snowman-based consensus protocol will not reduce the consensus efficiency of transactions as the number of newly added nodes increases, which also This is one of the reasons why Snowman consensus is used.
  • the Snowman consensus protocol solves the problem that the consensus used by most consortium chains usually requires all nodes to verify the same transaction, which leads to the problem that when there are a large number of distributed nodes, redundant verification and transaction forwarding will greatly affect the transaction throughput and transaction propagation performance in the network.
  • Using the Snowman consensus in the Avalanche protocol combined with the practicality of the consortium chain multi-chain, can achieve unlimited TPS expansion and customize sub-chains that meet the needs of users.
  • the validator module is mainly responsible for verifying transactions between each subchain and the main network.
  • Each validator can join multiple subnets.
  • Each subnet with the same validator can communicate with each other and share the security of the network.
  • the subnet part can also impose certain restrictions on the addition of subnets, for example, each subnet added requires a certain number of points to be pledged on the platform chain. This can effectively limit the number of subnets, allowing validators to stably maintain certain specific subchains, not to do evil at will, and promote the healthy development of the multi-chain network.
  • the main network in the system framework includes a platform chain and a contract execution chain.
  • the platform chain mainly manages each subnet and verifier, and the contract execution chain is mainly responsible for the execution of transactions.
  • Each subnet can have multiple execution chains, each execution chain can execute its own consensus protocol and encryption algorithm, and can customize the corresponding requirements.
  • Each verifier can choose to join multiple subnets, so that multiple subnets based on the same verifier can achieve shared security.
  • the multi-chain-based architecture can add subnets at any time, so it can theoretically achieve unlimited system throughput TPS, which horizontally expands the transaction throughput of the entire blockchain system.
  • the platform chain uses the Snowman consensus protocol for transaction consensus.
  • This consensus protocol is that the transaction does not require all nodes in the network to verify, and only a part of the nodes need to verify the transaction.
  • the newly added verifier only needs to connect to some nodes in the platform chain to become the verifier of the platform chain, and the consensus transaction only requires a part of the nodes to pass the verification. It does not need to be verified by all nodes in the network like PoW consensus or most other consensus protocols. Similarly, it is also more convenient for validators to verify multiple different chains.
  • the present invention enables validators to better join the platform chain without consuming too many resources of the validator on the verification of the platform chain.
  • the present invention makes full use of the multi-chain and multi-subnet architecture, fully expands the functions of the subnet, and improves the overall efficiency of the network.
  • the present invention can extend the transaction processing rate of the alliance chain, and the security of the system can be improved while multiple subnets share security.
  • the subchain can be customized to customize the business scenarios required by users and enrich the functions of the multi-chain system.
  • the present invention can expand the current phenomenon of low performance of a single alliance chain, and the subchain can customize the rules of the network to make the chain more suitable for its own business. For example, some assets can only be traded by people in certain countries, Similarly, you can also make the nodes on your network accessible only to devices in certain countries, or use other restrictions to build your own blockchain, which can enrich the functions of the multi-chain architecture while improving performance.
  • system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
  • a consortium chain multi-chain interaction method based on Snowman consensus is also provided, and interactive communication is performed based on the consortium chain multi-chain system based on Snowman consensus.
  • a multi-chain alliance chain deployment method based on Snowman consensus including a deployment platform chain, a contract execution chain, a subnet, a validator module, a Snowman consensus module, and a Casper FFG finalization module;
  • Platform chain carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
  • Contract execution chain The subchain acts as a contract execution chain and is responsible for the execution of transactions
  • Subnet Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
  • Validator module exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
  • Snowman consensus module The consensus executed on the platform chain and contract execution chain includes Snowman consensus
  • Casper FFG finalization module After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
  • the present invention has the following beneficial effects:
  • the present invention uses Snowman consensus to verify a transaction. It does not require all nodes in the network to reach a consensus, but only requires some nodes to pass the verification. The network will not reduce the efficiency of verification due to the increase in the number of nodes. Based on the Snowman consensus protocol, a verifier can join multiple different subnets, so that shared security can be achieved between each subnet.
  • Snowman consensus and subnet architecture complement each other, which is beneficial for the validators in the subnet to verify the transactions of their own subnet without connecting to all nodes in the main network. They can verify the transactions in the main network at the same time. In addition, more nodes in the subnet architecture participate in the main network Snowman consensus, which improves the security of the main network consensus.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

A Snowman consensus-based consortium blockchain multi-chain system and an interaction and deployment method therefor. The system comprises a platform chain and a contract execution chain of a mainnet, and further comprises subnets, a verifier module, and a Snowman consensus module. he system uses Snowman consensus to verify a transaction, which does not require all nodes in the network to reach a consensus, and only part of the nodes need to pass verification. The network will not reduce the efficiency of verification due to the increase in the number of nodes. On the basis of the Snowman consensus protocol, a verifier can access a plurality of different subnets, so that shared security can be achieved among the subs; and blockchains can be customized according to user needs, so that while the number of chains are expanded horizontally, a TPS of the whole consortium blockchain system architecture is infinitely expanded.

Description

基于Snowman共识的联盟链多链系统及其交互与部署方法Alliance chain multi-chain system based on Snowman consensus and its interaction and deployment method 技术领域Technical Field
本发明涉及区块链领域,具体地,涉及基于Snowman共识的联盟链多链系统及其交互与部署方法。The present invention relates to the field of blockchain, and in particular to a consortium chain multi-chain system based on Snowman consensus and an interaction and deployment method thereof.
背景技术Background technique
专利文献CN107124460A公开了一种联盟链系统,该系统包括:多个记账节点,所述多个记账节点包括目标记账节点和其余记账节点,所述其余记账节点为多个记账节点中除所述目标记账节点以外的记账节点;所述目标记账节点,用于获取交易节点发送的交易信息,将所述交易信息对所述其余记账节点发起共识,若所述共识成功,将获取的交易信息存储到对应的区块中;其中,所述多个记账节点中至少有两个记账节点对应的企业的地理位置不同,所述多个记账节点处于同一局域网内。Patent document CN107124460A discloses a consortium chain system, which includes: multiple accounting nodes, the multiple accounting nodes include a target accounting node and other accounting nodes, the remaining accounting nodes are accounting nodes other than the target accounting node among the multiple accounting nodes; the target accounting node is used to obtain transaction information sent by the transaction node, initiate consensus on the transaction information to the remaining accounting nodes, and if the consensus is successful, store the obtained transaction information in the corresponding block; wherein, at least two of the multiple accounting nodes correspond to enterprises with different geographical locations, and the multiple accounting nodes are in the same local area network.
现有技术中的联盟链存在需要网络中所有节点达成共识的不足之处。The existing alliance chain has the disadvantage that it requires all nodes in the network to reach a consensus.
发明内容Summary of the invention
针对现有技术中的缺陷,本发明的实施例的目的是提供一种基于Snowman共识的联盟链多链系统及其交互与部署方法。In view of the defects in the prior art, the purpose of the embodiments of the present invention is to provide a consortium chain multi-chain system based on Snowman consensus and its interaction and deployment method.
根据本发明的实施例提供的一种基于Snowman共识的联盟链多链系统,包括:According to an embodiment of the present invention, a consortium chain multi-chain system based on Snowman consensus is provided, including:
平台链:承载联盟链多链网络的元数据,针对接收到用户的交易,协调验证节点和创建子网,其中,所述交易包括注册子网和/或注册子网的验证者;Platform chain: carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
合约执行链:子链作为合约执行链负责交易的执行;Contract execution chain: The subchain acts as a contract execution chain and is responsible for the execution of transactions;
子网:每一条区块链只能由一个子网进行验证,并且允许每个子网上的验证者验证多个子网;Subnet: Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
验证者模块:存在于每个子网中,子网中的验证者通过对用户的交易进行验证,将交易打包上链,达成共识;Validator module: exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
Snowman共识模块:所述平台链、合约执行链上执行的共识包括Snowman共识;Snowman consensus module: The consensus executed on the platform chain and contract execution chain includes Snowman consensus;
Casper FFG敲定模块:所述平台链、合约链上执行Snowman共识后执行Casper  FFG共识敲定区块。Casper FFG finalization module: Casper is executed after Snowman consensus is executed on the platform chain and contract chain FFG consensus finalizes the block.
进一步地,用户只要向平台链注册,即能够注册子网加入联盟链多链网络。Furthermore, as long as users register with the platform chain, they can register a subnet and join the alliance chain multi-chain network.
进一步地,同一个验证者集合的子网之间能够相互进行数据转发,数据共享。Furthermore, subnets of the same validator set can forward and share data with each other.
进一步地,注册子网的用户需要在平台链上质押积分。Furthermore, users who register for the subnet need to pledge points on the platform chain.
进一步地,允许用户自定义子链的执行环境,其中,所述执行环境包括用户所需要使用的共识算法和加密算法。Furthermore, users are allowed to customize the execution environment of the sub-chain, wherein the execution environment includes the consensus algorithm and encryption algorithm that the user needs to use.
进一步地,允许每个子网拥有多个执行链,允许每个执行链执行自己的共识协议和加密算法。Furthermore, each subnet is allowed to have multiple execution chains, allowing each execution chain to execute its own consensus protocol and encryption algorithm.
进一步地,在所述Casper FFG敲定模块,在执行完Snowman共识之后,于网络中随机的一部分节点执行Casper FFG共识对达到Snowman共识阈值的区块进行敲定,被敲定的区块达到敲定状态后将不能被分叉。Furthermore, in the Casper FFG finalization module, after executing the Snowman consensus, a random portion of nodes in the network execute the Casper FFG consensus to finalize the blocks that reach the Snowman consensus threshold. After the finalized blocks reach the finalized state, they cannot be forked.
进一步地,利用Snowman共识提供子网中的验证者在验证自己子网的交易时,不需要连接主网中所有的节点,即能够同时验证主网中的交易;利用子网的架构,子网的验证者同时参加主网中的Snowman共识,其中,所述主网包括平台链、合约执行链。Furthermore, the Snowman consensus allows validators in the subnet to verify transactions in their own subnet without having to connect to all nodes in the main network, that is, they can verify transactions in the main network at the same time; using the subnet architecture, the subnet validators simultaneously participate in the Snowman consensus in the main network, wherein the main network includes a platform chain and a contract execution chain.
根据本发明提供的一种基于Snowman共识的联盟链多链交互方法,基于所述的基于Snowman共识的联盟链多链系统进行交互通信。According to a consortium chain multi-chain interaction method based on Snowman consensus provided by the present invention, interactive communication is performed based on the consortium chain multi-chain system based on Snowman consensus.
根据本发明提供的一种基于Snowman共识的联盟链多链部署方法,包括部署平台链、合约执行链、子网、验证者模块、Snowman共识模块、Casper FFG敲定模块;A multi-chain alliance chain deployment method based on Snowman consensus provided by the present invention includes a deployment platform chain, a contract execution chain, a subnet, a validator module, a Snowman consensus module, and a Casper FFG finalization module;
平台链:承载联盟链多链网络的元数据,针对接收到用户的交易,协调验证节点和创建子网,其中,所述交易包括注册子网和/或注册子网的验证者;Platform chain: carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
合约执行链:子链作为合约执行链负责交易的执行;Contract execution chain: The subchain acts as a contract execution chain and is responsible for the execution of transactions;
子网:每一条区块链只能由一个子网进行验证,并且允许每个子网上的验证者验证多个子网;Subnet: Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
验证者模块:存在于每个子网中,子网中的验证者通过对用户的交易进行验证,将交易打包上链,达成共识;Validator module: exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
Snowman共识模块:所述平台链、合约执行链上执行的共识包括Snowman共识;Snowman consensus module: The consensus executed on the platform chain and contract execution chain includes Snowman consensus;
Casper FFG敲定模块:所述平台链、合约链上执行Snowman共识后执行Casper FFG共识敲定区块。 Casper FFG finalization module: After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为本发明的原理示意图。FIG1 is a schematic diagram showing the principle of the present invention.
Platform chain表示平台链;Platform chain means platform chain;
Execute chain表示合约执行链;Execute chain represents the contract execution chain;
subchain表示子链subchain means subchain
subnet表示子网subnet represents subnet
具体实施方式Detailed ways
下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变化和改进。这些都属于本发明的保护范围。The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
如图1所示,本发明提供一种基于Snowman共识的联盟链多链系统,包括:主网、子网、验证者模块、Snowman共识模块、Casper FFG敲定模块。主网包括平台链、合约执行链。As shown in Figure 1, the present invention provides a consortium chain multi-chain system based on Snowman consensus, including: main network, subnet, verifier module, Snowman consensus module, Casper FFG finalization module. The main network includes a platform chain and a contract execution chain.
平台链:承载多链网络的元数据,并用于协调验证节点和创建子网。想要加入联盟链多链网络,需要先向平台链发送交易。交易的类型可以包括:添加子网、注册验证者等。Platform chain: carries the metadata of the multi-chain network and is used to coordinate verification nodes and create subnets. To join the alliance chain multi-chain network, you need to send a transaction to the platform chain first. The types of transactions can include: adding a subnet, registering a validator, etc.
合约执行链:每一条子链都是一条合约执行链,用户可以自定义子链的执行环境,包括其所需要使用的共识算法和加密算法等。Contract execution chain: Each sub-chain is a contract execution chain. Users can customize the execution environment of the sub-chain, including the consensus algorithm and encryption algorithm they need to use.
子网:由一系列为了达成区块链共识的验证者组成的网络,每一条区块链只能由一个子网进行验证,并且每个子网上的验证者可以验证多个子网。Subnet: A network consisting of a series of validators who work together to reach a consensus on a blockchain. Each blockchain can only be verified by one subnet, and validators on each subnet can verify multiple subnets.
验证者模块:存在于每个子网中,子网中的验证者通过对交易进行验证,将交易打包上链,最后达成共识。Validator module: exists in each subnet. The validators in the subnet verify the transactions, package the transactions on the chain, and finally reach a consensus.
Snowman共识模块:使用Snowman共识协议进行共识,联盟链多链系统架构的核心模块,所述平台链、合约执行链上执行的是Snowman共识,每个子网的验证者都需要先 加入所述平台链才能加入多链架构。Snowman共识是一种链式结构的共识算法,其特点是通过随机采样的方式不断收敛网络中各个节点的意见,当收敛到一定的阈值时,可以称整个系统达到了共识。由于其是不断采样和询问的共识过程,最后只需要达到一定的阈值即可认为该交易被最终确定了,这个过程不需要网络中所有节点对同一笔交易达成共识,只需要网络中的一部分节点对该交易达成共识,即可让该笔交易达到最终被确认的状态。基于此,想要加入多链网络架构的节点在共识的过程中不需要广播交易到全网,连接网络中的所有节点,只需要连接部分节点,即可参与一笔交易的共识过程。Snowman consensus module: Use the Snowman consensus protocol for consensus, the core module of the alliance chain multi-chain system architecture. The platform chain and contract execution chain execute the Snowman consensus. The validators of each subnet need to Only by joining the platform chain can you join the multi-chain architecture. Snowman consensus is a consensus algorithm with a chain structure. Its characteristic is that it continuously converges the opinions of each node in the network through random sampling. When it converges to a certain threshold, it can be said that the entire system has reached a consensus. Since it is a consensus process of continuous sampling and inquiry, it only needs to reach a certain threshold in the end to consider that the transaction has been finalized. This process does not require all nodes in the network to reach a consensus on the same transaction. Only a part of the nodes in the network need to reach a consensus on the transaction to allow the transaction to reach the final confirmed state. Based on this, nodes that want to join the multi-chain network architecture do not need to broadcast transactions to the entire network and connect all nodes in the network during the consensus process. They only need to connect some nodes to participate in the consensus process of a transaction.
Casper FFG敲定模块:由于Snowman共识执行后即使达到一定的阈值,可认为该交易被最终确定,但这个最终确定的状态是概率性保证的,即还有一个很小的概率会被修改,雪崩协议中的随机抽样达到的是非确定性共识,会导致链系统分叉,这个微小的概率对于支付系统来说是非常严重的。因此在执行完Snowman共识之后网络中随机的一部分节点将执行Casper FFG共识对达到Snowman共识阈值的区块进行敲定,被敲定的区块达到敲定状态后将不能被分叉。也就是说,本发明在通过Snowman共识之后再使用Casper FFG算法进行一次区块敲定的过程。Casper FFG Finalization Module: Since the transaction can be considered finalized even if a certain threshold is reached after the Snowman consensus is executed, this finalized state is guaranteed probabilistically, that is, there is still a small probability that it will be modified. The random sampling in the Avalanche Protocol reaches a non-deterministic consensus, which will cause the chain system to fork. This tiny probability is very serious for the payment system. Therefore, after the Snowman consensus is executed, a random part of the nodes in the network will execute the Casper FFG consensus to finalize the blocks that reach the Snowman consensus threshold. The finalized blocks cannot be forked after reaching the finalized state. In other words, the present invention uses the Casper FFG algorithm to perform a block finalization process after passing the Snowman consensus.
进一步地,本发明采用Snowman共识,除了发挥只需要一部分节点验证通过即可的作用之外,Snowman共识对于子网的架构的帮助是:有利于子网中的验证者在验证自己子网的交易时,不需要连接主网中所有的节点,即可同时验证主网中的交易。与此同时,本发明采用子网的架构,除了发挥允许用户定制和随意扩展的作用之外,子网的架构对于Snowman共识的帮助是:子网的验证者将同时会参加主网中的Snowman共识,子网架构中更多的节点参加主网snowman共识提高了主网共识的安全性。Furthermore, the present invention adopts Snowman consensus. In addition to the role of only requiring a part of the nodes to pass the verification, Snowman consensus helps the subnet architecture in that it is beneficial for the verifier in the subnet to verify the transactions of its own subnet without connecting to all the nodes in the main network, and can simultaneously verify the transactions in the main network. At the same time, the present invention adopts the subnet architecture. In addition to the role of allowing users to customize and expand at will, the subnet architecture helps Snowman consensus in that the verifier of the subnet will also participate in the Snowman consensus in the main network. More nodes in the subnet architecture participate in the main network Snowman consensus, which improves the security of the main network consensus.
下面对本发明进行更为具体地说明。The present invention will be described in more detail below.
本发明提供的所述基于Snowman共识的联盟链多链系统,其架构是基于子网进行扩展的一个完整架构,只要向平台链注册,即可注册子网加入多链架构。多链架构中的主网包括平台链和一条系统运行的合约执行链,每个加入架构的子链只需要向平台链注册,并且该子网的验证者也需要向平台链注册,即可加入多链架构。同一个验证者集合的子网之间可以相互进行数据转发,数据共享。即拥有相同验证者集合的子网之间共享安全。The alliance chain multi-chain system based on Snowman consensus provided by the present invention has an architecture that is a complete architecture based on subnet expansion. As long as you register with the platform chain, you can register the subnet to join the multi-chain architecture. The main network in the multi-chain architecture includes a platform chain and a contract execution chain for system operation. Each subchain joining the architecture only needs to register with the platform chain, and the verifier of the subnet also needs to register with the platform chain to join the multi-chain architecture. Subnets with the same set of verifiers can forward and share data with each other. That is, subnets with the same set of verifiers share security.
同时,在主网中,使用Snowman共识协议,每个新加入的验证者都需要加主网进行共识。基于Snowman的共识协议不会随着新加节点的增多而降低交易的共识效率,这也 是为什么使用Snowman共识的原因之一。使用Snowman共识协议解决了大部分联盟链使用的共识通常需要所有节点验证同一笔交易,导致当存在大量的分布式节点时,冗余的验证及交易的转发将极大影响交易的吞吐量及网络中交易传播性能的问题。使用雪崩协议中的Snowman共识,结合联盟链多链的实用性,可以实现无限扩展的TPS和为用户定制符合自己需求的子链。At the same time, in the main network, the Snowman consensus protocol is used, and each newly added validator needs to join the main network for consensus. The Snowman-based consensus protocol will not reduce the consensus efficiency of transactions as the number of newly added nodes increases, which also This is one of the reasons why Snowman consensus is used. The Snowman consensus protocol solves the problem that the consensus used by most consortium chains usually requires all nodes to verify the same transaction, which leads to the problem that when there are a large number of distributed nodes, redundant verification and transaction forwarding will greatly affect the transaction throughput and transaction propagation performance in the network. Using the Snowman consensus in the Avalanche protocol, combined with the practicality of the consortium chain multi-chain, can achieve unlimited TPS expansion and customize sub-chains that meet the needs of users.
验证者模块主要负责验证各个子链和主网的交易,每个验证者可以加入多个子网,每个拥有相同验证者的子网之间可以相互通信,共享网络的安全。The validator module is mainly responsible for verifying transactions between each subchain and the main network. Each validator can join multiple subnets. Each subnet with the same validator can communicate with each other and share the security of the network.
所述子网部分还可以对子网的添加进行一定的限制,例如每添加一个子网需要在平台链上质押一定数量的积分。这样可以有效的限制子网的数量,使验证者可以稳定维护某几个特定的子链,不能随意作恶,促进多链结构的网络健康发展。The subnet part can also impose certain restrictions on the addition of subnets, for example, each subnet added requires a certain number of points to be pledged on the platform chain. This can effectively limit the number of subnets, allowing validators to stably maintain certain specific subchains, not to do evil at will, and promote the healthy development of the multi-chain network.
相比于传统的单链框架,本发明创新了一个多链架构,系统框架中的主网包括平台链和合约执行链,平台链主要管理各个子网和验证者,合约执行链主要负责交易的执行。每个子网可以拥有多个执行链,每个执行链可以执行自己的共识协议和加密算法,可以定制相应的需求,每个验证者可以选择加入多个子网,这样多个基于同一个验证者的子网之间即可实现共享安全,并且基于多链的架构由于可以随时增加子网,因此理论上可以实现无限高的系统吞吐量TPS,横向扩展了整个区块链系统的交易吞吐量。同时,为了方便验证者加入平台链,平台链使用Snowman共识协议进行交易共识,使用该共识协议的特点是交易不需要网络中所有节点都进行验证,只需要一部分节点验证交易即可。这样新加入的验证者只需要连接平台链中的部分节点,即可成为平台链的验证者,并且共识一笔交易只需要一部分的节点通过验证即可。而不需要像PoW共识或者其它大部分的共识协议一笔交易需要网络中的所有节点验证通过。同理,这样还能更方便验证者验证多个不同的链,使用基于Snowman的多链系统架构可以基于用户需求定制自己的链,实现多个子网之间的共享安全,同时还能无限扩展TPS。本发明使验证者能够更好的加入平台链,并且不用消耗验证者过多的资源在平台链的验证上。本发明充分利用多链多子网的架构,充分扩展子网的功能,提升网络的整体效率。Compared with the traditional single-chain framework, the present invention innovates a multi-chain architecture. The main network in the system framework includes a platform chain and a contract execution chain. The platform chain mainly manages each subnet and verifier, and the contract execution chain is mainly responsible for the execution of transactions. Each subnet can have multiple execution chains, each execution chain can execute its own consensus protocol and encryption algorithm, and can customize the corresponding requirements. Each verifier can choose to join multiple subnets, so that multiple subnets based on the same verifier can achieve shared security. In addition, the multi-chain-based architecture can add subnets at any time, so it can theoretically achieve unlimited system throughput TPS, which horizontally expands the transaction throughput of the entire blockchain system. At the same time, in order to facilitate the verifier to join the platform chain, the platform chain uses the Snowman consensus protocol for transaction consensus. The feature of using this consensus protocol is that the transaction does not require all nodes in the network to verify, and only a part of the nodes need to verify the transaction. In this way, the newly added verifier only needs to connect to some nodes in the platform chain to become the verifier of the platform chain, and the consensus transaction only requires a part of the nodes to pass the verification. It does not need to be verified by all nodes in the network like PoW consensus or most other consensus protocols. Similarly, it is also more convenient for validators to verify multiple different chains. Using the multi-chain system architecture based on Snowman, you can customize your own chain based on user needs, achieve shared security between multiple subnets, and expand TPS infinitely. The present invention enables validators to better join the platform chain without consuming too many resources of the validator on the verification of the platform chain. The present invention makes full use of the multi-chain and multi-subnet architecture, fully expands the functions of the subnet, and improves the overall efficiency of the network.
本发明可以扩展联盟链的交易处理速率,多个子网之间共享安全的同时可以提高系统的安全性。同时,子链可定制化能够为用户定制化其所需要的业务场景,并丰富多链系统的功能。本发明可以扩展当前单条联盟链性能低的现象,同时子链可以自定义网络的规则,从而让这条链更适合自己的业务。比如某些资产只能由某些国家的人进行交易, 同样的,也可以让自己网络上的节点只能由某些国家的设备接入,或者采用其他一些限制来打造自己的区块链。在提高性能的同时能够丰富多链架构的功能。The present invention can extend the transaction processing rate of the alliance chain, and the security of the system can be improved while multiple subnets share security. At the same time, the subchain can be customized to customize the business scenarios required by users and enrich the functions of the multi-chain system. The present invention can expand the current phenomenon of low performance of a single alliance chain, and the subchain can customize the rules of the network to make the chain more suitable for its own business. For example, some assets can only be traded by people in certain countries, Similarly, you can also make the nodes on your network accessible only to devices in certain countries, or use other restrictions to build your own blockchain, which can enrich the functions of the multi-chain architecture while improving performance.
本领域技术人员知道,除了以纯计算机可读程序代码方式实现本发明提供的系统、装置及其各个模块以外,完全可以通过将方法步骤进行逻辑编程来使得本发明提供的系统、装置及其各个模块以逻辑门、开关、专用集成电路、可编程逻辑控制器以及嵌入式微控制器等的形式来实现相同程序。所以,本发明提供的系统、装置及其各个模块可以被认为是一种硬件部件,而对其内包括的用于实现各种程序的模块也可以视为硬件部件内的结构;也可以将用于实现各种功能的模块视为既可以是实现方法的软件程序又可以是硬件部件内的结构。Those skilled in the art know that, in addition to implementing the system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
根据本发明还提供一种基于Snowman共识的联盟链多链交互方法,基于所述的基于Snowman共识的联盟链多链系统进行交互通信。According to the present invention, a consortium chain multi-chain interaction method based on Snowman consensus is also provided, and interactive communication is performed based on the consortium chain multi-chain system based on Snowman consensus.
根据本发明还提供一种基于Snowman共识的联盟链多链部署方法,包括部署平台链、合约执行链、子网、验证者模块、Snowman共识模块、Casper FFG敲定模块;According to the present invention, a multi-chain alliance chain deployment method based on Snowman consensus is also provided, including a deployment platform chain, a contract execution chain, a subnet, a validator module, a Snowman consensus module, and a Casper FFG finalization module;
平台链:承载联盟链多链网络的元数据,针对接收到用户的交易,协调验证节点和创建子网,其中,所述交易包括注册子网和/或注册子网的验证者;Platform chain: carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
合约执行链:子链作为合约执行链负责交易的执行;Contract execution chain: The subchain acts as a contract execution chain and is responsible for the execution of transactions;
子网:每一条区块链只能由一个子网进行验证,并且允许每个子网上的验证者验证多个子网;Subnet: Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
验证者模块:存在于每个子网中,子网中的验证者通过对用户的交易进行验证,将交易打包上链,达成共识;Validator module: exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
Snowman共识模块:所述平台链、合约执行链上执行的共识包括Snowman共识;Snowman consensus module: The consensus executed on the platform chain and contract execution chain includes Snowman consensus;
Casper FFG敲定模块:所述平台链、合约链上执行Snowman共识后执行Casper FFG共识敲定区块。Casper FFG finalization module: After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
与现有技术相比,本发明具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1、本发明使用Snowman共识验证一笔交易,不需要网络中所有节点达成共识,只需要一部分节点验证通过即可。网络不会因为节点数量的增长而降低验证的效率。基于Snowman的共识协议,一个验证着可以加入多个不同的子网,使各个子网之间能够实现共享安全。 1. The present invention uses Snowman consensus to verify a transaction. It does not require all nodes in the network to reach a consensus, but only requires some nodes to pass the verification. The network will not reduce the efficiency of verification due to the increase in the number of nodes. Based on the Snowman consensus protocol, a verifier can join multiple different subnets, so that shared security can be achieved between each subnet.
2、在如今的联盟链系统架构中创新了多链多子网的框架。平台链管理多个子网和验证者,基于多链多子网的架构,在多个子网实现共享安全的同时,还可根据用户需求定制化自己的区块链,横向扩展链个数的同时,无限扩展了整个联盟链系统架构的TPS。2. In today’s alliance chain system architecture, a multi-chain and multi-subnet framework has been innovated. The platform chain manages multiple subnets and validators. Based on the multi-chain and multi-subnet architecture, while multiple subnets achieve shared security, it can also customize its own blockchain according to user needs, while horizontally expanding the number of chains, and infinitely expanding the TPS of the entire alliance chain system architecture.
3、在平台链、合约链上执行Snowman共识后执行Casper FFG共识敲定区块,避免链系统分叉以适用于支付场景。3. After executing Snowman consensus on the platform chain and contract chain, execute Casper FFG consensus to finalize the block to avoid chain system forks to suit payment scenarios.
4、Snowman共识与子网架构相辅相成,有利于子网中的验证者在验证自己子网的交易时,不需要连接主网中所有的节点,即可同时验证主网中的交易,且子网架构中更多的节点参加主网snowman共识提高了主网共识的安全性。4. Snowman consensus and subnet architecture complement each other, which is beneficial for the validators in the subnet to verify the transactions of their own subnet without connecting to all nodes in the main network. They can verify the transactions in the main network at the same time. In addition, more nodes in the subnet architecture participate in the main network Snowman consensus, which improves the security of the main network consensus.
对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变化或修改,这并不影响本发明的实质内容。在不冲突的情况下,本申请的实施例和实施例中的特征可以任意相互组合。 The specific embodiments of the present invention are described. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims (10)

  1. 一种基于Snowman共识的联盟链多链系统,其特征在于,包括:A consortium chain multi-chain system based on Snowman consensus, characterized by comprising:
    平台链:承载联盟链多链网络的元数据,针对接收到用户的交易,协调验证节点和创建子网,其中,所述交易包括注册子网和/或注册子网的验证者;Platform chain: carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
    合约执行链:子链作为合约执行链负责交易的执行;Contract execution chain: The subchain acts as a contract execution chain and is responsible for the execution of transactions;
    子网:每一条区块链只能由一个子网进行验证,并且允许每个子网上的验证者验证多个子网;Subnet: Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
    验证者模块:存在于每个子网中,子网中的验证者通过对用户的交易进行验证,将交易打包上链,达成共识;Validator module: exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
    Snowman共识模块:所述平台链、合约执行链上执行的共识包括Snowman共识;Snowman consensus module: The consensus executed on the platform chain and contract execution chain includes Snowman consensus;
    Casper FFG敲定模块:所述平台链、合约链上执行Snowman共识后执行Casper FFG共识敲定区块。Casper FFG finalization module: After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
  2. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,用户只要向平台链注册,即能够注册子网加入联盟链多链网络。The alliance chain multi-chain system based on Snowman consensus according to claim 1 is characterized in that users can register a subnet to join the alliance chain multi-chain network as long as they register with the platform chain.
  3. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,同一个验证者集合的子网之间能够相互进行数据转发,数据共享。The Snowman consensus-based alliance chain multi-chain system according to claim 1 is characterized in that subnets of the same validator set can forward and share data with each other.
  4. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,注册子网的用户需要在平台链上质押积分。The Snowman consensus-based alliance chain multi-chain system according to claim 1 is characterized in that users who register for a subnet need to pledge points on the platform chain.
  5. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,允许用户自定义子链的执行环境,其中,所述执行环境包括用户所需要使用的共识算法和加密算法。The Snowman consensus-based alliance chain multi-chain system according to claim 1 is characterized in that users are allowed to customize the execution environment of the sub-chain, wherein the execution environment includes the consensus algorithm and encryption algorithm that the user needs to use.
  6. 根据权利要求5所述的基于Snowman共识的联盟链多链系统,其特征在于,允许每个子网拥有多个执行链,允许每个执行链执行自己的共识协议和加密算法。The Snowman consensus-based alliance chain multi-chain system according to claim 5 is characterized in that each subnet is allowed to have multiple execution chains, and each execution chain is allowed to execute its own consensus protocol and encryption algorithm.
  7. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,在所述Casper FFG敲定模块,在执行完Snowman共识之后,于网络中随机的一部分节点执行Casper FFG共识对达到Snowman共识阈值的区块进行敲定,被敲定的区块达到敲定状态后将不能被分叉。According to the Snowman consensus-based consortium chain multi-chain system of claim 1, it is characterized in that, in the Casper FFG finalization module, after executing the Snowman consensus, a random part of the nodes in the network executes the Casper FFG consensus to finalize the blocks that reach the Snowman consensus threshold, and the finalized blocks cannot be forked after reaching the finalized state.
  8. 根据权利要求1所述的基于Snowman共识的联盟链多链系统,其特征在于,利用Snowman共识提供子网中的验证者在验证自己子网的交易时,不需要连接主网中所有的 节点,即能够同时验证主网中的交易;利用子网的架构,子网的验证者同时参加主网中的Snowman共识,其中,所述主网包括平台链、合约执行链。The Snowman consensus-based alliance chain multi-chain system according to claim 1 is characterized in that the Snowman consensus is used to provide that the verifier in the subnet does not need to connect to all the main network when verifying the transaction of its own subnet. Nodes are able to simultaneously verify transactions in the main network. Using the subnet architecture, subnet validators simultaneously participate in the Snowman consensus in the main network, where the main network includes a platform chain and a contract execution chain.
  9. 一种基于Snowman共识的联盟链多链交互方法,其特征在于,基于权利要求1至8中任一项所述的基于Snowman共识的联盟链多链系统进行交互通信。A consortium chain multi-chain interaction method based on Snowman consensus, characterized in that interactive communication is performed based on the consortium chain multi-chain system based on Snowman consensus described in any one of claims 1 to 8.
  10. 一种基于Snowman共识的联盟链多链部署方法,其特征在于,包括部署平台链、合约执行链、子网、验证者模块、Snowman共识模块、Casper FFG敲定模块;A multi-chain deployment method of a consortium chain based on Snowman consensus, characterized by comprising a deployment platform chain, a contract execution chain, a subnet, a validator module, a Snowman consensus module, and a Casper FFG finalization module;
    平台链:承载联盟链多链网络的元数据,针对接收到用户的交易,协调验证节点和创建子网,其中,所述交易包括注册子网和/或注册子网的验证者;Platform chain: carries the metadata of the alliance chain multi-chain network, coordinates verification nodes and creates subnets for transactions received from users, where the transactions include registering subnets and/or registering subnet verifiers;
    合约执行链:子链作为合约执行链负责交易的执行;Contract execution chain: The subchain acts as a contract execution chain and is responsible for the execution of transactions;
    子网:每一条区块链只能由一个子网进行验证,并且允许每个子网上的验证者验证多个子网;Subnet: Each blockchain can only be verified by one subnet, and validators on each subnet are allowed to verify multiple subnets;
    验证者模块:存在于每个子网中,子网中的验证者通过对用户的交易进行验证,将交易打包上链,达成共识;Validator module: exists in each subnet. The validators in the subnet verify the user's transactions, package the transactions on the chain, and reach a consensus;
    Snowman共识模块:所述平台链、合约执行链上执行的共识包括Snowman共识;Snowman consensus module: The consensus executed on the platform chain and contract execution chain includes Snowman consensus;
    Casper FFG敲定模块:所述平台链、合约链上执行Snowman共识后执行Casper FFG共识敲定区块。 Casper FFG finalization module: After executing Snowman consensus on the platform chain and contract chain, Casper FFG consensus is executed to finalize the block.
PCT/CN2023/106860 2022-09-29 2023-07-12 Snowman consensus-based consortium blockchain multi-chain system and interaction and deployment method therefor WO2024066665A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211201448.0A CN115603903A (en) 2022-09-29 2022-09-29 Snowman consensus-based alliance chain multi-chain system and interaction and deployment method thereof
CN202211201448.0 2022-09-29

Publications (1)

Publication Number Publication Date
WO2024066665A1 true WO2024066665A1 (en) 2024-04-04

Family

ID=84845619

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/106860 WO2024066665A1 (en) 2022-09-29 2023-07-12 Snowman consensus-based consortium blockchain multi-chain system and interaction and deployment method therefor

Country Status (2)

Country Link
CN (1) CN115603903A (en)
WO (1) WO2024066665A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115603903A (en) * 2022-09-29 2023-01-13 上海万向区块链股份公司(Cn) Snowman consensus-based alliance chain multi-chain system and interaction and deployment method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190058581A1 (en) * 2017-08-03 2019-02-21 Gavin Wood Methods and Systems for a Heterogeneous Multi-Chain Framework
CN114900529A (en) * 2022-06-09 2022-08-12 上海万向区块链股份公司 Block typing method and system
CN115603903A (en) * 2022-09-29 2023-01-13 上海万向区块链股份公司(Cn) Snowman consensus-based alliance chain multi-chain system and interaction and deployment method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190058581A1 (en) * 2017-08-03 2019-02-21 Gavin Wood Methods and Systems for a Heterogeneous Multi-Chain Framework
CN114900529A (en) * 2022-06-09 2022-08-12 上海万向区块链股份公司 Block typing method and system
CN115603903A (en) * 2022-09-29 2023-01-13 上海万向区块链股份公司(Cn) Snowman consensus-based alliance chain multi-chain system and interaction and deployment method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JOE (CHAN LUN JOE): "Blockchain from entry to obsession 5: Detailed explanation of Avalanche chain", 10 October 2021 (2021-10-10), XP093156688, Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/P/419778767> *
VITALIK BUTERIN; DANIEL REIJSBERGEN; STEFANOS LEONARDOS; GEORGIOS PILIOURAS: "Incentives in Ethereum's Hybrid Casper Protocol", ARXIV.ORG, 18 July 2021 (2021-07-18), XP081997961, DOI: 10.1002/nem.2098 *
WANG QUN; LI FUJUAN; NI XUELI; XIA LINGLING; WANG ZHENL: "Survey on Blockchain Consensus Algorithms and Application", JOURNAL OF FRONTIERS OF COMPUTER SCIENCE & TECHNOLOGY, no. 6, 23 February 2022 (2022-02-23), pages 1214 - 1242, XP009553852, ISSN: 1673-9418 *

Also Published As

Publication number Publication date
CN115603903A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
JP7472333B2 (en) METHOD AND SYSTEM FOR MINING BLOCKCHAIN TRANSACTIONS PROVIDED BY VALIDATOR NODES
CN107147735B (en) Distributed account book system based on hierarchical structure
US20230113492A1 (en) Computer-implemented system and method for managing transactions over a blockchain network
Yeow et al. Decentralized consensus for edge-centric internet of things: A review, taxonomy, and research issues
US11734260B2 (en) Methods and apparatus for a distributed database within a network
Christidis et al. Blockchains and smart contracts for the internet of things
EP3418915B1 (en) Methods and apparatus for a distributed database within a network
JP7154234B6 (en) Methods and specialized network nodes for fast propagation in blockchain networks
CN108269072A (en) For the transaction processing method and network node of block chain
US20190251199A1 (en) Transactions Across Blockchain Networks
Kaur et al. Scalability in blockchain: Challenges and solutions
US10713086B2 (en) Asynchronous directed acyclic map based distributed transaction network
KR20200059233A (en) Smart contract execution with distributed reconciliation
CN108492108A (en) Across the chain communication means of block chain, system and computer readable storage medium
WO2024066665A1 (en) Snowman consensus-based consortium blockchain multi-chain system and interaction and deployment method therefor
CN110809042B (en) Intelligent contract fragmentation storage method based on de bruijn sequence generation technology
CN112163950A (en) Block chain network construction method and system convenient for expansion and node resource reuse and terminal equipment
Chen et al. Inter-blockchain communication
WO2021098139A1 (en) Method and device for storing state data of cross-chain transaction, and storage medium
CN106357604B (en) A kind of consistent data accumulation collaboration assemble method
CN113409047B (en) Data processing method, device and equipment based on block chain and readable storage medium
Kiayias et al. Elmo: Recursive virtual payment channels for bitcoin
CN114936853A (en) Chain transaction protocol and transaction authentication method based on trusted execution environment
Clementi et al. Parallel Load Balancing on constrained client-server topologies
CN110659264B (en) Business processing method and device for computing system and computing system