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

Data storage method, data reading method, related equipment and medium

A technology for data storage and transaction data, which is applied in the Internet field, can solve the problems of excessive occupation of memory pool resources, affecting the performance of blockchain network, etc., and achieve the effect of improving performance, saving memory resources, and reducing memory resources.

Active Publication Date: 2020-12-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Practice has shown that the existing data storage methods will excessively occupy the memory resources of the memory pool of each node, thereby affecting the performance of the blockchain network

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 storage method, data reading method, related equipment and medium
  • Data storage method, data reading method, related equipment and medium
  • Data storage method, data reading method, related equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060]The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0061]In order to better perform data processing on the transaction pool of each node in the blockchain network, such as the storage of transaction data, the reading of transaction data, etc.; the transaction data here refers to the data that needs to be uploaded to the blockchain network Any data; The embodiment of the present invention proposes a data processing system based on a blockchain network. SeeFigure 1a As shown, the data processing system may include: at least one client (application, APP) 11, a computer device (blockchian gatway (blockchain connection device, LB)) 12, and a blockchain network 13. Among them, the client terminal 11 can run in any terminal device (such as a smart phone, a tablet computer, a desktop computer, etc.). The computer device 12 may include, but is not...

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 embodiment of the invention discloses a data storage method, a data reading method, related equipment and a medium. The data storage method comprises the steps: responding to a storage request related to target transaction data, and obtaining a transaction hash value of the target transaction data; acquiring first node information of a first node in the blockchain network, wherein the first node information comprises a first node identifier and a first node hash value; determining the service range of the first node according to the first node hash value of the first node; and if the transaction hash value of the target transaction data is located in the service range of the first node, storing the target transaction data into a memory pool of the first node according to the first nodeidentifier. According to the embodiment of the invention, memory occupied resources of the memory pool of the node can be effectively reduced, so that the performance of the blockchain network is improved.

Description

Technical field[0001]The present invention relates to the field of Internet technology, in particular to the field of computer technology, and in particular to a data storage method, a data reading method, a data storage device, a data reading device, a computer equipment, and a computer storage medium.Background technique[0002]Blockchain is a new application mode of computer technology such as distributed data storage, peer-to-peer transmission (P2P transmission), consensus mechanism, encryption algorithm, etc. It is essentially a decentralized database; it is composed of blockchain and peer-to-peer network ( The network formed by the P2P network can be called a blockchain network, and the basic equipment used for data processing in the blockchain network can be called a node device (referred to as a node). Each node has its own memory pool (or called transaction pool). The memory pool here refers to the pool used to temporarily store transaction data that has not been added to the...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/22G06Q20/38H04L29/08G06F9/50
CPCG06F9/5016G06Q20/3827G06F16/2255H04L67/1097
Inventor 李茂材朱耿良杨常青刘区城蓝虎刘攀周开班时一防王宗友张劲松黄焕坤孔利
Owner TENCENT TECH (SHENZHEN) CO LTD
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