Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data block storage method and reading method, apparatuses thereof and block chain

A data block and storage device technology, applied in the field of data processing, can solve the problems of not supporting transaction record structure, not supporting efficient data processing, and large IO operation volume.

Active Publication Date: 2018-05-04
CHINA MOBILE COMM LTD RES INST +1
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] In view of this, the embodiment of the present invention provides a method for storing data blocks, a method for reading them, a device thereof, and a block chain, to solve the problem that the system in the prior art has a large amount of IO operations and cannot satisfy high concurrent queries. Demand, does not support efficient processing of data, and does not support the problem of transaction record structure that may change in the future

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
  • Data block storage method and reading method, apparatuses thereof and block chain
  • Data block storage method and reading method, apparatuses thereof and block chain
  • Data block storage method and reading method, apparatuses thereof and block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The specific implementations of a data block storage method, reading method, device and block chain provided by the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0064] An embodiment of the present invention provides a method for storing data blocks, such as figure 1 shown, including the following steps:

[0065] S101. Before writing the new data block in the blockchain, the transaction record data of each row in the transaction record structure of the new data block is converted into column-based storage;

[0066] S102. Create a column structure to store identification information in the new data block stored according to the column structure;

[0067] S103. Store the new data block with column structure storage identification information in the blockchain.

[0068] Specifically, in the storage method of the above-mentioned data block provided by the embodiment of the present invention, since ...

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 present invention discloses a data block storage method and reading method, apparatuses thereof, and a block chain. The storage method comprises: before writing a new data block in the block chain, converting transaction record data in each row in a transaction record structure of the new data block to the processing of storing the data in a column structure; creating column structure storageidentification information in the new data block stored in a column structure; and storing the new data block with the column structure storage identification information into the block chain. Since the transaction data in each row is stored in a column structure, and the column structure storage identification information is created, when querying the transaction record data, instead of queryingthe entire transaction record data, only the transaction record data of the corresponding column needs to be queried according to the identification information; a large number of system IO operationsare reduced, large-capacity and high-concurrent query requirements can be supported, and efficient data processing can be facilitated; and in addition, by extending the columnar storage structure, changes in the future transaction record details can be handled.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method for storing data blocks, a reading method, a device thereof, and a block chain. Background technique [0002] Blockchain is a distributed ledger, a technical solution for collectively maintaining a reliable database through decentralization and trustlessness. To put it simply, a blockchain is a data structure that combines blocks in a chain. It is suitable for storing simple, sequential, and verifiable data in the system. Cryptography is used to ensure the integrity of data. Unalterable and unforgeable. It enables participants to establish a consensus on the sequence of events and current state of transaction records across the network. [0003] In the blockchain technology solution, data is permanently stored in the form of electronic records, and the files storing these electronic records are called "blocks". Blocks are generated one by one in chrono...

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): G06F17/30
CPCG06F16/221G06F16/2474
Inventor 万沛超
Owner CHINA MOBILE COMM LTD RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products