Test method, device, equipment and the storage medium of block chain performance
Technical field
This application involves block chain technical field more particularly to a kind of test method of block chain performance, device, equipment and
Storage medium.
Background technique
Block chain is considered as promoting internet that credible, the foundation stone of value delivery is transmitted to by information by insincere.Area
Block chain is usually managed by multiple block chain nodes in block chain network jointly, and block chain network is the distribution of complete decentralization
Formula network, this network may span across multiple subnets, multiple data centers, multiple operators, even more than country, boundary is
Fuzzy.The test of block chain is very different with traditional software test.
In the prior art, it usually needs manual testing, testing efficiency are low.Particularly with the block chain test of alliance's chain, mesh
The preceding not mature performance test methods suitable for alliance's chain, therefore, how effectively to the block catenary system based on alliance's chain
Carry out the technical issues of test becomes urgent need to resolve.
Summary of the invention
The application provides test method, device, equipment and the storage medium of a kind of block chain performance, to solve the prior art
Can not validity test block catenary system performance the defects of.
The application first aspect provides a kind of test method of block chain performance, comprising:
Test query request is sent to block catenary system, so that the block catenary system has been requested according to the test query
Endorsement and cochain at transaction data;
The first test performance data of the block catenary system are obtained, the first test performance data include at least cochain
One of time-consuming, cochain handling capacity TPS, endorsement success rate, file rate of rise and synchronous success rate;
According to the first test performance data, the performance of the block catenary system is determined.
The application the second aspect provides a kind of test device of block chain performance, comprising:
Sending module, for sending test query request to block catenary system, so that the block catenary system is according to
Endorsement and the cochain of transaction data are completed in test query request;
Module is obtained, for obtaining the first test performance data of the block catenary system, the first test performance number
According to including at least cochain time-consuming, cochain handling capacity TPS, endorse one of success rate, file rate of rise and synchronous success rate;
Processing module, for determining the performance of the block catenary system according to the first test performance data.
A kind of computer equipment is provided in terms of the application third, comprising: at least one processor and memory;
The memory stores computer program;At least one described processor executes the computer of the memory storage
Program, the method to realize first aspect offer.
The 4th aspect of the application provides a kind of computer readable storage medium, stores in the computer readable storage medium
There is computer program, the computer program is performed the method for realizing that first aspect provides.
Test method, device, equipment and the storage medium of block chain performance provided by the present application, pass through analog service system
Test query request is sent to block catenary system, block catenary system is made to complete the endorsement of transaction data and the complete procedure of cochain,
And the first test performance data in block catenary system completion whole process are obtained, block is analyzed according to the first test performance data
The performance of catenary system, and optimization processing is carried out, it can effectively improve the efficiency of block catenary system test.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this Shen
Some embodiments please for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram for the test macro that the embodiment of the present application is applicable in;
Fig. 2 is the flow diagram of the test method for the block chain performance that one embodiment of the application provides;
Fig. 3 is the flow diagram of the test method for the block chain performance that another embodiment of the application provides;
Fig. 4 is the overall architecture and operational process schematic diagram for the test macro that this one embodiment of Shen provides;
Fig. 5 is the block chain bottom architecture schematic diagram that this one embodiment of Shen provides;
Fig. 6 is the structural schematic diagram of the test device for the block chain performance that one embodiment of the application provides;
Fig. 7 is the structural schematic diagram for the computer equipment that one embodiment of the application provides.
Through the above attached drawings, it has been shown that the specific embodiment of the application will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Noun involved in the application is explained first:
Block chain: for narrow sense, block chain be it is a kind of sequentially in time by data block in such a way that sequence is connected group
A kind of linked data structure of synthesis, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Extensively
For justice, block chain technology is that algorithm of knowing together with storing data, using distributed node is verified using block linked data structure
Guarantee the safety of data transmission and access with more new data, in the way of cryptography, using by automatized script generation to generate
The intelligent contract of code composition programs the completely new distributed basis framework and calculation paradigm of one kind with operation data.
Alliance's chain: referring to the member and limited third party for some special group, inside specify multiple pre-selections to save
Point is book keeping operation people, and the generation of each block is codetermined by all preselected nodes.
Block chain network: referring to by block chain building in existing communication network, forms one by multiple block chain link points
Block chain network can share the information broadcasted in block chain network between each block chain node in network.Each block
Belong to the relationship of equity between chain node.
Block: refer to the Zhang Liebiao for including in block chain, there is the record of sustainable growth and marshalling.Each area
Block all includes a timestamp and one and previous block links.
Endorsement: refer to the process of other block chain nodes to endorsement application signature, other block chains are applied in endorsement application
Node reaches common understanding to this motion request, allows to generate new block.
Intelligent contract: the business rule executed in a manner of common recognition being preset in block chain.
Keep accounts people, and each piece of generation is codetermined by all preselected nodes.
The test method of block chain performance provided by the embodiments of the present application is suitable for following scene: as shown in Figure 1, for this
Apply for the structural schematic diagram of the applicable test macro of embodiment.The executing subject of the test method of the block chain performance is block chain
The test device of performance, the device can be with analog service system A (server) by calling BS system A (BS interface) to block chain
System sends inquiry request (i.e. test query request), and inquiry request is transmitted to BS the system B, BS of operation system B by BS system A
Inquiry request is sent to operation system B by system B, and operation system responds inquiry request, and return response result, and BS system B will
While response results are transmitted to BS system A, block chain network is sent by transaction data and carries out endorsement and cochain, block chain
Cochain result is returned to BS system A and BS system B by network, keeps each side synchronous with block chain progress data.Wherein A and B is indicated
Two participants in alliance's chain are only illustratively illustrated here with two participants, may include more in practical application
Participant.
In addition, term " first ", " second " etc. are used for description purposes only, it is not understood to indicate or imply relatively important
Property or implicitly indicate the quantity of indicated technical characteristic.In the description of following embodiment, the meaning of " plurality " is two
More than a, unless otherwise specifically defined.
These specific embodiments can be combined with each other below, may be at certain for the same or similar concept or process
It is repeated no more in a little embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Embodiment one
The present embodiment provides a kind of test methods of block chain performance, for carrying out to the block catenary system based on alliance's chain
Performance test.The executing subject of the present embodiment is the test device of block chain performance, which can be set in computer equipment
In, such as server, desktop computer, laptop etc..
As shown in Fig. 2, the flow diagram of the test method for block chain performance provided in this embodiment, this method packet
It includes:
Step 101, test query request is sent to block catenary system, so that block catenary system has been requested according to test query
Endorsement and cochain at transaction data.
Specifically, the test device of block chain performance can pass through calling with analog service system A (server) referring to Fig. 1
BS system A (BS interface) sends inquiry request (i.e. test query request) to block catenary system, and BS system A forwards inquiry request
Inquiry request is sent to operation system B to BS system B, BS the system B of operation system B, operation system responds inquiry request, and
Return response result while response results are transmitted to BS system A by BS system B, sends block chain network for transaction data
Carry out endorsement and cochain result returned to BS system A and BS system B by cochain, block chain network, make each side and block chain into
Row data are synchronous, to complete the endorsement of transaction data and the complete procedure of success cochain.Wherein A and B is indicated in alliance's chain
Two participants are only illustratively illustrated here with two participants, may include more participants in practical application.
It is not by being directly transmitted inside fabric (super account book) since block chain node (order node) generates block
Data test, and data cochain and generate block and order can only be sent to encapsulate transaction by fabric-sdk (also referred to as SDK)
Node.Therefore need analog service system calling BS system rushes positive interface or BS book keeping operation inquiry request interface, is sent to
Fabric-sdk carries out the encapsulation of data, is ranked up to order node to reach Batch sending data and generates block
Purpose, Lai Jinhang indirectly testing.The block of order node generates file in situation and node and uses when statistical data cochain
The data such as growth pattern.
Block catenary system includes the BS system and operation system of block chain network and each participant.
Step 102, the first test performance data of block catenary system are obtained, the first test performance data include at least cochain
One of time-consuming, cochain handling capacity TPS, endorsement success rate, file rate of rise and synchronous success rate.
Specifically, block catenary system during the entire process of operation, will record log, for example transaction data starts to upload back
Time of book, endorsement return state, the first transaction endorse successfully that time, the generation time of last block block, cochain be above
File size, the number of transaction of request and the successful number of transaction of cochain etc. when part size, cochain are completed, can be from block
Catenary system obtains these daily record datas, and the first test performance data of block catenary system are obtained according to these daily record datas.
Illustratively, cochain time-consuming can be last block block the generation time (namely last transaction cochain at
The time of function) it endorses the difference of successful time with the first transaction.
Wherein, the transaction data submitted every time may include one or more transactions, and block chain network can be according to transaction
The size and other modes of data submission time or transaction data carry out piecemeal, that is, determine which transaction record a to block
In.Specifically going out chain process on block is the prior art, and details are not described herein.
Step 103, according to the first test performance data, the performance of block catenary system is determined.
Specifically, after getting the first test performance data of block catenary system, then it can be according to the first test performance
Data are analyzed, and determine the performance of block catenary system.
Optionally, after the performance that block catenary system has been determined, if performance is poor, can and then block catenary system be carried out
Optimization processing.
Illustratively, performance bottleneck analysis, if cochain TPS is too low, Ke Yitong are carried out according to the first test performance data
It crosses increase number of concurrent and subangle tone and is sent to different endorsement nodes (peer node) Lai Gaishan system performance etc. with SDK.
It is alternatively possible to obtain the first test performance of multiple groups data by repeatedly sending test query request, integrated
Judgement.
Optionally, the quantity traded in each transaction data can also be controlled, come block when testing different transaction stroke counts
Generating rate, number of deals or request the rate of cochain, the response time of single or a plurality of data and concurrently inquire number etc.
Deng.The content specifically tested can be arranged according to actual needs, and the present embodiment does not limit.
The test method of block chain performance provided in this embodiment is sent to block catenary system by analog service system and is surveyed
Inquiry request is tried, so that block catenary system is completed the endorsement of transaction data and the complete procedure of cochain, and it is complete to obtain block catenary system
At the first test performance data in whole process, the performance of block catenary system is analyzed according to the first test performance data, it can be with
Effectively improve the efficiency of block catenary system test.
Embodiment two
The method that the present embodiment provides embodiment one does further supplementary explanation.
As shown in figure 3, the flow diagram of the test method for block chain performance provided in this embodiment.
As a kind of enforceable mode, on the basis of the above embodiment 1, optionally, step 102 specifically be can wrap
It includes:
Step 1021, the daily record data of block catenary system record is obtained.
Step 1022, according to daily record data, the first test performance data of block catenary system are obtained.
Specifically, block catenary system during the entire process of operation, will record log, for example transaction data starts to upload back
Time of book, endorsement return state, the first transaction endorse successfully that time, the generation time of last block block, cochain be above
File size, the number of transaction of request and the successful number of transaction of cochain etc. when part size, cochain are completed, can be from block
Catenary system obtains these daily record datas, and the first test performance data of block catenary system are obtained according to these daily record datas.
Illustratively, cochain time-consuming can be last block block the generation time (namely last transaction cochain at
The time of function) it endorses the difference of successful time with the first transaction.
Optionally, daily record data includes that transaction data starts to upload the time of endorsement, endorsement return state, the first transaction
Endorse successful time, last block block generate the time, file size when cochain preceding document size, cochain are completed, request
Number of transaction and the successful number of transaction of cochain;Step 1022 specifically includes:
It is endorsed the generation time of successfully time and last block block according to the first transaction, determines the upper of block catenary system
Chain is time-consuming;
It is time-consuming according to the number of transaction of request and cochain, determine the cochain TPS of block catenary system;
According to endorsement return state, successfully quantity of endorsing is determined, according to the number of transaction of endorse successfully quantity and request, really
Determine the endorsement success rate of block catenary system;
File size, that is, cochain is time-consuming when being completed according to cochain preceding document size, cochain, determines the file of block catenary system
Rate of rise;
According to the number of transaction of cochain successful number of transaction and request, the synchronization success rate of block catenary system is determined.
Specifically, cochain is time-consuming are as follows: generation time of last block block (namely when the success of last transaction cochain
Between) time difference of the successful time (starting the cochain time) of endorsing with the first transaction.
Cochain TPS is that number of transaction (namely the total stroke count of transaction sent)/cochain of request is time-consuming.
Endorsement success rate are as follows: the number of transaction for successful number of transaction/request of endorsing.
File rate of rise are as follows: (file size-cochain preceding document size when cochain is completed)/cochain is time-consuming.
Synchronous success rate are as follows: the number of transaction of the successful number of transaction/request of cochain.
Illustratively, by blacklist data share performance test scene for, as shown in figure 4, for the present embodiment provides
Test macro overall architecture and operational process schematic diagram.
1, performance index definition:
Cochain is time-consuming: last transaction cochain success time and the first transaction are endorsed the difference of successful time.
Cochain TPS: it is time-consuming to send total stroke count (number of transaction requested)/cochain of trading.
Endorsement success rate: successfully quantity/transmission number of transaction (number of transaction requested) in total of endorsing.
File rate of rise: (file size-cochain preceding document size when cochain is completed)/cochain is time-consuming.
2, systematic entirety can be tested:
1.1 inquiry request.That is the test device analog service system A of block chain performance sends inquiry request to BS system A
(namely test query request), request inquiry blacklist data.
1.2 inquiry requests storage.I.e. BS system A stores inquiry request into local data base Mongodb.
Service requests No. 1.3 send out message queue.The step with 1.2 in no particular order sequence.Specially BS system A asks inquiry
It asks and is sent to Kafka and is split and be lined up.Wherein fractionation, which refers to, may include the multiple types to be inquired in inquiry request
Information, for example it is related to more mechanisms, inquiry request is split into a plurality of request and is lined up.Kafka is a kind of high-throughput
Distributed post subscribe to message system, realize the high concurrent of inquiry request.
1.4 returns accept success.That is BS system A returns to inquiry request to the test device of block chain performance and has accepted success
Message.
2.1 consumption inquiry request messages.I.e. after fractionation, BS system A obtains inquiry request from Kafka one by one and is turned
Hair.
The forwarding of 2.2 inquiry requests.That is BS system A obtains inquiry request one by one from Kafka and is transmitted to BS system B.It is optional
Ground can also encrypt inquiry request before being sent to BS system B.
2.3 inquiry request.That is inquiry request is transmitted to by BS system B after the inquiry request for receiving BS system A forwarding
Operation system B, operation system B are the actual services systems of participant B, specifically can be server.Optionally, if inquiry request
Encryption, before being sent to operation system B, it is also necessary to be decrypted.
2.4 return response result.After i.e. operation system B receives inquiry request, inquiry request, and returning response knot are responded
Fruit.It specifically can be and return to the requested blacklist data of inquiry request.Turn 2.5 and 2.6.
2.5 request response results storages.That is BS system B will be responded after the response results for receiving operation system B return
As a result it stores to local database Mongodb.
2.6outTradeNo sends out message queue.I.e. BS system B sends Kafka for response results and is lined up.
2.7 consumption response results message.I.e. BS system B reads response results from Kafka one by one.Turn 2.8 and 3.1
It is forwarded after 2.8 response results.That is BS system B reads response results one by one from Kafka and is transmitted to BS system A.
2.9 response results send out message queue.That is it after BS system A receives the response results of BS system B transmission, is sent to
Kafka is lined up.The test device of block chain performance obtains response results from Kafka.
3.1 integral clearance cochains.That is BS system B reads response results one by one from Kafka and is sent to the progress of block chain network
Endorsement and cochain.Here integral refers to transaction data.
3.2 return to integral clearance result.I.e. cochain result is returned to BS system A and BS system B by block chain network, is made each
Participant is synchronous with block chain network progress data.
As another enforceable mode, on the basis of the above embodiment 1, optionally, this method can also be wrapped
It includes:
Step 2011, chain code function is called to trigger intelligent contract according to preset rules;
Step 2012, obtain block chain the second test performance data, the second test performance data include at least transaction at
One of power, transaction handling capacity, order execution delay and resource consumption;
Step 2013, according to the second test performance data, the performance of block chain is determined.
Optionally, according to the second test performance data, the performance of block chain is determined, comprising:
If resource consumption is higher than first threshold, it is determined that resource consumption is excessively high;
If handling capacity of trading is lower than second threshold, it is determined that transaction handling capacity is too low;
If success rate of trading is lower than third threshold value, it is determined that transaction success rate is too low;
If order execution delay is higher than the 4th threshold value, it is determined that order execution delay is excessively high.
Optionally, this method can also include:
Step 104, according to the performance of block chain, processing is optimized to block catenary system.
Illustratively, if resource consumption is excessively high, hardware configuration is promoted, if transaction handling capacity is too low, modifies intelligent conjunction
Processing logic about and by its distributed deployment etc..
Specifically, being tested by block catenary system, overall performance is no doubt effective, but the property to analyze block chain itself
Energy bottleneck, then need to be accurate to the data inside block chain.It can be by encapsulating fabric in the test device of block chain performance
SDK installs intelligent contract, writes script and calls chain code function to trigger contract, or inquires the state of various distributed account books,
To preferably measure its validity.Test content index includes: transaction success rate, TPS, order execution delay, the resource of handling up of trading
Consumption.After calling chain code function to trigger intelligent contract, in the process of implementation, it will record corresponding data, it is available to arrive area
Second test performance data of block chain estimate system processing capacity according to the second test performance data of block chain, analyze performance bottle
Neck improves original system.If resource consumption is excessively high, hardware configuration is promoted;Handling capacity of trading is too low, modifies intelligent contract processing and patrols
Volume and by its distributed deployment etc..
As shown in figure 5, being block chain bottom architecture schematic diagram provided in this embodiment.Wherein, peer node also belongs to area
Node in block chain network.Fabric refers to that super account book, Fabric SDK refer to super account book Software Development Kit.In addition to
Test device provided with block chain performance, and wherein encapsulating except fabric SDK, other frameworks are the prior art, herein
It repeats no more.
It should be noted that each enforceable mode can individually be implemented in the present embodiment, it can also be in the feelings not conflicted
It is combined in any combination under condition and implements the application without limitation.
The test method of block chain performance provided in this embodiment is sent to block catenary system by analog service system and is surveyed
Inquiry request is tried, so that block catenary system is completed the endorsement of transaction data and the complete procedure of cochain, and it is complete to obtain block catenary system
At the first test performance data in whole process, the performance of block catenary system is analyzed according to the first test performance data, it can be with
Effectively improve the efficiency of block catenary system test.And it can be by encapsulating fabric in the test device of block chain performance
SDK is realized the test to block chain bottom performance, and is optimized based on test result, further increases testing efficiency, and mention
High system performance.
Embodiment three
The present embodiment provides a kind of test devices of block chain performance, the method for executing above-described embodiment one.
As shown in fig. 6, the structural schematic diagram of the test device for block chain performance provided in this embodiment.The block chain
The test device 30 of energy includes sending module 31, obtains module 32 and processing module 33.
Wherein, sending module 31 is used to send test query request to block catenary system, so that block catenary system is according to survey
Try endorsement and cochain that inquiry request completes transaction data;Obtain the first test performance that module 32 is used to obtain block catenary system
Data, the first test performance data include at least cochain time-consuming, cochain handling capacity TPS, endorse success rate, file rate of rise and
One of synchronous success rate;Processing module 33 is used to determine the performance of block catenary system according to the first test performance data.
Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in related this method
It is described in detail in embodiment, no detailed explanation will be given here.
According to the test device of block chain performance provided in this embodiment, sent out by analog service system to block catenary system
It send test query to request, so that block catenary system is completed the endorsement of transaction data and the complete procedure of cochain, and obtain block linkwork
System completes the first test performance data in whole process, and the performance of block catenary system is analyzed according to the first test performance data,
It can effectively improve the efficiency of block catenary system test.
Example IV
The device that the present embodiment provides above-described embodiment three does further supplementary explanation, is mentioned with executing above-described embodiment two
The method of confession.
As a kind of enforceable mode, on the basis of above-described embodiment three, optionally, module is obtained, is specifically used for:
Obtain the daily record data of block catenary system record;
According to daily record data, the first test performance data of block catenary system are obtained.
Optionally, daily record data includes that transaction data starts to upload the time of endorsement, endorsement return state, the first transaction
Endorse successful time, last block block generate the time, file size when cochain preceding document size, cochain are completed, request
Number of transaction and the successful number of transaction of cochain;
Module is obtained, is specifically used for:
It is endorsed the generation time of successfully time and last block block according to the first transaction, determines the upper of block catenary system
Chain is time-consuming;
It is time-consuming according to the number of transaction of request and cochain, determine the cochain TPS of block catenary system;
According to endorsement return state, successfully quantity of endorsing is determined, according to the number of transaction of endorse successfully quantity and request, really
Determine the endorsement success rate of block catenary system;
File size, that is, cochain is time-consuming when being completed according to cochain preceding document size, cochain, determines the file of block catenary system
Rate of rise;
According to the number of transaction of cochain successful number of transaction and request, the synchronization success rate of block catenary system is determined.
As another enforceable mode, on the basis of above-described embodiment three, optionally, processing module is also used to
Chain code function is called to trigger intelligent contract according to preset rules;
Module is obtained, is also used to obtain the second test performance data of block chain, the second test performance data include at least
One of transaction success rate, transaction handling capacity, order execution delay and resource consumption;
Processing module is also used to determine the performance of block chain according to the second test performance data.
Optionally, processing module is specifically used for:
If resource consumption is higher than first threshold, it is determined that resource consumption is excessively high;
If handling capacity of trading is lower than second threshold, it is determined that transaction handling capacity is too low;
If success rate of trading is lower than third threshold value, it is determined that transaction success rate is too low;
If order execution delay is higher than the 4th threshold value, it is determined that order execution delay is excessively high.
As another enforceable mode, on the basis of above-described embodiment three, optionally, processing module is also used to:
According to the performance of block catenary system, processing is optimized to block catenary system.
Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in related this method
It is described in detail in embodiment, no detailed explanation will be given here.
It should be noted that each enforceable mode can individually be implemented in the present embodiment, it can also be in the feelings not conflicted
It is combined in any combination under condition and implements the application without limitation.
According to the test device of the block chain performance of the present embodiment, is sent and surveyed to block catenary system by analog service system
Inquiry request is tried, so that block catenary system is completed the endorsement of transaction data and the complete procedure of cochain, and it is complete to obtain block catenary system
At the first test performance data in whole process, the performance of block catenary system is analyzed according to the first test performance data, it can be with
Effectively improve the efficiency of block catenary system test.And it can be by encapsulating fabric in the test device of block chain performance
SDK is realized the test to block chain bottom performance, and is optimized based on test result, further increases testing efficiency, and mention
High system performance.
Embodiment five
The present embodiment provides a kind of computer equipments, for executing method provided by the above embodiment.The computer equipment
It can be server, desktop computer, laptop etc..
As shown in fig. 7, being the structural schematic diagram of computer equipment provided in this embodiment.The computer equipment 50 includes:
At least one processor 51 and memory 52;
Memory stores computer program;At least one processor executes the computer program of memory storage, to realize
Method provided by the above embodiment.
According to the computer equipment of the present embodiment, test query is sent to block catenary system by analog service system and is asked
It asks, block catenary system is made to complete the endorsement of transaction data and the complete procedure of cochain, and obtain block catenary system and complete entire mistake
The first test performance data in journey are analyzed the performance of block catenary system according to the first test performance data, be can effectively improve
The efficiency of block catenary system test.And it can be realized by encapsulating fabric SDK in the test device of block chain performance
Test to block chain bottom performance, and optimized based on test result, testing efficiency is further increased, and improve systematicness
Energy.
Embodiment six
The present embodiment provides a kind of computer readable storage medium, computer is stored in the computer readable storage medium
Program, computer program are performed the method for realizing that any of the above-described embodiment provides.
According to the computer readable storage medium of the present embodiment, is sent and tested to block catenary system by analog service system
Inquiry request makes block catenary system complete the endorsement of transaction data and the complete procedure of cochain, and obtains the completion of block catenary system
The first test performance data in whole process, the performance of block catenary system is analyzed according to the first test performance data, and is carried out
Optimization processing can effectively improve the efficiency of block catenary system test.And the test device in block chain performance can be passed through
Middle encapsulation fabric SDK is realized the test to block chain bottom performance, and is optimized based on test result, is further increased
Testing efficiency, and improve system performance.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme.