Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating side chain based on main chain and computer readable storage medium

A computer and side chain technology, applied in the blockchain field, can solve problems such as slow speed, cross-chain communication bottlenecks between the main chain and side chain, and the inability of the side chain to communicate with the main chain quickly, so as to improve communication security and expand applications field effect

Pending Publication Date: 2020-07-14
北京新创智链科技有限公司
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the prior art, the main chain network is manually configured to generate the side chain network, but this generation method is slow, and the established side chain cannot communicate with the main chain quickly, resulting in a gap between the main chain and the side chain. The bottleneck of cross-chain communication

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating side chain based on main chain and computer readable storage medium
  • Method and device for generating side chain based on main chain and computer readable storage medium
  • Method and device for generating side chain based on main chain and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0037] Such as figure 2 Shown is the flow chart of the method for generating a side chain based on the main chain in this embodiment. In this embodiment, the process of generating a side chain based on the main chain is described, which specifically includes the following steps:

[0038] Step 201, configure the sidechain registration file.

[0039] In this step, the sidechain registration information is included in the configuration sidechain registration file, where the sidechain registration information includes,

[0040] Attribute information of the side chain, where the attribute information of the side chain includes the name of the side chain, the name of the first validator node of the side chain, the account address of the owner of the side chain, and the organization to which the side chain belongs.

[0041] Among them, the verifier node is a node in the blockchain network that can generate blocks and perform consensus verification. The side chain owner is the user...

no. 2 example

[0079] Such as image 3 Shown is the specific flow chart of the method of generating a side chain based on the main chain in this embodiment. In this embodiment, how to derive a side chain from the main chain is described in detail, including the following steps:

[0080] Step 301, configure the sidechain registration file.

[0081] The side chain registration file includes side chain registration information, and the side chain registration information further includes side chain attribute information, wherein the side chain attribute information includes side chain name, side chain first verifier node name, side chain owner Account address, the organization of the side chain.

[0082] The side chain registration information may also include side chain communication information, wherein the side chain communication information includes, the side chain can communicate with the main chain to which it belongs, and which side chains under the same source main chain the side chai...

no. 3 example

[0142] Such as Figure 5 Shown is a schematic structural diagram of a device for generating side chains based on the main chain in the embodiment of this paper. The device described in this example can be a device implemented by a general-purpose processor, or a specially designed circuit to implement the functions of each functional module The above-mentioned device can also be executed by data processing devices such as computers, servers, and tablet computers. The device in this embodiment specifically includes:

[0143] A sidechain registration configuration unit 501, configured to configure a sidechain registration file, including sidechain registration information in the sidechain registration file;

[0144] A side chain registration unit 502, configured to register the side chain in the block of the main chain according to the side chain registration information in the side chain registration file;

[0145] The side chain creation configuration unit 503 is used to conf...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of block chains, in particular to a method and a device for generating a side chain based on a main chain and a computer readable storage medium. In orderto generate a side chain belonging to a main chain more quickly and conveniently, the method provided by the invention comprises the following steps: configuring a side chain registration file which comprises side chain registration information; registering a side chain in a main chain block according to the side chain registration information in the side chain registration file; configuring a side chain creation file, and taking a specified main chain node as the first verifier node of the side chain; and according to the side chain registration information in the execution result of the sidechain registration request transaction and information in the side chain creation file, starting creation of the side chain at the first verifier node of the side chain. Therefore, the side chain belonging to the main chain is generated, safe communication between the main chain and the side chain is ensured, and the side chain can be quickly generated according to the main chain.

Description

technical field [0001] This article relates to the field of blockchain technology, and in particular to a method, device and computer-readable storage medium for generating a sidechain based on a main chain. Background technique [0002] A distributed ledger system (DLS), which may also be referred to as a consensus network and / or a blockchain network, enables participating entities to store data securely and immutably. Without referencing any specific use case, DLS is often referred to as a blockchain network. [0003] Example types of blockchain networks may include public blockchain networks, private blockchain networks, and consortium blockchain networks. The public blockchain network is open to all entities to use DLS and to participate in the consensus process. Private blockchain networks are provided for specific entities that centrally control read and write permissions. Consortium blockchain networks are provided for selected groups of entities that control the c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F16/27G06F16/22G06F21/64G06Q40/04
CPCG06F9/4451G06F16/27G06F16/2255G06F21/64G06Q40/04Y02D10/00
Inventor 李明磊周爱佘伦凯蒋万江谢新强
Owner 北京新创智链科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products