Distributed data storage method, device and storage medium

A distributed data and data technology, applied in the field of distributed storage and blockchain, can solve the problem of deploying cache servers with multiple costs

Pending Publication Date: 2020-09-08
HANGZHOU FUZAMEI TECH CO LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Deploying a cache

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
  • Distributed data storage method, device and storage medium
  • Distributed data storage method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] 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 ease of description, only parts related to the invention are shown in the drawings.

[0032] 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.

[0033] In the existing technology, the block data of every 1000 blocks will be stored in a distributed manner, specifically: assuming that each node has block (1) ~ block (10999), and the rollback depth is 10000; When node A generates block (11000), it broadcasts block (11000) to other blockchain ...

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 provides a distributed data storage method, a device and a storage medium. The method comprises the steps: receiving query request information, and adding an IP address of a current nodeinto the path information of the query request information; querying whether first block data exists locally or not according to the first data; if not, sending the updated query request informationto a plurality of nodes for executing a distributed data storage method; if yes, returning the first data set and the updated query request information according to the path information; receiving thefirst data set and the updated query request information, storing the second block data, updating the corresponding expiration moment, and returning the first data set and the updated query request information according to the updated path information; and when the current moment is the pre-configured moment, checking whether the current moment exceeds the expiration moment or not, and if so, deleting the stored second block data. According to the method, the readability of the distributed storage data is ensured on the basis of not deploying the cache server.

Description

technical field [0001] The present application relates to the technical fields of distributed storage and blockchain, and in particular to a distributed data storage method, device and storage medium. Background technique [0002] In traditional distributed storage, for example, if four distributed storage machines are arranged, in order to meet the needs of access, a cache server may be deployed on each distributed storage machine; the cache server is used to cache data from distributed storage. The data read from the machine's database. Deploying a cache server costs more. Contents of the invention [0003] In view of the above defects or deficiencies in the prior art, it is desired to provide a distributed data storage method, device and storage medium that ensure the readability of distributed stored data without deploying a cache server. [0004] In the first aspect, the present invention provides a distributed data storage method suitable for blockchain nodes, wher...

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): G06F16/27G06F16/2455G06F16/23
CPCG06F16/27G06F16/2455G06F16/23
Inventor 袁新强王志文吴思进
Owner HANGZHOU FUZAMEI 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