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

Block chain lightweight processing method, block chain node and storage medium

A processing method, blockchain technology, applied in the information field, can solve the problems of large resource consumption such as storage resources, achieve the effect of reducing storage resources, solving large resource consumption such as storage resources, and facilitating computing resources

Active Publication Date: 2020-09-11
CHINA MOBILE COMM LTD RES INST +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention expect to provide a blockchain lightweight processing method, blockchain nodes, and computer storage media, at least partially solving the problem of large resource consumption such as storage resources in blockchain technology

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
  • Block chain lightweight processing method, block chain node and storage medium
  • Block chain lightweight processing method, block chain node and storage medium
  • Block chain lightweight processing method, block chain node and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0196] This method is suitable for scenarios where a large number of blocks can be deleted, and requires the local node to record several sets of parameters, and each set of parameters corresponds to a set of consecutive deleteable blocks. Each set of parameters consists of the following:

[0197] Head pointer: Record the hash value of the parent block header of the first block in a set of consecutive deleteable blocks.

[0198] Tail pointer: Record the hash value of the sub-block header of the last block in a group of consecutive deletable blocks.

[0199] Check value: operate on the hash values ​​of all block headers in a group of consecutive deletable blocks, and save the operation result as a check value. See the example below for the calculation method.

[0200] by Figure 5 Take the block chain shown as an example. The hash value of the block header of block k is recorded as hk. If block i to block j need to be deleted, the node needs to calculate the following parame...

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 embodiment of the invention discloses a block chain lightweight processing method, a block chain node and a computer storage medium. The method applied to the first blockchain node, the blockchain lightweight processing method, includes: generating a parameter block based on N blocks to be deleted that are continuously distributed in the transaction chain, wherein the N is a positive Integer; delete the N blocks in the transaction chain; store the parameter blocks, wherein the parameter blocks and undeleted blocks in the transaction chain together form an optimized chain, wherein the The parent block of the parameter block is: the previous block of the N blocks deleted in the transaction chain, and the sub-area of ​​the parameter block is: the next block of the N blocks deleted in the transaction chain area.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a block chain lightweight processing method, a block chain node and a computer storage medium. Background technique [0002] The blockchain technology that has emerged in recent years is a chained data structure that combines data blocks in a sequential manner in chronological order, and cryptographically ensures that it cannot be tampered with and cannot be forged. The core technology of blockchain is to use block chain data structure to verify and store data, use distributed node consensus algorithm to generate and update data, and use cryptography to ensure the security of data transmission and access. [0003] A big problem with the blockchain is that it will contain all historical transactions. As the transaction volume increases, the blocks in the blockchain will also increase, and the data of the entire blockchain will become larger and larger. The demand for...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06H04L9/32G06Q30/06
CPCH04L9/3236H04L63/0823H04L67/1097G06Q30/0609H04L67/5681H04L67/5682H04L9/32G06Q30/06
Inventor 阎军智
Owner CHINA MOBILE COMM LTD RES INST
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