Unlock instant, AI-driven research and patent intelligence for your innovation.

Data caching method and device based on block chain, electronic equipment and medium

A data cache and blockchain technology, applied in the blockchain field, can solve problems such as high number of interactions and low efficiency of block transaction execution

Pending Publication Date: 2020-08-04
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, during the operation of Ethereum, it is necessary to read the relevant transaction data of the current block from the disk. However, if each time a new block is generated, it is necessary to read the transaction data related to the current block from the disk Transaction data will cause frequent data reading from the disk, which will lead to a high number of interactions between the central processing unit (Central Processing Unit, CPU) and the disk’s input / output (Input / Output, I / O), making Block transaction execution efficiency is not high

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 caching method and device based on block chain, electronic equipment and medium
  • Data caching method and device based on block chain, electronic equipment and medium
  • Data caching method and device based on block chain, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0038]Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present invention can be implemented in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0039] According to an embodiment of the present invention, a blockchain-based data cache ...

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 provides a data caching method based on a block chain, a data caching device based on the block chain, electronic equipment and a computer readable storage medium. Thedata caching method comprises the following steps: establishing a global cache, wherein the global cache is used for storing data read from a disk; reading account data corresponding to the to-be-processed block from the global cache; executing the transaction in the to-be-processed block according to the account data; and updating the account data in the global cache based on the transaction execution result. According to the technical scheme of the embodiment of the invention, on one hand, the data reading duration can be reduced through the method, so that the data reading efficiency is improved, and on the other hand, the I / O interaction frequency can be reduced through reading the data from the global cache, so that the transaction execution efficiency of the block is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of blockchain, and more specifically, embodiments of the present invention relate to a data caching method based on blockchain, a data caching device based on blockchain, electronic equipment, and a computer-readable storage medium. Background technique [0002] With the rapid heating up of blockchain technology, its technology and application scenarios have received more and more attention. As a representative of blockchain 2.0, Ethereum provides a distributed platform that can run smart contracts. Among them, the Ethereum Virtual Machine (Ethereum Virtual Machine, EVM) applied to Ethereum is a Turing-complete 256-bit virtual machine, which provides better certainty, termination and isolation for smart contracts. [0003] At present, during the operation of Ethereum, it is necessary to read the relevant transaction data of the current block from the disk. However, if each time a new b...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0656G06F3/067
Inventor 刘本龙杜茂兵王康赖奕宇王挺曹崇瑞
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More