Movatterモバイル変換


[0]ホーム

URL:


CN106302017B - The small capaciated flow network velocity-measuring system of high concurrent and method - Google Patents

The small capaciated flow network velocity-measuring system of high concurrent and method
Download PDF

Info

Publication number
CN106302017B
CN106302017BCN201610683355.4ACN201610683355ACN106302017BCN 106302017 BCN106302017 BCN 106302017BCN 201610683355 ACN201610683355 ACN 201610683355ACN 106302017 BCN106302017 BCN 106302017B
Authority
CN
China
Prior art keywords
speed
client
server
tests
test
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
CN201610683355.4A
Other languages
Chinese (zh)
Other versions
CN106302017A (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.)
CHENGDU POWEROPT SOFTWARE Co Ltd
Original Assignee
CHENGDU POWEROPT SOFTWARE 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 CHENGDU POWEROPT SOFTWARE Co LtdfiledCriticalCHENGDU POWEROPT SOFTWARE Co Ltd
Priority to CN201610683355.4ApriorityCriticalpatent/CN106302017B/en
Publication of CN106302017ApublicationCriticalpatent/CN106302017A/en
Application grantedgrantedCritical
Publication of CN106302017BpublicationCriticalpatent/CN106302017B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention relates to a kind of small capaciated flow network velocity-measuring system of high concurrent and methods, its system includes test the speed client and dispatch server and multiple servers that test the speed, the client that tests the speed is for sending request of testing the speed to dispatch server, dispatch server is used to receive the request of testing the speed for the client that tests the speed, according to the busy extent of test the speed request and server, test the speed scheme and the corresponding server that tests the speed are distributed to send the client that tests the speed for request of testing the speed.It supports high concurrent to test the speed, and the time of consumed flow and consumption is few.

Description

The small capaciated flow network velocity-measuring system of high concurrent and method
Technical field
The present invention relates to network velocity measuring technique field, in particular to the small capaciated flow network velocity-measuring system of a kind of high concurrent and sideMethod.
Background technique
With user's high speed development of broadband network (fixed network) and mobile network's (mobile network), network bandwidth is rapidly mentionedHeight, the demand that network tests the speed are increasing.But traditional HTTP and FTP uploads the survey of downloading with the big packet mode of Socket UDPSpeed is very high to the band width in physical requirement for the server that tests the speed, and can not accomplish that the network of high concurrent tests the speed;And traditional speed testing modeLarger to the customer impact that tests the speed, when testing the speed, user is not available other any network applications substantially yet, otherwise will be to the knot that tests the speedFruit generates large effect.
Summary of the invention
The purpose of the present invention is in view of the deficienciess of the prior art, providing a kind of small capaciated flow network velocity-measuring system of high concurrentAnd method, support high concurrent to test the speed, the time of consumed flow and consumption is few, rate accuracy small to the customer impact that tests the speedIt is high.
The purpose of the present invention is what is realized using following proposal: a kind of small capaciated flow network velocity-measuring system of high concurrent, including surveysFast client, dispatch server and it is multiple test the speed server (two or more), it is described test the speed client for send surveyTo dispatch server, the dispatch server is used to receive the request of testing the speed for the client that tests the speed for speed request, according to test the speed request withAnd the busy extent for the server that tests the speed, test the speed scheme and the corresponding clothes that test the speed are distributed to send the client that tests the speed for request of testing the speedBusiness device.
In certain application scenarios, test the speed if necessary to complete end-to-end monitoring, then the small stream of high concurrent of the inventionMeasuring network velocity-measuring system further includes probe server, the server end that the probe server tests the speed as the client that tests the speed, and is madeFor the client for the server that tests the speed, test the speed for carrying out network end-to-end.Preferably, probe server is three, threeProbe server is deployed in access layer, convergence layer, in core layer respectively, surveys primarily to carrying out network end-to-end monitoringSpeed, can completely be diagnosed by the small flow speed measuring for regular high (second grade) frequency that tests the speed is client network, access layer on earthThere is bottleneck or problem in network, convergence layer network or core layer network.
Multiple servers that test the speed constitute the server cluster that tests the speed.
A kind of small capaciated flow network velocity-measuring system of high concurrent, including the client that tests the speed, dispatch server, probe server and oneA server that tests the speed, it is described test the speed client for send test the speed request to dispatch server, the probe server is as surveyThe server end that fast client tests the speed tests the speed as the client for the server that tests the speed for carrying out network end-to-end, describedDispatch server is used to receive the request of testing the speed of client, according to the busy extent of test the speed request and server end, to sendThe client distribution of request of testing the speed is tested the speed scheme and corresponding server end.Preferably, probe server is three, three spiesNeedle server is deployed in access layer, convergence layer, in core layer respectively, tests the speed primarily to carrying out network end-to-end,Can completely be diagnosed by the small flow speed measuring for regular high (second grade) frequency that tests the speed is client network, access layer net on earthThere is bottleneck or problem in network, convergence layer network or core layer network.
The small capaciated flow network velocity-measuring system of high concurrent of the invention further includes data acquisition server, the data acquisition serviceDevice is used to receive measurement data from client server, and is stored.
The client that tests the speed is smart machine, including smart phone, PC/notebook/Mac, intelligent gateway, intelligenceIt can TV, Intelligent set top box, intelligent router.
A kind of small capaciated flow network speed-measuring method of high concurrent, includes the following steps:
S1) client initiates request of testing the speed to dispatch server;
S2) dispatch server is according to the busy extent of test the speed request and server end, for the client for sending request of testing the speedDistribute test the speed scheme and corresponding server end;
S3) when client request downlink tests the speed, if client network is limiting speed of token bucket mode, server end hairLimiting speed of token bucket testing scheme is played to test the speed;If the non-speed limit of client network uses leaky bucket speed limit, server end rootIt tests the speed according to the request initiation downlink physical bandwidth test scheme that tests the speed or/and downlink available bandwidth testing scheme tests the speed;
S4) when client request uplink tests the speed, if client network is limiting speed of token bucket mode, client is initiatedLimiting speed of token bucket testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit, client is according to surveySpeed request initiation ascending physical signal bandwidth test scheme tests the speed or/and uplink available bandwidth testing scheme tests the speed.
Request of testing the speed includes network type locating for direction of testing the speed, priority, client.
Result that client server obtained after testing the speed test the speed is reported to data acquisition server, data acquisition clothesBusiness device records the result that tests the speed.The result that tests the speed may include but be not limited to band width in physical, available bandwidth, peak value band width in physical and (only usesTest the speed in token bucket testing scheme), peak value available bandwidth (being only used for token bucket testing scheme to test the speed), packet loss, time delay, every timeTest the speed elapsed time, test the speed consumed flow every time.
Client is test the speed client or probe server, and server end is test the speed server or probe server, works as spyWhen needle server is as server end, client is the client that tests the speed, and when probe server is as client, server end isTest the speed server.
Band width in physical testing scheme includes the following steps:
SSS1) be tested end and interact for the first time with test lead: link connection is established with test lead in tested end, is tested endTo test lead, test lead is the test parameter of transmitting first time interaction to be tested the test parameter for holding the first time of transmitting interactiveGuidance sends network detection packet and arranges the network detection packet column for being tested termination Acceptance Tests end to tested end, according to network detectionThe quantity of Bao Liezhong data packet and the band width in physical of Time-delay Prediction network are determined second according to the network physical bandwidth estimated and are handed overMutual test parameter;
SSS2 it) is tested end to interact with second of test lead: second of interaction that tested end will determine in step SSS1)Test parameter pass to test lead, test lead is guidance, transmission with the test parameter of second of interaction of tested end transmittingNetwork test packet arranges the network test packet column that termination Acceptance Tests end is tested to tested end, according to network test Bao Liezhong numberNetwork physical bandwidth is obtained according to the quantity and time-delay calculation of packet;
When testing downlink physical bandwidth, test lead is server end, and being tested end is client, testing uplink band width in physicalWhen, test lead is client, and being tested end is server end.
By network physical bandwidth partition interval range, setting is surveyed correspondingly with each interval range in tested endParameter is tried, after tested end interacts for the first time with test lead, the band width in physical of network is estimated out at tested end, judges the net estimatedInterval range where network band width in physical, test parameter corresponding to the interval range where the network physical bandwidth estimated are theThe test parameter of secondary interaction.
It is two by network physical bandwidth partition because the current usual maximum value of real network band width in physical is 1000MA interval range, respectively (0,100M] and (100M, 1000M], wherein (0,100M] in the corresponding test parameter of interval rangePacket number be n1;(100M, 1000M] the packet number in the corresponding test parameter of interval range is n2.N1 and n2 can basisSituation is adjusted.When network physical band is wider than 1000M, the corresponding test parameter of the interval range with (100M, 1000M]The corresponding test parameter of interval range is identical, it is of course also possible to be set as other test parameters according to actual needs.
N1 is one and is greater than or equal to 70, and is less than or equal to 130 number, and n2 is one and is greater than or equal to 250, and is less thanOr the number equal to 750, i.e. 70≤n1≤130.250≤n2≤750.In the case of real network, what 100M and 1000M network was sentTest parameter has very big difference.
Packet size is n3, unit byte, 500≤n3≤1450 in the test parameter of second of interaction.N3 can basisSituation is adjusted.
Packet size is n4, unit byte, 500≤n4≤1450 in the test parameter of interaction for the first time.N4 can basisSituation is adjusted.Packet number is n5,30≤n5≤70 in the test parameter of interaction for the first time.N5 can be adjusted according to circumstancesIt is whole.Packet size and packet number are all smaller (few) in the test parameter of interaction for the first time, usually 500byte X 50.Because theClient current network bandwidth is not once known, therefore just needs once to be estimated test.Interaction for the first time only needs to obtainOne discreet value, it is not high to required precision, testing time and flow are also saved simultaneously using parcel and a small amount of packet.
It, can be in the network operation while 24 hours acquisition network objects of whole day after taking above-mentioned small flow band width in physical testing schemeBandwidth is managed, due to a band width in physical test, the data packet for being sent to client from server end is very small (usually only several hundredK), speed is very fast, greatly enhances user's perception, increases the utilization efficiency of network and improves network running quality.Meanwhile network operation maintenance team being facilitated to find the problems in network and bottleneck, Fast-Maintenance and maintenance in time, improving network makesThe satisfaction of user.
Available bandwidth testing scheme includes the following steps:
SS1 band width in physical C known to) sets measuring accuracy Ac, and test lead is with RI1Speed sends interval packet column to testedEnd, RI1=C.Measuring accuracy Ac ∈ (0,0.3].
SS2) be tested end by receiving step SS1) send interval packet column count packet receiving speed RO1, to RI1/RO1-1Judged, if RI1/RO1- 1≤measuring accuracy Ac, then determine RI1/RO1- 1 in agreement accuracy rating, enters step SS7);If RI1/RO1- 1 > measuring accuracy Ac, then determine RI1/RO1- 1 not in agreement accuracy rating, enters step SS3);
SS3) it is tested packet receiving speed RO end calculated step SS2)1It is sent to test lead, test lead is with RI2SpeedDegree sends interval packet column to tested end, RI2=RO1
SS4) be tested end by receiving step SS3) send interval packet column count packet receiving speed RO2, to RI2/RO2-1Judged, if RI2/RO2- 1≤measuring accuracy Ac, then determine RI2/RO2- 1 in agreement accuracy rating, enters step SS7);If RI2/RO2- 1 > measuring accuracy Ac, then determine RI2/RO2- 1 not in agreement accuracy rating, enters step SS5);
SS5) it is tested packet receiving speed RO end calculated step SS4)2It is sent to test lead, test lead passes through public affairsFormulaCalculate RI3, test lead is with RI3Speed sends interval packet column to testedEnd;
SS6) be tested end by receiving step SS5) send interval packet column count packet receiving speed RO3
SS7 it) is tested end and available bandwidth is calculated by band width in physical and packet receiving speed, speed of giving out a contract for a project;
When testing downlink available bandwidth, test lead is server end, and being tested end is client, testing uplink available bandwidthWhen, test lead is client, and being tested end is server end.
What available bandwidth testing scheme of the present invention was sent is out-of-sequence packet column, when reception, be only concerned first packet received andThe interval time of the last one packet, therefore will not be interfered by out-of-order and packet loss.And the present invention at most only tests three times, to the time andThe consumption of flow is all very small, therefore under same environment, can accomplish small flow and quick obtaining available bandwidth.Using above-mentionedSmall flow available bandwidth testing scheme carries out assessment accuracy rate height to available bandwidth, and the time used is short, and spent flow is very small,And it is by out-of-order and packet loss interference.
Present invention has the advantage that the present invention sends the small flow packet quantitative analysis of UDP by high-bandwidth service device, ifMultiple server cooperation dispatch servers that test the speed are set, high concurrent is can be realized and tests the speed, and test the speed consumed flow and consumptionTime is few, and under same testing service device bandwidth situation, the client that concurrently tests the speed that this small flow system can support is to passThe wide hundred times of unified test test strip.And the present invention is small to the customer impact that tests the speed, rate accuracy is high.Because present invention uses small flowsSpeed testing mode, and solve the problems, such as very well big concurrent, due to testing the speed, flow consumption is considerably less, and time-consuming also very short,Therefore will not have an impact to user.
This system supports broadband, mobile network to test the speed simultaneously, and this system tests the speed can assess band width in physical and available bandWidth accurately tests the speed to the leaky bucket model of bandwidth operator, token bucket mode speed limit.
Probe client can be used as probe server end, and probe server end can also be used as probe client, probe clothesBusiness device is deployed in access layer, convergence layer, core layer, and it tests the speed primarily to carrying out network end-to-end, can be by testing the speedIt is client network, access layer network, convergence layer network on earth that the small flow speed measuring of regular high (second grade) frequency, which completely diagnoses,Or there is bottleneck or problem in core layer network.
Technical term is explained:
Band width in physical: refer to the peak transfer rate that end to end network is capable of providing, band width in physical is by most narrow in network pathThe bandwidth of link determines, therefore also referred to as link bandwidth;
Available bandwidth: it is divided into link available bandwidth and path (end-to-end) available bandwidth, it is assumed that UiIndicate link LiIn TBetween utilization rate in section, CiRefer to band width in physical, the available bandwidth A of linkiAre as follows: Ai=Ci(1-Ui).In time T, in path PAvailable bandwidth is defined as follows:
Aend-to-end=min (A1, A2..., An)
Available bandwidth described in this patent each means end-to-end available bandwidth Aend-to-end.It is available that available bandwidth is divided into downlinkBandwidth and uplink available bandwidth.
Limiting speed of token bucket: limiting speed of token bucket refers to limiting speed of token bucket technology, it is characterized in that when in the lesser situation of flowWithout speed limit, when flow reaches it is a certain amount of when just carry out speed limit;
Leaky bucket speed limit: leaky bucket speed limit refers to leaky bucket speed limit technology, it is characterized in that all carrying out speed limit regardless of uninterrupted;
Peak value band width in physical (token bucket): operator broadband has largely used limiting speed of token bucket technology at present, here peak valueBand width in physical refers in limiting speed of token bucket network, before inactive speed limit, the attainable peak transfer rate of network path.PeakValue band width in physical divides down peak magnitude band width in physical and upstream peak band width in physical, for speed limit network, physical tape above-mentionedWidth refers to the band width in physical after speed limit;
Peak value available bandwidth (token bucket): peak value available bandwidth refers in limiting speed of token bucket network here, inactiveBefore speed limit, the available bandwidth of network path.For speed limit network, available bandwidth above-mentioned refers to the available band after speed limitIt is wide;
Bao Lie: refer to continuous continual a string of messages in network transmission.
Packet loss: referring in network transmission process, number/transmission packet total * 100% of packet loss;
Time delay: refer to the time delay of client PING server;
Test the speed elapsed time every time: referring to the consumed time of testing the speed every time;
Test the speed consumed flow every time: referring to the consumed flow that tests the speed every time.
Detailed description of the invention
Fig. 1 is the functional block diagram of the small capaciated flow network velocity-measuring system of high concurrent of the invention;
Fig. 2 is end-to-end and by end test data flow direction;
Fig. 3 is that downlink of the invention tests the speed flow chart;
Fig. 4 is that uplink of the invention tests the speed flow chart;
Fig. 5 is downlink physical broadband index test timing diagram of the invention;
Fig. 6 is ascending physical signal broadband index test timing diagram of the invention;
Fig. 7 is the test method flow chart of inventive network available bandwidth.
Specific embodiment
Implement one
Referring to Fig. 1, a kind of small capaciated flow network velocity-measuring system of high concurrent, including the client T01 that tests the speed, dispatch server T04With multiple server T03 (two or more) that test the speed, it is described test the speed client for send test the speed request to dispatch serviceDevice, the dispatch server are used to receive the request of testing the speed of the client that tests the speed, according to test the speed request and the server that tests the speed it is numerousBusy degree distributes test the speed scheme and the corresponding server that tests the speed to send the client that tests the speed for request of testing the speed.Height of the inventionConcurrent small capaciated flow network velocity-measuring system further includes data acquisition server T05, and the data acquisition server is used for from clientOr received server-side measurement data, and stored.
In certain application scenarios, test the speed if necessary to complete end-to-end monitoring, then the small stream of high concurrent of the inventionAmount network velocity-measuring system further includes probe server T02, the server end that the probe server tests the speed as the client that tests the speed,As the client for the server that tests the speed, test the speed for carrying out network end-to-end.Preferably, probe server be three, threeA probe server is deployed in access layer, convergence layer, in core layer respectively, surveys primarily to carrying out network end-to-end monitoringSpeed, can completely be diagnosed by the small flow speed measuring for regular high (second grade) frequency that tests the speed is client network, access layer on earthThere is bottleneck or problem in network, convergence layer network or core layer network.
The client that tests the speed refers to the smart machine for being mounted with small flow speed measuring client software, it includes data transmission blocks,Data reception module and data processing module, data transmission blocks are responsible for sending data to server end, and data reception module is negativeDuty transfers to data processing module to be handled from received server-side data, and the data received, at data processing moduleAfter the completion of managing data, data transmission blocks can be transferred to be again sent to data acquisition server again;The intelligence that the client that tests the speed is supportedEnergy equipment contains but is not limited to smart phone, PC/notebook/Mac, intelligent gateway, smart television, Intelligent set top box, intelligenceIt can router.
The server that tests the speed, which refers to, to be deployed in network core layer, can be used as the server of test the speed client and probe serverA kind of equipment at end, it includes data transmission blocks, data reception module, data processing module and scheduler modules;Data are sentModule is responsible for sending data to client, and data reception module is responsible for receiving data from client, and the data received are handed overIt is handled by data processing module, after the completion of data processing module handles data, sending module can be transferred to be again sent to againData acquisition server T06;Scheduler module is mainly used for multiple thread concurrent receipt clients in coordination data receiving moduleRequest of data, to achieve the purpose that increase server end handling capacity.
Since systems support high concurrently tests the speed, system has the server cluster that tests the speed of multiple server formation of testing the speed, thereforeThe equipment that can dispatch the client that tests the speed, probe server and server pairing of testing the speed is needed, which refers to dispatchingServer;It includes data reception module, data transmission blocks, the scheduler module that tests the speed, the rule process that tests the speed modules;Data receiverModule is responsible for terminating Acceptance Tests request data and the busy situation data of server from client and server, and the data receivedRule process module of transferring to test the speed is handled, after the completion of test order processing module handles data, according to the busy journey of serverDegree, transfers to scheduler module allocation for test server, then sending module is transferred to be again sent to client.
Data acquisition server, which refers to, to be deployed in network core layer, as collecting and test the speed one kind of result of calculating section is setIt is standby;It includes data reception modules and data memory module;Data reception module, which is responsible for receiving from client server, to be surveyedFast data, and data memory module is transferred to be stored.
Referring to fig. 2, probe server refers to that major deployments in access layer, convergence layer, core layer, can be used as the client that tests the speedThe server end to test the speed, also can be as a kind of equipment for the client that the server that tests the speed tests the speed.It includes data transmission blocks, numberAccording to receiving module, data processing module and Queue module.When it is as client, data transmission blocks are responsible for sending numberAccording to server end, data reception module is responsible for transferring to data processing from received server-side data, and the data receivedModule is handled, and after the completion of data processing module handles data, sending module can be transferred to be again sent to data acquisition clothes againBusiness device;When it is as server end, sending module is responsible for sending data to client, and data reception module is responsible for from visitorFamily end receives data, and transfers to data processing module to be handled the data received, and it is complete that data processing module handles dataCheng Hou can transfer to sending module to be again sent to data acquisition server again.Probe server T02 is different from the server that tests the speedIt is that probe server only supports a task simultaneously, follow-up work will be lined up by Queue module.Probe server disposition is accessingIt tests the speed primarily to carrying out network end-to-end for layer, convergence layer, core layer, can pass through regular high (second grade) frequency that tests the speedIt is client network, access layer network, convergence layer network or core layer network on earth that the small flow speed measuring of rate, which completely diagnoses,There is bottleneck or problem.
The present invention client and as probe server when client is referred to as client using testing the speed.The present invention using asProbe server and the server that tests the speed when server are referred to as server end.
Embodiment two
A kind of small capaciated flow network velocity-measuring system of high concurrent, including the client that tests the speed, dispatch server, probe server and oneA server that tests the speed, it is described test the speed client for send test the speed request to dispatch server, the probe server is as surveyThe server end that fast client tests the speed tests the speed as the client for the server that tests the speed for carrying out network end-to-end, describedDispatch server is used to receive the request of testing the speed of client, according to the busy extent of test the speed request and server end, to sendThe client distribution of request of testing the speed is tested the speed scheme and corresponding server end.The data acquisition server is used for from clientOr received server-side measurement data, and stored.Preferably, probe server is three, three probe server differenceIt is deployed in access layer, convergence layer, in core layer, tests the speed primarily to carrying out network end-to-end, it can be by testing the speedIt is client network, access layer network, convergence layer network on earth that the small flow speed measuring of regular high (second grade) frequency, which completely diagnoses,Or there is bottleneck or problem in core layer network.Other features of embodiment one are identical as embodiment two.
Referring to Fig. 3 and Fig. 4, a kind of network speed-measuring method using above system includes the following steps:
S1) client initiates request of testing the speed to dispatch server.Request of testing the speed includes test the speed direction, priority, clientLocating network type.Request of testing the speed may also include operator's signing bandwidth.
S2) dispatch server is according to the busy extent of test the speed request and server end, for the client for sending request of testing the speedDistribute test the speed scheme and corresponding server end.Client is test the speed client or probe server, and server end is to test the speedServer or probe server, when probe server is as server end, client is the client that tests the speed, when probe serverWhen as client, server end is the server that tests the speed.
S3) when client request downlink tests the speed, if client network is limiting speed of token bucket mode, server end hairLimiting speed of token bucket testing scheme is played to test the speed;If the non-speed limit of client network uses leaky bucket speed limit, server end rootIt tests the speed according to the small flow downlink physical bandwidth test scheme of request initiation that tests the speed or/and small flow downlink available bandwidth testing scheme is surveyedSpeed;
S4) when client request uplink tests the speed, if client network is limiting speed of token bucket mode, client is initiatedLimiting speed of token bucket testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit, client is according to surveyThe small flow ascending physical signal bandwidth test scheme of speed request initiation tests the speed or/and small flow uplink available bandwidth testing scheme tests the speed.The token bucket scheme of testing the speed only has band width in physical to test the speed at present, and the present embodiment limiting speed of token bucket testing scheme is the prior art, no longerIt is described in detail.Limiting speed of token bucket testing scheme may refer to disclosed paper, and " the bottleneck bandwidth measurement under the conditions of network speed limit is newMethod ".
Result that client server obtained after testing the speed test the speed is reported to data acquisition server, data acquisition clothesBusiness device records the result that tests the speed.The result that tests the speed may include but be not limited to band width in physical, available bandwidth, peak value band width in physical and (only usesTest the speed in token bucket testing scheme), peak value available bandwidth (being only used for token bucket testing scheme to test the speed), packet loss, time delay, every timeTest the speed elapsed time, test the speed consumed flow every time.
Referring to figs. 5 and 6, small flow band width in physical testing scheme includes the following steps:
SSS1) be tested end and interact for the first time with test lead: link connection is established with test lead in tested end, is tested endTo test lead, test lead is the test parameter of transmitting first time interaction to be tested the test parameter for holding the first time of transmitting interactiveGuidance sends network detection packet and arranges the network detection packet column for being tested termination Acceptance Tests end to tested end, according to network detectionThe quantity of Bao Liezhong data packet and the band width in physical of Time-delay Prediction network are determined second according to the network physical bandwidth estimated and are handed overMutual test parameter;
SSS2 it) is tested end to interact with second of test lead: second of interaction that tested end will determine in step SSS1)Test parameter pass to test lead, test lead is guidance, transmission with the test parameter of second of interaction of tested end transmittingNetwork test packet arranges the network test packet column that termination Acceptance Tests end is tested to tested end, according to network test Bao Liezhong numberNetwork physical bandwidth is obtained according to the quantity and time-delay calculation of packet.
Network detection packet column, network test packet column are UDP packet column.Test parameter includes packet size, packet number.Under testWhen row band width in physical, test lead is server end, and being tested end is client, and when testing uplink band width in physical, test lead is visitorFamily end, being tested end is server end.
By network physical bandwidth partition interval range, setting is surveyed correspondingly with each interval range in tested endParameter is tried, after tested end interacts for the first time with test lead, the band width in physical of network is estimated out at tested end, judges the net estimatedInterval range where network band width in physical, test parameter corresponding to the interval range where the network physical bandwidth estimated are theThe test parameter of secondary interaction.
It is two by network physical bandwidth partition because the current usual maximum value of real network band width in physical is 1000MA interval range, respectively (0,100M] and (100M, 1000M], wherein (0,100M] in the corresponding test parameter of interval rangePacket number be n1;(100M, 1000M] the packet number in the corresponding test parameter of interval range is n2.N1 and n2 can basisSituation is adjusted.When network physical band is wider than 1000M, the corresponding test parameter of the interval range with (100M, 1000M]The corresponding test parameter of interval range is identical, it is of course also possible to be set as other test parameters according to actual needs.
N1 is one and is greater than or equal to 70, and is less than or equal to 130 number, and n2 is one and is greater than or equal to 250, and is less thanOr the number equal to 750, i.e. 70≤n1≤130.250≤n2≤750.In the case of real network, what 100M and 1000M network was sentTest parameter has very big difference.The n1 of the present embodiment is 100, n2 500.
Packet size is n3, unit byte, 500≤n3≤1450 in the test parameter of second of interaction.N3 can basisSituation is adjusted.The n3 of the present embodiment is 1400.
Packet size is n4, unit byte, 500≤n4≤1450 in the test parameter of interaction for the first time.N4 can basisSituation is adjusted.Packet number is n5,30≤n5≤70 in the test parameter of interaction for the first time.N5 can be adjusted according to circumstancesIt is whole.Packet size and packet number are all smaller (few) in the test parameter of interaction for the first time, usually 500byte X 50.Because theClient current network bandwidth is not once known, therefore just needs once to be estimated test.Interaction for the first time only needs to obtainOne discreet value, it is not high to required precision, testing time and flow are also saved simultaneously using parcel and a small amount of packet.The present embodimentN4 is 500.The n5 of the present embodiment is 50.
Referring to Fig. 7, small flow available bandwidth testing scheme includes the following steps:
SS1 band width in physical C known to) sets measuring accuracy Ac, and test lead is with RI1Speed sends interval packet column to testedEnd, RI1=C.Measuring accuracy Ac ∈ (0,0.3].
SS2) be tested end by receiving step SS1) send interval packet column count packet receiving speed RO1, to RI1/RO1-1Judged, if RI1/RO1- 1≤measuring accuracy Ac, then determine RI1/RO1- 1 in agreement accuracy rating, enters step SS7);If RI1/RO1- 1 > measuring accuracy Ac, then determine RI1/RO1- 1 not in agreement accuracy rating, enters step SS3);
SS3) it is tested packet receiving speed RO end calculated step SS2)1It is sent to test lead, test lead is with RI2SpeedDegree sends interval packet column to tested end, RI2=RO1
SS4) be tested end by receiving step SS3) send interval packet column count packet receiving speed RO2, to RI2/RO2-1Judged, if RI2/RO2- 1≤measuring accuracy Ac, then determine RI2/RO2- 1 in agreement accuracy rating, enters step SS7);If RI2/RO2- 1 > measuring accuracy Ac, then determine RI2/RO2- 1 not in agreement accuracy rating, enters step SS5);
SS5) it is tested packet receiving speed RO end calculated step SS4)2It is sent to test lead, test lead passes through public affairsFormulaCalculate RI3, test lead is with RI3Speed sends interval packet column to testedEnd;
SS6) be tested end by receiving step SS5) send interval packet column count packet receiving speed RO3
SS7 it) is tested end and available bandwidth is calculated by band width in physical and packet receiving speed, speed of giving out a contract for a project;
When testing downlink available bandwidth, test lead is server end, and being tested end is client, testing uplink available bandwidthWhen, test lead is client, and being tested end is server end.It can by band width in physical and packet receiving speed, speed of giving out a contract for a project calculatingIt can be using the algorithm in disclosed paper " availability bandwidth measurement method research " with bandwidth.
Here is different test mode Comparative results
Broadband test Comparative result under certain operator 1000Mbps network environment:
The different test mode Comparative results of table 1
It tests the speed under server bandwidth it can be seen from the different test mode Comparative results of table 1 similarly, this small flowThe time of flow and consumption consumed by test macro, much smaller than traditional speed-measuring method, that is to say, that in same testing serviceUnder device bandwidth situation, the client that concurrently tests the speed that this small flow system can support is the hundred times of traditional test bandwidth.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, it is clear that those skilled in the artVarious changes and modifications can be made to the invention by member without departing from the spirit and scope of the present invention.If in this way, of the inventionWithin the scope of the claims of the present invention and its equivalent technology, then the present invention is also intended to encompass these to these modifications and variationsIncluding modification and variation.

Claims (9)

1. a kind of small capaciated flow network velocity-measuring system of high concurrent, it is characterised in that: including the client that tests the speed, dispatch server and multipleTest the speed server, it is described test the speed client for send test the speed request to dispatch server, the dispatch server is used to receiveThe request of testing the speed for the client that tests the speed, according to the busy extent of test the speed request and the server that tests the speed, for the survey for sending request of testing the speedFast client distributes test the speed scheme and the corresponding server that tests the speed;When client request downlink tests the speed, if client netNetwork is limiting speed of token bucket mode, then server end initiation limiting speed of token bucket testing scheme tests the speed;If the non-speed limit of client networkOr use leaky bucket speed limit, then server end according to test the speed request initiate downlink physical bandwidth test scheme test the speed or/and underRow available bandwidth testing scheme tests the speed;When client request uplink tests the speed, if client network is limiting speed of token bucket mode,Then client initiation limiting speed of token bucket testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit,Client is tested the speed according to the request initiation ascending physical signal bandwidth test scheme that tests the speed or/and uplink available bandwidth testing scheme tests the speed;
3. a kind of small capaciated flow network velocity-measuring system of high concurrent, it is characterised in that: including the client that tests the speed, dispatch server, probeServer and the server that tests the speed, it is described test the speed client for send test the speed request to dispatch server, the probe takesThe server end that business device tests the speed as the client that tests the speed, as the client for the server that tests the speed, for carrying out network end-to-end prisonSurvey is tested the speed, and the dispatch server is used to receive the request of testing the speed of client, according to the busy of test the speed request and server endDegree distributes test the speed scheme and corresponding server end to send the client for request of testing the speed;
When client request downlink tests the speed, if client network is limiting speed of token bucket mode, server end initiates tokenBucket speed limit testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit, server end is according to testing the speedRequest initiation downlink physical bandwidth test scheme tests the speed or/and downlink available bandwidth testing scheme tests the speed;When in client requestWhen row tests the speed, if client network is limiting speed of token bucket mode, client initiates limiting speed of token bucket testing scheme and tests the speed;Such asThe non-speed limit of fruit client network uses leaky bucket speed limit, then client initiates ascending physical signal bandwidth test according to request of testing the speedScheme tests the speed or/and uplink available bandwidth testing scheme tests the speed;
CN201610683355.4A2016-08-182016-08-18The small capaciated flow network velocity-measuring system of high concurrent and methodActiveCN106302017B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610683355.4ACN106302017B (en)2016-08-182016-08-18The small capaciated flow network velocity-measuring system of high concurrent and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610683355.4ACN106302017B (en)2016-08-182016-08-18The small capaciated flow network velocity-measuring system of high concurrent and method

Publications (2)

Publication NumberPublication Date
CN106302017A CN106302017A (en)2017-01-04
CN106302017Btrue CN106302017B (en)2019-10-08

Family

ID=57678982

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610683355.4AActiveCN106302017B (en)2016-08-182016-08-18The small capaciated flow network velocity-measuring system of high concurrent and method

Country Status (1)

CountryLink
CN (1)CN106302017B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106603344A (en)*2017-01-202017-04-26烽火通信科技股份有限公司Household gateway bandwidth monitoring system and method
CN108322360A (en)*2018-01-242018-07-24上海康斐信息技术有限公司A kind of method to be tested the speed by router network, system and equipment
CN110932879B (en)*2018-09-202022-12-23阿里巴巴集团控股有限公司Network performance test method, data processing device and storage medium
CN112118151A (en)*2020-08-282020-12-22北京奇艺世纪科技有限公司Network speed measuring method, device, system, electronic equipment and storage medium
CN112671606B (en)*2020-12-162022-11-25深圳创维数字技术有限公司Network speed measuring method, device and system, storage medium and gateway equipment
CN114124763B (en)*2021-12-072023-10-24中国信息通信研究院Broadband access rate measurement method and system
CN114430384B (en)*2021-12-312023-10-20广州海之光网络股份有限公司Network speed measuring method and device based on distributed architecture
WO2025054546A1 (en)*2023-09-072025-03-13Viasat, Inc.Passive measurements of network speed

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1770711A (en)*2005-11-182006-05-10史文勇Method and system for measuring bottleneck bandwidth and remanent bandwidth
CN101068171A (en)*2007-06-252007-11-07中兴通讯股份有限公司Speed-measuring resource dynamic distributing method and system for network speed-measuring system
CN101414938A (en)*2008-11-282009-04-22华南理工大学Self-adapting real-time detection method for digital household network available bandwidth
CN104009890A (en)*2014-06-102014-08-27江苏省邮电规划设计院有限责任公司Test system and method for network quality in Internet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101299687B (en)*2008-05-072010-10-27中国联合网络通信集团有限公司 Method and system for measuring available bandwidth of wireless local area network
JP5928349B2 (en)*2013-01-102016-06-01富士ゼロックス株式会社 Bandwidth measuring device and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1770711A (en)*2005-11-182006-05-10史文勇Method and system for measuring bottleneck bandwidth and remanent bandwidth
CN101068171A (en)*2007-06-252007-11-07中兴通讯股份有限公司Speed-measuring resource dynamic distributing method and system for network speed-measuring system
CN101414938A (en)*2008-11-282009-04-22华南理工大学Self-adapting real-time detection method for digital household network available bandwidth
CN104009890A (en)*2014-06-102014-08-27江苏省邮电规划设计院有限责任公司Test system and method for network quality in Internet

Also Published As

Publication numberPublication date
CN106302017A (en)2017-01-04

Similar Documents

PublicationPublication DateTitle
CN106302017B (en)The small capaciated flow network velocity-measuring system of high concurrent and method
US9210050B2 (en)System and method for a testing vector and associated performance map
CN101814977B (en)TCP flow on-line identification method and device utilizing head feature of data stream
CN109066990A (en)Platform area power grid tip turbulence Topology identification method based on centralized dispatching
CN104009890B (en)Network quality test system and method in a kind of internet
CN106713074B (en)Data network quality segmentation detection method based on business tine and system
US12261757B2 (en)System and method for network and computation performance probing for edge computing
CN106340176A (en)Intelligent electricity meter information sharing method, intelligent electricity meter and acquisition router
EP3295612B1 (en)Uplink performance management
AU2016204716A1 (en)Method and system for using a downloadable agent for a communication system, device, or link
US11336545B2 (en)Network device measurements employing white boxes
CN101145977B (en)A QoS monitoring system and its measuring method of IP data network
CN103023716A (en)System and method for monitoring network quality with zero traffic consumption
CN104683182A (en)Method and device for detecting network service quality of IDC machine room
CN103416022A (en)In-service throughput testing in distributed router/switch architectures
CN106302016B (en)The method and system of small flow quick obtaining network physical bandwidth
CN108011763B (en)Communication data network investment construction evaluation method
CN108494625A (en)A kind of analysis system on network performance evaluation
CN103139014A (en)Method and device for network quality evaluating based on by-pass
Loh et al.QoS and QoE Study of the European 5G Mobile Networks for Next Generation of Applications
CN109586988A (en)A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN109787861A (en)Network data delay control method
CN105099936A (en)Network resource configuration method and apparatus as well as network system
CN108449230B (en)Network performance detection system, method and related device
KR102028756B1 (en)Apparatus and method for controlling a traffic in automatic meter reading system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp