A data block storage method, reading method, device and block chain

A technology of data blocks and storage devices, applied in the field of data processing, which can solve problems such as large IO operations, unsupported efficient data processing, and unsupported transaction record structure
CN107992492BActive Publication Date: 2020-06-30CHINA MOBILE COMM LTD RES INST +1

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Publication Date
2020-06-30

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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