CN114840606A - Block chain layering, dissociation and fusion method and system - Google Patents

Block chain layering, dissociation and fusion method and system Download PDF

Info

Publication number
CN114840606A
CN114840606A CN202210586741.7A CN202210586741A CN114840606A CN 114840606 A CN114840606 A CN 114840606A CN 202210586741 A CN202210586741 A CN 202210586741A CN 114840606 A CN114840606 A CN 114840606A
Authority
CN
China
Prior art keywords
chain
size
block
dissociated
deduction
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.)
Pending
Application number
CN202210586741.7A
Other languages
Chinese (zh)
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.)
Anhui Zhongke Lattice Technology Co ltd
Anhui Zhongkezhilian Information Technology Co ltd
Hefei Institutes of Physical Science of CAS
Original Assignee
Anhui Zhongke Lattice Technology Co ltd
Anhui Zhongkezhilian Information Technology Co ltd
Hefei Institutes of Physical Science of CAS
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 Anhui Zhongke Lattice Technology Co ltd, Anhui Zhongkezhilian Information Technology Co ltd, Hefei Institutes of Physical Science of CAS filed Critical Anhui Zhongke Lattice Technology Co ltd
Priority to CN202210586741.7A priority Critical patent/CN114840606A/en
Publication of CN114840606A publication Critical patent/CN114840606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention belongs to the technical field of block chains, and discloses a block chain layering, dissociating and fusing method and system. The invention can complete deductive layering, dissociation and fusion on the block chain structure, thereby improving the expandability of the block chain, and providing a new direction of block chain structure expansion and the realization of chain data storage expansion by utilizing the mutual mapping relation of the account chain and the deductive chain.

Description

Block chain layering, dissociation and fusion method and system
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain layering, dissociating and fusing method and system.
Background
The block chain is an account book technology for decentralization, and the characteristics of openness, autonomy, non-falsification and the like need to be guaranteed. Decentralization refers to the use of distributed accounting and storage, no centralized hardware or management mechanism exists, the rights and obligations of any node are equal, and data blocks in the system are commonly maintained by nodes with maintenance functions in the whole system. That is, any node in the system needs to compute and store the transaction data in full. Therefore, the overall performance of the system is limited by the upper performance limit of a single node, and even if a large number of nodes are added, the overall performance of the system cannot be improved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method and a system for layering, dissociating and fusing a block chain, and aims to solve the technical problem of poor expandability of the block chain in the prior art.
In order to achieve the above object, the present invention provides a method for layering, dissociating and fusing a block chain, wherein the method comprises the following steps:
constructing deductive enzyme blocks on corresponding low-chain-size account chains in the low-chain-size lattice cells when the block chains are layered;
generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain;
constructing a resolvase block on a high-chain-size deductive chain in the high-chain-size lattice unit when the blockchain is dissociated;
dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit;
when block chains are fused, constructing a fusion enzyme block on a dissociation high-chain-scale deductive chain in the dissociated high-chain-scale lattice units, and constructing a pairing enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units;
and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
Optionally, the generating high chain size lattice cells from the deductive enzyme block and the low chain size account chain comprises:
using the deduction enzyme block as a creation block;
converting the low-chain-size account chain into a high-chain-size deduction chain;
and generating high-chain-scale lattice units according to the high-chain-scale deduction chain and the founding block.
Optionally, dissociating the high-chain-size lattice unit from the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit, including:
dissociating the high-chain-size deductive chain in the high-chain-size lattice unit into a dissociated high-chain-size deductive chain according to the dissociation enzyme block;
and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
Optionally, the folding, compressing and fusing the low chain size lattice units and the dissociated high chain size lattice units according to the fusion enzyme block and the pairing enzyme block comprises:
in a preset fusion period, folding and compressing a block generated by an account chain in the dissociated high-chain-scale lattice unit by a packing node in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate a deduction block on a dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, and folding and compressing a historical deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate the deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit;
and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
In addition, to achieve the above object, the present invention further provides a system for layering, dissociating and fusing a blockchain, wherein the system for layering, dissociating and fusing a blockchain comprises:
the deduction enzyme block building module is used for building deduction enzyme blocks on corresponding low-chain-size account chains in the low-chain-size lattice units when the block chains are layered;
a deduction module for generating high chain size cell units based on the deduction enzyme block and the low chain size account chain;
the dissociation enzyme block construction module is used for constructing a dissociation enzyme block on a high-chain-size deductive chain in the high-chain-size lattice unit when the block chain is dissociated;
the dissociation module is used for dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit;
a fusion block construction module, configured to construct a fusion enzyme block on a dissociated high-chain-scale deductive chain in the dissociated high-chain-scale lattice units and construct a paired enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units when a block chain is fused;
and the fusion module is used for folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
Optionally, the deduction module is further configured to use the deduction enzyme block as a creation block; converting the low-chain-size account chain into a high-chain-size deduction chain; and generating high-chain-size lattice units according to the high-chain-size deduction chain and the creation block.
Optionally, the dissociation module is further configured to dissociate the high-strand size deductive chains in the high-strand size lattice unit into dissociated high-strand size deductive chains according to the dissociation enzyme block; and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
Optionally, the fusion module is further configured to, in a preset fusion period, perform folding compression on a block generated by an account chain in the dissociated high-chain-scale lattice unit by using a packing node in the dissociated high-chain-scale lattice unit, that is, extract auxiliary verification information and generate a deduction block on a dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, and perform folding compression on a history deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, that is, extract auxiliary verification information and generate a deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit; and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
When the block chain is layered, deductive enzyme blocks are constructed on corresponding low-chain-size account chains in the low-chain-size lattice units; generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain; constructing a resolvase block on a high-chain-size deductive chain in the high-chain-size lattice unit when the blockchain is dissociated; dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit; when block chains are fused, constructing a fusion enzyme block on a dissociation high-chain-scale deductive chain in the dissociated high-chain-scale lattice units, and constructing a pairing enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units; and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block. By the method, the block chain structure can be layered, dissociated and fused, so that the expandability of the block chain is improved.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of a method for layering, dissociating, and fusing blockchains according to the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a method for layering, dissociating, and fusing blockchains according to the present invention;
FIG. 3 is a block diagram of a first embodiment of a device for layering, dissociating, and fusing blockchains according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
An embodiment of the present invention provides a method for layering, dissociating, and fusing a block chain, and referring to fig. 1, fig. 1 is a schematic flow diagram of a first embodiment of a method for layering, dissociating, and fusing a block chain according to the present invention.
In this embodiment, the method for layering, dissociating, and fusing the blockchain includes the following steps:
step S10: in layering the blockchain, deductive enzyme blocks are constructed on corresponding low chain size account chains in the low chain size lattice cells.
It should be noted that the blockchain in this embodiment is a Graph chain fusion structure, where the Graph chain fusion structure refers to that a Directed Acyclic Graph (DAG) structure and a traditional chain structure are used simultaneously, and the blockchain in this embodiment uses a design of parallel chains in the DAG structure, where the parallel chains in the DAG structure are embodied as account chains, and the traditional chain structure is embodied as deductive chains.
It can be understood that the account chain refers to a chain structure formed by separately accounting each account, taking a single transaction as a single block and sequencing the single transaction; the deduction chain has the same structure as the account chain, but does not receive the transaction block, only deducts the lattice unit of the current scale, namely deduces according to the information of the account chain of the current scale (individual- > group, which means that the information of the account lattice is deducted to the deduction chain), and also deduces to a certain extent according to the deducted information (group- > individual, which means that the information of the account lattice can be deduced reversely according to the information of the deduction chain); account chains are mutually linked to form lattice units; the chain size may indicate the relative position of each block chain in the structure of the present invention. The high-chain scale is a relative statement to the low-chain scale that block chains of different scales are similar in structure and are composed of deductive chains and account chains. The deduction chain in the high-chain-size lattice unit is determined by the account chain in the high-chain-size lattice unit, and the deduction chain of the high-chain-size lattice unit is verified by the deduction chain in the low-chain-size lattice unit, so that the high-chain-size lattice unit and the low-chain-size lattice unit are attached layer by layer to form a layered model.
In one embodiment, the low-chain-size cells include a plurality of account chains and a deductive chain, the low-chain-size account chain is one of the low-chain-size cells, and when deductive layering is required on the low-chain-size account chains, deductive enzyme blocks are constructed on the low-chain-size account chains. The deductive enzyme block is mainly used as a creation block of the high-chain-size lattice unit, and comprises core parameters required by the operation of the lattice unit, such as a witness node list, an initial common identification number, a consensus algorithm and the like of the lattice unit.
Step S20: generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain.
Further, the generating high chain size lattice cells from the deductive enzyme block and the low chain size account chain comprises: using the deduction enzyme block as a creation block; converting the low-chain-size account chain into a high-chain-size deduction chain; and generating high-chain-size lattice units according to the high-chain-size deduction chain and the creation block.
It is understood that the high-chain-size cells are deduced from the low-chain-size account chains in the low-chain-size cells, and the high-chain-size cells continue to grow according to the settings of the founder blocks. The account chain in the deductive chain scale lattice unit can continue deductive layering, thereby forming a multi-scale layering model.
Step S30: in dissociating the block chain, a dissociation enzyme block is constructed on the high-chain-size deductive chain in the high-chain-size lattice unit.
It should be noted that the dissociation enzyme block is used to help the corresponding account chain in the low-chain-size lattice unit to be completely dissociated into the deductive chain in the high-chain-size lattice unit, i.e. the deductive chain of the high-chain size converted from the account chain of the low-chain size is completely dissociated from the lattice unit of the low-chain size to form the independent and separate deductive chain. Dissociation refers to a process of completely dissociating the corresponding account chain in the low-chain-size lattice unit into a deductive chain of high-chain-size lattice units by using a dissociation enzyme block after the chain deduction is completed. After the chain dissociation, the deductive chain in the high-chain-size lattice unit is no longer verified and identified by the deductive chain in the low-chain-size lattice unit, and the deduced high-chain-size lattice unit is more independent and can independently complete a certain function or service like a subchain. In addition, strand dissociation and deduction mechanisms can be accomplished simultaneously, and deduction and dissociation of strands can be accomplished simultaneously by constructing deduction-dissociation enzyme blocks.
Step S40: and dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit.
Further, dissociating the high-chain-size lattice unit from the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit, including: dissociating the high-chain-size deductive chain in the high-chain-size lattice unit into a dissociated high-chain-size deductive chain according to the dissociation enzyme block; and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
It can be understood that after the chain dissociation is completed, the high-chain-scale deduction chain and the high-chain-scale account chain in the high-chain-scale lattice unit continue to grow, at this time, the high-chain-scale lattice unit does not depend on the low-chain-scale lattice unit to grow, and the dissociated high-chain-scale lattice unit can continue to grow in the block chain network independently.
Step S50: when the block chains are fused, a fusion enzyme block is constructed on a dissociation high-chain-size deductive chain in the dissociation high-chain-size lattice units, and a pairing enzyme block is constructed on a corresponding low-chain-size account chain in the low-chain-size lattice units.
It should be noted that chain fusion refers to the fusion process of a high-chain-size deduction chain and a low-chain-size account chain by fusing enzyme blocks in original isolated or independent lattice units. The process is used as the inverse process of the chain dissociation mechanism, the original independent crystal lattice units are attached through the chain fusion mechanism, and at the moment, the growth of the high-chain-size deductive chain in the high-chain-size crystal lattice units is verified by the low-chain-size deductive chain in the low-chain-size crystal lattice units.
It is understood that the fusion enzyme block is constructed and consensus by high-strand-size deductive strands; the paired enzyme blocks are paired and constructed and consensus is performed on the paired enzyme blocks in the low-chain-size account chain dissociated at the low chain size, and the blocks correspond to the fusion enzyme blocks.
Step S60: and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
Further, the folding, compressing, and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block includes: in a preset fusion period, folding and compressing a block generated by an account chain in the dissociated high-chain-scale lattice unit by a packing node in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate a deduction block on a dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, and folding and compressing a historical deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate the deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit; and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
It should be noted that after the fusion enzyme block and the pairing enzyme block are constructed, the folding compression needs to be performed on the history of dissociating the high-chain-size lattice unit in the fusion period, and the folding compression has two aspects: 1. the deduction chain carries out folding compression on blocks generated by the account chain; 2. and constructing snapshot information during fusion, and compressing and folding historical deduction block data which needs to be fused in the dissociation high-chain-size deduction chain. The above compression processes together constitute a layered folding compression model. Specifically, the compression folding refers to extracting auxiliary verification information from the plurality of blocks, wherein the auxiliary verification information comprises block transaction hash, data signatures, nonce values and the like.
In the fusion process, the packed nodes in the dissociated high-chain-scale lattice unit extract auxiliary verification information from transaction blocks generated in a period of time by an account chain in the dissociated high-chain-scale lattice unit and pack the transaction blocks to generate deduction blocks on the dissociated high-chain-scale deduction chain, and extract auxiliary verification information from a plurality of historical deduction blocks on the dissociated high-chain-scale deduction chain, compress the historical deduction blocks to generate snapshot information and pack the snapshot information into deduction blocks on the dissociated high-chain-scale deduction chain. The history deduction block refers to a deduction block on the dissociation high-chain-size deduction chain before the fusion operation is started.
It is understood that the dissociated high-chain-size deductive chain in the fused high-chain-size lattice cell is again witnessed and agreed upon by the deductive chain in the low-chain-size lattice cell.
As shown in fig. 2, N chain-scale is a chain view of the low-chain-scale lattice unit, an account chain C in the chain view is deduced to obtain a chain view of the high-chain-scale lattice unit, i.e., N +1chain-scale, an account chain in the N +1chain-scale view lattice unit is deduced to obtain a lattice unit with a higher chain scale, and then the lattice unit with the higher chain scale is dissociated to obtain a chain view of the dissociated high-chain-scale lattice unit, i.e., N +2chain-scale, and the dissociated high-chain-scale lattice unit and the low-chain-scale lattice unit can be fused. And the views of different chain scales can be fused, and the deductive chain of the high chain scale is used as the account chain of the low chain scale and is witnessed and identified by the deductive chain of the low chain scale.
In the embodiment, when the block chain is layered, deductive enzyme blocks are constructed on corresponding low-chain-size account chains in the low-chain-size lattice units; generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain; constructing a resolvase block on a high-chain-size deductive chain in the high-chain-size lattice unit when the blockchain is dissociated; dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit; when block chains are fused, constructing a fusion enzyme block on a dissociation high-chain-scale deductive chain in the dissociated high-chain-scale lattice units, and constructing a pairing enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units; and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block. By the method, the block chain structure can be layered, dissociated and fused, so that the expandability of the block chain is improved.
Referring to fig. 3, fig. 3 is a block diagram of a block chain deduction, dissociation and fusion system according to a first embodiment of the present invention.
As shown in fig. 3, the system for layering, dissociating and fusing block chains according to the embodiment of the present invention includes:
a deductive enzyme block construction module 10 for constructing deductive enzyme blocks on corresponding low-chain-size account chains in the low-chain-size cell units when the chain of blocks is layered.
It should be noted that the blockchain in this embodiment is a Graph chain fusion structure, where the Graph chain fusion structure refers to using a Directed Acyclic Graph (DAG) structure and a traditional chain structure at the same time, and the blockchain in this embodiment uses a design of parallel chains in the DAG structure, where the parallel chains in the DAG structure are embodied as account chains, and the traditional chain structure is embodied as a deductive chain.
It can be understood that the account chain refers to a chain structure formed by separately accounting each account, taking a single transaction as a single block and sequencing the single transaction; the deduction chain has the same structure as the account chain, but does not receive the transaction block, only deducts the lattice unit of the current scale, namely deduces according to the information of the account chain of the current scale (individual- > group, which means that the information of the account lattice is deducted to the deduction chain), and also deduces to a certain extent according to the deducted information (group- > individual, which means that the information of the account lattice can be deduced reversely according to the information of the deduction chain); account chains are mutually linked to form lattice units; the chain size may indicate the relative position of each block chain in the structure of the present invention. The high-chain scale is a relative statement to the low-chain scale that block chains of different scales are similar in structure and are composed of deductive chains and account chains. The deduction chain in the high-chain-size lattice unit is determined by the account chain in the high-chain-size lattice unit, and the deduction chain of the high-chain-size lattice unit is verified by the deduction chain in the low-chain-size lattice unit, so that the high-chain-size lattice unit and the low-chain-size lattice unit are attached layer by layer to form a layered model.
In one embodiment, the low-chain-size cells include a plurality of account chains and a deductive chain, the low-chain-size account chain is one of the low-chain-size cells, and when deductive layering is required on the low-chain-size account chains, deductive enzyme blocks are constructed on the low-chain-size account chains. The deductive enzyme block is mainly used as a creation block of the high-chain-size lattice unit, and comprises core parameters required by the operation of the lattice unit, such as a witness node list, an initial common identification number, a consensus algorithm and the like of the lattice unit.
A deduction module 20 for generating high chain size lattice cells based on the deduction enzyme block and the low chain size account chain.
Further, the deduction module 20 is further configured to use the deduction enzyme block as a creation block; converting the low-chain-size account chain into a high-chain-size deduction chain; and generating high-chain-size lattice units according to the high-chain-size deduction chain and the creation block.
It is understood that the high-chain-size cells are deduced from the low-chain-size account chains in the low-chain-size cells, and the high-chain-size cells continue to grow according to the settings of the founder blocks. The account chain in the deductive chain scale lattice unit can continue deductive layering, thereby forming a multi-scale layering model.
A resolvase whole block constructing module 30 for constructing resolvase whole blocks on the high-chain-size deductive chain in the high-chain-size lattice units when performing dissociation on the block chain.
It should be noted that the dissociation enzyme block is used to help the corresponding account chain in the low-chain-size lattice unit to be completely dissociated into the deductive chain in the high-chain-size lattice unit, i.e. the deductive chain of the high-chain size converted from the account chain of the low-chain size is completely dissociated from the lattice unit of the low-chain size to form the independent and separate deductive chain. Dissociation refers to a process of completely dissociating the corresponding account chain in the low-chain-size lattice unit into a deductive chain of high-chain-size lattice units by using a dissociation enzyme block after the chain deduction is completed. After the chain dissociation, the deductive chain in the high-chain-size lattice unit is no longer verified and identified by the deductive chain in the low-chain-size lattice unit, and the deduced high-chain-size lattice unit is more independent and can independently complete a certain function or service like a subchain. In addition, strand dissociation and deduction mechanisms can be accomplished simultaneously, and deduction and dissociation of strands can be accomplished simultaneously by constructing deduction-dissociation enzyme blocks.
And a dissociation module 40 for dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit.
Further, the dissociation module 40 is further configured to dissociate the high-strand size deductive chains in the high-strand size lattice units into dissociated high-strand size deductive chains according to the dissociation enzyme block; and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
It can be understood that after the chain dissociation is completed, the high-chain-scale deduction chain and the high-chain-scale account chain in the high-chain-scale lattice unit continue to grow, at this time, the high-chain-scale lattice unit does not depend on the low-chain-scale lattice unit to grow, and the dissociated high-chain-scale lattice unit can continue to grow in the block chain network independently.
And a fusion block construction module 50, configured to construct a fusion enzyme block on a dissociated high-chain-scale deductive chain in the dissociated high-chain-scale lattice units and construct a pairing enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units when the block chains are fused.
It should be noted that chain fusion refers to the fusion process of a high-chain-size deduction chain and a low-chain-size account chain by fusing enzyme blocks in original isolated or independent lattice units. The process is used as the inverse process of the chain dissociation mechanism, the original independent crystal lattice units are attached through the chain fusion mechanism, and at the moment, the growth of the high-chain-size deductive chain in the high-chain-size crystal lattice units is verified by the low-chain-size deductive chain in the low-chain-size crystal lattice units.
It is understood that the fusion enzyme block is constructed and consensus by high-strand-size deductive strands; the paired enzyme blocks are paired and constructed and consensus is performed on the paired enzyme blocks in the low-chain-size account chain dissociated at the low chain size, and the blocks correspond to the fusion enzyme blocks.
And a fusion module 60 for folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
Further, the fusion module 60 is further configured to, in a preset fusion period, perform folding compression on the block generated by the account chain in the dissociated high-chain-scale lattice unit by using the packing node in the dissociated high-chain-scale lattice unit, that is, extract the auxiliary verification information to generate a deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, and perform folding compression on the historical deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, that is, extract the auxiliary verification information to generate a deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit; and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
It should be noted that, after the fusion enzyme block and the pairing enzyme block are constructed, folding and compression are required to be performed on the history of dissociating the high-chain-size lattice unit in the fusion period, and the folding and compression have two aspects: 1. the deduction chain carries out folding compression on blocks generated by the account chain; 2. and constructing snapshot information during fusion, and compressing and folding historical deduction block data which needs to be fused in the dissociation high-chain-size deduction chain. The above compression processes together constitute a layered folding compression model. Specifically, the compression folding refers to extracting auxiliary verification information from the plurality of blocks, wherein the auxiliary verification information comprises block transaction hash, data signatures, nonce values and the like.
In the fusion process, the packed nodes in the dissociated high-chain-scale lattice unit extract auxiliary verification information from transaction blocks generated in a period of time by an account chain in the dissociated high-chain-scale lattice unit and pack the transaction blocks to generate deduction blocks on the dissociated high-chain-scale deduction chain, and extract auxiliary verification information from a plurality of historical deduction blocks on the dissociated high-chain-scale deduction chain, compress the historical deduction blocks to generate snapshot information and pack the snapshot information into deduction blocks on the dissociated high-chain-scale deduction chain. The history deduction block refers to a deduction block on the dissociation high-chain-size deduction chain before the fusion operation is started.
It is understood that the dissociated high-chain-size deductive chain in the fused high-chain-size lattice cell is again witnessed and agreed upon by the deductive chain in the low-chain-size lattice cell.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
In the embodiment, when the block chain is layered, deductive enzyme blocks are constructed on corresponding low-chain-size account chains in the low-chain-size lattice units; generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain; constructing a resolvase block on a high-chain-size deductive chain in the high-chain-size lattice unit when the blockchain is dissociated; dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit; when block chains are fused, constructing a fusion enzyme block on a dissociation high-chain-scale deductive chain in the dissociated high-chain-scale lattice units, and constructing a pairing enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units; and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block. By the method, the block chain structure can be layered, dissociated and fused, so that the expandability of the block chain is improved.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the block chain layering, dissociation, and fusion method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A block chain layering, dissociating and fusing method is characterized in that the block chain layering, dissociating and fusing method comprises the following steps:
constructing deductive enzyme blocks on corresponding low-chain-size account chains in the low-chain-size lattice cells when the block chains are layered;
generating high-chain-size lattice cells based on the deductive enzyme block and the low-chain-size account chain;
constructing a resolvase block on a high-chain-size deductive chain in the high-chain-size lattice unit when the blockchain is dissociated;
dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit;
when block chains are fused, constructing a fusion enzyme block on a dissociated high-chain deductive chain in the dissociated high-chain-size lattice units, and constructing a pairing enzyme block on a corresponding low-chain-size account chain in the low-chain-size lattice units;
and folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
2. The method of claim 1, wherein the generating high chain size lattice cells from the deductive enzyme block and the low chain size account chain comprises:
using the deduction enzyme block as a creation block;
converting the low-chain-size account chain into a high-chain-size deduction chain;
and generating high-chain-size lattice units according to the high-chain-size deduction chain and the creation block.
3. The method of claim 1, wherein dissociating the high chain length lattice unit from the low chain length lattice unit according to the dissociation enzyme block to obtain a dissociated high chain length lattice unit comprises:
dissociating the high-chain-size deductive chain in the high-chain-size lattice unit into a dissociated high-chain-size deductive chain according to the dissociation enzyme block;
and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
4. The method of claim 1, wherein the folding, compressing, and fusing the low chain size lattice units with the dissociated high chain size lattice units according to the fusion enzyme block and the pairing enzyme block comprises:
in a preset fusion period, folding and compressing a block generated by an account chain in the dissociated high-chain-scale lattice unit by a packing node in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate a deduction block on a dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, and folding and compressing a historical deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit, namely extracting auxiliary verification information to generate the deduction block on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale lattice unit;
and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
5. A system for blockchain stratification, dissociation and fusion, the system comprising:
the deduction enzyme block building module is used for building deduction enzyme blocks on corresponding low-chain-size account chains in the low-chain-size lattice units when the block chains are layered;
a deduction module for generating high chain size cell units based on the deduction enzyme block and the low chain size account chain;
a dissociation enzyme block construction module for constructing dissociation enzyme blocks on the high-chain-size deductive chain in the high-chain-size lattice units when the block chain is dissociated;
the dissociation module is used for dissociating the high-chain-size lattice unit and the low-chain-size lattice unit according to the dissociation enzyme block to obtain a dissociated high-chain-size lattice unit;
a fusion block construction module, configured to construct a fusion enzyme block on a dissociated high-chain-scale deductive chain in the dissociated high-chain-scale lattice units and construct a paired enzyme block on a corresponding low-chain-scale account chain in the low-chain-scale lattice units when a block chain is fused;
and the fusion module is used for folding, compressing and fusing the low-chain-size lattice unit and the dissociated high-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
6. The system of claim 5, wherein the deduction module is further configured to treat the deduction enzyme block as a founder block; converting the low-chain-size account chain into a high-chain-size deduction chain; and generating high-chain-scale lattice units according to the high-chain-scale deduction chain and the founding block.
7. The system of claim 5, wherein the dissociation module is further configured to dissociate the high-strand size deductive chains in the high-strand size lattice cells into dissociated high-strand size deductive chains according to the dissociation enzyme block; and generating the dissociated high-chain-size lattice unit according to the dissociated high-chain-size deduction chain.
8. The system of claim 5, wherein the fusion module is further configured to, within a predetermined fusion period, pack the blocks generated by the account chain in the dissociated high-chain-scale cell by the packing nodes in the dissociated high-chain-scale cell, perform the extraction of the auxiliary verification information to generate the deduction blocks on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale cell, and perform the folding compression on the historical deduction blocks on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale cell, that is, perform the extraction of the auxiliary verification information to generate the deduction blocks on the dissociated high-chain-scale deduction chain in the dissociated high-chain-scale cell; and fusing the dissociated high-chain-size deductive chain in the dissociated high-chain-size lattice unit with the corresponding low-chain-size account chain in the low-chain-size lattice unit according to the fusion enzyme block and the pairing enzyme block.
CN202210586741.7A 2022-05-27 2022-05-27 Block chain layering, dissociation and fusion method and system Pending CN114840606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586741.7A CN114840606A (en) 2022-05-27 2022-05-27 Block chain layering, dissociation and fusion method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586741.7A CN114840606A (en) 2022-05-27 2022-05-27 Block chain layering, dissociation and fusion method and system

Publications (1)

Publication Number Publication Date
CN114840606A true CN114840606A (en) 2022-08-02

Family

ID=82572618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586741.7A Pending CN114840606A (en) 2022-05-27 2022-05-27 Block chain layering, dissociation and fusion method and system

Country Status (1)

Country Link
CN (1) CN114840606A (en)

Similar Documents

Publication Publication Date Title
CN110033243B (en) Main chain evidence storing method, system and storage medium based on block chain intelligent contract
CN107770154A (en) Block chain reliable data storage method, terminal and system based on cloud storage
CN108805565B (en) Block chain based commitment presence proving method, device and readable storage medium
CN106920015B (en) Shortest loop dynamic division method suitable for power distribution network reconstruction problem codes
CN107343007A (en) Distributed file management method and system based on user identity and purview certification
Chen et al. Smoothed least-laxity-first algorithm for electric vehicle charging: Online decision and performance analysis with resource augmentation
CN114840606A (en) Block chain layering, dissociation and fusion method and system
CN109753823B (en) Block chain data supervision method, system and computer storage medium
CN115983733A (en) Power market clearing data processing method and device based on water level control
CN106786533B (en) The acquisition methods and device of electric dispatching plan data
CN105447003A (en) Parameter set generation method and device
CN107437804A (en) Relate to the check method and device of net definite value
CN116360294A (en) Simulation method and device based on active power distribution network
CN109063513B (en) Dynamic data integrity verification method based on Hadoop platform
CN110413338A (en) A kind of method, equipment and readable medium configuring big data platform
CN116192616A (en) Micro-service-based power standby and regulation system processing method and device and computer equipment
CN108629557A (en) Business witnesses method, apparatus, computer equipment and storage medium
CN113689268A (en) Distributed energy transaction system based on block chain technology and adopting digital RMB
CN114547113A (en) Mass data account checking system, method, network equipment and storage medium
CN106202239A (en) A kind of cad data generates SHAPE data file method and system
Polchai et al. Domain of stability of synchronous generators by a cell mapping approach
CN109800415A (en) Production problem distribution method and system based on semanteme parsing
CN113282810B (en) Block chain hash-based encrypted electric power transaction data post-verification method and device
JP7241137B1 (en) SIMULATION SYSTEM, SIMULATION APPARATUS, SIMULATION METHOD AND COMPUTER PROGRAM
Yang et al. Fine-grained data integrity check for power cloud computing

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