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

Technical scheme for improving and expanding functions of main chain function of sub-chain

A technical solution and sub-chain technology, applied in the blockchain field, can solve problems such as difficult synchronization, and achieve the effect of improving performance and expanding performance

Pending Publication Date: 2019-06-07
三亚京牛数字科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem is that it is difficult to solve the synchronization of the state

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
  • Technical scheme for improving and expanding functions of main chain function of sub-chain
  • Technical scheme for improving and expanding functions of main chain function of sub-chain
  • Technical scheme for improving and expanding functions of main chain function of sub-chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings.

[0021] refer to figure 1 , in one embodiment of the present invention, the technical solution for improving and extending the functions of the main chain with sub-chains includes steps 100-400:

[0022] 100: A node user on the main chain deploys the main chain contract and sub-chain contract in the blockchain main chain and sub-chain respectively, and runs the blockchain main chain client and sub-chain client at the same time, and the node user is called Operator;

[0023] 200: Operator converts tokens in the main chain to tokens in the sub-chain;

[0024] refer to figure 2 , in one embodiment of the present invention, the process of the Operator converting tokens in the main chain i...

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 discloses a technical scheme for improving and expanding a main chain function of a sub-chain, which comprises the following steps that: 1) a certain node user on a main chain respectively deploys a main chain contract and a sub-chain contract in a main chain and a sub-chain of a block chain, and simultaneously operates a main chain client and a sub-chain client of the block chain, and the node user is called as an Operator; 2) the operator exchanges the tokens in the main chain with the tokens in the sub-chains; 3) the main chain synchronizes the transaction state information ofthe sub-chains; 4) the Operator exchanges tokens in sub-chain into tokens in main chain. According to the technical scheme provided by the invention, most of calculation processes are transferred tobe carried out under the chain, and a user only needs to interact with an intelligent contract on the main chain when entering and exiting the sub-chain, so that the performance of the main chain is improved and expanded.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a technical solution for improving and extending the functions of the main chain by using sub-chains. Background technique [0002] In the CAP principle of a distributed system, it is impossible to achieve consistency, availability, and partition fault tolerance at the same time. If the blockchain system fails to achieve data consistency within a certain period of time, it means that the system has been partitioned. At this time, a compromise needs to be made between consistency and availability. In the current blockchain system, when the public chain with POW as the consensus mechanism handles a large number of transactions, the transaction processing will not be processed in time, which leads to the problem of too low TPS. [0003] The POW consensus algorithm adopted by Bitcoin has a TPS of around 5 to 10, and the TPS of Ethereum is around 15. Simply increasing the bloc...

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): G06Q40/04
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