Information storage method and apparatus for block chain

An information storage and blockchain technology, applied in data processing applications, instruments, payment systems, etc., can solve problems such as excessive growth of transaction information, and achieve the effect of slowing down the growth rate

Active Publication Date: 2019-03-08
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method will cause the transaction information stored in the blockchain database to grow too fast

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
  • Information storage method and apparatus for block chain
  • Information storage method and apparatus for block chain
  • Information storage method and apparatus for block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0024] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0025] figure 1 It shows an exemplary system architecture 100 to which embodiments of the information storage method for blockchain or the information storage device for blockchain of the present application can be applied.

[0026] Such as figure 1 As shown, the system ar...

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

Embodiments of the present application disclose an information storage method and apparatus for a block chain. A specific embodiment of the method includes buffering transaction information to be stored to generate a buffer block chain; reading a target cache block and a first cache block in the cache block chain in response to determining that a generation time of a target cache block in the cache block chain is within a preset time range, wherein the first cache block is a cache block in the cache block chain located after the target cache block; in response to determining that the revocation information of the target transaction information is present in the first cache block, writing the transaction information other than the target transaction information in the target cache block tothe memory block chain. This embodiment can avoid the excessive growth of the transaction information stored in the database that stores the block chain.

Description

technical field [0001] The embodiment of the present application relates to the field of computer technology, in particular to an information storage method and device for blockchain. Background technique [0002] A blockchain can essentially be a distributed computing and storage system. A blockchain usually has multiple nodes. Different nodes reach a consensus through certain calculation rules, and store the consensus transaction information in the database in the form of blocks. Multiple blocks form a blockchain. [0003] In general, in order to ensure the credibility of the blockchain, the database of the blockchain needs to record all the transaction information written into the block, so that the blockchain can replay the stored transaction information when the new node is synchronized and audited. data. But this method will cause the transaction information stored in the blockchain database to grow too fast. Contents of the invention [0004] The embodiment of th...

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 Applications(China)
IPC IPC(8): G06Q20/38G06Q40/04
CPCG06Q20/389G06Q40/04
Inventor 刘春伟孙海波杨仁慧王哲王帅俭
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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