CN100596081C - Band width testing method and system for asynchronous transfer mode LAN simulation business - Google Patents
Band width testing method and system for asynchronous transfer mode LAN simulation business Download PDFInfo
- Publication number
- CN100596081C CN100596081C CN200710162479A CN200710162479A CN100596081C CN 100596081 C CN100596081 C CN 100596081C CN 200710162479 A CN200710162479 A CN 200710162479A CN 200710162479 A CN200710162479 A CN 200710162479A CN 100596081 C CN100596081 C CN 100596081C
- Authority
- CN
- China
- Prior art keywords
- atm
- elan
- bag
- protocol
- protocol overhead
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This invention discloses a broadband test method and a system for ELAN service of abnormal transmission mode(ATM) including: a file monitor unit monitors size of an Ether packet corresponding to an applied packet of the test file and tests its transmission rate, an analysis and computation unit for spending of the ATM ELAN protocol computes the ATM ELAN protocol spending of the Ether packet basedon the size of the packet tested by the monitor unit and the transmission rate of the test file and an integrated analysis unit is used in computing that the ATM ELAN broadband is the sum of the rateand the protocol spending.
Description
Technical field
The present invention relates to the bandwidth test technology, the method for testing of the affirmation bandwidth that provides for the user when being meant a kind of ATM(Asynchronous Transfer Mode) LAN emulation (ELAN, Emulation of LAN) service fulfillment especially.
Background technology
Along with popularizing and the desktop trend of Ethernet (Ethernet) of Internet protocol (IP), the IP operation that the ether of atm network carrying inserts can be the user high safety and highly reliable assurance is provided, and the user of access has higher circuit quality and bandwidth to guarantee the Very Important Person that requires.Therefore, when customer service is opened, how prove that to the user it will be an important problem that circuit bandwidth that operator provides meets service-level agreement (SLA), be related to the service brand of operator and user's vital interests.
During general ATM ELAN service fulfillment, check no packet loss to guarantee the unobstructed of ATM ELAN circuit by the address of long-time ping operator access network device.As the certain user requirement whether the test circuit bandwidth satisfies contract is proposed, operator can come the test circuit actual bandwidth in the speed that FTP transmission file is observed by file transfer protocol (FTP) (FTP, File Transmission Protocol) mode in the two ends of telecommunication circuit.But the bandwidth that this mode tests out is usually less than the bandwidth of user's contract, and this is because FTP is the agreement of application layer, has comprised IP, with Taihe county ATM protocol overhead; And operator and user are signatory generally according to the physical layer bandwidth.Therefore, caused test bandwidth and actual bandwidth not to meet, made the user throw doubt upon the sincerity of operator.
Summary of the invention
In view of this, the present invention proposes a kind of bandwidth test method and system of ATM ELAN business, can test out the circuit bandwidth of ATM ELAN business accurately.
The present invention proposes a kind of bandwidth test method of asynchronous transfer mode ATM LAN emulation ELAN business based on above-mentioned purpose, comprising:
A. transmit test file, the monitoring test file is used the corresponding ether bag size of bag, monitors the test file transfer rate simultaneously;
B. the protocol overhead that ether bag size that obtains according to steps A and test file transfer rate are calculated the ATM ELAN of described ether bag specifically comprises: the sizes calculating AAL5Payload length of using corresponding ether bag size of bag and 1483 encapsulation overhead according to the monitoring test file; According to AAL5Payload length computation PAD gap AAL5PAD; Split and reorganization is the total cell AAL5CPCSPDU number after the ATM cell according to AAL5Payload length computation ether bag; According to the AAL5PAD, the split and reorganization of ether bag that obtain is the protocol overhead ratio that total cell number after the ATM cell and ether bag size are calculated ATM ELAN business, wherein molecule is the protocol overhead sum of encapsulation introducing, and denominator is molecule and ether bag size sum; The protocol overhead that calculates ATM ELAN business is that the protocol overhead ratio of ATM ELAN business multiply by the test file transfer rate;
C. the bandwidth of calculating ATM ELAN is the ATM ELAN protocol overhead sum that the test file transfer rate that obtains of steps A and step B obtain.
The protocol overhead of the ATM ELAN of the described ether bag of this method is the protocol overhead of AAL5 layer, 1483B layer and ATM layer.
The protocol overhead of the ATM ELAN of the described ether bag of this method step B calculates by following formula: K=D * (5 * Num+P+8+10)/(5 * Num+P+8+10+x)
Wherein, Pa=x+10, P=48-(Pa) %48, Num=[Pa/48]+1; Pa is an AAL5Payload length, and K is the protocol overhead of the ATM ELAN of ether bag, and D is the test file transfer rate, and Num is an AAL5CPCS PDU number, and P is PAD gap AAL5PAD, and x uses the corresponding ether bag size of bag for the monitoring test file; 5 (units: the Byte) size of expression ATM cell head, 8 (units: the Byte) size of the summation of CRC, Length, CPI, CPCS-UU in the data format of expression AAL5CPCS-PDU, 10 (units: the Byte) size of expression 1483 encapsulation overhead, operator % represents to divide exactly and gets surplusly, and operator [] expression is divided exactly and got the merchant.
The described test file of this method adopts file transfer protocol (FTP) FTP to transmit.
Also provide a kind of bandwidth test system of asynchronous transfer mode ATM LAN emulation ELAN business based on above-mentioned purpose the present invention, having comprised:
The file monitoring means is used to monitor test file and uses the corresponding ether bag size of bag, and the test file transfer rate;
ATM ELAN protocol overhead analytical calculation unit is used for detecting the protocol overhead that the ether bag size obtain and test file transfer rate are calculated the ATM ELAN of described ether bag according to the file monitoring means;
Integerated analytic unit, the bandwidth that is used to calculate ATM ELAN is test file transfer rate and ATM ELAN protocol overhead sum;
Described ATM ELAN protocol overhead analytical calculation unit comprises: ATM ELAN agreement computing module is used for using the corresponding ether bag of bag sizes big or small and 1483 encapsulation overhead according to the monitoring test file and calculates AAL5Payload length; According to AAL5Payload length computation PAD gap AAL5PAD; Split and reorganization is the total cell AAL5CPCS PDU number after the ATM cell according to AAL5Payload length computation ether bag; According to the AAL5PAD, the split and reorganization of ether bag that obtain is the protocol overhead ratio that total cell number after the ATM cell and ether bag size are calculated ATM ELAN business, wherein molecule is the protocol overhead sum of encapsulation introducing, and denominator is described molecule and described ether bag size sum; The protocol overhead that calculates ATM ELAN business is that the protocol overhead ratio of ATM ELAN business multiply by described test file transfer rate.
The protocol overhead of the ATM ELAN of the described ether bag of this system is the protocol overhead of AAL5 layer, 1483B layer and ATM layer.
Described ATM ELAN agreement computing module calculates the protocol overhead of the ATMELAN of ether bag by following formula: K=D * (5 * Num+P+8+10)/(5 * Num+P+8+10+x)
Wherein, Pa=x+10, P=48-(Pa) %48, Num=[Pa/48]+1; Pa is an AAL5Payload length, and K is the protocol overhead of the ATM ELAN of ether bag, and D is the test file transfer rate, and Num is an AAL5CPCS PDU number, and P is PAD gap AAL5PAD, and x uses the corresponding ether bag size of bag for the monitoring test file; The size of 5 expression ATM cell heads, the size of the summation of CRC, Length, CPI, CPCS-UU in the data format of 8 expression AAL5CPCS-PDU, the size of 10 expressions, 1483 encapsulation overhead, operator % represents to divide exactly and gets surplusly, and operator H represents to divide exactly and gets the merchant.
This system also comprises ATM ELAN protocol-analysis model, is used for the protocol type of analytical test with packet, determines computing formula.
The described test file of this system adopts file transfer protocol (FTP) FTP to transmit.
From above as can be seen, the bandwidth test method and system of ATM ELAN business provided by the invention, in the bandwidth test process, considered the protocol overhead of ATM ELAN, make the test of the circuit bandwidth of ATM ELAN business more accurately, avoided the incongruent phenomenon of test bandwidth and actual bandwidth.Adopting ftp software to transmit on the basis of test, be aided with the expense that computational analysis IP agreement, Ethernet agreement and ATM agreement cause, the actual contract bandwidth that provides of operator accurately is provided the circuit bandwidth of the feasible ATM ELAN business of measuring.
Description of drawings
Fig. 1 is the bandwidth test system configuration schematic diagram of embodiment of the invention ATM ELAN business.
Fig. 2 is that embodiment of the invention ATM ELAN protocal analysis calculates the modeling schematic diagram;
Fig. 3 is an embodiment of the invention ATM ELAN service protocol hierarchical model schematic diagram;
Fig. 4 is the protocol Data Unit (AAL5CPCS-PDU of common part convergence sub-layer in the embodiment of the invention ATM Adaptation Layer 5, ATM Adaptation Layer 5, Common PartConvergence Sublayer-Protocol Data Unit) the form schematic diagram;
Fig. 5 is the bandwidth test schematic flow sheet of embodiment of the invention ATM ELAN business.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention wherein is described.
As shown in Figure 1, be illustrated as the structure of the bandwidth test system preferred embodiment of ATM ELAN business of the present invention, comprise:
File monitoring means 101 is used to monitor test file and uses the corresponding ether bag size of bag, and the test file transfer rate;
ATM ELAN protocol overhead analytical calculation unit 102 is used for the protocol overhead that monitoring obtains according to file monitoring means 101 ether bag size and test file transfer rate are calculated the ATMELAN of described ether bag;
Integerated analytic unit 103, the bandwidth that is used to calculate ATM ELAN is test file transfer rate and ATM ELAN protocol overhead sum.
Wherein, ATM ELAN protocal analysis computing unit 102 structures comprise as shown in Figure 2: ATM ELAN protocol-analysis model 201 and ATM ELAN agreement computing module 202.
ATM ELAN protocol-analysis model 201 is used for the protocol type of analytical test with packet, determines computation model, and then definite computing formula.
If the protocol type of Monitoring Data bag determines that in advance ATM ELAN protocol-analysis model 201 also can omit.
ATM ELAN agreement computing module 202, the protocol overhead that is used for the ATM ELAN of ether bag calculates, and comprising: the overhead computational that the 1483B encapsulation overhead increases for user's ether packet; User data is divided into the overhead computational that increases after the ATM cell, comprises the calculating of header and filler cell.
The preferred embodiment of the bandwidth test method of ATM ELAN business of the present invention comprises referring to flow process shown in Figure 5:
Wherein, the speed D of FTP transmission file can directly show in the ftp software process; Can monitor FTP by free sniffer monitoring of software and use the pairing ether bag size of bag x.
For obtaining file transfer rate accurately, advise the bigger file of the preferential employing of described test file, such as: 10M.General ftp file transmits and transmits the back packet through existing PC network interface card is 1500Bytes substantially.
At first, ATM ELAN business is carried out protocal analysis, determine computation model.
The ATM ELAN protocol hierarchy model of international standard comprises as shown in Figure 3: IP layer, Ethernet layer, 1483B layer, AAL5 layer, ATM layer and physics (PHY) layer.
Wherein, the formation of AAL5 layer as shown in Figure 4, comprise: CPCS-PDU payload (Payload), gap and filling part (PAD, Padding), the user to user of common part convergence sub-layer indication (CPCS-UU, Common Part ConvergenceSublayer-User to User), common segment indication (CPI), length (Length) and cyclic redundancy check (CRC) (CRC, Circle Redundancy Check).
Suppose test ether Bao Changwei x Byte.
Definition: Pa represents AAL5Payload length; P represents AAL5PAD; Num represents AAL5CPCS PDU number; R represents the protocol overhead ratio of ATMELAN business of the ether bag of x Byte length; It is the protocol overhead of the ATM ELAN business of D b/s that K represents speed.
Based on above-mentioned model, the protocol overhead of ATM ELAN business is calculated as follows:
1) calculates AAL5Payload length: Pa=x+10.
It is the RFC1483B encapsulation that the ether bag increases 10Byte.
2) according to AAL5Payload length computation PAD gap AAL5PAD:P=48-(Pa) %48 (annotate: % represent to divide exactly get remainder).
The length in PAD gap is between 0 to 47 byte.
Because the ATM cell payload is 48Byte, when the split and reorganization of ether bag is ATM cell, must be an integer ATM cell, as the not enough 48Byte of part of the last partition of IP, then remainder is filled the cell payload that gathers into 48Byte.
3) split and reorganization is total cell number after the ATM cell according to AAL5Payload length computation ether bag, i.e. AAL5CPCS PDU number Num=[Pa/48]+1 (annotate: [] expression divide exactly get the merchant).
4) thus the protocol overhead of the ATM ELAN business of the ether bag of x Byte length than emerald green R=(5 * Num+P+8+10)/(5 * Num+P+8+10+x).
As can be seen, molecule is the protocol overhead sum that RFC1483B, AAL5 and three layers of encapsulation of ATM are introduced in this formula; 5Byte is the protocol overhead part in the 53ByteATM cell, i.e. header; 8Byte is the summation of AAL5CRC, Length, CPI, CPCS; 10Byte is the 1483B encapsulation overhead.
5) speed is that the protocol overhead of the ATM ELAN business of D is K=D * R=D * (5 * Num+P+8+10)/(5 * Num+P+8+10+x);
Wherein, Pa=x+10, P=48-(Pa) %48, Num=[Pa/48]+1.
In this step, if only test at the agreement of ATM ELAN business, in reality is tested, can not carry out the step of protocal analysis, calculate in the formula that ether bag size x that directly step 501 is obtained and test file transfer rate D bring step 5) into.If not only one of service protocol can be analyzed protocol type in this step, determine computing formula again according to analysis result.
Description of the invention is in order to provide for the purpose of example and the explanation, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment that have various modifications that the present invention's design is suitable for special-purpose.
Claims (9)
1. the bandwidth test method of an asynchronous transfer mode ATM LAN emulation ELAN business is characterized in that, comprising:
A. transmit test file, the monitoring test file is used the corresponding ether bag size of bag, monitors the test file transfer rate simultaneously;
B. the protocol overhead that ether bag size that obtains according to steps A and test file transfer rate are calculated the ATM ELAN of described ether bag specifically comprises:
Use the corresponding ether bag of bag sizes big or small and 1483 encapsulation overhead according to the monitoring test file and calculate AAL5Payload length;
According to AAL5Payload length computation PAD gap AAL5PAD;
Split and reorganization is the total cell AAL5CPCS PDU number after the ATM cell according to AAL5Payload length computation ether bag;
According to the AAL5 PAD, the split and reorganization of ether bag that obtain is the protocol overhead ratio that total cell number after the ATM cell and ether bag size are calculated ATM ELAN business, wherein molecule is the protocol overhead sum of encapsulation introducing, and denominator is described molecule and described ether bag size sum;
The protocol overhead that calculates ATM ELAN business is that the protocol overhead ratio of ATM ELAN business multiply by described test file transfer rate;
C. the bandwidth of calculating ATM ELAN is the ATM ELAN protocol overhead sum that the test file transfer rate that obtains of steps A and step B obtain.
2. method according to claim 1 is characterized in that, the protocol overhead of the ATMELAN of described ether bag is the protocol overhead of AAL5 layer, 1483B layer and ATM layer.
3. method according to claim 1 and 2 is characterized in that, the protocol overhead of the ATM ELAN of the described ether bag of step B calculates by following formula:
K=D×(5×Num+P+8+10)/(5×Num+P+8+10+x)
Wherein, Pa=x+10, P=48-(Pa) %48, Num=[Pa/48]+1; Pa is an AAL5 Payload length, and K is the protocol overhead of the ATM ELAN of ether bag, and D is the test file transfer rate, and Num is an AAL5 CPCS PDU number, and P is PAD gap AAL5 PAD, and x uses the corresponding ether bag size of bag for the monitoring test file; The size of 5 expression ATM cell heads, the size of the summation of CRC, Length, CPI, CPCS-UU in the data format of 8 expression AAL5 CPCS-PDU, the size of 10 expressions, 1483 encapsulation overhead, operator % represents to divide exactly and gets surplusly, and operator [] expression is divided exactly and is got the merchant.
4. method according to claim 3 is characterized in that, described test file adopts file transfer protocol (FTP) FTP to transmit.
5. the bandwidth test system of an asynchronous transfer mode ATM LAN emulation ELAN business is characterized in that, comprising:
File monitoring means (101) is used to monitor test file and uses the corresponding ether bag size of bag, and the test file transfer rate;
ATM ELAN protocol overhead analytical calculation unit (102) is used for detecting the protocol overhead that the ether bag size obtain and test file transfer rate are calculated the ATM ELAN of described ether bag according to file monitoring means (101);
Integerated analytic unit (103), the bandwidth that is used to calculate ATM ELAN is test file transfer rate and ATM ELAN protocol overhead sum;
Described ATM ELAN protocol overhead analytical calculation unit (102) comprising: ATMELAN agreement computing module (202) is used for using the corresponding ether bag of bag sizes big or small and 1483 encapsulation overhead according to the monitoring test file and calculates AAL5 Payload length;
According to AAL5 Payload length computation PAD gap AAL5 PAD;
Split and reorganization is the total cell AAL5 CPCS PDU number after the ATM cell according to AAL5 Payload length computation ether bag;
According to the AAL5 PAD, the split and reorganization of ether bag that obtain is the protocol overhead ratio that total cell number after the ATM cell and ether bag size are calculated ATM ELAN business, wherein molecule is the protocol overhead sum of encapsulation introducing, and denominator is described molecule and described ether bag size sum;
The protocol overhead that calculates ATM ELAN business is that the protocol overhead ratio of ATM ELAN business multiply by described test file transfer rate.
6. system according to claim 5 is characterized in that, the protocol overhead of the ATMELAN of described ether bag is the protocol overhead of AAL5 layer, 1483B layer and ATM layer.
7. system according to claim 6 is characterized in that, described ATM ELAN agreement computing module (202) calculates the protocol overhead of the ATM ELAN of ether bag by following formula:
K=D×(5×Num+P+8+10)/(5×Num+P+8+10+x)
Wherein, Pa=x+10, P=48-(Pa) %48, Num=[Pa/48]+1; Pa is an AAL5 Payload length, and K is the protocol overhead of the ATM ELAN of ether bag, and D is the test file transfer rate, and Num is an AAL5 CPCS PDU number, and P is PAD gap AAL5 PAD, and x uses the corresponding ether bag size of bag for the monitoring test file; The size of 5 expression ATM cell heads, the size of the summation of CRC, Length, CPI, CPCS-UU in the data format of 8 expression AAL5 CPCS-PDU, the size of 10 expressions, 1483 encapsulation overhead, operator % represents to divide exactly and gets surplusly, and operator [] expression is divided exactly and is got the merchant.
8. according to any described system of claim 5 to 7, it is characterized in that, also comprise ATM ELAN protocol-analysis model (201), be used for the protocol type of analytical test, determine computing formula with packet.
9. according to any described system of claim 5 to 7, it is characterized in that described test file adopts file transfer protocol (FTP) FTP to transmit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710162479A CN100596081C (en) | 2007-10-15 | 2007-10-15 | Band width testing method and system for asynchronous transfer mode LAN simulation business |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710162479A CN100596081C (en) | 2007-10-15 | 2007-10-15 | Band width testing method and system for asynchronous transfer mode LAN simulation business |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101132323A CN101132323A (en) | 2008-02-27 |
CN100596081C true CN100596081C (en) | 2010-03-24 |
Family
ID=39129454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710162479A Active CN100596081C (en) | 2007-10-15 | 2007-10-15 | Band width testing method and system for asynchronous transfer mode LAN simulation business |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100596081C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152228B (en) * | 2013-03-27 | 2016-08-24 | 杭州华三通信技术有限公司 | A kind of bandwidth detection method and apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518285A (en) * | 2003-01-16 | 2004-08-04 | 华为技术有限公司 | Network bandwidth detecting method for implementing stream medium service |
CN1658583A (en) * | 2005-03-10 | 2005-08-24 | 同济大学 | Method for measuring end-to-end available bandwidth based on network compact link position |
-
2007
- 2007-10-15 CN CN200710162479A patent/CN100596081C/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518285A (en) * | 2003-01-16 | 2004-08-04 | 华为技术有限公司 | Network bandwidth detecting method for implementing stream medium service |
CN1658583A (en) * | 2005-03-10 | 2005-08-24 | 同济大学 | Method for measuring end-to-end available bandwidth based on network compact link position |
Also Published As
Publication number | Publication date |
---|---|
CN101132323A (en) | 2008-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1646183B1 (en) | Method and apparatus for non-intrusive measurement of delay variation of data traffic on communication networks | |
US6671832B1 (en) | Method and apparatus for performing error checking in a network | |
US8520530B2 (en) | Method and apparatus for providing availability metrics for measurement and managment of ethernet services | |
CN102291272B (en) | Remote Dynamic method of testing and the device of equipment or network | |
EP3022874B1 (en) | Triangle loopback | |
CN101409651B (en) | Method, system and equipment for monitoring soft exchange load-bearing network quality | |
CN101160816A (en) | Method of measuring performance parameter of multi-protocol label switching network | |
CN101834664B (en) | SDH (Synchronous Digital Hierarchy) multi-domain comprehensive test device and test method thereof | |
EP2833574A1 (en) | Method and apparatus for ethernet performance measurement | |
EP3474499B1 (en) | Network performance detection method and apparatus | |
CN102104502A (en) | Ethernet equipment performance test platform based on Linux system | |
CN105827476A (en) | High-speed PING implementation method and PING testing method | |
CN108023787A (en) | Ethernet service test device and method based on FPGA | |
CN107889132A (en) | The method, apparatus and system of a kind of link quality measurements | |
US6791943B1 (en) | Event-based technique for determining instantaneous cell bandwidth in a digital communications network | |
CN100596081C (en) | Band width testing method and system for asynchronous transfer mode LAN simulation business | |
CN107425995A (en) | Bidirectional measurement control method, send business device and receive business device | |
Chan et al. | TRIO: Measuring asymmetric capacity with three minimum round-trip times | |
CN102857385A (en) | Method and system for detecting packet loss rate in packet transport network | |
CN110290020A (en) | A kind of ethernet test instrument high-precision flow percentage production method and device | |
CN102025571B (en) | The method and apparatus that multipoint link packet loss is measured | |
CN111490907A (en) | Method and device for determining VX L AN network performance parameters | |
Wang et al. | Every packet counts: Loss and reordering identification and its application in delay measurement | |
CN106571970B (en) | The monitoring method and device of bearer network | |
CN100403700C (en) | Asynchronous transmission mode reverse multiplex measuring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |