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

Example Embodiment

[0040] Example one

[0041] Based on the above-mentioned program idea of ​​calculating the block body data of the blocks in the current blockchain, and saving the data growth of the blockchain at a specific historical moment through the statistical data, such as image 3 As shown, it is the flow of the data processing method in the blockchain shown in the embodiment of the present invention Figure one , The execution subject of this method can be the 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 blocks in the blockchain, and use the statistical data as the block body data to generate a record block;

[0043] In the process of blockchain extension to generate new blocks, when it is necessary to store the growth of the block body data of each bloc...

Example Embodiment

[0054] Example two

[0055] The content shown in this embodiment mainly supplements the data content of the block body data in the recording block.

[0056] First of all, logical data used to describe the link relationship between the blocks in the current block chain can be added to the block body data of the recording block, so that users can restore the current block chain based on the logical data in the subsequent time period. Morphology. Specifically, such as Figure 5 Shown in image 3 Based on the method shown, the following steps can also be performed synchronously:

[0057] S510: In response to the operation of performing data statistics on the current block chain, generate logical data used to describe the link relationship between the blocks in the current block chain, and add the logical data as block body data to the recording block.

[0058] In the process of blockchain extension to generate new blocks, when it is necessary to store the shape of the blockchain formed u...

Example Embodiment

[0076] Example three

[0077] Such as Picture 9 As shown, it is the flow of the data processing method in the blockchain shown in the embodiment of the present invention Figure three , The method can be regarded as image 3 The refinement of the method shown mainly further explains the process of linking the record block to the blockchain. Such as Picture 9 Shown in image 3 Based on the steps shown, step 320 may specifically include the following steps:

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

[0079] or,

[0080] S920, using the last generated block in the blockchain up to the current moment as the parent block, and the recording block as the child block, and linking the recording block to the blockchain;

[0081] or,

[0082] In S930, the genesis block of the blockchain is used as the parent block, the last generated block in the blockchain up to the curr...

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

technical field [0001] The present application relates to the field of computer technology, in particular to a data processing method and device in a block chain. Background technique [0002] With the continuous development of the Internet, blockchain technology has emerged as the times require. It is an Internet database technology with the characteristics of decentralization, openness and transparency. Specifically, the essence of blockchain technology is a method of data storage, transmission and certification that is decentralized and resides in a distributed structure. Data blocks are used to replace the current dependence of the Internet on central servers, so that all data changes or transaction items are are recorded on a cloud system. Due to the distributed peer-to-peer network without a central control point, and the method of distributed collective operation, it can be said that the blockchain is a "big public ledger" on the network. It has many nodes, each nod...

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): G06F3/06G06Q40/04
CPCG06F3/0604G06F3/064G06F3/067G06Q40/04
Inventor 谭智勇宋承根赵微
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