Method and device of data processing in block chain

A data processing and blockchain technology, applied in the computer field, can solve problems such as single chain generation, inability to reflect, and users' inability to clearly grasp the development of blockchain, and achieve the effect of reducing data storage costs

Inactive Publication Date: 2018-09-07
北京欧链科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing blockchain only generates new blocks sequentially along the extension direction of the blockchain, and the chain is generated in a single way. For the non-single-chain blockch

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 of data processing in block chain
  • Method and device of data processing in block chain
  • Method and device of data processing in block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Based on the above-mentioned idea of ​​counting the block body data of blocks in the current blockchain, and saving the data growth of the blockchain at a specific historical moment through statistical data, as shown in image 3 As shown, it is the flow of the data processing method in the block chain shown in the embodiment of the present invention Figure 1 , the execution subject of this method can be a processing node in the blockchain. Such as image 3 As shown, the data processing methods in the blockchain include:

[0042] S310, in response to the operation of performing data statistics on the current blockchain, generate statistical data corresponding to the block body data of the block in the blockchain, and use the statistical data as the block body data to generate a record block;

[0043] In the process of generating new blocks by extending the blockchain, when it is necessary to store the growth of the block body data of each block in the blockchain formed u

Embodiment 2

[0055] The contents shown in this embodiment are mainly supplementary descriptions of the data content of the block body data in the record block.

[0056] First of all, logical data describing the link relationship between blocks in the current blockchain can be added to the block body data of the recorded block, so that users can restore the current blockchain based on the logical data in the subsequent period of time. Morphology. Specifically, such as Figure 5 shown in image 3 On the basis of the method shown, the following steps can also be executed synchronously:

[0057] S510, in response to the operation of performing data statistics on the current block chain, generate logical data for describing the link relationship between blocks in the current block chain, and add the logical data as block body data to the record block.

[0058] In the process of generating new blocks by extending the blockchain, when it is necessary to store the form of the blockchain formed up

Embodiment 3

[0077] Such as Figure 9 As shown, it is the flow of the data processing method in the block chain shown in the embodiment of the present invention Figure three , the method can be viewed as image 3 The refinement of the shown method is mainly to further explain the process of linking the record block into the blockchain. Such as Figure 9 shown in image 3 On the basis of the steps shown, step 320 may specifically include the following steps:

[0078] S910, using the genesis block of the blockchain as the parent block, using the record block as the child block, and linking the record block to the blockchain;

[0079] or,

[0080] S920, linking the record block to the block chain with the last generated block in the blockchain as the parent block and the record block as the child block;

[0081] or,

[0082] S930, taking the genesis block of the blockchain as the parent block, taking the last generated block in the blockchain as the parent block, taking the record block

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 provides a method and a device of data processing in a block chain. The method includes: in response to an operation of data counting on the current block chain, generating counting data corresponding to block body data of blocks in the block chain, and using the counting data as block body data to generate a record block; linking the record block into the block chain; and broadcasting the data in the record block to a block chain network. The solution of the embodiment of the invention can facilitate an effect of clearly grasping development situations of eachstage of block chain formation by a user.

Description

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

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
Owner 北京欧链科技有限公司
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