Block chain node data storage and data reading method and storage system

A node data and blockchain technology, applied in the field of blockchain, can solve the problems of high technical requirements, affecting the performance of block generation and transaction execution of blockchain nodes, wasting space, etc., to improve data reading operations, improve and operational efficiency, the effect of solving the lack of space

Pending Publication Date: 2022-02-25
成都质数斯达克科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous development of the business, hundreds of millions of transactions and T-level data have been accumulated on the chain, and the node server is gradually unable to meet the storage needs of transaction data. Simply expanding the storage space of the node is not only high in development costs, but also high in hardware cost

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
  • Block chain node data storage and data reading method and storage system
  • Block chain node data storage and data reading method and storage system
  • Block chain node data storage and data reading method and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] like figure 1 As shown, this embodiment provides a blockchain node data storage method, which is applicable to any node in the blockchain network, and the nodes include a node server, a primary storage server, a secondary storage server, and a tertiary storage server. Storage server, this embodiment discloses a storage method for data archiving, which is used to archive and store a type of business data that has lost its timeliness to a tertiary storage server, so as to facilitate later query of business data and effectively prevent The out-of-time service data hinders the occupation of the high-cost primary storage server and secondary storage server with fast operation speed. The method includes step S1, step S2, step S3, step S4 and step S5.

[0045] Step S1. The node server receives archiving operation data, the archiving operation data includes a business identity, the archiving operation data is used to trigger the node to perform a business data archiving operation,

Embodiment 2

[0051] like figure 2 As shown, this embodiment provides a blockchain node data reading method, the method is applicable to any node in the blockchain network, the node includes a node server and a primary storage server, including steps S6 and S711 :

[0052] Step S6. The primary storage server obtains the first service data read request sent by the node server, and the service data read request includes the first service identity and the first data generation time;

[0053] Step S711. The primary storage server determines whether the first business data is stored in the primary storage server according to the generation time of the first data. If the first business data is stored in the primary storage server, Then send the corresponding first service data to the node server according to the service data reading request.

[0054] This implementation discloses a scheduling method when business data is stored in a first-level storage server. By detecting the time when the first

Embodiment 3

[0056] Based on Embodiment 2, this embodiment provides a method that when the absolute difference between the generation time of the business data that needs to be read and the current time is greater than the first time period, that is, the business data that needs to be read is no longer stored in the first business A method for reading business data in a server, the method comprising steps S721 and S722:

[0057] Step S721. The primary storage server determines whether the first business data is stored in the primary storage server according to the first data generation time, that is, the absolute difference between the generation time of the business data to be read and the current time greater than the first time period, it is determined that the business data to be read is no longer in the primary storage server, and if the first business data is not stored in the primary storage server, the first business data The read request is marked as the immediate execution state, th

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 invention relates to the technical field of block chains, in particular to a block chain node data storage and data reading method and a storage system.The storage method comprises the steps that a node server receives archiving operation data; the node server generates an archiving instruction according to the archiving operation data and sends the archiving instruction to a first-level storage server; the primary storage server marks the archiving instruction as a to-be-executed state; the second-level storage server monitors an archiving instruction in a to-be-executed state in the first-level storage server; the secondary storage server sequentially executes data migration operation and data clearing operation according to the archiving instruction in the to-be-executed state; according to the method and the device, data archiving is performed on the service data on the secondary storage server, so that the service data after service aging in the secondary storage server is cleared, the memory of the secondary storage server is further simplified, the data reading operation of the secondary storage server in response to the node server is improved. The operation efficiency of the block chain node server is improved.

Description

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

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
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