CN106598824B - The method for analyzing performance and device of block chain - Google Patents

The method for analyzing performance and device of block chain Download PDF

Info

Publication number
CN106598824B
CN106598824B CN201611070758.8A CN201611070758A CN106598824B CN 106598824 B CN106598824 B CN 106598824B CN 201611070758 A CN201611070758 A CN 201611070758A CN 106598824 B CN106598824 B CN 106598824B
Authority
CN
China
Prior art keywords
block chain
block
performance
network
chain network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611070758.8A
Other languages
Chinese (zh)
Other versions
CN106598824A (en
Inventor
郭世清
张开翔
莫楠
范瑞彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201611070758.8A priority Critical patent/CN106598824B/en
Publication of CN106598824A publication Critical patent/CN106598824A/en
Application granted granted Critical
Publication of CN106598824B publication Critical patent/CN106598824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method for analyzing performance of block chain, are applied in block chain network, the block chain network includes multiple server nodes, and the block chain network is deployed with test program client, and the method for analyzing performance of the block chain includes:Test program client initiates test request to block chain network;When detecting that the block chain network responds the test request, the corresponding performance indicator of the test request is determined, and for statistical analysis to the test process of the performance indicator;The performance of block chain according to the interpretation of result of statistical analysis.The invention also discloses a kind of performance evaluation devices of block chain.The present invention improves the accuracy of block chain network performance evaluation by carrying out the in-depth analyses of multiple performance indicators to block chain network.

Description

The method for analyzing performance and device of block chain
Technical field
The present invention relates to block chain field more particularly to a kind of method for analyzing performance and device of block chain.
Background technique
In the prior art, the performance evaluation of block chain is tested, carries out prima facie request generally by block chain The performance data to obtain block chain network is tested, does not go deep into block chain network bottom and is analyzed, caused to block chain Results of performance analysis is not accurate enough, not comprehensive enough.
Summary of the invention
It is a primary object of the present invention to propose the method for analyzing performance and device of a kind of block chain, it is intended to solve existing Block chain performance evaluation mode is not deep enough, causes to analyze not comprehensive enough, the not accurate enough technical problem of result.
To achieve the above object, the method for analyzing performance of a kind of block chain provided by the invention is applied to block chain network In, the block chain network includes multiple server nodes, and the block chain network is deployed with test program client, the area The method for analyzing performance of block chain includes:
Test program client initiates test request to block chain network;
When detecting that the block chain network responds the test request, determine that the corresponding performance of the test request refers to Mark, and it is for statistical analysis to the test process of the performance indicator;
The performance of block chain according to the interpretation of result of statistical analysis.
Preferably, before the step of test program client initiates test request to block chain network, the block The method for analyzing performance of chain further includes:
The test program client reads preset intelligent contract;
The intelligent contract of reading is compiled;
Intelligent contract after compiling is deployed in the block chain network, so as to the subsequent intelligent contract based on deployment to The block chain network initiates test request.
Preferably, the corresponding performance indicator of the determination test request, and to the test process of the performance indicator Step for statistical analysis includes:
If the corresponding performance indicator of the test request is block synchronizing speed, server section in block chain network is counted Time difference at the beginning of point downloading block with the end time, and the transaction stroke count of corresponding block, by the transaction stroke count Divided by the time difference;
If the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server section in block chain network is counted Point starts know together time and end time to block;
If the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client is executed in test process The bandwidth traffic of server node, wherein the bandwidth includes into bandwidth and out bandwidth;
If the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test program client End executes in test process, the consumed memory size value of the process of server node and CPU accounting.
Preferably, described to include the step of the performance of block chain according to the interpretation of result:
In the transaction stroke count and downloading block corresponding time difference that the result of output is block, analyzes and trade in block Influence of the stroke count to the data synchronizing speed;
When the result of output is that server node restrains time-consuming to the common recognition of block in block chain network, Analysis server Node knows together performance to the influence of the performance of block chain;
When the result of output is the bandwidth traffic of server node, analyze into bandwidth traffic and transaction request launch speed With the relativity of transaction request size, and the comparison for analyzing bandwidth traffic and block synchronizing speed and single transaction size is closed System;
Be memory consumption in block chain network and when CPU accounting in the result of output, analyze the memory consumption with And the relationship of CPU accounting and the performance of block chain.
Preferably, the server node in the block chain network includes accounting nodes and participation node, the block The method for analyzing performance of chain further includes:
According in the block chain network, the quantity of accounting nodes and participation node determines the numerical value of network size;
According to the number of the numerical value of network size and accounting nodes, the title of the block chain network is generated;Wherein, it orders Name rule is set as WN-CM, and WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
In addition, to achieve the above object, the present invention also proposes a kind of performance evaluation device of block chain, it is applied to block chain In network, the block chain network includes multiple server nodes, and the block chain network is deployed with test program client, institute The performance evaluation device for stating block chain includes:
Initiation module, for initiating test request to block chain network;
Processing module, for determining that the test is asked when detecting that the block chain network responds the test request Corresponding performance indicator is sought, and for statistical analysis to the test process of the performance indicator;
Analysis module, the performance for block chain described in the interpretation of result according to statistical analysis.
Preferably, the performance evaluation device of the block chain further includes:
Read module, for reading preset intelligent contract;
Collector, for being compiled to the intelligent contract of reading;
Deployment module is based on portion for the intelligent contract after compiling to be deployed in the block chain network so as to subsequent The intelligent contract of administration initiates test request to the block chain network.
Preferably, the processing module is also used to,
If the corresponding performance indicator of the test request is block synchronizing speed, server section in block chain network is counted Time difference at the beginning of point downloading block with the end time, and the transaction stroke count of corresponding block, by the transaction stroke count Divided by the time difference;
If the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server section in block chain network is counted Point starts know together time and end time to block;
If the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client is executed in test process The bandwidth traffic of server node, wherein the bandwidth includes into bandwidth and out bandwidth;
If the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test program client End executes in test process, the consumed memory size value of the process of server node and CPU accounting.
Preferably, the analysis module is also used to,
In the transaction stroke count and downloading block corresponding time difference that the result of output is block, analyzes and trade in block Influence of the stroke count to the data synchronizing speed;
When the result of output is that server node restrains time-consuming to the common recognition of block in block chain network, Analysis server Node knows together performance to the influence of the performance of block chain;
When the result of output is the bandwidth traffic of server node, analyze into bandwidth traffic and transaction request launch speed With the relativity of transaction request size, and the comparison for analyzing bandwidth traffic and block synchronizing speed and single transaction size is closed System;
Be memory consumption in block chain network and when CPU accounting in the result of output, analyze the memory consumption with And the relationship of CPU accounting and the performance of block chain.
Preferably, the server node in the block chain network includes accounting nodes and participation node, the block The performance evaluation device of chain further includes:
Determining module, for according in the block chain network, accounting nodes and the quantity for participating in node to determine network The numerical value of scale;
Generation module, for generating the block chain network according to the numerical value of network size and the number of accounting nodes Title;Wherein, naming rule is set as WN-CM, and WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
The method for analyzing performance and device of block chain proposed by the present invention, test program client are first sent out to block chain network Test request is played, when detecting that the block chain network responds the test request, determines the corresponding property of the test request Energy index, and it is for statistical analysis to the test process of the performance indicator, finally according to the interpretation of result of statistical analysis The performance of block chain, the present invention carry out the analysis of multinomial performance index by going deep into block chain network bottom, improve block chain The accuracy of network performance analysis and comprehensive.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for analyzing performance first embodiment of block chain of the present invention;
Fig. 2 is the flow diagram of the method for analyzing performance second embodiment of block chain of the present invention;
Fig. 3 is the functional block diagram of the performance evaluation device first embodiment of block chain of the present invention;
Fig. 4 is the functional block diagram of the performance evaluation device second embodiment of block chain of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:Test program client, which first initiates test to block chain network, asks It asks, when detecting that the block chain network responds the test request, determines the corresponding performance indicator of the test request, and It is for statistical analysis to the test process of the performance indicator, the final property of the block chain according to the interpretation of result of statistical analysis Can, it is not deep enough in a manner of existing block chain performance evaluation to solve, lead to analyze that result is not comprehensive enough, not accurate enough asks Topic.
Technical term involved in the present invention includes:
Block chain:That is the distributed account book database of decentralization.Block chain itself is to be calculated using cryptography for a string in fact Data block caused by method contains multiple block chain network in each data block and trades the information effectively confirmed.Block chain Technique functions are derived from the application of bit coin, are a kind of mature technologies, summary of the invention not set forth herein.
Common recognition mechanism:Common recognition mechanism refers to each transaction node on peer-to-peer network, using common algorithm, to a batch trade into Row confirmation.Used algorithm includes proof of work, and equity proves, multi-signature verifying, election verifying etc..
Participate in node:It refers in particular to participate in block chain network, carries out the network node of transaction and data exchange, each independence Mechanism can possess one to multiple transaction nodes, and each transaction node is one group of physical network, and computer, block chain is using soft The combination of part and database.Between node and node, interconnected by ICP/IP protocol.
Accounting nodes:The network node of signature verification is carried out to current block.It is generated by the node and confirms newest area The legitimacy of block is then broadcast to other nodes and synchronizes newest block.
RPC:Signified RPC full name in English herein is Remote Procedure Call Protocol, what it referred to It is remote procedure call protocol, it is that one kind requests to service from remote computer program by network, without understanding bottom The agreement of layer network technology.The process of remote procedure call is to issue a several processes of execution to server by client to ask The parameter asked, and provided with client, implementing result will return to client.
Intelligent contract:Intelligent contract referred to herein is the clothes for realizing certain logic write with solidity language Business program, and be published on block chain in a manner of binary, it is executed on block chain at some time point for contract participant It calls and obtains result.
The present invention provides a kind of method for analyzing performance of block chain.
Referring to Fig.1, Fig. 1 is the flow diagram of the method for analyzing performance first embodiment of block chain of the present invention.
In the present embodiment, the method for analyzing performance of the block chain is applied in block chain network, the block link network Network includes multiple server nodes, and the block chain network is deployed with test program client, the performance evaluation of the block chain Method includes:
Step S10, test program client initiate test request to block chain network;
Step S20 determines that the test request is corresponding when detecting that the block chain network responds the test request Performance indicator, and it is for statistical analysis to the test process of the performance indicator;
Step S30, the performance of block chain according to the interpretation of result of statistical analysis.
I.e. in the present embodiment, the deployment of block chain network is first carried out, which disposes multiple server nodes;Its In, meet block chain network running environment requirement, and run block chain interconnect network module, can reach an agreement altogether The server of the transaction modules such as nucleus module and data memory module of knowledge, is defined as block chain server node;Finally by full One group of server of sufficient requirements above forms block chain network.Wherein, server node includes accounting nodes and participation node two Kind, accounting nodes and the specific number for participating in node without limitation, are configured as the case may be.
After having disposed block chain network, continue to dispose test program client in the block chain network;Wherein, The running environment requirement for meeting block chain client software, can carry out communication friendship by special communication protocol with block chain network Mutually, and test program client can be defined as according to the server of specified transmission speed and quantity forwarded sending test request End.
It is the specific steps that block chain performance evaluation is done step-by-step in the present embodiment below:
Wherein, step S10, test program client initiate the test request of performance indicator to block chain network;
Firstly, before the step S10, the method for analyzing performance of the block chain further includes:
Step A, the test program client read preset intelligent contract;
Step B is compiled the intelligent contract of reading;
Intelligent contract after compiling is deployed in the block chain network by step C, so as to the subsequent intelligence based on deployment Contract initiates test request to the block chain network.
In the present embodiment, the preset intelligent contract is substantially one section of code set in advance, therefore the test After programmatic client reads the intelligent contract, need first to be compiled the intelligent contract of reading, it then will compiling Intelligent contract afterwards is deployed in the block chain network, subsequent, and the test program client can be based on the intelligence of deployment Contract initiates the test request of performance indicator to the block chain network.The intelligent contract in the present embodiment is equivalent to one Interface, by the interface, the test program client could initiate the test request of performance indicator to the block chain network.
In the present embodiment, the test program client initiates test request to block chain network, can be every time only needle Test request is initiated to a performance indicator, is also possible to initiate test request for multiple performance indicators simultaneously, and to every When one performance indicator initiates test request, multiple transaction or request can be disposably initiated for the performance indicator.It should manage It solves, test program client in the case where the execution test process time-consuming time is certain, trade or request every time by initiation Total amount is more, and load factor is bigger.
Wherein, step S20 determines that the test is asked when detecting that the block chain network responds the test request Corresponding performance indicator is sought, and for statistical analysis to the test process of the performance indicator;
In the present embodiment, after test program client initiates test request to block chain network, if detecting described Block chain network responds the test request, at this point, the test program client determines the corresponding performance of the test request Index, and it is for statistical analysis to the test process of the performance indicator.It should be understood that the block chain network responds institute Test request is stated, substantially indicates that confirmation receives the test request, i.e., makes a response to receiving the test request.
In the present embodiment, the corresponding performance indicator of the test request includes multiple performance index, has block synchronous respectively Speed, common recognition convergence time-consuming, trade type contract-defined interface performance, nontransaction type contract-defined interface performance, block data net synchronization capability, area Block capacity, block are packaged speed etc., and therefore, the embodiment of the step S20 is corresponding following several:
If 1, the corresponding performance indicator of the test request is block synchronizing speed, server in block chain network is counted Time difference at the beginning of node downloading block with the end time, and the transaction stroke count of corresponding block, by the transaction pen Number is divided by the time difference;
Wherein, test method is that monitoring server node block starts to download to the time that addition block chain is completed in downloading The transaction stroke count of difference and the block;
Index calculation formula:Transaction stroke count/block the synchronous consumption time difference of block, index calculation formula:Transaction Stroke count/per second.
If 2, the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server in block chain network is counted Node starts know together time and end time to block;
Wherein, it is defined as:Accounting nodes start execution network common recognition algorithm to a block and start, and reach the institute that builds consensus The time difference of cost;Index calculation formula:Millisecond.
It is worth noting that, common recognition convergence time-consuming refers to:There is different server nodes to both increase in block chain network Block, but due to the synchronizing sequence of the block of different nodes difference, cause the content of block different, and only need to increase at this time One block, therefore, it is necessary to each nodes to carry out common recognition convergence, to determine one of block as being eventually increased to Block in block chain, and the time-consuming exactly each node of convergence of knowing together reaches the time of common recognition.
If 3, the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client executes test process The bandwidth traffic of middle server node, wherein the bandwidth includes into bandwidth and out bandwidth;
If 4, the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test program visitor Family end executes in test process, the consumed memory size value of the process of server node and CPU accounting;
If 5, the corresponding performance indicator of the test request is trade type contract-defined interface, trade type contract-defined interface is counted Transaction total amount, and transaction are packaged into the time difference of block, by the transaction total amount divided by the time difference;
Wherein, test method is in different scales block chain, and test program client is to accounting nodes and participates in node Continuously initiate a large amount of transaction requests;
Index calculation formula is:Transaction total amount/(when last trade is packaged the transaction initiation earliest of generation block time- Between), index unit:Number of deals/per second.
If 6, the corresponding performance indicator of the test request is nontransaction type contract-defined interface, counts nontransaction type contract and connect The time difference that the request total amount and request results of mouth return, by the request total amount divided by the time difference;
Wherein, test method is in different scales block chain, and test program client is continuously initiated greatly node is participated in Measure nontransaction RPC request;
Index calculation formula is:Request total amount/(the last one request time of return-that test program client issues is most The time is initiated in an early request), index unit:Number of request/per second.
If 7, the corresponding performance indicator of the test request is block data net synchronization capability, each clothes in block chain are monitored The block number of deals and block synchronization time difference of business device node, by block number of deals divided by the synchronization time difference;
Wherein, test method is the variation for the block height that monitoring participates in node, calculation block synchronization time difference;
Index calculation formula:Block number of deals/(m- block generates the time when block synchronously completes), index unit:Transaction Number/per second.
It is worth noting that, the variation of the block height refers to:Each node in same block chain is due to including Block number it is different, therefore, corresponding height is different, then needing to carry out the synchronization of block, to realize the height of block It is identical.
If 8, the corresponding performance indicator of the test request is the request of block capacity query, each clothes in block chain are counted The corresponding byte number of block that business device node generates;
Wherein, test method is in different scales block chain, and test program client is continuously initiated greatly node is participated in Measure transaction request, the capacity of the block of query generation;
Index calculation formula:The byte number of block data, index unit:Byte.
If 9, the corresponding performance indicator of the test request is that block is packaged speed, the transaction of block in block chain is counted The several and described block is packaged the time it takes generated, by the number of deals divided by the time it takes;
Wherein, test method is the packing generation time interval for monitoring corresponding block and the number of deals of the block;
Index calculation formula:The number of deals of the block/block is packaged the time it takes;Index unit:Number of deals/every Second.
10, contract-defined interface complexity
Definition:In the interface method of intelligent contract is realized, a variable assignments is executed, contract-defined interface complexity is defined as It is 1.If there is n times variable assignments in the interface, which is N;
Index calculation formula:Contract-defined interface variable assignments number.
In the present embodiment, also the transformation of test program client can be allowed to issue different loads degree according to the needs of test Batch request.And according to the execution method for needing monitoring index in following list, data monitoring and record are carried out, and convert not Same network and scene is to repeat.Wherein, table is as follows:
Wherein, step S30, the performance of block chain according to the interpretation of result of statistical analysis.
In the present embodiment, the corresponding performance indicator of the test request is determined in the test program client, and right It is being statisticallyd analyze as a result, simultaneously output report after the test process of the performance indicator is for statistical analysis, in order to root It was reported that the interpretation of result described in block chain performance.Due to be mentioned above performance indicator include it is a variety of, it is described Test program client equally includes numerous embodiments according to the performance of the interpretation of result block chain, specifically includes:
1) it in the transaction stroke count and downloading block corresponding time difference that the result of output is block, analyzes and is handed in block Easy influence of the stroke count to the data synchronizing speed;Specifically, analyze block in number of transaction how much, between server node The influence of block data synchronizing speed.
2) when the result of output is that server node restrains time-consuming to the common recognition of block in block chain network, Analysis Service Device node knows together performance to the influence of the performance of block chain;Specifically, it can adjust the common recognition model parameter of accounting nodes, to analyze note Influence of the account node common recognition performance to overall performance.
3) it when the result of output is the bandwidth traffic of server node, analyzes and initiates speed into bandwidth traffic and transaction request The relativity of degree and transaction request size, and analyze the comparison of bandwidth traffic and block synchronizing speed and single transaction size Relationship;Specifically, the comparison pass for entering bandwidth demand and transaction request launch speed and transaction request size of accounting nodes is analyzed System, and analyze the relativity of bandwidth demand and block synchronizing speed and single transaction size.
4) when the result of output is memory consumption and CPU accounting in block chain network, the memory consumption is analyzed And the relationship of CPU accounting and the performance of block chain;Specifically, the cpu operating condition of server node program, analysis are recorded The relationship of cpu and overall performance, and the memory consumption situation of server node is recorded, analyze the relationship of cpu and overall performance.
Further, the performance of the block chain according to the interpretation of result, may also include:
Network model is adjusted, influence of the network model to overall performance is analyzed;
The RPC service performance parameter for adjusting server node, analyzes its influence to overall performance;
Analyze the relationship of bandwidth and the server node number quantity direct-connected with accounting nodes;
Increase and decrease the number of nodes in network, analyzes the relationship etc. of itself and overall performance.
It in the present embodiment, is the equal of the definition and index calculation formula of determining performance indexes, to implementation procedure The data of middle record are for statistical analysis, obtain above-mentioned performance indexes under heterogeneous networks, scene as a result, final compare Analysis.
The method for analyzing performance for the block chain that the present embodiment proposes, test program client first are initiated to survey to block chain network Examination request determines that the corresponding performance of the test request refers to when detecting that the block chain network responds the test request It marks, and for statistical analysis to the test process of the performance indicator, finally the block according to the interpretation of result of statistical analysis The performance of chain, the present embodiment carry out the analysis of multinomial performance index by going deep into block chain network bottom, improve block link network The accuracy of network performance evaluation and comprehensive.
Further, in order to improve block chain performance evaluation safety, area of the present invention is proposed based on first embodiment The second embodiment of the method for analyzing performance of block chain.
In the present embodiment, the server node in the block chain network includes accounting nodes and participates in node, is joined According to Fig. 2, the method for analyzing performance of the block chain further includes:
Step S40, according in the block chain network, accounting nodes and the quantity for participating in node determine network size Numerical value;
Step S50 generates the name of the block chain network according to the number of the numerical value of network size and accounting nodes Claim;Wherein, naming rule is set as WN-CM, and WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
In the present embodiment, since the server node in the block chain network includes accounting nodes and participates in saving Point, therefore, in calculation block chain network, the sum of accounting nodes number and participation number of nodes can be according to accounting nodes number and participations The sum of number of nodes determines the numerical value of network size in the block chain network, such as:In block chain network, a total of A, B, D, E tetra- A participation node, and have mono- accounting nodes of C.Therefore according to definition, which is W5.
Index calculation formula:Accounting nodes number+participation number of nodes;Define describing mode:W (accounting nodes number+participation node Number).
The numerical value of network size and then numerical value and accounting nodes according to network size in determining block chain network Number, generate the title of the block chain network.Preferably, WN-CM is set by naming rule, wherein WN indicates network The numerical value of scale, CM indicates the number of accounting nodes, equally by taking above-mentioned example as an example, can determine that accounting nodes are 1, because This, the title of the final block chain network is just:W5-C1.
By this naming rule, block chain network can be carried out clearly, accurately describing, so that each block chain Name between network distinguishes, even if there is multiple block chains communicating simultaneously, will not cause to lead to since title cannot be distinguished The error of letter process.
The present invention further provides a kind of performance evaluation devices of block chain.
It is the functional block diagram of the performance evaluation device first embodiment of block chain of the present invention referring to Fig. 3, Fig. 3.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 3 is only one preferably real The exemplary diagram of example is applied, those skilled in the art, can be light around the functional module of the performance evaluation device of block chain shown in Fig. 3 Easily carry out the supplement of new functional module;The title of each functional module is self-defined title, is only used for auxiliary and understands the block chain Performance evaluation device each program function block, be not used in restriction technical solution of the present invention, the core of technical solution of the present invention The heart is the function to be reached of the functional module of each self-defined title.
In the present embodiment, the performance evaluation device of the block chain is applied in block chain network, the block link network Network includes multiple server nodes, and the block chain network is deployed with test program client, the performance evaluation of the block chain Device includes:
Initiation module 10, for initiating test request to block chain network;
Processing module 20, for determining the test when detecting that the block chain network responds the test request Corresponding performance indicator is requested, and for statistical analysis to the test process of the performance indicator;
Analysis module 30, the performance for block chain described in the interpretation of result according to statistical analysis.
I.e. in the present embodiment, the deployment of block chain network is first carried out, which disposes multiple server nodes;Its In, meet block chain network running environment requirement, and run block chain interconnect network module, can reach an agreement altogether The server of the transaction modules such as nucleus module and data memory module of knowledge, is defined as block chain server node;Finally by full One group of server of sufficient requirements above forms block chain network.Wherein, server node includes accounting nodes and participation node two Kind, accounting nodes and the specific number for participating in node without limitation, are configured as the case may be.
After having disposed block chain network, continue to dispose test program client in the block chain network;Wherein, The running environment requirement for meeting block chain client software, can carry out communication friendship by special communication protocol with block chain network Mutually, and test program client can be defined as according to the server of specified transmission speed and quantity forwarded sending test request End.
Wherein, initiation module 10, for initiating test request to block chain network;
Before the initiation module 10 initiates test request to block chain network, the performance evaluation device of the block chain Further include:
Read module, for reading preset intelligent contract;
Collector, for being compiled to the intelligent contract of reading;
Deployment module is based on portion for the intelligent contract after compiling to be deployed in the block chain network so as to subsequent The intelligent contract of administration initiates test request to the block chain network.
In the present embodiment, the preset intelligent contract is substantially one section of code set in advance, therefore the reading After module reads the intelligent contract, the collector is needed to be compiled the intelligent contract of reading, then institute It states deployment module the intelligent contract after compiling is deployed in the block chain network, subsequent, the initiation module 10 can base In deployment intelligent contract to the block chain network initiate performance indicator test request.The intelligence in the present embodiment is closed It is approximately equivalent to an interface, by the interface, the initiation module 10 could initiate performance indicator to the block chain network Test request.
In the present embodiment, the initiation module 10 initiates test request to block chain network, can be every time only for one A performance indicator initiates test request, is also possible to initiate test request for multiple performance indicators simultaneously, and to each When performance indicator initiates test request, multiple transaction or request can be disposably initiated for the performance indicator.It should be understood that In the case that the execution test process time-consuming time is certain, the initiation module 10 initiates transaction every time or the total amount of request is got over More, load factor is bigger.
Wherein, processing module 20, described in determining when detecting that the block chain network responds the test request The corresponding performance indicator of test request, and it is for statistical analysis to the test process of the performance indicator;
In the present embodiment, after the initiation module 10 initiates test request to block chain network, if detecting described Block chain network responds the test request, at this point, the processing module 20 determines the corresponding performance indicator of the test request, And it is for statistical analysis to the test process of the performance indicator.It should be understood that the block chain network responds the survey Examination request substantially indicates that confirmation receives the test request, i.e., makes a response to receiving the test request.
In the present embodiment, the corresponding performance indicator of the test request includes multiple performance index, has block synchronous respectively Speed, common recognition convergence time-consuming, trade type contract-defined interface performance, nontransaction type contract-defined interface performance, block data net synchronization capability, area Block capacity, block are packaged speed etc., therefore, the step S20:
The embodiment of the processing module 20 is corresponding following several:
If 1, the corresponding performance indicator of the test request is block synchronizing speed, server in block chain network is counted Time difference at the beginning of node downloading block with the end time, and the transaction stroke count of corresponding block, by the transaction pen Number is divided by the time difference;
Wherein, test method is that monitoring server node block starts to download to the time that addition block chain is completed in downloading The transaction stroke count of difference and the block;
Index calculation formula:Transaction stroke count/block the synchronous consumption time difference of block, index calculation formula:Transaction Stroke count/per second.
If 2, the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server in block chain network is counted Node starts know together time and end time to block;
Wherein, it is defined as:Accounting nodes start execution network common recognition algorithm to a block and start, and reach the institute that builds consensus The time difference of cost;Index calculation formula:Millisecond.
It is worth noting that, common recognition convergence time-consuming refers to:There is different server nodes to both increase in block chain network Block, but due to the synchronizing sequence of the block of different nodes difference, cause the content of block different, and only need to increase at this time One block, therefore, it is necessary to each nodes to carry out common recognition convergence, to determine one of block as being eventually increased to Block in block chain, and the time-consuming exactly each node of convergence of knowing together reaches the time of common recognition.
If 3, the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client executes test process The bandwidth traffic of middle server node, wherein the bandwidth includes into bandwidth and out bandwidth;
If 4, the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test program visitor Family end executes in test process, the consumed memory size value of the process of server node and CPU accounting;
If 5, the corresponding performance indicator of the test request is trade type contract-defined interface, trade type contract-defined interface is counted Transaction total amount, and transaction are packaged into the time difference of block, by the transaction total amount divided by the time difference;
Wherein, test method is in different scales block chain, and test program client is to accounting nodes and participates in node Continuously initiate a large amount of transaction requests;
Index calculation formula is:Transaction total amount/(when last trade is packaged the transaction initiation earliest of generation block time- Between), index unit:Number of deals/per second.
If 6, the corresponding performance indicator of the test request is nontransaction type contract-defined interface, counts nontransaction type contract and connect The time difference that the request total amount and request results of mouth return, by the request total amount divided by the time difference;
Wherein, test method is in different scales block chain, and test program client is continuously initiated greatly node is participated in Measure nontransaction RPC request;
Index calculation formula is:Request total amount/(the last one request time of return-that test program client issues is most The time is initiated in an early request), index unit:Number of request/per second.
If 7, the corresponding performance indicator of the test request is block data net synchronization capability, each clothes in block chain are monitored The block number of deals and block synchronization time difference of business device node, by block number of deals divided by the synchronization time difference;
Wherein, test method is the variation for the block height that monitoring participates in node, calculation block synchronization time difference;
Index calculation formula:Block number of deals/(m- block generates the time when block synchronously completes), index unit:Transaction Number/per second.
It is worth noting that, the variation of the block height refers to:Each node in same block chain is due to including Block number it is different, therefore, corresponding height is different, then needing to carry out the synchronization of block, to realize the height of block It is identical.
If 8, the corresponding performance indicator of the test request is the request of block capacity query, each clothes in block chain are counted The corresponding byte number of block that business device node generates;
Wherein, test method is in different scales block chain, and test program client is continuously initiated greatly node is participated in Measure transaction request, the capacity of the block of query generation;
Index calculation formula:The byte number of block data, index unit:Byte.
If 9, the corresponding performance indicator of the test request is that block is packaged speed, the transaction of block in block chain is counted The several and described block is packaged the time it takes generated, by the number of deals divided by the time it takes;
Wherein, test method is the packing generation time interval for monitoring corresponding block and the number of deals of the block;
Index calculation formula:The number of deals of the block/block is packaged the time it takes;Index unit:Number of deals/every Second.
10, contract-defined interface complexity
Definition:In the interface method of intelligent contract is realized, a variable assignments is executed, contract-defined interface complexity is defined as It is 1.If there is n times variable assignments in the interface, which is N;
Index calculation formula:Contract-defined interface variable assignments number.
In the present embodiment, also the transformation of test program client can be allowed to issue different loads degree according to the needs of test Batch request.And according to the execution method for needing monitoring index in following list, data monitoring and record are carried out, and convert not Same network and scene is to repeat.Wherein, table is as follows:
Wherein, analysis module 30, the performance for block chain described in the interpretation of result according to statistical analysis.
In the present embodiment, the corresponding performance indicator of the test request, and the test to the performance indicator are being determined It is that analysis module 30 is statisticallyd analyze as a result, simultaneously output report after process is for statistical analysis, in order to according to report The performance of block chain described in the interpretation of result.Due to be mentioned above performance indicator include it is a variety of, the analysis module 30 according to the performance of the interpretation of result block chain equally include numerous embodiments, specifically includes:
1) it in the transaction stroke count and downloading block corresponding time difference that the result of output is block, analyzes and is handed in block Easy influence of the stroke count to the data synchronizing speed;Specifically, analyze block in number of transaction how much, between server node The influence of block data synchronizing speed.
2) when the result of output is that server node restrains time-consuming to the common recognition of block in block chain network, Analysis Service Device node knows together performance to the influence of the performance of block chain;Specifically, it can adjust the common recognition model parameter of accounting nodes, to analyze note Influence of the account node common recognition performance to overall performance.
3) it when the result of output is the bandwidth traffic of server node, analyzes and initiates speed into bandwidth traffic and transaction request The relativity of degree and transaction request size, and analyze the comparison of bandwidth traffic and block synchronizing speed and single transaction size Relationship;Specifically, the comparison pass for entering bandwidth demand and transaction request launch speed and transaction request size of accounting nodes is analyzed System, and analyze the relativity of bandwidth demand and block synchronizing speed and single transaction size.
4) when the result of output is memory consumption and CPU accounting in block chain network, the memory consumption is analyzed And the relationship of CPU accounting and the performance of block chain;Specifically, the cpu operating condition of server node program, analysis are recorded The relationship of cpu and overall performance, and the memory consumption situation of server node is recorded, analyze the relationship of cpu and overall performance.
Further, the performance of the block chain according to the interpretation of result, may also include:
Network model is adjusted, influence of the network model to overall performance is analyzed;
The RPC service performance parameter for adjusting server node, analyzes its influence to overall performance;
Analyze the relationship of bandwidth and the server node number quantity direct-connected with accounting nodes;
Increase and decrease the number of nodes in network, analyzes the relationship etc. of itself and overall performance.
It in the present embodiment, is the equal of the definition and index calculation formula of determining performance indexes, to implementation procedure The data of middle record are for statistical analysis, obtain above-mentioned performance indexes under heterogeneous networks, scene as a result, final compare Analysis.
The performance evaluation device for the block chain that the present embodiment proposes first is initiated test request to block chain network, is being detected When responding the test request to the block chain network, the corresponding performance indicator of the test request is determined, and to the property The test process of energy index is for statistical analysis, finally the performance of the block chain according to the interpretation of result of statistical analysis, this reality The analysis that example carries out multinomial performance index by going deep into block chain network bottom is applied, the standard of block chain network performance evaluation is improved True property and comprehensive.
Further, in order to improve block chain performance evaluation safety, area of the present invention is proposed based on first embodiment The second embodiment of the performance evaluation device of block chain.
In the present embodiment, the server node in the block chain network includes accounting nodes and participates in node, is joined According to Fig. 4, the performance evaluation device of the block chain further includes:
Determining module 40, for according in the block chain network, accounting nodes and the quantity for participating in node to determine net The numerical value of network scale;
Generation module 50, for generating the block link network according to the numerical value of network size and the number of accounting nodes The title of network;Wherein, naming rule is set as WN-CM, and WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
In the present embodiment, since the server node in the block chain network includes accounting nodes and participates in saving Point, therefore, in calculation block chain network, the sum of accounting nodes number and participation number of nodes, the determining module 40 can be according to note The sum of account number of nodes and participation number of nodes determine the numerical value of network size in the block chain network, such as:In block chain network, always Shared A, B, tetra- participation nodes of D, E, and have mono- accounting nodes of C.Therefore according to definition, which is W5.
Index calculation formula:Accounting nodes number+participation number of nodes;Define describing mode:W (accounting nodes number+participation node Number).
It is determined in block chain network after the numerical value of network size in the determining module 40, the generation module 50 root again According to the numerical value of network size and the number of accounting nodes, the title of the block chain network is generated.Preferably, by naming rule It is set as WN-CM, wherein WN indicates that the numerical value of network size, CM indicate the number of accounting nodes, is equally with above-mentioned example Example can determine that accounting nodes are 1, and therefore, the title of the final block chain network is just:W5-C1.
By this naming rule, block chain network can be carried out clearly, accurately describing, so that each block chain Name between network distinguishes, even if there is multiple block chains communicating simultaneously, will not cause to lead to since title cannot be distinguished The error of letter process.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for analyzing performance of block chain is applied in block chain network, the block chain network includes multiple services Device node, which is characterized in that the block chain network is deployed with test program client, the method for analyzing performance of the block chain Including:
After intelligent contract after obtaining compiling, the intelligent contract after compiling is deployed in the block chain network, with after an action of the bowels The continuous intelligent contract based on deployment initiates test request to the block chain network;
Test program client initiates test request to block chain network;
When detecting that the block chain network responds the test request, the corresponding performance indicator of the test request is determined, And it is for statistical analysis to the test process of the performance indicator;
The performance of block chain according to the interpretation of result of statistical analysis.
2. the method for analyzing performance of block chain as described in claim 1, which is characterized in that intelligence after obtaining compiling After contract, the intelligent contract after compiling is deployed in the block chain network, so as to the subsequent intelligent contract based on deployment to Before the block chain network initiates the step of test request, the method for analyzing performance of the block chain further includes:
The test program client reads preset intelligent contract;
The intelligent contract of reading is compiled.
3. the method for analyzing performance of block chain as described in claim 1, which is characterized in that the determination test request pair The performance indicator answered, and the step for statistical analysis to the test process of the performance indicator includes:
If the corresponding performance indicator of the test request is block synchronizing speed, count in block chain network under server node Carry time difference with the end time at the beginning of block, and the transaction stroke count of corresponding block, by the transaction stroke count divided by The time difference;
If the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server node pair in block chain network is counted Block starts know together time and end time;
If the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client executes to be serviced in test process The bandwidth traffic of device node, wherein the bandwidth includes into bandwidth and out bandwidth;
If the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test programmatic client is held In row test process, the consumed memory size value of the process of server node and CPU accounting.
4. the method for analyzing performance of block chain as claimed in claim 3, which is characterized in that described according to the interpretation of result institute The step of stating the performance of block chain include:
In the transaction stroke count and downloading block corresponding time difference that the result of output is block, stroke count of trading in block is analyzed Influence to the block synchronizing speed;
It is that server node restrains time-consuming to the common recognition of block in block chain network in the result of output, Analysis server node is total Knowing performance influences the performance of block chain;
When the result of output is the bandwidth traffic of server node, analyze into bandwidth traffic and transaction request launch speed and friendship The easily relativity of request size, and analyze the relativity of bandwidth traffic and block synchronizing speed and single transaction size;
When the result of output is memory consumption and CPU accounting in block chain network, the memory consumption and CPU are analyzed The relationship of accounting and the performance of block chain.
5. the method for analyzing performance of block chain according to any one of claims 1-4, which is characterized in that the block chain network In server node include accounting nodes and participate in node, the method for analyzing performance of the block chain further includes:
According in the block chain network, the quantity of accounting nodes and participation node determines the numerical value of network size;
According to the number of the numerical value of network size and accounting nodes, the title of the block chain network is generated;Wherein, name rule It is then set as WN-CM, WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
6. a kind of performance evaluation device of block chain is applied in block chain network, the block chain network includes multiple services Device node, which is characterized in that the block chain network is deployed with test program client, the performance evaluation device of the block chain Including:
Intelligent contract after compiling is deployed to the block chain after intelligent contract after obtaining compiling by deployment module In network, so that the subsequent intelligent contract based on deployment initiates test request to the block chain network;
Initiation module, for initiating test request to block chain network;
Processing module, for determining the test request pair when detecting that the block chain network responds the test request The performance indicator answered, and it is for statistical analysis to the test process of the performance indicator;
Analysis module, the performance for block chain described in the interpretation of result according to statistical analysis.
7. the performance evaluation device of block chain as claimed in claim 6, which is characterized in that the performance evaluation of the block chain fills It sets and further includes:
Read module, for reading preset intelligent contract;
Collector, for being compiled to the intelligent contract of reading.
8. the performance evaluation device of block chain as claimed in claim 6, which is characterized in that the processing module is also used to,
If the corresponding performance indicator of the test request is block synchronizing speed, count in block chain network under server node Carry time difference with the end time at the beginning of block, and the transaction stroke count of corresponding block, by the transaction stroke count divided by The time difference;
If the corresponding performance indicator of the test request is that common recognition convergence is time-consuming, server node pair in block chain network is counted Block starts know together time and end time;
If the corresponding performance indicator of the test request is bandwidth, statistical test programmatic client executes to be serviced in test process The bandwidth traffic of device node, wherein the bandwidth includes into bandwidth and out bandwidth;
If the corresponding performance indicator of the test request is memory consumption and CPU accounting, statistical test programmatic client is held In row test process, the consumed memory size value of the process of server node and CPU accounting.
9. the performance evaluation device of block chain as claimed in claim 8, which is characterized in that the analysis module is also used to,
In the transaction stroke count and downloading block corresponding time difference that the result of output is block, stroke count of trading in block is analyzed Influence to the block synchronizing speed;
It is that server node restrains time-consuming to the common recognition of block in block chain network in the result of output, Analysis server node is total Knowing performance influences the performance of block chain;
When the result of output is the bandwidth traffic of server node, analyze into bandwidth traffic and transaction request launch speed and friendship The easily relativity of request size, and analyze the relativity of bandwidth traffic and block synchronizing speed and single transaction size;
When the result of output is memory consumption and CPU accounting in block chain network, the memory consumption and CPU are analyzed The relationship of accounting and the performance of block chain.
10. the performance evaluation device of block chain as claim in any one of claims 6-9, which is characterized in that the block link network Server node in network includes accounting nodes and participates in node, and the performance evaluation device of the block chain further includes:
Determining module, for according in the block chain network, accounting nodes and the quantity for participating in node to determine network size Numerical value;
Generation module, for generating the name of the block chain network according to the numerical value of network size and the number of accounting nodes Claim;Wherein, naming rule is set as WN-CM, and WN indicates that the numerical value of network size number, CM indicate the number of accounting nodes.
CN201611070758.8A 2016-11-25 2016-11-25 The method for analyzing performance and device of block chain Active CN106598824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611070758.8A CN106598824B (en) 2016-11-25 2016-11-25 The method for analyzing performance and device of block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611070758.8A CN106598824B (en) 2016-11-25 2016-11-25 The method for analyzing performance and device of block chain

Publications (2)

Publication Number Publication Date
CN106598824A CN106598824A (en) 2017-04-26
CN106598824B true CN106598824B (en) 2018-11-20

Family

ID=58593538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611070758.8A Active CN106598824B (en) 2016-11-25 2016-11-25 The method for analyzing performance and device of block chain

Country Status (1)

Country Link
CN (1) CN106598824B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020212436A1 (en) * 2019-04-15 2020-10-22 Eygs Llp Systems, apparatus and methods for local state storage of distributed ledger data without cloning
US11777734B2 (en) 2019-04-15 2023-10-03 Eygs Llp Methods and systems for tracking and recovering assets stolen on distributed ledger-based networks

Families Citing this family (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274186A (en) * 2017-05-11 2017-10-20 上海点融信息科技有限责任公司 The method and apparatus that intelligent contract-defined interface is obtained in block chain
CN107329888B (en) * 2017-05-31 2019-10-18 深圳前海微众银行股份有限公司 Intelligent contract operation code coverage rate calculation method and system
EP3418998A1 (en) * 2017-06-22 2018-12-26 Nokia Technologies Oy Road traffic management
US10552556B2 (en) 2017-08-03 2020-02-04 Liquineq AG System and method for performance testing of scalable distributed network transactional databases
CN107317730B (en) * 2017-08-21 2020-09-04 上海点融信息科技有限责任公司 Method, equipment and system for monitoring state of block chain node
CN107943691B (en) * 2017-11-17 2022-03-01 深圳圣马歌科技有限公司 Method and device for automatically generating function test page of intelligent contract
WO2019113016A1 (en) * 2017-12-04 2019-06-13 Dan Kikinis System and method for performance testing of scalable distributed network transactional databases
CN108304307B (en) * 2018-01-24 2022-03-04 深圳圣马歌科技有限公司 Performance detection method of intelligent contract on block chain
CN110213304B (en) * 2018-02-28 2021-11-30 成都高新信息技术研究院 Block chain network interconnection method and system
CN108600353B (en) * 2018-04-12 2021-01-12 北京天德科技有限公司 Parallel block synchronization method of block chain nodes
CN108512939B (en) * 2018-04-17 2020-09-11 深圳市元征科技股份有限公司 Block chain consensus method, device and related equipment
CN108763058A (en) * 2018-04-24 2018-11-06 苏州同济区块链研究院有限公司 A kind of block chain evaluation system
CN108648079A (en) * 2018-05-02 2018-10-12 北京阿尔山金融科技有限公司 Block chain node monitoring method, apparatus and system
WO2020003131A1 (en) * 2018-06-25 2020-01-02 Blocktest Global Systems and methods to automatically evaluate blockchain-based solution performance
CN108880941A (en) * 2018-06-29 2018-11-23 佛山伊苏巨森科技有限公司 A kind of data transmitting test device and its data processing method of block chain
CN109088792A (en) * 2018-08-06 2018-12-25 佛山市甜慕链客科技有限公司 A kind of block chain data transmission testing method and device
CN109408373B (en) * 2018-09-26 2022-03-04 深圳壹账通智能科技有限公司 Test method of intelligent contract, computer readable storage medium and test terminal
CN109408304A (en) * 2018-09-27 2019-03-01 深圳壹账通智能科技有限公司 Block chain introduces test method, device, equipment and readable storage medium storing program for executing
CN109639751B (en) * 2018-10-16 2021-12-21 平安科技(深圳)有限公司 Block chain link point monitoring method, device and system and computer storage medium
US11146399B2 (en) 2018-10-19 2021-10-12 Eygs Llp Methods and systems for retrieving zero-knowledge proof-cloaked data on distributed ledger-based networks
CN111181796B (en) * 2018-11-09 2022-07-05 北京天德科技有限公司 Block chain consensus protocol testing method and system based on enabler
CN109508295B (en) * 2018-11-14 2021-11-09 联动优势科技有限公司 Block chain consensus algorithm testing method and device, calculating device and storage medium
CN111199051A (en) * 2018-11-20 2020-05-26 慧盾信息安全科技(苏州)股份有限公司 Data tracing system and method based on block chain technology
CN109639521B (en) * 2018-12-05 2020-09-29 京东数字科技控股有限公司 Block chain performance testing method, device, equipment and storage medium
CN109815098A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 The performance test methods of block catenary system, corresponding device and electronic equipment
CN109636543A (en) * 2018-12-25 2019-04-16 北京云测网络科技有限公司 A kind of block chain test method and device
CN109753433A (en) * 2018-12-26 2019-05-14 中链科技有限公司 Automated testing method, device and electronic equipment based on block chain
CN109753418B (en) * 2018-12-28 2022-07-12 金蝶软件(中国)有限公司 Performance test method and device, computer equipment and storage medium
CN109710385A (en) * 2018-12-29 2019-05-03 杭州趣链科技有限公司 A kind of intelligent contract complexity method for limiting based on Java Virtual Machine
CN109885462A (en) * 2019-01-10 2019-06-14 深圳银链科技有限公司 A kind of block chain node performance test methods, system, equipment and storage medium
CN109885463A (en) * 2019-01-16 2019-06-14 杭州趣链科技有限公司 A method of the block chain common recognition agreement asynchronous performance analysis based on log
CN109947740B (en) * 2019-01-25 2020-12-29 北京邮电大学 Performance optimization method and device of block chain system
CN109948927A (en) * 2019-03-15 2019-06-28 北京世纪诚链科技有限公司 A kind of method for analyzing performance for distributed account book
CN110061889A (en) * 2019-04-01 2019-07-26 北京众享比特科技有限公司 Block chain performance test methods, device, equipment and storage medium
CN109981416B (en) * 2019-04-04 2022-07-12 中山大学 Block chain performance detection method and system
US11943358B2 (en) 2019-04-15 2024-03-26 Eygs Llp Methods and systems for identifying anonymized participants of distributed ledger-based networks using zero-knowledge proofs
CN111835533A (en) * 2019-04-15 2020-10-27 富士通株式会社 Device for checking block chain network
CN110113229A (en) * 2019-05-01 2019-08-09 中央财经大学 A kind of block chain reference performance test macro and tool
CN112073254A (en) * 2019-06-11 2020-12-11 南京慕测信息科技有限公司 Performance test method for Ethernet bay block chain
CN110445684B (en) * 2019-08-09 2021-04-02 中国信息通信研究院 Block chain performance benchmark test method and device
CN110580206B (en) * 2019-09-16 2023-04-28 上海保险交易所股份有限公司 Method, medium and control device for pressure testing of blockchain system
CN110990208A (en) * 2019-12-12 2020-04-10 深圳市网心科技有限公司 Cluster test file deployment and performance test method, computer equipment and medium
CN111339181B (en) * 2020-02-10 2021-08-06 腾讯科技(深圳)有限公司 Block storage method, block storage device, node equipment and storage medium
CN111447112B (en) * 2020-03-25 2021-11-26 中国银行股份有限公司 Block chain network monitoring system, device and method
CN111638998A (en) * 2020-05-29 2020-09-08 宝鸡文理学院 Block chain evaluation system
CN111767211A (en) * 2020-06-15 2020-10-13 北京同邦卓益科技有限公司 Test method and device of alliance chain, storage medium and electronic device
CN112486830B (en) * 2020-06-24 2023-04-18 支付宝(杭州)信息技术有限公司 Pressure testing method, device and system for block chain network
CN111953546B (en) * 2020-08-20 2023-03-24 上海和数软件有限公司 Internet of things equipment management method based on block chain system and intelligent home system
CN112818055B (en) * 2020-12-29 2023-05-19 杭州趣链科技有限公司 Block chain performance optimization method, device and equipment
CN112860531B (en) * 2021-02-22 2022-11-25 北京航空航天大学 Block chain wide consensus performance evaluation method based on deep heterogeneous graph neural network
CN113079067A (en) * 2021-03-30 2021-07-06 上海万向区块链股份公司 Union chain performance bottleneck testing system and method based on multidimensional data integration analysis

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035938A (en) * 2013-03-07 2014-09-10 阿里巴巴集团控股有限公司 Performance continuous integration data processing method and device
CN104572444B (en) * 2014-12-10 2018-07-03 网易(杭州)网络有限公司 A kind of game performance cloud test platform and its test method
CN104536888A (en) * 2014-12-24 2015-04-22 网易(杭州)网络有限公司 Game testing method and system for mobile devices
US20160321676A1 (en) * 2015-05-01 2016-11-03 Monegraph, Inc. Sharing content within social network services

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020212436A1 (en) * 2019-04-15 2020-10-22 Eygs Llp Systems, apparatus and methods for local state storage of distributed ledger data without cloning
US11777734B2 (en) 2019-04-15 2023-10-03 Eygs Llp Methods and systems for tracking and recovering assets stolen on distributed ledger-based networks
US11811946B2 (en) 2019-04-15 2023-11-07 Eygs Llp Systems, apparatus and methods for backing up and auditing distributed ledger data within a network and securely without using private keys

Also Published As

Publication number Publication date
CN106598824A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN106598824B (en) The method for analyzing performance and device of block chain
CN109872152A (en) Block chain common recognition method and relevant device based on share authorisation verification mechanism
CN106657216B (en) Serial number generation method and device
WO2017143773A1 (en) Crowdsourcing learning method and device
CN106487603A (en) A kind of response test method and device
WO2022267715A1 (en) Oracle machine node screening method and apparatus, and storage medium and electronic apparatus
CN108898440A (en) Flow exchanging method and device
CN105610958A (en) Method and device for selecting time synchronization server and intelligent terminal
CN109783357A (en) The method and device of test application program, computer equipment, storage medium
CN111737765A (en) Method and device for managing block chain resources
CN109729013A (en) The method, apparatus and computer readable storage medium of token are added in a kind of traffic shaping
CN107682316A (en) The generation method and dynamic password sending method of dynamic password sending strategy
CN103209102A (en) Web quality of service distributed measurement system and method
CN110930254A (en) Data processing method, device, terminal and medium based on block chain
CN110188027A (en) Performance estimating method, device, equipment and the storage medium of production environment
CN112020018B (en) Block chain accounting group generation method, consensus method and block chain system
CN108631903B (en) A kind of PRACH lead code sequence determines method and device
CN111858458A (en) Method, device, system, equipment and medium for adjusting interconnection channel
Damaj et al. An analytical framework for effective joint scheduling over TDD-based mobile networks
CN103326892B (en) The operating method and device of web interface
CN109815121A (en) Interface automatic test cases generation method and relevant device
CN114449569B (en) User traffic usage processing method, network equipment and service processing system
CN110019730A (en) Automatic interaction system and intelligent terminal
CN113626186A (en) Load balancing method and system of server and computer readable storage medium
CN113268340A (en) Virtual resource package generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant