Method and system for compressing blocks of block chain

A compression method and compression system technology, applied in the field of blockchain, can solve the problems of large amount of data download and long time, and achieve the effect of reducing file size, reducing data amount, and improving download efficiency

Active Publication Date: 2017-09-19
AGRICULTURAL BANK OF CHINA
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the continuous growth of the blockchain, newly added terminals need to download all the blocks before they can participate in

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 system for compressing blocks of block chain
  • Method and system for compressing blocks of block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is a flow chart of the steps of an embodiment of a blockchain block compression method provided by the present invention.

[0045] Such as figure 1 As shown, the blockchain block compression method provided by this embodiment is applied to the terminal equipment of the blockchain system, and is used to compress the data blocks in the blockchain system to reduce the download time of newly added terminal equipment. The amount of data, the specific block compression method includes the following steps:

[0046] S101: During the process of generating a new block, mark the generated new block.

[0047] The generation method of the new block is also based on the traditional proof of work method, referred to as POW (Proof of Work). Simply understood, it is a proof to confirm that you have done a certain amount of work. The entire process of monitoring work is usually extremely inefficient, and it is a very efficient way to prove that the corresponding workload h...

Embodiment 2

[0086] figure 2 A structural block diagram of an embodiment of a blockchain block compression system provided by the present invention.

[0087] Such as figure 2 As shown, the blockchain block compression system provided by this embodiment is applied to the terminal equipment of the blockchain system, and is used to compress the data blocks in the blockchain system to reduce the download time of newly added terminal equipment. data volume, the specific block compression system includes a block marking module 10 , a marking judging module 20 and a compression processing module 30 .

[0088] The block marking module is used to mark the generated new blocks during the generation of new blocks.

[0089] The generation method of new blocks is also based on the traditional workload proof method POW. Based on the specific elaboration of the previous embodiment, this embodiment also utilizes the above-mentioned basic method to generate a new block. For example, a new block can b...

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 method and system for compressing blocks of a block chain. The method and system are applied to terminal equipment of a block chain system. The method specifically comprises the steps of marking new blocks through adding mark points in the process of generating the new blocks according to an established workload proving method; then performing judgment on the mark points in sequence according to preset judgment rules, and when the mark points conform to the judgment rules, enabling the mark points conforming to the judgment rules to act as compression marks; finally, every time when a new compression mark is generated, performing compression processing on uncompressed new blocks before the compression mark. Therefore, the generated block is enabled to be effective reduced in file size, the amount of data required to be downloaded can be effective reduced when a data block is newly added to a terminal download block chain, and thus the download efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of block chain, and more specifically, relates to a block compression method and system of block chain. Background technique [0002] Blockchain is a decentralized technology that consists of a list, called blocks, of continuously growing and well-ordered records. Each block contains a HASH value linked to the previous block, so that the data cannot be tampered with. Once any transaction information on the blockchain is recorded, it will be recorded forever in a block. [0003] The design of the blockchain is a protective measure, such as applied to a highly fault-tolerant distributed computing system, which makes the blockchain suitable for recording events, titles, medical records and other activities that require data collection, identification management, transaction process management and Provenance Management. [0004] Satoshi Nakamoto came up with the concept of the blockchain, which, in t...

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
IPC IPC(8): H04L29/08H04L9/32
CPCH04L9/3239H04L67/5651
Inventor 郭会
Owner AGRICULTURAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products