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

Block chain performance test method, device, equipment and storage medium

A blockchain and performance technology, applied in the blockchain field, can solve problems such as the inability to effectively test the performance of the blockchain system, and achieve the effect of improving efficiency

Active Publication Date: 2020-09-29
JINGDONG TECH HLDG CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method, device, equipment and storage medium for testing the performance of the blockchain, so as to solve the defects that the existing technology cannot effectively test the performance of the blockchain system.

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
  • Block chain performance test method, device, equipment and storage medium
  • Block chain performance test method, device, equipment and storage medium
  • Block chain performance test method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] This embodiment provides a method for testing the performance of a blockchain, which is used for performance testing of the blockchain system based on the consortium chain. The execution subject of this embodiment is a block chain performance testing device, which can be set in computer equipment, such as servers, desktop computers, notebook computers and so on.

[0040] Such as figure 2 As shown, it is a schematic flow chart of the testing method of the block chain performance provided by this embodiment, the method includes:

[0041] Step 101, sending a test query request to the blockchain system, so that the blockchain system can complete the endorsement and uploading of transaction data according to the test query request.

[0042] Specifically, see figure 1 , the test device for blockchain performance can simulate business system A (server) to send query requests (that is, test query requests) to the blockchain system by calling BS system A (BS interface), and B...

Embodiment 2

[0057] This embodiment provides a further supplementary description of the method provided in the first embodiment.

[0058] Such as image 3 As shown in , it is a schematic flow chart of the method for testing the blockchain performance provided by this embodiment.

[0059] As an implementable manner, on the basis of the first embodiment above, optionally, step 102 may specifically include:

[0060] Step 1021, obtain the log data recorded by the blockchain system.

[0061] Step 1022, according to the log data, obtain the first test performance data of the blockchain system.

[0062] Specifically, the blockchain system will record logs during the entire process of operation, such as the time when the transaction data starts to be uploaded for endorsement, the status of the endorsement return, the time when the first transaction endorsement is successful, the time when the last block is generated, and the time before uploading to the chain. File size, file size when the chai...

Embodiment 3

[0114] This embodiment provides a block chain performance testing device, which is used to implement the method of the first embodiment above.

[0115] Such as Figure 6 As shown, it is a schematic structural diagram of the testing device for the blockchain performance provided by this embodiment. The testing device 30 of the blockchain performance includes a sending module 31 , an acquiring module 32 and a processing module 33 .

[0116] Among them, the sending module 31 is used to send a test query request to the block chain system, so that the block chain system can complete the endorsement and chaining of transaction data according to the test query request; the acquisition module 32 is used to obtain the first test query of the block chain system. Performance data, the first test performance data includes at least one of uplink time consumption, uplink throughput TPS, endorsement success rate, file growth rate and synchronization success rate; the processing module 33 is...

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 application provides a test method and device of blockchain performance, equipment and a storage medium. The method includes: sending a test querying request to a blockchain system to enable the blockchain system to complete endorsement and on-chain loading of transaction data according to the test querying request; acquiring first test performance data of the blockchain system; and optimizingthe blockchain system according to the first test performance data. The test querying request is sent to the blockchain system through simulating a service system, the blockchain system is enabled tocomplete a complete process of endorsement and on-chain loading of the transaction data, the first test performance data in completing the whole process by the blockchain system are acquired, and theperformance of the blockchain system is analyzed according to the first test performance data, and efficiency of blockchain system tests can be effectively improved.

Description

technical field [0001] The present application relates to the technical field of blockchain, in particular to a method, device, equipment and storage medium for testing the performance of blockchain. Background technique [0002] Blockchain is considered to be the cornerstone of advancing the Internet from untrustworthy to credible, from information transmission to value transmission. The blockchain is usually jointly managed by multiple blockchain nodes in the blockchain network. The blockchain network is a completely decentralized distributed network. This network may span multiple subnets, multiple data centers, and multiple operations. Businesses, or even multiple countries, whose borders are blurred. Blockchain testing is very different from traditional software testing. [0003] In the prior art, manual testing is usually required, and the testing efficiency is low. Especially for the blockchain test of the consortium chain, there is currently no mature performance ...

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): H04L12/26
CPCH04L43/08H04L43/0852H04L43/0888H04L43/50
Inventor 杨京
Owner JINGDONG TECH HLDG 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