A block data segmentation storage method, terminal and medium

A data segmentation and block technology, which is applied in database distribution/replication, data processing applications, structured data retrieval, etc., can solve problems affecting the efficiency of node data synchronization and data tampering, so as to avoid infinite growth and reduce The effect of running costs

Active Publication Date: 2021-11-02
南京荣链科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is a risk of data tampering during the transfer of transaction data on the blockchain, and it will also affect the efficiency of node data synchronization

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
  • A block data segmentation storage method, terminal and medium
  • A block data segmentation storage method, terminal and medium
  • A block data segmentation storage method, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, so they are only examples, and should not be used to limit the protection scope of the present invention.

[0030] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application shall have the usual meanings understood by those skilled in the art to which the present invention belongs.

[0031] Such as figure 1 As shown in FIG. 1 , it shows a flow chart of a method for segmented storage of block data provided by the first embodiment of the present invention. The method includes the following steps:

[0032] Step S101: when the blockchain node generates a new block, obtain the transaction time interval corresponding to the current sub-ledger; the blockchain node ...

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

A block data segmentation storage method provided by the present invention includes: when a block chain node generates a new block, obtaining the transaction time interval corresponding to the current sub-ledger; judging whether there is a transaction in the transaction time interval of the current sub-ledger data; if yes, generate a common block and add the common block to the current sub-ledger; if not, judge whether the current system time is greater than the transaction time interval of the current sub-ledger; if so, generate the first block and add the first block The block is added to the newly created next sub-ledger, and the newly created next sub-ledger is set as the current sub-ledger; if not, no transaction data is returned. A continuous block chain storage account book is stored in segments according to time, which ensures the continuity and integrity of block data, and can also ensure relative independence, avoiding unlimited growth of block chain data, and improving block data management and query. The efficiency and convenience of operations such as , archiving, and node synchronization reduce the operating cost of the system.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a segmented storage method based on block data, a terminal and a medium. Background technique [0002] Blockchain is a decentralized distributed database technology that is participated by various nodes. The information recorded in the blockchain network adopts a block chain storage structure. Blocks are the data elements in the chain storage structure. The blockchain is connected to each other to form a one-way chain structure. The first block is called is the genesis block. Such a block chain structure is associated with each other through the hash value, which ensures the tamper-proof and traceability of the data. Each blockchain node will store complete record information of the blockchain system. With the operation of the system, the number of blocks and the number of transactions in the blockchain continue to increase, and there will be performance and effic...

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): G06F16/27G06Q20/38H04L29/08
CPCG06Q20/3827G06F16/27H04L67/1097
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