CN107171887A - A kind of network bandwidth test method, client and network bandwidth test system - Google Patents

A kind of network bandwidth test method, client and network bandwidth test system Download PDF

Info

Publication number
CN107171887A
CN107171887A CN201710358958.1A CN201710358958A CN107171887A CN 107171887 A CN107171887 A CN 107171887A CN 201710358958 A CN201710358958 A CN 201710358958A CN 107171887 A CN107171887 A CN 107171887A
Authority
CN
China
Prior art keywords
network bandwidth
test
information
feedback
service end
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
CN201710358958.1A
Other languages
Chinese (zh)
Other versions
CN107171887B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710358958.1A priority Critical patent/CN107171887B/en
Publication of CN107171887A publication Critical patent/CN107171887A/en
Application granted granted Critical
Publication of CN107171887B publication Critical patent/CN107171887B/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

Abstract

This application discloses a kind of network bandwidth test method, client and network bandwidth test system, including:Sent to service end after test information, the feedback module at statistical fractals end transmits the quantity of the feedback information come in the given time;According to the quantity of the feedback information of statistics, it is determined that the quantity of the test information sent in the given time;The quantity of the test information sent according to the scheduled time, in the given time and the byte length of every test post, calculate the network bandwidth.The Information Number that the application is successfully transmitted in the given time by test client, carrys out calculating network bandwidth, it is ensured that the reliability of test result;Simultaneously, it is to avoid the receive information number of each node in the cluster of statistical fractals end, the feedback information number that client is received in the scheduled time only need to be counted, so as to ensure that the integrality of test result, test process simplification improves the testing efficiency of the network bandwidth.

Description

A kind of network bandwidth test method, client and network bandwidth test system
Technical field
The present invention relates to network communication field, more particularly to a kind of network bandwidth test method, client and Netowrk tape Wide test system.
Background technology
Accurately the bandwidth of measurement application program is that highly significant, it can not only help the user of application program Solve the performance of application program, it is often more important that the developer of application program can be allowed to find the bottleneck place of the network bandwidth, so that Application program is optimized, it is to avoid the generation of congestion, realize more preferable congestion control policy.Existing bandwidth test method master There are two kinds, other algorithms are all the improvement on their basis.One kind is single packet techniques, and another is data Bag is to technology.
Single packet techniques are commonly referred to as variable-size packet technology, because it sends the detection of size variation to network Packet simultaneously counts the time delay at end of achieving the goal and carrys out the bandwidth of test network, and the time delay of network by propagation delay, queuing delay, Transmission delay is constituted.Its general principle be the time if packet known to a size by link, it is known that if should The bandwidth of link can just be calculated, and its result tested is the capacity of network.
Packet is then the time interval that is formed in transmitting procedure using packet to technology to test bandwidth.Its is basic Principle be former and later two packets propagation delay and queuing delay under the same conditions, receiving terminal receives two packets Time interval is directly proportional to the size of packet, and the bandwidth of link is inversely proportional.What packet was tested technology is link Bottleneck bandwidth or available bandwidth, rather than the link measured by individual data packet technology capacity.
Both measuring technologies can for test each link bandwidth, it is also possible to test bandwidth end to end. No matter which kind of method, packet transmission time is established a capital really needs client to be played an active part in service end, not only to ensure two ends Test main frame there is accurate clock, and need the clock of two ends test main frame must be synchronous, in addition in the survey of every one end Test software must also be disposed on examination main frame, and when measuring the bandwidth of distributed type assemblies, because service end node is generally higher than Three, the test process of the network bandwidth will be more complicated, thus can not directly apply to the bandwidth test of distributed type assemblies.
The content of the invention
In view of this, it is an object of the invention to provide the survey of a kind of network bandwidth test method, client and the network bandwidth Test system, it is ensured that reliability, the integrality of test result, test process is simplified, and improves the test effect of the network bandwidth Rate.Its concrete scheme is as follows:
A kind of network bandwidth test method, including:
Sent to service end after test information, the feedback module for counting the service end transmits come anti-in the given time The quantity of feedforward information;
According to the quantity of the feedback information of statistics, it is determined that the number of the test information sent within the scheduled time Amount;
The quantity and every test post of the test information sent according to the scheduled time, within the scheduled time Byte length, calculate the network bandwidth.
Preferably, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, net is calculated using following equation Network bandwidth:
BW=NM/T
Wherein, BW represents the network bandwidth, and T represents the scheduled time, and N represents what is sent within the scheduled time The quantity of information is tested, M represents the byte length of every test information.
Preferably, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, the anti-of the service end is counted Feedback module transmits the quantity of the feedback information come in the given time, specifically includes:
The feedback module for repeatedly counting the service end transmits the quantity of the feedback information come in the given time;
After the network bandwidth is calculated, in addition to:
According to the number of times of statistics and the network bandwidth calculated, averaging network bandwidth value, the averaging network band are determined Width values are used as the final network bandwidth.
Preferably, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, calculate flat using following manner Equal Netowrk tape width values:
Ave.BW=BW/n
Wherein, ave.BW represents the averaging network bandwidth value, and BW represents the network bandwidth, and n represents the statistics Number of times.
Preferably, it is in the given time, described anti-in above-mentioned network bandwidth test method provided in an embodiment of the present invention The quantity of feedforward information is equal to the quantity of the test information.
Preferably, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, the byte of the feedback information Length is less than the byte length of the test information.
Preferably, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, the feedback module is arranged on In each node of cluster of the service end.
The embodiment of the present invention additionally provides a kind of client, including:
Feedback information statistical module, for being sent to service end after test information, counts the feedback module of the service end The quantity of the feedback information come is transmitted in the given time;
Information determination module is tested, for the quantity of the feedback information according to statistics, it is determined that in the scheduled time The quantity of the test information of interior transmission;
Network bandwidth computing module, for the test information sent according to the scheduled time, within the scheduled time Quantity and every test post byte length, calculate the network bandwidth.
The embodiment of the present invention additionally provides a kind of network bandwidth test system, including:It is provided in an embodiment of the present invention above-mentioned Client and service end.
A kind of network bandwidth test method provided by the present invention, client and network bandwidth test system, including:To clothes It is engaged in after end transmission test information, the feedback module at statistical fractals end transmits the quantity of the feedback information come in the given time;Root The quantity of feedback information according to statistics, it is determined that the quantity of the test information sent in the given time;According to the scheduled time, pre- Fix time interior transmission test information quantity and the byte length of every test post, calculate the network bandwidth.The present invention The Information Number being successfully transmitted in the given time by test client, carrys out calculating network bandwidth, it is ensured that test result can By property;Simultaneously, it is to avoid the receive information number of each node in the cluster of statistical fractals end, only client need to be counted in the scheduled time The feedback information number of reception, so as to ensure that the integrality of test result, test process is simplified, and improves the survey of the network bandwidth Try efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is one of flow chart of network bandwidth test method provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of network bandwidth test method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of client provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The present invention provides a kind of network bandwidth test method, as shown in figure 1, comprising the following steps:
S101, send after test information to service end, the feedback module at statistical fractals end transmits what is come in the given time The quantity of feedback information;
S102, the quantity according to the feedback information of statistics, it is determined that the quantity of the test information sent in the given time;
S103, the quantity of the test information sent according to the scheduled time, in the given time and every test post Byte length, calculates the network bandwidth.
In above-mentioned network bandwidth test method provided in an embodiment of the present invention, test information is sent to service end first Afterwards, the feedback module at statistical fractals end transmits the quantity of the feedback information come in the given time;Then according to the feedback of statistics The quantity of information, it is determined that the quantity of the test information sent in the given time;Finally according to the scheduled time, in the given time The quantity of the test information of transmission and the byte length of every test post, calculate the network bandwidth.The present invention passes through test The Information Number being successfully transmitted in the given time carrys out calculating network bandwidth, it is ensured that the reliability of test result;Simultaneously, it is to avoid The test Information Number that each node is received in the cluster of statistical fractals end, need to only count the feedback information received in the scheduled time Number, so as to ensure that the integrality of test result, test process is simplified, and improves the testing efficiency of the network bandwidth.In addition, should Method of testing keeps specific complexity constantly not increase with the increase of service end node.
Further, in the specific implementation, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, use Following equation calculating network bandwidth:
BW=NM/T
Wherein, BW represents the network bandwidth, and T represents the scheduled time, and N represents the number of the test information sent in the given time Amount, M represents the byte length of every test information.
In the specific implementation, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, in order to ensure statistics Flexibility and test result reliability, as shown in Fig. 2 the feedback module at step S101 statistical fractals end is in the given time The quantity for the feedback information that transmission comes, can specifically include:
S201, the feedback module at multiple statistical fractals end transmit the quantity of the feedback information come in the given time;
After execution step S103 calculates the network bandwidth, in addition to:
S202, the number of times according to statistics and the network bandwidth calculated, determine averaging network bandwidth value, averaging network Bandwidth value is used as the final network bandwidth.
Above-mentioned steps can be understood as counting once result at regular intervals, and statistics is multiple in section of whole testing time As a result, the accuracy of test can so be improved.
Further, in the specific implementation, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, use Following manner calculates averaging network bandwidth value:
Ave.BW=BW/n
Wherein, ave.BW represents averaging network bandwidth value, and BW represents the network bandwidth, and n represents the number of times of statistics.
In the specific implementation, it is simple in order to test in above-mentioned network bandwidth test method provided in an embodiment of the present invention Change, in the given time, the quantity of feedback information can be equal to the quantity of test information, that is to say, that send one to service end After bar test information, the feedback module of service end, which can be transmitted, carrys out a feedback information, and feedback information is with test information one a pair The relation answered.
In the specific implementation, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, the word of feedback information The byte length of test information can be less than by saving length, thus be avoided that and produced influence to test bandwidth.
In the specific implementation, in above-mentioned network bandwidth test method provided in an embodiment of the present invention, feedback module is set In each node of cluster of service end.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of client, because the client solves problem Principle it is similar to a kind of foregoing network bandwidth test method, therefore the implementation of the client may refer to network bandwidth test side The implementation of method, repeats part and repeats no more.
In the specific implementation, client provided in an embodiment of the present invention, as shown in figure 3, can include:
Feedback information statistical module 11, for being sent to service end after test information, the feedback module at statistical fractals end exists The quantity for the feedback information that transmission comes in the scheduled time;
Information determination module 12 is tested, for the quantity of the feedback information according to statistics, it is determined that sending in the given time Test information quantity;
Network bandwidth computing module 13, for the quantity of the test information sent according to the scheduled time, in the given time And the byte length of every test post, calculate the network bandwidth.
In above-mentioned client provided in an embodiment of the present invention, can only by test the client in the given time into The Information Number that work(is sent, carrys out calculating network bandwidth, it is ensured that the reliability of test result;Simultaneously, it is to avoid statistical fractals end collection The receive information number of each node in group, only need to count the feedback information number that the client is received in the scheduled time, so as to ensure The integrality of test result, test process is simplified, and improves the testing efficiency of the network bandwidth.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of network bandwidth test system, including:The present invention Above-mentioned client and service end that embodiment is provided.
A kind of network bandwidth test method provided in an embodiment of the present invention, client and network bandwidth test system, including: Sent to service end after test information, the feedback module at statistical fractals end transmits the number of the feedback information come in the given time Amount;According to the quantity of the feedback information of statistics, it is determined that the quantity of the test information sent in the given time;According to pre- timing Between, the quantity of test information that sends in the given time and the byte length of every test post, calculate the network bandwidth. The Information Number that the present invention is successfully transmitted in the given time by test client, carrys out calculating network bandwidth, it is ensured that test knot The reliability of fruit;Simultaneously, it is to avoid the receive information number of each node in the cluster of statistical fractals end, only client need to be counted pre- Fix time the feedback information number of reception, so as to ensure that the integrality of test result, test process is simplified, and improves Netowrk tape Wide testing efficiency.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
Network bandwidth test method provided by the present invention, client and network bandwidth test system have been carried out in detail above Thin to introduce, specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said The bright method and its core concept for being only intended to help to understand the present invention;Simultaneously for those of ordinary skill in the art, foundation The thought of the present invention, will change, in summary, this specification content is not in specific embodiments and applications It is interpreted as limitation of the present invention.

Claims (9)

1. a kind of network bandwidth test method, it is characterised in that including:
Sent to service end after test information, the feedback module for counting the service end transmits the feedback letter come in the given time The quantity of breath;
According to the quantity of the feedback information of statistics, it is determined that the quantity of the test information sent within the scheduled time;
The quantity of the test information sent according to the scheduled time, within the scheduled time and the word of every test post Length is saved, the network bandwidth is calculated.
2. network bandwidth test method according to claim 1, it is characterised in that use following equation calculating network band It is wide:
BW=NM/T
Wherein, BW represents the network bandwidth, and T represents the scheduled time, and N represents the test sent within the scheduled time The quantity of information, M represents the byte length of every test information.
3. network bandwidth test method according to claim 2, it is characterised in that the feedback module of the statistics service end The quantity of the feedback information come is transmitted in the given time, is specifically included:
The feedback module for repeatedly counting the service end transmits the quantity of the feedback information come in the given time;
After the network bandwidth is calculated, in addition to:
According to the number of times of statistics and the network bandwidth calculated, averaging network bandwidth value, the averaging network bandwidth value are determined It is used as the final network bandwidth.
4. network bandwidth test method according to claim 3, it is characterised in that averaging network is calculated using following manner Bandwidth value:
Ave.BW=BW/n
Wherein, ave.BW represents the averaging network bandwidth value, and BW represents the network bandwidth, and n represents the number of times of the statistics.
5. the network bandwidth test method according to any one of Claims 1-4, it is characterised in that in the given time, institute The quantity for stating feedback information is equal to the quantity of the test information.
6. the network bandwidth test method according to any one of Claims 1-4, it is characterised in that the feedback information Byte length is less than the byte length of the test information.
7. the network bandwidth test method according to any one of Claims 1-4, it is characterised in that the feedback module is set Put in each node of cluster of the service end.
8. a kind of client, it is characterised in that including:
Feedback information statistical module, for being sent to service end after test information, counts the feedback module of the service end pre- The quantity for the feedback information that interior transmission of fixing time comes;
Information determination module is tested, for the quantity of the feedback information according to statistics, it is determined that being sent out within the scheduled time The quantity for the test information sent;
Network bandwidth computing module, for the number of the test information sent according to the scheduled time, within the scheduled time The byte length of amount and every test post, calculates the network bandwidth.
9. a kind of network bandwidth test system, it is characterised in that including:Client and service end as claimed in claim 8.
CN201710358958.1A 2017-05-19 2017-05-19 Network bandwidth testing method, client and network bandwidth testing system Active CN107171887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710358958.1A CN107171887B (en) 2017-05-19 2017-05-19 Network bandwidth testing method, client and network bandwidth testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710358958.1A CN107171887B (en) 2017-05-19 2017-05-19 Network bandwidth testing method, client and network bandwidth testing system

Publications (2)

Publication Number Publication Date
CN107171887A true CN107171887A (en) 2017-09-15
CN107171887B CN107171887B (en) 2021-03-02

Family

ID=59815823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710358958.1A Active CN107171887B (en) 2017-05-19 2017-05-19 Network bandwidth testing method, client and network bandwidth testing system

Country Status (1)

Country Link
CN (1) CN107171887B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934942A (en) * 2020-06-28 2020-11-13 珠海世纪鼎利科技股份有限公司 Network performance test method, system, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026509A (en) * 2007-02-28 2007-08-29 西南科技大学 End-to-end low available bandwidth measuring method
US20100246422A1 (en) * 2009-03-24 2010-09-30 Ambit Microsystems (Shanghai) Ltd. Network device and method of measuring upstream bandwidth employed thereby
CN102045219A (en) * 2010-12-14 2011-05-04 同济大学 High-efficiency single-end available bandwidth measuring method
CN102130794A (en) * 2011-02-28 2011-07-20 上海聚欣网络科技有限公司 Method, device and equipment for measuring user uploading bandwidth
CN102158874A (en) * 2010-02-12 2011-08-17 华为技术有限公司 Method and device for measuring channel
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN104618195A (en) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 Bandwidth estimation method and device
CN106656679A (en) * 2017-02-08 2017-05-10 北京邮电大学 Available bandwidth measurement method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026509A (en) * 2007-02-28 2007-08-29 西南科技大学 End-to-end low available bandwidth measuring method
US20100246422A1 (en) * 2009-03-24 2010-09-30 Ambit Microsystems (Shanghai) Ltd. Network device and method of measuring upstream bandwidth employed thereby
CN102158874A (en) * 2010-02-12 2011-08-17 华为技术有限公司 Method and device for measuring channel
CN102045219A (en) * 2010-12-14 2011-05-04 同济大学 High-efficiency single-end available bandwidth measuring method
CN102130794A (en) * 2011-02-28 2011-07-20 上海聚欣网络科技有限公司 Method, device and equipment for measuring user uploading bandwidth
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN104618195A (en) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 Bandwidth estimation method and device
CN106656679A (en) * 2017-02-08 2017-05-10 北京邮电大学 Available bandwidth measurement method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934942A (en) * 2020-06-28 2020-11-13 珠海世纪鼎利科技股份有限公司 Network performance test method, system, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107171887B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN102098301B (en) The adaptive data transmission method of multilink and system
CN103259696B (en) Network bandwidth detection method, device and the network equipment
CN101981870B (en) Available bandwidth estimation in a packet-switched communication network
US7876687B2 (en) Method for measuring the available bandwidths of a link and a network
CN100356740C (en) System and method for conducting comprehensive measurement and association analysis to time delay and drop
CN106656679B (en) Availability bandwidth measurement method
EP3022874B1 (en) Triangle loopback
CN107508719A (en) Measure the method, apparatus and network node of network delay
CN101964727B (en) Method and device for measuring available bandwidth by using mixed messages
US8885473B2 (en) Method for measurement of asymmetric network capacities
CN101313521A (en) Using filtering and active probing to evaluate a data transfer path
CN105634865A (en) Method and system for obtaining bandwidth
EP3398296B1 (en) Performance measurement in a packet-switched communication network
CN103326901B (en) A kind of power system broadband network performance test methods and system
CN108632105A (en) A kind of frame time delay detecting method and system
CN106302016A (en) The method and system of low discharge quick obtaining network physical bandwidth
EP2936741A1 (en) Probing a network
CN106330600A (en) Method for obtaining available bandwidth of network with low traffic
CN107171887A (en) A kind of network bandwidth test method, client and network bandwidth test system
CN108011763B (en) Communication data network investment construction evaluation method
CN102550070B (en) The method of estimation of Loss Rate in packetized network
CN107872369A (en) The adaptive real-time detection method of wireless network available bandwidth
CN102025571B (en) The method and apparatus that multipoint link packet loss is measured
CN102710464B (en) Fine-grained single-flow delay detection method based on reference delay insertion structure
US6836748B2 (en) Method for correlating behavior between two elements of a system to determine the presence of mutual interaction between the elements

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210105

Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: Room 1601, floor 16, 278 Xinyi Road, Zhengdong New District, Zhengzhou City, Henan Province

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant