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

Method and device for elastically improving transaction throughput and storage medium

A throughput and transaction volume technology, applied in the information field, can solve problems such as insufficient system processing capacity, huge transaction volume, waste of resources, etc., and achieve the effect of ensuring transaction execution performance, good versatility, and improving real-time performance

Active Publication Date: 2021-08-10
HANGZHOU FUZAMEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under normal circumstances, if the transaction is not in the peak period, the blockchain system usually does not need to accelerate the transaction processing and improve the overall TPS of the system, but in the transaction peak period, the transaction volume of a certain type or several types of transactions is often special. Huge, resulting in insufficient system processing capacity. At this time, if the relevant hardware is deployed according to the heaviest transaction pressure during the peak period to improve system performance, the system will not need to use such high performance most of the time, resulting in serious resources. waste

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
  • Method and device for elastically improving transaction throughput and storage medium
  • Method and device for elastically improving transaction throughput and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] A method for elastically improving transaction throughput, suitable for a blockchain system, the blockchain system is provided with expanded hardware, and the method includes:

[0040] When the growth rate of transactions to be executed in the transaction pool exceeds the transaction growth rate threshold, deploy independent execution units of each transaction type on the expanded hardware, and the independent execution units include executable files of contract transaction executors;

[0041] Statistics of the transaction types of transactions to be executed in the block and the transaction volume of each transaction type;

[0042] Compare the transaction volume of each transaction type with the corresponding set value, and obtain the transaction type whose transaction volume exceeds the set value;

[0043] Start the independent execution unit corresponding to the transaction type whose transaction volume exceeds the set value;

[0044] The independent execution unit ...

Embodiment 2

[0055] A computer device comprising: one or more processors; memory for storing one or more programs which, when executed by the one or more processors, cause the The one or more processors execute the method as described in Embodiment 1.

[0056] A storage medium storing a computer program, when the program is executed by a processor, implements the method described in Embodiment 1 above.

[0057] figure 2 A schematic structural diagram of a device provided in this embodiment.

[0058] Such as figure 2 As shown, as another aspect, the present application also provides a device 500, including one or more central processing units (CPU) 501, which can be 508 programs loaded into random access memory (RAM) 503 to execute various appropriate actions and processes. In the RAM 503, various programs and data necessary for the operation of the device 500 are also stored. The CPU 501 , ROM 502 , and RAM 503 are connected to each other via a bus 504 . An input / output (I / O) inter...

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 discloses a method and device for elastically improving transaction throughput and a storage medium, and belongs to the technical field of information. According to the scheme provided by the invention, execution functions of different contract transaction actuators are packaged into independent execution units, independent deployment can be performed on expansion hardware, and the additional transaction processing capability is provided for a blockchain system; after use, releasing is carried out, so the transaction processing capability is elastically expanded; the resource waste is not caused in the non-transaction peak period, the processing pressure when the transaction peak comes can be effectively dealt with, and the resource utilization rate when the transaction pressure is normal can be ensured.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method, device and storage medium for elastically improving transaction throughput. Background technique [0002] Blockchain is essentially a decentralized database, which is a series of associated data blocks generated by cryptographic methods, and each data block contains the information of the entire network transaction within a certain period of time. A network using blockchain technology architecture can be regarded as a blockchain network. The blockchain network contains multiple blockchain nodes. Any blockchain node can correspond to at least one blockchain. Any blockchain can contain At least one block. Blocks of different heights are connected through chains. In blockchain transactions, the most important operations are to verify transaction legitimacy (Auth), consensus (Consensus) and contract execution. [0003] A smart contract is a computer protocol designed...

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): H04L29/08G06Q40/04
CPCH04L67/1097H04L67/10G06Q40/04H04L9/50
Inventor 何正军王志文吴思进
Owner HANGZHOU FUZAMEI TECH 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