Data processing method and device based on distributed storage, equipment and medium

A technology of distributed storage and data processing, applied in the field of blockchain, it can solve the problems of limited blockchain structure, limited local storage capacity, limited hard disk space, etc.

Active Publication Date: 2021-03-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It should be noted that the local storage and storage layer in the consensus node A are two independent hard disk spaces, so that when using the local storage in the consensus node A for data storage, it will be limited by the entire hard disk space , resulting in a limited amount of storage for local storage
[0003] In addition, in other blockchain systems, some consensus nodes can also be allowed to use independent databases for data storage. However, for these blockchain systems, when using independent databases for data storage, t...

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 processing method and device based on distributed storage, equipment and medium
  • Data processing method and device based on distributed storage, equipment and medium
  • Data processing method and device based on distributed storage, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0070] See figure 1 , figure 1 It is a schematic diagram of a network architecture provided by the embodiment of this application. Such as figure 1 The network architecture shown can be applied to a blockchain system, which can be a distributed system formed by connecting multiple nodes through network communication. Wherein, the blockchain system may include but not limited to the blockchain system corresponding to the consortium chain.

[0071] Among them, it is understandable that bl...

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 data processing method and device based on distributed storage, equipment and a medium, and the method comprises the steps: carrying out the space detection of a first block processing space of a storage buffer pool when first block data is written into a local cache and a local storage, and obtaining a first space detection result; if the first space detection result indicates that the number of the to-be-stored blocks does not reach the buffer block processing threshold, writing the first block data into the storage buffer pool based on the N pieces of to-be-stored block data; performing space detection on a second block processing space of a storage processing pool to obtain a second space detection result; and if the second space detection result indicates thatthe number of the to-be-fed back blocks does not reach the feedback block processing threshold, based on the number of the to-be-fed back blocks and the feedback block processing threshold, determining to carry out overlapping detection with the M to-be-fed back block data and the to-be-merged block data from the storage buffer pool, and writing the data after overlapping detection into a distributed database. By adopting the method and the device, the data storage efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of blockchain, and in particular to a data processing method, device, device and medium based on distributed storage. Background technique [0002] At present, in the blockchain system, some consensus nodes participating in the consensus (for example, consensus node A) often use local storage as the data storage medium when storing data. For example, when the consensus node A passes the consensus layer In the process of block consensus on a block (for example, block N), the execution layer can be further called to execute each transaction in the block N, and then the transaction execution results of each transaction can be executed when the block consensus is reached Send it to the storage layer so that the storage layer can write the block information (for example, block header, transaction list, transaction execution result, etc.) of the block N into local storage. It should be noted that the lo...

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/2455
CPCG06F16/27G06F16/24552G06F3/0604G06F3/064G06F3/0656G06F3/067
Inventor 刘区城李茂材王宗友蓝虎周开班孔利刘攀朱耿良时一防
Owner TENCENT TECH (SHENZHEN) 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