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
CN106302017B CN201610683355.4A CN201610683355A CN106302017B CN 106302017 B CN106302017 B CN 106302017B CN 201610683355 A CN201610683355 A CN 201610683355A CN 106302017 B CN106302017 B CN 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 Ltd filed Critical CHENGDU POWEROPT SOFTWARE Co Ltd
Priority to CN201610683355.4A priority Critical patent/CN106302017B/en
Publication of CN106302017A publication Critical patent/CN106302017A/en
Application granted granted Critical
Publication of CN106302017B publication Critical patent/CN106302017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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 side Method.
Background technique
With user's high speed development of broadband network (fixed network) and mobile network's (mobile network), network bandwidth is rapidly mentioned Height, 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 UDP Speed 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 mode Larger 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 speed Fruit 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 concurrent And 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 speed It 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 surveys Fast client, dispatch server and it is multiple test the speed server (two or more), it is described test the speed client for send survey To 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 with And 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 speed Business 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 invention Measuring 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 made For the client for the server that tests the speed, test the speed for carrying out network end-to-end.Preferably, probe server is three, three Probe server is deployed in access layer, convergence layer, in core layer respectively, surveys primarily to carrying out network end-to-end monitoring Speed, 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 earth There 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 one A 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 survey The 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, described Dispatch 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 send The client distribution of request of testing the speed is tested the speed scheme and corresponding server end.Preferably, probe server is three, three spies Needle 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 earth There 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 service Device 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, intelligence It 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 speed Distribute 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 hair Limiting 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 root It 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 initiated 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 according to survey Speed 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 clothes Business 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 uses Test 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 time Test 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 spy When needle server is as server end, client is the client that tests the speed, and when probe server is as client, server end is Test 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 end To 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 interactive Guidance sends network detection packet and arranges the network detection packet column for being tested termination Acceptance Tests end to tested end, according to network detection The 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 over Mutual 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 transmitting Network test packet arranges the network test packet column that termination Acceptance Tests end is tested to tested end, according to network test Bao Liezhong number Network 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 physical When, 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 end Parameter 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 estimated Interval range where network band width in physical, test parameter corresponding to the interval range where the network physical bandwidth estimated are the The 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 1000M A interval range, respectively (0,100M] and (100M, 1000M], wherein (0,100M] in the corresponding test parameter of interval range Packet number be n1;(100M, 1000M] the packet number in the corresponding test parameter of interval range is n2.N1 and n2 can basis Situation 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 than Or 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 sent Test parameter has very big difference.
Packet size is n3, unit byte, 500≤n3≤1450 in the test parameter of second of interaction.N3 can basis Situation is adjusted.
Packet size is n4, unit byte, 500≤n4≤1450 in the test parameter of interaction for the first time.N4 can basis Situation 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 circumstances It 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 the Client current network bandwidth is not once known, therefore just needs once to be estimated test.Interaction for the first time only needs to obtain One 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 scheme Bandwidth 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 hundred K), 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 makes The 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 tested End, 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-1 Judged, 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 RI2Speed Degree 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-1 Judged, 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 affairs FormulaCalculate RI3, test lead is with RI3Speed sends interval packet column to tested End;
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 bandwidth When, 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 and The 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 and The consumption of flow is all very small, therefore under same environment, can accomplish small flow and quick obtaining available bandwidth.Using above-mentioned Small 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, if Multiple 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 consumption Time 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 pass The 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 flows Speed 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 band Width 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 clothes Business 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 speed It 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 path The 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 T Between 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 P Available 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 downlink Bandwidth 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 flow Without 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 value Band width in physical refers in limiting speed of token bucket network, before inactive speed limit, the attainable peak transfer rate of network path.Peak Value 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-mentioned Width 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, inactive Before speed limit, the available bandwidth of network path.For speed limit network, available bandwidth above-mentioned refers to the available band after speed limit It 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 T04 With 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 service Device, 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 numerous Busy 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 invention Concurrent small capaciated flow network velocity-measuring system further includes data acquisition server T05, and the data acquisition server is used for from client Or 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 invention Amount 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, three A probe server is deployed in access layer, convergence layer, in core layer respectively, surveys primarily to carrying out network end-to-end monitoring Speed, 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 earth There 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 negative Duty transfers to data processing module to be handled from received server-side data, and the data received, at data processing module After 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 supported Energy equipment contains but is not limited to smart phone, PC/notebook/Mac, intelligent gateway, smart television, Intelligent set top box, intelligence It 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 server A kind of equipment at end, it includes data transmission blocks, data reception module, data processing module and scheduler modules;Data are sent Module is responsible for sending data to client, and data reception module is responsible for receiving data from client, and the data received are handed over It 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 again Data acquisition server T06;Scheduler module is mainly used for multiple thread concurrent receipt clients in coordination data receiving module Request 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, therefore The equipment that can dispatch the client that tests the speed, probe server and server pairing of testing the speed is needed, which refers to dispatching Server;It includes data reception module, data transmission blocks, the scheduler module that tests the speed, the rule process that tests the speed modules;Data receiver Module is responsible for terminating Acceptance Tests request data and the busy situation data of server from client and server, and the data received Rule 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 server Degree, 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 set It is standby;It includes data reception modules and data memory module;Data reception module, which is responsible for receiving from client server, to be surveyed Fast 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 speed The 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, number According to receiving module, data processing module and Queue module.When it is as client, data transmission blocks are responsible for sending number According to server end, data reception module is responsible for transferring to data processing from received server-side data, and the data received Module 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 again Business device;When it is as server end, sending module is responsible for sending data to client, and data reception module is responsible for from visitor Family end receives data, and transfers to data processing module to be handled the data received, and it is complete that data processing module handles data Cheng 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 speed It is that probe server only supports a task simultaneously, follow-up work will be lined up by Queue module.Probe server disposition is accessing It 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 speed It 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 as Probe 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 one A 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 survey The 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, described Dispatch 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 send The 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 client Or received server-side measurement data, and stored.Preferably, probe server is three, three probe server difference It 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 speed It 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, client Locating 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 speed Distribute test the speed scheme and corresponding server end.Client is test the speed client or probe server, and server end is to test the speed Server or probe server, when probe server is as server end, client is the client that tests the speed, when probe server When 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 hair Limiting 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 root It 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 surveyed Speed;
S4) when client request uplink tests the speed, if client network is limiting speed of token bucket mode, client is initiated 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 according to survey The 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 longer It 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 new Method ".
Result that client server obtained after testing the speed test the speed is reported to data acquisition server, data acquisition clothes Business 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 uses Test 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 time Test 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 end To 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 interactive Guidance sends network detection packet and arranges the network detection packet column for being tested termination Acceptance Tests end to tested end, according to network detection The 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 over Mutual 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 transmitting Network test packet arranges the network test packet column that termination Acceptance Tests end is tested to tested end, according to network test Bao Liezhong number Network 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 test When 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 visitor Family end, being tested end is server end.
By network physical bandwidth partition interval range, setting is surveyed correspondingly with each interval range in tested end Parameter 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 estimated Interval range where network band width in physical, test parameter corresponding to the interval range where the network physical bandwidth estimated are the The 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 1000M A interval range, respectively (0,100M] and (100M, 1000M], wherein (0,100M] in the corresponding test parameter of interval range Packet number be n1;(100M, 1000M] the packet number in the corresponding test parameter of interval range is n2.N1 and n2 can basis Situation 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 than Or 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 sent Test 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 basis Situation 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 basis Situation 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 circumstances It 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 the Client current network bandwidth is not once known, therefore just needs once to be estimated test.Interaction for the first time only needs to obtain One 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 embodiment N4 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 tested End, 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-1 Judged, 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 RI2Speed Degree 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-1 Judged, 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 affairs FormulaCalculate RI3, test lead is with RI3Speed sends interval packet column to tested End;
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 bandwidth When, 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 calculating It 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 flow The time of flow and consumption consumed by test macro, much smaller than traditional speed-measuring method, that is to say, that in same testing service Under 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 art Various 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 invention Within 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 variations Including 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 multiple Test 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 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 the server that tests the speed, for the survey for sending request of testing the speed Fast client distributes test the speed scheme and the corresponding server that tests the speed;When client request downlink tests the speed, if client net Network 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 network Or 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 under Row 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;
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 tested end, RI1 = C;
SS2) be tested end by receiving step SS1) send interval packet column count packet receiving speed RO1, to RI1/RO1- 1 carries out Judgement, 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 RI2Speed hair Send 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- 1 carries out Judgement, 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 formulaCalculate RI3, test lead is with RI3Speed sends interval packet column to tested End;
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, when testing uplink available bandwidth, Test lead is client, and being tested end is server end.
2. system according to claim 1, it is characterised in that: it further include probe server, the probe server conduct The server end that the client that tests the speed tests the speed tests the speed as the client for the server that tests the speed for carrying out network end-to-end.
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, probe Server 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 takes The 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 prison Survey 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 end Degree 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 token Bucket 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 speed Request initiation downlink physical bandwidth test scheme tests the speed or/and downlink available bandwidth testing scheme tests the speed;When in client request When 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 as The 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 speed Scheme tests the speed or/and uplink available bandwidth testing scheme tests the speed;
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 tested end, RI1 = C;
SS2) be tested end by receiving step SS1) send interval packet column count packet receiving speed RO1, to RI1/RO1- 1 carries out Judgement, 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 RI2Speed hair Send 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- 1 carries out Judgement, 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 formulaCalculate RI3, test lead is with RI3Speed sends interval packet column to tested End;
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, when testing uplink available bandwidth, Test lead is client, and being tested end is server end.
4. system according to claim 1 or 2 or 3, it is characterised in that: it further include data acquisition server, the data Acquisition server is used to receive measurement data from client server, and is stored.
5. a kind of small capaciated flow network speed-measuring method of high concurrent, which comprises the steps of:
S1) client initiates request of testing the speed to dispatch server;
S2) dispatch server is distributed according to the busy extent of test the speed request and server end to send the client for request of testing the speed The scheme that tests the speed and corresponding server end;
S3) when client request downlink tests the speed, if client network is limiting speed of token bucket mode, server end is initiated Limiting speed of token bucket testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit, server end according to The request initiation downlink physical bandwidth test scheme that tests the speed 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 initiates token Bucket speed limit testing scheme tests the speed;If the non-speed limit of client network uses leaky bucket speed limit, client is asked according to testing the speed It asks and initiates ascending physical signal bandwidth test scheme and test the speed or/and uplink available bandwidth testing scheme tests the speed;
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 tested end, RI1 = C;
SS2) be tested end by receiving step SS1) send interval packet column count packet receiving speed RO1, to RI1/RO1- 1 carries out Judgement, 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 RI2Speed hair Send 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- 1 carries out Judgement, 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 formulaCalculate RI3, test lead is with RI3Speed sends interval packet column to tested End;
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, when testing uplink available bandwidth, Test lead is client, and being tested end is server end.
6. according to the method described in claim 5, it is characterized by: 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 end transmitting The test parameter of interaction is to refer to the test parameter of the first time interaction of tested end transmitting to test lead, test lead for the first time It leads, sends network detection packet and arrange the network detection packet column for being tested termination Acceptance Tests end to tested end, according to network detection packet The band width in physical of the quantity of data packet and Time-delay Prediction network in column determines second of interaction according to the network physical bandwidth estimated Test parameter;
SSS2 it) is tested end to interact with second of test lead: tested to hold the survey of second of the interaction determined in step SSS1) Examination parameter passes to test lead, and test lead is guidance with the test parameter of second of interaction of tested end transmitting, sends network Test bag arranges the network test packet column that termination Acceptance Tests end is tested to tested end, according to network test Bao Liezhong data packet Quantity and time-delay calculation obtain network physical bandwidth;
When testing downlink physical bandwidth, test lead is server end, and being tested end is client, when testing uplink band width in physical, Test lead is client, and being tested end is server end.
7. according to the method described in claim 5, it is characterized by: request of testing the speed includes network locating for direction of testing the speed, client Type.
8. according to the method described in claim 5, it is characterized by: the knot that tests the speed that client server obtains after testing the speed Fruit is reported to data acquisition server, and data acquisition server records the result that tests the speed.
9. according to the method described in claim 5, it is characterized by: client is test the speed client or probe server, service Device end is test the speed server or probe server, and when probe server is as server end, client is the client that tests the speed, when When probe server is as client, server end is the server that tests the speed.
CN201610683355.4A 2016-08-18 2016-08-18 The small capaciated flow network velocity-measuring system of high concurrent and method Active CN106302017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610683355.4A CN106302017B (en) 2016-08-18 2016-08-18 The small capaciated flow network velocity-measuring system of high concurrent and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610683355.4A CN106302017B (en) 2016-08-18 2016-08-18 The small capaciated flow network velocity-measuring system of high concurrent and method

Publications (2)

Publication Number Publication Date
CN106302017A CN106302017A (en) 2017-01-04
CN106302017B true CN106302017B (en) 2019-10-08

Family

ID=57678982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610683355.4A Active CN106302017B (en) 2016-08-18 2016-08-18 The small capaciated flow network velocity-measuring system of high concurrent and method

Country Status (1)

Country Link
CN (1) CN106302017B (en)

Families Citing this family (7)

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

Citations (4)

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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299687B (en) * 2008-05-07 2010-10-27 中国联合网络通信集团有限公司 Method and system for measuring available bandwidth of wireless LAN
JP5928349B2 (en) * 2013-01-10 2016-06-01 富士ゼロックス株式会社 Bandwidth measuring device and program

Patent Citations (4)

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

Also Published As

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

Similar Documents

Publication Publication Date Title
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
CN109066990A (en) Platform area power grid tip turbulence Topology identification method based on centralized dispatching
CN106713074B (en) Data network quality segmentation detection method based on business tine and system
CN101814977A (en) TCP flow on-line identification method and device utilizing head feature of data stream
CN104683182B (en) IDC network of computer room service quality detection method and device
CN106656679B (en) Availability bandwidth measurement method
US11336545B2 (en) Network device measurements employing white boxes
EP3295612B1 (en) Uplink performance management
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN106302016B (en) The method and system of small flow quick obtaining network physical bandwidth
CN103416022A (en) In-service throughput testing in distributed router/switch architectures
CN103023716A (en) System and method for monitoring network quality with zero traffic consumption
CN104038382B (en) Network monitoring system
US20220247651A1 (en) System and method for network and computation performance probing for edge computing
CN109586988A (en) A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN108011763B (en) Communication data network investment construction evaluation method
CN108449230B (en) Network performance detection system, method and related device
CN108055147B (en) Method for analyzing service performance of communication data network
CN109787861A (en) Network data delay control method
CN105099936A (en) Network resource configuration method and apparatus as well as network system
CN104754328B (en) Distributed video quality diagnosis method
CN110544182B (en) Power distribution communication network fusion control method and system based on machine learning technology
CN104539470B (en) Test shunting device whether method, test client and the system of packet loss
CN105933153A (en) Cluster failure monitoring method and device

Legal Events

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