CN101247291A - Method for detecting network band width of network appliance - Google Patents

Method for detecting network band width of network appliance Download PDF

Info

Publication number
CN101247291A
CN101247291A CNA2008100855254A CN200810085525A CN101247291A CN 101247291 A CN101247291 A CN 101247291A CN A2008100855254 A CNA2008100855254 A CN A2008100855254A CN 200810085525 A CN200810085525 A CN 200810085525A CN 101247291 A CN101247291 A CN 101247291A
Authority
CN
China
Prior art keywords
bandwidth
network
value
detection method
network equipment
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.)
Pending
Application number
CNA2008100855254A
Other languages
Chinese (zh)
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.)
Jianhan Science & Technology Co Ltd
Cybertan Technology Inc
Original Assignee
Jianhan Science & 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 Jianhan Science & Technology Co Ltd filed Critical Jianhan Science & Technology Co Ltd
Priority to CNA2008100855254A priority Critical patent/CN101247291A/en
Publication of CN101247291A publication Critical patent/CN101247291A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for detecting network bandwidth of network equipment, the main steps comprising: firstly, initializing the network equipment to produce a prearranged bandwidth value which is carried to a bandwidth upper range value in network equipment for an automatic detection process, then counting the data packet flow transmitted by the network equipment in a rated time to calculate the transmitting bandwidth value and further to obtain an estimated bandwidth value; if the estimated bandwidth value exceeds the bandwidth upper range value recorded previously by the network equipment, the estimated bandwidth value is carried to the bandwidth upper range value to update the bandwidth upper range value recorded previously by the network equipment. Therefore, detection for the network bandwidth can be made dynamically without special port, to increase the convenience of the network equipment applying on the network bandwidth.

Description

The network bandwidth detection method of the network equipment
Technical field
The present invention does not need specific endpoints can dynamically carry out the network bandwidth and detects relevant for a kind of network bandwidth detection method of the network equipment, to increase the convenience of the network equipment on the network bandwidth is used.
Background technology
The network equipment now, for example: broadband router or wireless network wideband Wireless Router, for network traffics, allocated bandwidth and limitation function employing network bandwidth management (the Quality of Service of equipment itself; QOS) and COS (Type of Service; TOS) mechanism, and utilize the priority technology to carry out the distribution of bandwidth and the setting of restriction for the flow or the flow of specific endpoints of various different agreements.In addition, the allocated bandwidth of these network equipments and limitation function must learn in advance that the higher limit of external bandwidth could do the operation of pro rate bandwidth at various flows.
Yet most users do not have relevant knowledge background for the setting network parameter; Moreover the user also not necessarily knows own present employed network bandwidth higher limit.So known upload bandwidth value of the general network equipment except requiring user's fan-in network ISP (ISP) to be provided also had a bandwidth detection technology in the meeting certainly, with the operation of doing for the network bandwidth to detect.
Known bandwidth detection technology is for the specific endpoints transfer data packets, and performs mathematical calculations to obtain the discreet value of bandwidth by the turnaround time of packet.But, network state in the network equipment and the specific endpoints, path length and end points survival condition all can have influence on the turnaround time of packet, will make the discreet value of bandwidth produce sizable error range, its error also may be greater than more than 20%, and lacks accuracy.Even if specific endpoints is can't the response data bag, and whole detection technique is uploaded bandwidth with complete failure and can't calculate.In addition, the network equipment that has uses a packet turnaround time technology (Round Trip Time) the estimation network bandwidth, for example send packet, and estimate bandwidth with the time difference of receiving the response data bag at specific endpoints (for example: DNS or NTP server).
But above-described known technology network bandwidth detection method all can lose efficacy because of specific endpoints, and can't calculate amount of bandwidth.Perhaps, because come network condition between source endpoint and the specific endpoints,, and can't correctly be assigned to actual bandwidth so that the bandwidth value of estimating produces significantly change.For example: when network congestion, may estimate lower bandwidth (the 2Mbps bandwidth only estimates the 1Mbps bandwidth), then QoS mechanism adopts this lower bandwidth value (1Mbps) to carry out the distribution and the restriction of bandwidth, will cause the user can only use the situation of 1Mbps bandwidth, and then the waste that causes bandwidth to use.Otherwise, if estimate higher bandwidth value (the 2Mbps bandwidth but estimates the 3Mbps bandwidth), when QoS carries out allocated bandwidth with restriction, suppose to give high priority and distribute 2Mbps, and low priority distributes 1Mbps, then have the 1Mbps will be occupied by low priority among the flow bandwidth 2Mbps of high priority, will make that high priority is the highest when fully loaded transmission can only have the 1Mbps flow bandwidth.So, the situation that will cause actual bandwidth not distribute according to original preset proportion.
Summary of the invention
Main purpose of the present invention, be to provide a kind of network bandwidth detection method of the network equipment, do not need to make data packet delivery for a specific endpoints, can carry out the network bandwidth detects, and can dynamically update the bandwidth higher limit that bandwidth equipment is write down, to increase the convenience of the network equipment on the network bandwidth is used.
Another object of the present invention is to provide a kind of network bandwidth detection method of the network equipment, can be applicable to uploading of a cable network and uploading and the bandwidth detection of downloading flow of a downloading flow or a wireless network, to meet the demand of variety of network systems.
Another purpose of the present invention, be to provide a kind of network bandwidth detection method of the network equipment, the network equipment is connected on the network line of other different bandwidths, even the user does not know the bandwidth upper limit of network line, the dynamic upper limit bandwidth value of setting network equipment still is to make things convenient for the setting in network bandwidth allocation and the restriction.
Another purpose of the present invention is to provide a kind of network bandwidth detection method of the network equipment, user also can select automatic detection mode or the mode of setting up on their own to detect the higher limit of the network bandwidth, to increase the selectivity on using.
For this reason, the invention provides a kind of network bandwidth detection method of the network equipment, key step includes: initialization one preset bandwidth value, and this preset bandwidth value is written in the bandwidth higher limit; Carry out an automatic testing process, step includes: collect a data packet flow in each time rating; With this data packet flow of collecting divided by this time rating, to calculate a transmission bandwidth value; Compare the size between this transmission bandwidth value and this preset bandwidth value, to calculate an estimated bandwidth value; And the size between this estimated bandwidth value of comparison and this bandwidth higher limit, so that this estimated bandwidth value is written in this bandwidth higher limit.
By the invention provides a kind of network bandwidth detection method of the network equipment, even the network equipment is connected on the network line of different bandwidth, and the user of network does not know the bandwidth higher limit (ULBW) of network line, the dynamic upper limit bandwidth value (ULBW) of setting network equipment still is to make things convenient for the setting in network bandwidth allocation and the restriction.
For enabling further to understand feature of the present invention and technology contents, see also following about detailed description of the present invention and accompanying drawing, yet appended accompanying drawing only provide with reference to and explanation, be not to be used for the present invention is limited.
Description of drawings
Fig. 1 is the flow chart of network bandwidth detection method one preferred embodiment of the network equipment of the present invention;
Fig. 2 is the flow chart of another embodiment of network bandwidth detection method of the network equipment of the present invention.
Wherein, Reference numeral:
120 set up flow process 130 automatic testing processes on their own
Embodiment
See also Fig. 1, be the flow chart of network bandwidth detection method one preferred embodiment of the network equipment of the present invention.Network bandwidth detection method of the present invention can be applicable to a network equipment, and can detect actual network bandwidth size dynamically, and then the network equipment can carry out the function of allocated bandwidth and restriction smoothly according to detected bandwidth higher limit.
As shown in the figure, network bandwidth detection method of the present invention, its key step comprises as follows: at first, when the network equipment comes into operation, in the network equipment detection of dynamic bandwidth resident program will the initialization network equipment in a preset bandwidth value (Default Bandwidth; DBW), shown in step 111.And preset bandwidth value is written into the network equipment one bandwidth higher limit (Upper Limit Bandwidth; ULBW) in, shown in step 112.Then, enter an automatic testing process 130.
Automatic testing process 130 of the present invention, its step includes: a data packet flow is collected in beginning in each time rating, for example: collect all external or internal data packet flow (B) of primary network equipment in per 5 seconds, shown in step 131.
And this data packet flow (B) that will collect is divided by this time rating, to calculate a transmission bandwidth value (Transmission Bandwidth; TBW), such as formula (1) calculating:
TBW=(B×8)/5 (1)
Whereby, will obtain with bps (bits per second) is the transmission bandwidth value (TBW) of unit, shown in step 132.
Certainly, also can consider and adjust time length above-mentioned time rating, for example: will obtain a transmission bandwidth value (TBW) more accurately long more time rating for the accuracy that network traffics detect.In addition, data packet flow (B) is the unit of measurement except that above-mentioned selection with bit (bits), in addition can select with byte (bytes) or is unit of measurement with k byte (Kbytes).
Continue, shown in step 133, will compare the size of transmission bandwidth value (TBW) and this preset bandwidth value (DBW), if transmission bandwidth value (TBW) greater than preset bandwidth value (DBW), then carry out step 134.Otherwise transmission bandwidth value (TBW) then returns to step 131 less than preset bandwidth value (DBW), continues to collect data packet flow (B).
Then, shown in step 134, when transmission bandwidth value (TBW) greater than preset bandwidth value (DBW), with transmission bandwidth value (TBW) substitution one bandwidth classification equation (2):
E STBW=[(TBW+64K)mod?128K]×128K (2)
To calculate an estimated bandwidth value (Estimate Bandwidth; E STBW).The bandwidth hierarchical approaches that this bandwidth classification equation (2) is used always for current the Internet services supplier, and the mod function in the equation (2) to be division in the mathematics formula get the quotient computing, and present embodiment is with the bandwidth stratum classification of 128K as a unit.In other words, after calculating, bandwidth classification equation (2) can obtain 0K, 128K, 256K, 384K, 512K, 640K ... estimated bandwidth value (the E of (stratum's mode by that analogy) STBW).Certainly, can different unit amounts in another embodiment of the present invention as the classification of bandwidth stratum, for example: 32K, 64K or 256K etc., to make the estimated bandwidth value (E of different bandwidth stratum for the network bandwidth STBW).
Again, shown in step 135, the estimated bandwidth value (E that bandwidth classification equation (2) is calculated STBW) with the present network equipment in the bandwidth higher limit (ULBW) that write down carry out size relatively, as if estimated bandwidth value (E STBW) greater than bandwidth higher limit (ULBW), then carry out step 136.Otherwise, estimated bandwidth value (E STBW) less than bandwidth higher limit (ULBW), then return to step 131, continue to collect data packet flow (B).
If, shown in step 136, this moment estimated bandwidth value (E STBW) the original bandwidth higher limit (ULBW) that writes down of the network equipment, then estimated bandwidth value (E have been surpassed STBW) will be written in the bandwidth higher limit (ULBW), with the bandwidth higher limit (ULBW) that replaces and more new network device was write down.
Whereby, through above-mentioned steps flow chart, even the network equipment is connected on the network line of other different bandwidths, and the user of network does not know the bandwidth higher limit (ULBW) of network line, the dynamic upper limit bandwidth value (ULBW) of setting network equipment still is to make things convenient for the setting in network bandwidth allocation and the restriction.
Moreover, the bandwidth upper limit when network bandwidth detection method of the present invention can detect the bandwidth upper limit when network is uploaded or network download.Therefore, the bandwidth higher limit (ULBW) that sets in the network equipment will select to include higher limit (the Uplink Upper Limit Bandwidth that a bandwidth is uploaded; UULBW), higher limit (the Downlink Upper Limit Bandwidth of bandwidth download; DULBW) and the combination one of them.
Again, network bandwidth detection method of the present invention does not need to make data packet delivery for a specific endpoints, just can carry out the network bandwidth and detect.In other words, this detection method can be carried out the action that the network bandwidth detects immediately for the network endpoint that the present network equipment connected.So, network bandwidth detection method of the present invention will be close to the situation that network uses, and increase the convenience of the network equipment on the network bandwidth is used.
Again, the network equipment of the present invention includes at least one cable network interface (for example: 802.3 second are socket too) and/or at least one wireless network interface (for example: 802.11a, 802.11b/g), so that network bandwidth detection method of the present invention can be applicable to be detected on a cable network (ADSL, Cable) or a wireless network (Wireless WAN, WIFI, WiMAX), to meet the demand of variety of network systems.
In addition, the automatic testing process 130 of network bandwidth detection method of the present invention has a sense cycle (for example: 5 seconds, 10 seconds or 1 minute), with cycle detection by every sense cycle, the a pair of outer network that dynamically carries out moving in the network equipment system (for example: last download bandwidth line Internet) or a pair of in network (for example: the renewal of last download bandwidth Local Area Network) finally can obtain the bandwidth higher limit of entity circuit accurately.
See also Fig. 2, be the flow chart of another embodiment of network bandwidth detection method of the network equipment of the present invention.Network bandwidth detection method of the present invention remove to be selected with automatic testing process 130 detection of dynamic amount of bandwidth, provides one to set up flow process 120 on their own and allow user's operating and setting voluntarily certainly in addition.And, will include a user interface in the network equipment of present embodiment.
As described in Figure 1, when the network equipment comes into operation, a detection of dynamic bandwidth resident program in the network equipment
A preset bandwidth value (DBW) in will the initialization network equipment is shown in step 111.And preset bandwidth value (DBW) will be loaded in the network equipment one bandwidth higher limit (ULBW), shown in step 112.
Then, resident program will check whether the user sets bandwidth value (Set Bandwidth by the user interface input one of the network equipment; SBW).If the user will set bandwidth value (SBW) really and be input in the network equipment system, will enter one and set up flow process 120 on their own, otherwise, then enter automatic testing process 130, as step 121.
Set up flow process 120 on their own when the network equipment enters, the setting bandwidth value of being imported by the user interface (SBW) will be written in the bandwidth higher limit (ULBW), as step 122.
Then, enter step 123, resident program will check whether the user makes renewal or modification for bandwidth higher limit (ULBW).Upgrade or modification bandwidth higher limit (ULBW) if having really, will return to step 121, check whether the user sets bandwidth value (SBW) by the input of user interface.Otherwise, do not have any modification action and then maintain step 123 inspection state.
Whereby, the network bandwidth detection method of present embodiment will provide a setting means that sets up flow process 120 and automatic 130 two kinds of bandwidth higher limits of testing process (ULBW) on their own, to increase the selectivity of user on the network equipment bandwidth upper limit is set.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the network bandwidth detection method of a network equipment is characterized in that, this method key step includes:
Initialization one preset bandwidth value, and this preset bandwidth value is written in the bandwidth higher limit; And
Carry out an automatic testing process, include:
Collect a data packet flow in each time rating;
With this data packet flow of collecting divided by this time rating, to calculate a transmission bandwidth value;
Compare the size between this transmission bandwidth value and this preset bandwidth value, to calculate an estimated bandwidth value; And
Compare the size between this estimated bandwidth value and this bandwidth higher limit, so that this estimated bandwidth value is written in this bandwidth higher limit.
2. network bandwidth detection method according to claim 1 is characterized in that, this network equipment includes a user interface, and this user interface enters one according to a setting bandwidth value of importing and sets up flow process on their own.
3. network bandwidth detection method according to claim 2 is characterized in that this sets up flow process on their own and includes:
Should set bandwidth value and import this user interface, this setting bandwidth value then is written in this bandwidth higher limit; And
Check of the renewal operation of this user interface for this bandwidth higher limit.
4. network bandwidth detection method according to claim 1 is characterized in that, if this transmission bandwidth value greater than this preset bandwidth value, then this transmission bandwidth value with substitution in a bandwidth classification equation, and whereby to calculate this estimated bandwidth value.
5. network bandwidth detection method according to claim 1 is characterized in that, this data packet flow selection is a unit of measurement with one of them of bit, byte and KB.
6. network bandwidth detection method according to claim 1 is characterized in that, this automatic testing process has a sense cycle.
7. network bandwidth detection method according to claim 1 is characterized in that, this bandwidth higher limit selects to include higher limit, the higher limit of bandwidth download and one of them of combination thereof that a bandwidth is uploaded.
8. network bandwidth detection method according to claim 1 is characterized in that, this network measuring method select to detect on a pair of outer network download bandwidth and a pair of in network on one of them of download bandwidth.
9. network bandwidth detection method according to claim 1 is characterized in that, this network measuring method is selected to detect and flown one of them at a cable network and a wireless network.
10. network bandwidth detection method according to claim 1 is characterized in that, this network equipment selects to include one of them of at least one cable network interface, at least one wireless network interface and combination thereof.
CNA2008100855254A 2008-03-10 2008-03-10 Method for detecting network band width of network appliance Pending CN101247291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100855254A CN101247291A (en) 2008-03-10 2008-03-10 Method for detecting network band width of network appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100855254A CN101247291A (en) 2008-03-10 2008-03-10 Method for detecting network band width of network appliance

Publications (1)

Publication Number Publication Date
CN101247291A true CN101247291A (en) 2008-08-20

Family

ID=39947517

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100855254A Pending CN101247291A (en) 2008-03-10 2008-03-10 Method for detecting network band width of network appliance

Country Status (1)

Country Link
CN (1) CN101247291A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088403A (en) * 2010-11-10 2011-06-08 中国人民解放军信息工程大学 Method and system for calculating dynamic bandwidth of network link
CN102404174A (en) * 2011-12-27 2012-04-04 成都飞鱼星科技开发有限公司 Method for detecting network bandwidth
CN102420725A (en) * 2011-12-27 2012-04-18 华为技术有限公司 Method for detecting IP network bandwidth and apparatus thereof
CN102684975A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Dynamic bandwidth source allocation method and dynamic bandwidth source allocation device
WO2018072154A1 (en) * 2016-10-19 2018-04-26 华为技术有限公司 Detection method, apparatus and system
CN109257245A (en) * 2017-07-14 2019-01-22 阿里巴巴集团控股有限公司 Flow monitoring, the method and apparatus for uploading control
CN114071569A (en) * 2021-11-04 2022-02-18 中国联合网络通信集团有限公司 Data transmission method and device and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088403B (en) * 2010-11-10 2012-09-05 中国人民解放军信息工程大学 Method and system for calculating dynamic bandwidth of network link
CN102088403A (en) * 2010-11-10 2011-06-08 中国人民解放军信息工程大学 Method and system for calculating dynamic bandwidth of network link
CN102684975A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Dynamic bandwidth source allocation method and dynamic bandwidth source allocation device
CN102420725B (en) * 2011-12-27 2014-05-21 华为技术有限公司 Method for detecting IP network bandwidth and apparatus thereof
CN102420725A (en) * 2011-12-27 2012-04-18 华为技术有限公司 Method for detecting IP network bandwidth and apparatus thereof
CN102404174B (en) * 2011-12-27 2014-02-12 成都飞鱼星科技开发有限公司 Method for detecting network bandwidth
CN102404174A (en) * 2011-12-27 2012-04-04 成都飞鱼星科技开发有限公司 Method for detecting network bandwidth
WO2018072154A1 (en) * 2016-10-19 2018-04-26 华为技术有限公司 Detection method, apparatus and system
US11133995B2 (en) 2016-10-19 2021-09-28 Huawei Technologies Co., Ltd. Detection method, device, and system
CN109257245A (en) * 2017-07-14 2019-01-22 阿里巴巴集团控股有限公司 Flow monitoring, the method and apparatus for uploading control
CN109257245B (en) * 2017-07-14 2022-04-29 阿里巴巴集团控股有限公司 Method and equipment for flow monitoring and uploading control
CN114071569A (en) * 2021-11-04 2022-02-18 中国联合网络通信集团有限公司 Data transmission method and device and electronic equipment
CN114071569B (en) * 2021-11-04 2023-06-16 中国联合网络通信集团有限公司 Data transmission method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN101247291A (en) Method for detecting network band width of network appliance
Duffield et al. Resource management with hoses: point-to-cloud services for virtual private networks
US7894367B2 (en) Methods and systems for bandwidth protection
US9294973B2 (en) Peer-based handoff performance measurement
Feamster et al. Measuring internet speed: current challenges and future recommendations
KR100640492B1 (en) Method for estimating available bandwidth of network
CN105531968A (en) Network-based adaptive rate limiting
CA2695102A1 (en) Bandwidth provisioning tools for internet service providers
US10091022B2 (en) Creating a channel for transmitting data of a digital subscriber line
Menth et al. PCN-based measured rate termination
US20150036510A1 (en) Method and device for measuring ethernet performance
KR102428093B1 (en) Data processing methods, servers and data collection devices
CN104335526A (en) Methods and nodes for improved estimation of available path capacity of a data transfer path
CA2723155C (en) Gathering data on cellular data communication characteristics
KR20180058720A (en) Method and apparatus for detecting Internet connection problems
US11190430B2 (en) Determining the bandwidth of a communication link
KR101210926B1 (en) Server, apparatus and method for allocating cost of dynamic routing
JP5955535B2 (en) Method and apparatus for determining a communication path between communication devices having a plurality of communication interfaces
KR101303319B1 (en) Network Management System integrated a Power Line Communication and Control Method of the Same
KR100943728B1 (en) The per link available bandwidth measurement method using the total length field in IP packet header and the available bandwidth information of a link management method
TWI364944B (en)
JP6555853B2 (en) Transmission device, transmission control method, and program
IT202100025217A1 (en) Management of network resources
KR20080090631A (en) Traffic estimation system and method for flow per routing pair in the layer2/3
Awodee et al. Estimation of Required Bandwidth for Organizations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080820