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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com