CN106302017A - High concurrent low discharge network velocity-measuring system and method - Google Patents

High concurrent low discharge network velocity-measuring system and method Download PDF

Info

Publication number
CN106302017A
CN106302017A CN201610683355.4A CN201610683355A CN106302017A CN 106302017 A CN106302017 A CN 106302017A CN 201610683355 A CN201610683355 A CN 201610683355A CN 106302017 A CN106302017 A CN 106302017A
Authority
CN
China
Prior art keywords
speed
server
client
test
tests
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.)
Granted
Application number
CN201610683355.4A
Other languages
Chinese (zh)
Other versions
CN106302017B (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 high concurrent low discharge network velocity-measuring system and method, its system includes testing the speed client and dispatch server and multiple server that tests the speed, the client that tests the speed is for sending the request of testing the speed to dispatch server, dispatch server is for receiving the request of testing the speed of the client that tests the speed, according to the request of testing the speed and the busy extent of server, distribute the server that tests the speed of test the speed scheme and correspondence for sending the client that tests the speed of the request of testing the speed.It supports that height concurrently tests the speed, and the flow consumed and the time of consumption are few.

Description

High concurrent low discharge network velocity-measuring system and method
Technical field
The present invention relates to network velocity measuring technique field, particularly to a kind of high concurrent low discharge network velocity-measuring system and side Method.
Background technology
Along with broadband network (fixed network) and user's high speed development of mobile network's (mobile network), carrying rapidly of the network bandwidth Height, the demand that network tests the speed is increasing.But traditional HTTP and FTP uploads the survey downloaded with the big packet mode of Socket UDP The band width in physical of the server that tests the speed is required the highest by speed, it is impossible to accomplish that high concurrent network tests the speed;And tradition tests the speed mode The biggest to the customer impact that tests the speed, when testing the speed, user cannot use other any network applications substantially, otherwise will be to the knot that tests the speed Fruit produces large effect.
Summary of the invention
It is an object of the invention to the deficiency existed for prior art, it is provided that a kind of high concurrent low discharge network velocity-measuring system And method, its support height concurrently tests the speed, and the flow consumed and the time of consumption are few, little to the customer impact that tests the speed, rate accuracy High.
It is an object of the invention to use following proposal to realize: a kind of high concurrent low discharge network velocity-measuring system, including surveying Speed client, dispatch server and multiple server (two or more) that tests the speed, described in test the speed client for sending survey Speed request to dispatch server, described dispatch server for receiving the testing the speed request of the client that tests the speed, ask according to testing the speed with And the busy extent of the server that tests the speed, the clothes that test the speed of test the speed scheme and correspondence are distributed for sending the client that tests the speed of the request of testing the speed Business device.
In some application scenarios, if needing complete end-to-end monitoring to test the speed, then the high concurrent rill of the present invention Amount network velocity-measuring system also includes probe server, the server end that described probe server tests the speed as the client that tests the speed, and makees For the client of the server that tests the speed, it is used for carrying out network end-to-end and tests the speed.Preferably, probe server is three, three Probe server is deployed in Access Layer, convergence-level, core layer respectively, and it is primarily to carry out network end-to-end monitoring and survey Speed, can be client network, Access Layer by the complete diagnosis of testing the speed of the low discharge of high (second level) frequency of rule that tests the speed on earth There is bottleneck or problem in network, convergence-level networking or core layer network.
Multiple servers that test the speed constitute the server cluster that tests the speed.
A kind of high concurrent low discharge network velocity-measuring system, including the client that tests the speed, dispatch server, probe server and The individual server that tests the speed, described in test the speed client for send test the speed request to dispatch server, described probe server is as survey The server end that speed client tests the speed, as the client of the server that tests the speed, is used for carrying out network end-to-end and tests the speed, described Dispatch server is for receiving the request of testing the speed of client, according to the request of testing the speed and the busy extent of server end, for sending The client of the request of testing the speed distributes the server end of test the speed scheme and correspondence.Preferably, probe server is three, three spies Pin server is deployed in Access Layer, convergence-level, core layer respectively, and it is primarily to carry out network end-to-end and test the speed, Can be client network, Access Layer net on earth by the complete diagnosis of testing the speed of the low discharge of high (second level) frequency of rule that tests the speed There is bottleneck or problem in network, convergence-level networking or core layer network.
The high concurrent low discharge network velocity-measuring system of the present invention also includes data acquisition server, described data acquisition service Device is for receiving measurement data from client server, and stores.
The described client that tests the speed is smart machine, including smart mobile phone, PC/notebook/Mac, intelligent gateway, intelligence Can TV, Intelligent set top box, intelligent router.
A kind of high concurrent low discharge network speed-measuring method, comprises the steps:
S1) client initiates, to dispatch server, the request of testing the speed;
S2) dispatch server is according to the request of testing the speed and the busy extent of server end, for sending the client of the request of testing the speed Distribute the server end of test the speed scheme and correspondence;
S3) when client asks descending testing the speed, if client network is limiting speed of token bucket mode, then server end is sent out Play limiting speed of token bucket testing scheme to test the speed;If the non-speed limit of client network or use leaky bucket speed limit, then server end root Initiate downlink physical bandwidth test scheme according to the request of testing the speed to test the speed or/and descending available bandwidth testing scheme tests the speed;
S4) when client asks up testing the speed, if client network is limiting speed of token bucket mode, then client is initiated 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 client is according to survey Speed request is initiated ascending physical signal bandwidth test scheme and is tested the speed or/and up available bandwidth testing scheme tests the speed.
The request of testing the speed includes the network type residing for direction, priority, client that tests the speed.
Result that what client server obtained after testing the speed test the speed reports data acquisition server, and data acquisition takes Business device record tests the speed result.The result that tests the speed (only can be used including but not limited to band width in physical, available bandwidth, peak value band width in physical 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 client or the probe server of testing the speed, and server end is server or the probe server of testing the speed, and works as spy When pin 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 comprises the steps:
S1) tested end is the most mutual with test lead: tested end is set up link with test lead and is connected, and tested end passes Passing for the first time the most mutual test parameter to test lead, first time that test lead transmits with tested end mutual test parameter is for referring to Leading, send network detection bag and arrange to tested end, the network detection bag row of tested termination Acceptance Tests end, according to network detection bag According to the network physical bandwidth estimated, the quantity of packet and the band width in physical of Time-delay Prediction network in row, determine that second time is mutual Test parameter;
S2) tested end and test lead second time is mutual: tested end is by step S1) in the mutual survey of the second time that determines Examination parameter passes to test lead, and the mutual test parameter of second time that test lead transmits with tested end is to instruct, and sends network Test bag row are to tested end, and the network test bag row of tested termination Acceptance Tests end, according to network test Bao Liezhong packet Quantity and time-delay calculation obtain network physical bandwidth;
During test downlink physical bandwidth, test lead is server end, and tested end is client, testing uplink band width in physical Time, test lead is client, and tested end is server end.
By network physical bandwidth partition interval range, set in tested end and survey one to one with each interval range Examination parameter, after tested end is the most mutual with test lead, tested end estimates out the band width in physical of network, it is judged that the net estimated The interval range at network band width in physical place, the test parameter corresponding to interval range at the network physical bandwidth place estimated is The test parameter that secondary is mutual.
Because at present the usual maximum of real network band width in physical is 1000M, it is therefore two by network physical bandwidth partition Individual interval range, be respectively (0,100M] and (100M, 1000M], and wherein (0,100M] in test parameter corresponding to interval range Bag number be n1;(100M, 1000M] bag number in test parameter corresponding to interval range is n2.N1 and n2 can basis Situation is adjusted.When network physical band is wider than 1000M, test parameter corresponding to this interval range with (100M, 1000M] The test parameter that interval range is corresponding is identical, it is of course also possible to be set as other test parameters according to actual needs.
N1 is one and is more than or equal to 70, and the number less than or equal to 130, and n2 is one and is more 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, 100M and 1000M network sends Test parameter has the biggest difference.
In the most mutual test parameter, bag size is n3, and unit is byte, 500≤n3≤1450.N3 can basis Situation is adjusted.
In the most mutual test parameter, bag size is n4, and unit is byte, 500≤n4≤1450.N4 can basis Situation is adjusted.In the most mutual test parameter, bag number is n5,30≤n5≤70.N5 can according to circumstances adjust Whole.Bag size and bag number the least (lacking), usually 500byte X 50 in the most mutual test parameter.Because the Once do not know client current network bandwidth, the most just need once to estimate test.Have only to alternately obtain for the first time One discreet value, the highest to required precision, use parcel and a small amount of bag the most also to save testing time and flow.
After taking above-mentioned low discharge band width in physical testing scheme, within 24 hours, network thing can be obtained in network operation whole day simultaneously Reason bandwidth, due to a band width in physical test, the packet being sent to client from server end is the least (the most hundreds of K), speed is very fast, greatly enhances user's perception, adds the utilization ratio of network and improves network running quality. Meanwhile, facilitate network operation maintenance team to find the problem in network and bottleneck, Fast-Maintenance and maintenance in time, improve network and make The satisfaction of user.
Available bandwidth testing scheme comprises the steps:
S1) known band width in physical C, sets measuring accuracy Ac, and test lead is with RI1Speed sends interval bag row to tested End, RI1=C.Measuring accuracy Ac ∈ (0,0.3].
S2) tested end is by receiving step S1) interval bag column count packet receiving speed RO that sends1, to RI1/RO1-1 enters Row judges, if RI1/RO1-1≤measuring accuracy Ac, then judge RI1/RO1-1, in agreement accuracy rating, enters step S7);If RI1/RO1-1 > measuring accuracy Ac, then judge RI1/RO1-1, not in agreement accuracy rating, enters step S3);
S3) tested end is by step 2) packet receiving speed RO calculated1Being sent to test lead, test lead is with RI2Speed is sent out Send interval bag row to tested end, RI2=RO1
S4) tested end is by receiving step S3) interval bag column count packet receiving speed RO that sends2, to RI2/RO2-1 enters Row judges, if RI2/RO2-1≤measuring accuracy Ac, then judge RI2/RO2-1, in agreement accuracy rating, enters step S7);If RI2/RO2-1 > measuring accuracy Ac, then judge RI2/RO2-1, not in agreement accuracy rating, enters step S5);
S5) tested end is by step 4) packet receiving speed RO calculated2Being sent to test lead, test lead passes through formulaCalculate RI3, test lead is with RI3Speed sends interval bag row to tested end;
S6) tested end is by receiving step S5) interval bag column count packet receiving speed RO that sends3
S7) tested end calculates available bandwidth by band width in physical and packet receiving speed, velometer of giving out a contract for a project;
When testing descending available bandwidth, test lead is server end, and tested end is client, testing uplink available bandwidth Time, test lead is client, and tested end is server end.
What available bandwidth testing scheme of the present invention sent is out-of-sequence packet row, during reception, be only concerned receive first bag and The interval time of last bag, disturb thus without by out of order and packet loss.And the present invention the most only tests three times, to the time and The consumption of flow is the least, therefore in the environment of same, can accomplish low discharge and quick obtaining available bandwidth.Use above-mentioned It is high that low discharge available bandwidth testing scheme is estimated accuracy rate to available bandwidth, and the time used is short, and spent flow is the least, And it is not disturbed by out of order and packet loss.
Present invention have the advantage that the present invention passes through high-bandwidth service device, send UDP low discharge bag quantitative analysis, if Put multiple server that tests the speed and coordinate dispatch server, it is possible to realize height and concurrently test 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 hundred times that unified test try is wide.And the present invention is little to the customer impact that tests the speed, rate accuracy is high.Because present invention uses low discharge Test the speed mode, and solves the most concurrent problem very well, and owing to testing the speed, flow consumes considerably less and time-consuming the shortest, Have an impact thus without to user.
Native system supports broadband, the testing the speed of mobile network simultaneously, and native system tests the speed and can assess band width in physical and available band Width, accurately tests the speed to leaky bucket model, the token bucket pattern speed limit of bandwidth operator.
Probe client can be as probe server end, and probe server end also can be as probe client, and probe takes Business device be deployed in Access Layer, convergence-level, core layer itself primarily to carry out network end-to-end and test the speed, can pass through test the speed The complete diagnosis of testing the speed of the low discharge of high (second level) frequency of rule is client network, access layer network, convergence-level networking on earth 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 can provide, band width in physical is by the narrowest in network path The bandwidth of link determines, the most also referred to as link bandwidth;
Available bandwidth: be divided into link available bandwidth and path (end-to-end) available bandwidth, it is assumed that UiRepresent link LiWhen T Between utilization rate in section, CiRefer to band width in physical, the available bandwidth A of linkiFor: 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.Available bandwidth is divided into descending available Bandwidth and up 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 in the case of flow is less Do not carry out speed limit, just carry out speed limit when flow reaches a certain amount of;
Leaky bucket speed limit: leaky bucket speed limit refers to leaky bucket speed limit technology, is characterized in that, regardless of uninterrupted, all carrying out speed limit;
Peak value band width in physical (token bucket): operator broadband employs limiting speed of token bucket technology, here peak value in a large number at present Band width in physical refers in limiting speed of token bucket network, before not actuated speed limit, and the peak transfer rate that network path can reach.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, aforesaid physical tape 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, not actuated Before speed limit, the available bandwidth of network path.For speed limit network, aforesaid available bandwidth refers to the available band after speed limit Wide;
Bao Lie: refer to continuous continual a string message in network transmission.
Packet loss: refer in network transmission process, total * the 100% of the number of packet loss/transmission bag;
Time delay: refer to the time delay of client PING server;
Test the speed elapsed time every time: refers to the consumed time of every time testing the speed;
Test the speed consumed flow every time: refers to the consumed flow that every time tests the speed.
Accompanying drawing explanation
Fig. 1 is the theory diagram of the high concurrent low discharge network velocity-measuring system of the present invention;
Fig. 2 is end-to-end and by end test data flow;
Fig. 3 is the descending flow chart that tests the speed of the present invention;
Fig. 4 is the up flow chart that tests the speed of the present invention;
Fig. 5 is the downlink physical broadband index test sequential chart of the present invention;
Fig. 6 is the ascending physical signal broadband index test sequential chart of the present invention;
Fig. 7 is the method for testing flow chart of inventive network available bandwidth.
Detailed description of the invention
Implement one
Seeing Fig. 1, a kind of high concurrent low discharge network velocity-measuring system, including client T01 that tests the speed, dispatch server T04 With multiple servers T03 (two or more) that test the speed, described in test the speed client for send test the speed request to dispatch service Device, described dispatch server, for receiving the testing the speed request of client of testing the speed, is asked according to testing the speed and the server that tests the speed numerous Busy degree, distributes the server that tests the speed of test the speed scheme and correspondence for sending the client that tests the speed of the request of testing the speed.The height of the present invention Concurrent low discharge network velocity-measuring system also includes data acquisition server T05, and described data acquisition server is for from client Or received server-side measurement data, and store.
In some application scenarios, if needing complete end-to-end monitoring to test the speed, then the high concurrent rill of the present invention Amount network velocity-measuring system also includes probe server T02, the server end that described probe server tests the speed as the client that tests the speed, As the client of the server that tests the speed, it is used for carrying out network end-to-end and tests the speed.Preferably, probe server is three, three Individual probe server is deployed in Access Layer, convergence-level, core layer respectively, and it is primarily to carry out network end-to-end monitoring and survey Speed, can be client network, Access Layer by the complete diagnosis of testing the speed of the low discharge of high (second level) frequency of rule that tests the speed on earth There is bottleneck or problem in network, convergence-level networking or core layer network.
The client that tests the speed refers to be mounted with that low discharge tests the speed the smart machine of client software, its comprise data transmission blocks, Data reception module and data processing module, data transmission blocks is responsible for sending data to server end, and data reception module is born Duty is from received server-side data, and transfers to data processing module to process the data received, at data processing module After reason data complete, data transmission blocks can be transferred to again to be again sent to data acquisition server;The intelligence that the client that tests the speed is supported Energy equipment contains but is not limited to smart mobile phone, PC/notebook/Mac, intelligent gateway, intelligent television, Intelligent set top box, intelligence Can router.
The server that tests the speed refers to be deployed in network core layer, can be as client and the server of probe server of testing the speed A kind of equipment of end, it comprises data transmission blocks, data reception module, data processing module and scheduler module;Data send 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 Processed by data processing module, after data processing module process data complete, sending module can be transferred to again to be again sent to Data acquisition server T06;Multiple thread concurrent receipt clients that scheduler module is mainly used in coordination data receiver module Request of data, to reach to increase the purpose of server end handling capacity.
Owing to systems support high concurrently tests the speed, system has the server cluster that tests the speed that multiple server that tests the speed is formed, therefore Needing the equipment that can dispatch the client that tests the speed, probe server and the server that tests the speed pairing, this equipment refers to scheduling Server;It comprises data reception module, data transmission blocks, the scheduler module that tests the speed, the rule treatments that tests the speed module;Data receiver Module is responsible for from client and server termination Acceptance Tests request data and server busy situation data, and the data received Rule treatments module of transferring to test the speed processes, and test order processing module processes after data complete, according to the busy journey of server Degree, transfers to scheduler module allocation for test server, then transfers to sending module to be again sent to client.
Data acquisition server refers to be deployed in network core layer, as collecting and the test the speed one of result of calculating section sets Standby;It comprises data reception module and data memory module;Data reception module is responsible for receiving from client server surveying Speed data, and transfer to data memory module to store.
Seeing Fig. 2, probe server refers to that major deployments, can be as the client that tests the speed in Access Layer, convergence-level, core layer The server end tested the speed, a kind of equipment of the client that also can test the speed as the server that tests the speed.It comprises data transmission blocks, number According to receiver module, data processing module and Queue module.Its as client when, data transmission blocks be responsible for send number According to server end, data reception module is responsible for from received server-side data, and is transferred to data to process the data received Module processes, and after data processing module process data complete, sending module can be transferred to again to be again sent to data acquisition clothes Business device;Its as server end when, 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 process the data received, and it is complete that data processing module processes 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 the most only supports a task, and follow-up work will be queued up by Queue module.Probe server disposition is accessing Layer, convergence-level, core layer itself primarily to carry out network end-to-end and test the speed, can be by testing the speed rule high (second level) frequently The complete diagnosis of testing the speed of the low discharge of rate is client network, access layer network, convergence-level networking or core layer network on earth Bottleneck or problem occur.
The present invention is using testing the speed client and be referred to as client as probe server during client.The present invention using as Probe server during server and the server that tests the speed are referred to as server end.
Embodiment two
A kind of high concurrent low discharge network velocity-measuring system, including the client that tests the speed, dispatch server, probe server and The individual server that tests the speed, described in test the speed client for send test the speed request to dispatch server, described probe server is as survey The server end that speed client tests the speed, as the client of the server that tests the speed, is used for carrying out network end-to-end and tests the speed, described Dispatch server is for receiving the request of testing the speed of client, according to the request of testing the speed and the busy extent of server end, for sending The client of the request of testing the speed distributes the server end of test the speed scheme and correspondence.Described data acquisition server is for from client Or received server-side measurement data, and store.Preferably, probe server is three, and three probe servers are respectively Being deployed in Access Layer, convergence-level, core layer, it is primarily to carry out network end-to-end and test the speed, can be by testing the speed The complete diagnosis of testing the speed of the low discharge of high (second level) frequency of rule is client network, access layer network, convergence-level networking on earth Or there is bottleneck or problem in core layer network.Other features of embodiment one are identical with embodiment two.
See Fig. 3 and Fig. 4, a kind of network speed-measuring method using said system, comprise the steps:
S1) client initiates, to dispatch server, the request of testing the speed.The request of testing the speed includes test the speed direction, priority, client Residing network type.The request of testing the speed may also include operator's signing bandwidth.
S2) dispatch server is according to the request of testing the speed and the busy extent of server end, for sending the client of the request of testing the speed Distribute the server end of test the speed scheme and correspondence.Client is client or the probe server of testing the speed, and server end is for testing the speed Server or probe server, when probe server is as server end, client is the client that tests the speed, when probe server During as client, server end is the server that tests the speed.
S3) when client asks descending testing the speed, if client network is limiting speed of token bucket mode, then server end is sent out Play limiting speed of token bucket testing scheme to test the speed;If the non-speed limit of client network or use leaky bucket speed limit, then server end root Initiate low discharge downlink physical bandwidth test scheme according to the request of testing the speed to test the speed or/and low discharge descending available bandwidth testing scheme is surveyed Speed;
S4) when client asks up testing the speed, if client network is limiting speed of token bucket mode, then client is initiated 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 client is according to survey Speed request is initiated low discharge ascending physical signal bandwidth test scheme and is tested the speed or/and low discharge up 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 prior art, no longer Describe in detail.Limiting speed of token bucket testing scheme may refer to disclosed paper, and " bottleneck bandwidth under the conditions of network speed limit is measured new Method ".
Result that what client server obtained after testing the speed test the speed reports data acquisition server, and data acquisition takes Business device record tests the speed result.The result that tests the speed (only can be used including but not limited to band width in physical, available bandwidth, peak value band width in physical 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.
Seeing Fig. 5 and Fig. 6, low discharge band width in physical testing scheme comprises the steps:
S1) tested end is the most mutual with test lead: tested end is set up link with test lead and is connected, and tested end passes Passing for the first time the most mutual test parameter to test lead, first time that test lead transmits with tested end mutual test parameter is for referring to Leading, send network detection bag and arrange to tested end, the network detection bag row of tested termination Acceptance Tests end, according to network detection bag According to the network physical bandwidth estimated, the quantity of packet and the band width in physical of Time-delay Prediction network in row, determine that second time is mutual Test parameter;
S2) tested end and test lead second time is mutual: tested end is by step S1) in the mutual survey of the second time that determines Examination parameter passes to test lead, and the mutual test parameter of second time that test lead transmits with tested end is to instruct, and sends network Test bag row are to tested end, and the network test bag row of tested termination Acceptance Tests end, according to network test Bao Liezhong packet Quantity and time-delay calculation obtain network physical bandwidth.
Network detection bag row, network test bag row are UDP bag row.Test parameter includes bag size, bag number.Under test During row band width in physical, test lead is server end, and tested end is client, and during testing uplink band width in physical, test lead is visitor Family end, tested end is server end.
By network physical bandwidth partition interval range, set in tested end and survey one to one with each interval range Examination parameter, after tested end is the most mutual with test lead, tested end estimates out the band width in physical of network, it is judged that the net estimated The interval range at network band width in physical place, the test parameter corresponding to interval range at the network physical bandwidth place estimated is The test parameter that secondary is mutual.
Because at present the usual maximum of real network band width in physical is 1000M, it is therefore two by network physical bandwidth partition Individual interval range, be respectively (0,100M] and (100M, 1000M], and wherein (0,100M] in test parameter corresponding to interval range Bag number be n1;(100M, 1000M] bag number in test parameter corresponding to interval range is n2.N1 and n2 can basis Situation is adjusted.When network physical band is wider than 1000M, test parameter corresponding to this interval range with (100M, 1000M] The test parameter that interval range is corresponding is identical, it is of course also possible to be set as other test parameters according to actual needs.
N1 is one and is more than or equal to 70, and the number less than or equal to 130, and n2 is one and is more 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, 100M and 1000M network sends Test parameter has the biggest difference.The n1 of the present embodiment is 100, and n2 is 500.
In the most mutual test parameter, bag size is n3, and unit is byte, 500≤n3≤1450.N3 can basis Situation is adjusted.The n3 of the present embodiment is 1400.
In the most mutual test parameter, bag size is n4, and unit is byte, 500≤n4≤1450.N4 can basis Situation is adjusted.In the most mutual test parameter, bag number is n5,30≤n5≤70.N5 can according to circumstances adjust Whole.Bag size and bag number the least (lacking), usually 500byte X 50 in the most mutual test parameter.Because the Once do not know client current network bandwidth, the most just need once to estimate test.Have only to alternately obtain for the first time One discreet value, the highest to required precision, use parcel and a small amount of bag the most also to save testing time and flow.The present embodiment N4 is 500.The n5 of the present embodiment is 50.
Seeing Fig. 7, low discharge available bandwidth testing scheme comprises the steps:
S1) known band width in physical C, sets measuring accuracy Ac, and test lead is with RI1Speed sends interval bag row to tested End, RI1=C.Measuring accuracy Ac ∈ (0,0.3].
S2) tested end is by receiving step S1) interval bag column count packet receiving speed RO that sends1, to RI1/RO1-1 enters Row judges, if RI1/RO1-1≤measuring accuracy Ac, then judge RI1/RO1-1, in agreement accuracy rating, enters step S7);If RI1/RO1-1 > measuring accuracy Ac, then judge RI1/RO1-1, not in agreement accuracy rating, enters step S3);
S3) tested end is by step 2) packet receiving speed RO calculated1Being sent to test lead, test lead is with RI2Speed is sent out Send interval bag row to tested end, RI2=RO1
S4) tested end is by receiving step S3) interval bag column count packet receiving speed RO that sends2, to RI2/RO2-1 enters Row judges, if RI2/RO2-1≤measuring accuracy Ac, then judge RI2/RO2-1, in agreement accuracy rating, enters step S7);If RI2/RO2-1 > measuring accuracy Ac, then judge RI2/RO2-1, not in agreement accuracy rating, enters step S5);
S5) tested end is by step 4) packet receiving speed RO calculated2Being sent to test lead, test lead passes through formulaCalculate RI3, test lead is with RI3Speed sends interval bag row to tested end;
S6) tested end is by receiving step S5) interval bag column count packet receiving speed RO that sends3
S7) tested end calculates available bandwidth by band width in physical and packet receiving speed, velometer of giving out a contract for a project;
When testing descending available bandwidth, test lead is server end, and tested end is client, testing uplink available bandwidth Time, test lead is client, and tested end is server end.By band width in physical and packet receiving speed, speed calculation of giving out a contract for a project can The algorithm in disclosed paper " availability bandwidth measurement method research " can be used by bandwidth.
Different test mode Comparative result is presented herein below
Broadband test Comparative result under certain operator 1000Mbps network environment:
The different test mode Comparative result of form 1
By the different test mode Comparative result of form 1 it can be seen that under the same server bandwidth that tests the speed, this low discharge Flow that test system is consumed and the time of consumption, much smaller than tradition speed-measuring method, 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 foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, it is clear that those skilled in the art Member can carry out various change and modification without departing from the spirit and scope of the present invention to the present invention.So, if the present invention These amendments and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these Change and including modification.

Claims (10)

1. one kind high concurrent low discharge network velocity-measuring system, it is characterised in that: the client that includes testing the speed, dispatch server and multiple Test the speed server, described in test the speed client for send test the speed request to dispatch server, described dispatch server is used for receiving The request of testing the speed of the client that tests the speed, according to the request of testing the speed and the busy extent of the server that tests the speed, for sending the survey of the request of testing the speed Speed client distributes the server that tests the speed of test the speed scheme and correspondence.
System the most according to claim 1, it is characterised in that: also include probe server, described probe server conduct The server end that the client that tests the speed tests the speed, as the client of the server that tests the speed, is used for carrying out network end-to-end and tests the speed.
3. one kind high concurrent low discharge network velocity-measuring system, it is characterised in that: include test the speed client, dispatch server, probe Server and the server that tests the speed, described in test the speed client for send test the speed request to dispatch server, described probe take The server end that business device tests the speed as the client that tests the speed, as the client of the server that tests the speed, is used for carrying out network end-to-end prison Survey is tested the speed, and described dispatch server, for receiving the testing the speed request of client, is asked according to testing the speed and server end busy Degree, distributes the server end of test the speed scheme and correspondence for sending the client of the request of testing the speed.
4. according to the system described in claim 1 or 2 or 3, it is characterised in that: also include data acquisition server, described data Acquisition server is for receiving measurement data from client server, and stores.
5. one kind high concurrent low discharge network speed-measuring method, it is characterised in that comprise the steps:
S1) client initiates, to dispatch server, the request of testing the speed;
S2) dispatch server is according to the request of testing the speed and the busy extent of server end, for sending the client distribution of the request of testing the speed The scheme that tests the speed and the server end of correspondence;
S3) when client asks descending testing the speed, if client network is limiting speed of token bucket mode, then server end initiates order Board bucket speed limit testing scheme tests the speed;If the non-speed limit of client network or use leaky bucket speed limit, then server end is according to survey Speed request is initiated downlink physical bandwidth test scheme and is tested the speed or/and descending available bandwidth testing scheme tests the speed;
S4) when client asks up testing the speed, if client network is limiting speed of token bucket mode, then client initiates token Bucket speed limit testing scheme tests the speed;If the non-speed limit of client network or use leaky bucket speed limit, then client is according to test the speed please Initiation ascending physical signal bandwidth test scheme is asked to test the speed or/and up available bandwidth testing scheme tests the speed.
Method the most according to claim 5, it is characterised in that: band width in physical testing scheme comprises the steps:
S1) tested end and test lead are the most mutual: tested end is set up link with test lead and is connected, and tested end transmits the The most mutual test parameter is to test lead, and first time that test lead transmits with tested end mutual test parameter is to instruct, Send network detection bag to arrange to tested end, the network detection bag row of tested termination Acceptance Tests end, arrange according to network detection bag According to the network physical bandwidth estimated, the quantity of middle packet and the band width in physical of Time-delay Prediction network, determine that second time is mutual Test parameter;
S2) tested end and test lead second time is mutual: tested end is by step S1) in the mutual test ginseng of the second time that determines Number passes to test lead, and the mutual test parameter of second time that test lead transmits with tested end is to instruct, and sends network test Bag row are to tested end, and the network test bag row of tested termination Acceptance Tests end, according to the number of network test Bao Liezhong packet Amount and time-delay calculation obtain network physical bandwidth;
During test downlink physical bandwidth, test lead is server end, and tested end is client, during testing uplink band width in physical, Test lead is client, and tested end is server end.
Method the most according to claim 5, it is characterised in that: available bandwidth testing scheme comprises the steps:
S1) known band width in physical C, sets measuring accuracy Ac, and test lead is with RI1Speed sends interval bag row to tested end, RI1 =C;
S2) tested end is by receiving step S1) interval bag column count packet receiving speed RO that sends1, to RI1/RO1-1 sentences Disconnected, if RI1/RO1-1≤measuring accuracy Ac, then judge RI1/RO1-1, in agreement accuracy rating, enters step S7);If RI1/ RO1-1 > measuring accuracy Ac, then judge RI1/RO1-1, not in agreement accuracy rating, enters step S3);
S3) tested end is by step 2) packet receiving speed RO calculated1Being sent to test lead, test lead is with RI2Between speed sends Every bag row to tested end, RI2=RO1
S4) tested end is by receiving step S3) interval bag column count packet receiving speed RO that sends2, to RI2/RO2-1 sentences Disconnected, if RI2/RO2-1≤measuring accuracy Ac, then judge RI2/RO2-1, in agreement accuracy rating, enters step S7);If RI2/ RO2-1 > measuring accuracy Ac, then judge RI2/RO2-1, not in agreement accuracy rating, enters step S5);
S5) tested end is by step 4) packet receiving speed RO calculated2Being sent to test lead, test lead passes through formulaCalculate RI3, test lead is with RI3Speed sends interval bag row to tested end;
S6) tested end is by receiving step S5) interval bag column count packet receiving speed RO that sends3
S7) tested end calculates available bandwidth by band width in physical and packet receiving speed, velometer of giving out a contract for a project;
When testing descending available bandwidth, test lead is server end, and tested end is client, during testing uplink available bandwidth, Test lead is client, and tested end is server end.
Method the most according to claim 5, it is characterised in that: the request of testing the speed includes the network residing for direction, client that tests the speed Type.
Method the most according to claim 5, it is characterised in that: what client server obtained after testing the speed test the speed knot Fruit reports data acquisition server, and data acquisition server record tests the speed result.
Method the most according to claim 5, it is characterised in that: client is client or the probe server of testing the speed, service Device end is server or the probe server of testing the speed, 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 true CN106302017A (en) 2017-01-04
CN106302017B 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)

Cited By (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
CN110932879A (en) * 2018-09-20 2020-03-27 阿里巴巴集团控股有限公司 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
CN112671606A (en) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 Network speed measurement method, device and system, storage medium and gateway equipment
CN114124763A (en) * 2021-12-07 2022-03-01 中国信息通信研究院 Method and system for measuring broadband access rate
CN114430384A (en) * 2021-12-31 2022-05-03 广州海之光通信技术股份有限公司 Network speed measurement method and device based on distributed architecture

Citations (6)

* 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
CN101299687A (en) * 2008-05-07 2008-11-05 中国联合通信有限公司 Method and system for measuring available bandwidth of wireless LAN
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
US20150236938A1 (en) * 2013-01-10 2015-08-20 Fuji Xerox Co., Ltd. Bandwidth measuring device, bandwidth measuring method and non-transitory computer readable medium

Patent Citations (6)

* 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
CN101299687A (en) * 2008-05-07 2008-11-05 中国联合通信有限公司 Method and system for measuring available bandwidth of wireless LAN
CN101414938A (en) * 2008-11-28 2009-04-22 华南理工大学 Self-adapting real-time detection method for digital household network available bandwidth
US20150236938A1 (en) * 2013-01-10 2015-08-20 Fuji Xerox Co., Ltd. Bandwidth measuring device, bandwidth measuring method and non-transitory computer readable medium
CN104009890A (en) * 2014-06-10 2014-08-27 江苏省邮电规划设计院有限责任公司 Test system and method for network quality in Internet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴丽: "可用带宽测量方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (11)

* 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
CN110932879A (en) * 2018-09-20 2020-03-27 阿里巴巴集团控股有限公司 Network performance test method, data processing device and storage medium
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
CN112671606A (en) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 Network speed measurement method, device and system, storage medium and gateway equipment
CN112671606B (en) * 2020-12-16 2022-11-25 深圳创维数字技术有限公司 Network speed measuring method, device and system, storage medium and gateway equipment
CN114124763A (en) * 2021-12-07 2022-03-01 中国信息通信研究院 Method and system for measuring broadband access rate
CN114124763B (en) * 2021-12-07 2023-10-24 中国信息通信研究院 Broadband access rate measurement method and system
CN114430384A (en) * 2021-12-31 2022-05-03 广州海之光通信技术股份有限公司 Network speed measurement method and device based on distributed architecture
CN114430384B (en) * 2021-12-31 2023-10-20 广州海之光网络股份有限公司 Network speed measuring method and device based on distributed architecture

Also Published As

Publication number Publication date
CN106302017B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN106302017B (en) The small capaciated flow network velocity-measuring system of high concurrent and method
Li et al. LLMP: exploiting LLDP for latency measurement in software-defined data center networks
CN102415059B (en) Bus control device
CN104184617B (en) InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
CN109066990A (en) Platform area power grid tip turbulence Topology identification method based on centralized dispatching
CN106850337A (en) A kind of network quality detection method and device
CN106713074B (en) Data network quality segmentation detection method based on business tine and system
CN104683182B (en) IDC network of computer room service quality detection method and device
CN106656679B (en) Availability bandwidth measurement method
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN103416022B (en) Throughput testing approach and system in service in distribution router/exchange board structure
CN101018161A (en) A link, path, and network availability bandwidth measurement method
EP3295612B1 (en) Uplink performance management
CN106302016B (en) The method and system of small flow quick obtaining network physical bandwidth
CN109600579A (en) Video wireless transmission method, apparatus, system and equipment
CN106330600B (en) A kind of method of small flow quick obtaining network availability bandwidth
CN103023716A (en) System and method for monitoring network quality with zero traffic consumption
CN104486167A (en) Concurrence network performance and network trending direction testing method based on MESH network
CN108270643A (en) The detection method and equipment of link between Leaf-Spine interchangers
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
KR20170048937A (en) Slot frame virtualization System and Method for based industrial wireless network
CN108011763B (en) Communication data network investment construction evaluation method
KR20230003403A (en) Method and apparatus for detecting internet connection problems
CN108494625A (en) A kind of analysis system on network performance evaluation

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