CN102201949B - System and method for testing network equipment forwarding performance - Google Patents
System and method for testing network equipment forwarding performance Download PDFInfo
- Publication number
- CN102201949B CN102201949B CN201110140077.5A CN201110140077A CN102201949B CN 102201949 B CN102201949 B CN 102201949B CN 201110140077 A CN201110140077 A CN 201110140077A CN 102201949 B CN102201949 B CN 102201949B
- Authority
- CN
- China
- Prior art keywords
- message
- equipment group
- receiving equipment
- data transmitting
- data
- 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.)
- Expired - Fee Related
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004458 analytical method Methods 0.000 claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 238000005538 encapsulation Methods 0.000 claims description 21
- 230000003321 amplification Effects 0.000 claims description 11
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 11
- 230000006855 networking Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 4
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 24
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000010187 selection method Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000013142 basic testing Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a network communication test technology and discloses a method for testing network equipment forwarding performance. The invention intends to solve the problem that test manners of network equipment forwarding performance in the prior art have disadvantages of narrow application range, inconvenient networking and absent expansibility. The main points of the technical scheme can be summarized into: network performance analysis equipment set generates a low speed data flow and sends the data to a data transmit-receive equipment set; the data transmit-receive equipment set amplifies the low speed data flow into a high speed data flow which is resent to detected network equipment; the high speed data flow is transmitted back to the data transmit-receive equipment set through the detected network equipment; the transmit-receive equipment set minifies the high speed data flow into a low speed data flow which is transmitted back to the network performance analysis equipment set and the network performance analysis equipment set analyses the transmission performance of the detected network equipment. Besides, the invention also discloses a system for testing network equipment forwarding performance and is suited for testing the network equipment forwarding performance.
Description
Technical field
The present invention relates to network service measuring technology, particularly a kind of system and method for network apparatus test forwarding performance.
Background technology
Forwarding performance test is data communication field basic test project, and principle, network performance analysis equipment can only be tested the port that of the same type and speed is equal to or less than network performance analysis device port speed.Along with data communication forwarding rate and port speed improve constantly, also require the network performance analysis device port for testing that higher speed can be provided, and provide the network performance analysis device port cost of higher rate high, and high-speed port kind is incessantly a kind of, every kind of port all needs to provide, cost Gao Mao.And existing network performance analysis equipment low-speed port is owing to can not meeting high speed test demand, thereby form idle.
At present the method for testing of existing patent < < 200810085088.6 Ethernet switch high-speed port forwarding performances and device > > propose low speed ether port data (stream) to be passed through 10 groups of low-speed ports high speed ether port cycle 10 times, converging and form high speed ether port data (stream), is its high speed ether port of 10 times thereby realize by network performance analysis equipment low speed ether port test speed.Referring to Fig. 1, in figure, SMB-1 and SMB-2 are gigabit mouth (1000M mouth), converge the high speed ether port that can be 10,000,000,000 for test rate by the circulation of 10 low speed ether port datas (stream).
The method and apparatus disclosing in above-mentioned patent is limited to: 1. with the low-speed port number of high-speed port in same device: realize circulation and converge 10 groups of low-speed ports of 10 times of needs, n is converged in circulation doubly needs n group low-speed port, and expansion again can not make progress; 2. the speed multiple of high-speed port and low-speed port: must be integral multiple, can only be same kind port; 3. networking mode: owing to adopting the circulation ethod of remittance, each data flow all needs to design forward-path, and configuration is complicated, and if networking mode change, each data flow all needs to reconfigure, the network configuration of testing does not have extensibility.
Therefore, the method and apparatus disclosing in above-mentioned patent can only be for 10 times of level partial tests of network performance analysis equipment low speed ether port, and range of application is narrow, networking inconvenience, non expansivity.
Summary of the invention
Technical problem to be solved by this invention is: a kind of system and method for network apparatus test forwarding performance is proposed, solve narrow to the test mode range of application of network equipment forwarding performance in conventional art, networking is inconvenient, the problem of non expansivity.
The present invention solves the problems of the technologies described above adopted scheme: a kind of system of network apparatus test forwarding performance, comprising: network performance analysis equipment group and data transmitting/receiving equipment group; Described network performance analysis equipment group possesses two low-speed ports; Described data transmitting/receiving equipment group possesses two low-speed ports, two high-speed ports and two zoom in/out modules; Network performance analysis equipment group sends low rate data streams to data transmitting/receiving equipment group, data transmitting/receiving equipment group receives low rate data streams and be sent to the tested network equipment after the amplification of zoom in/out module is treated to high-speed data-flow, high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment, data transmitting/receiving equipment group is sent to high-speed data-flow network performance analysis equipment group after dwindling of zoom in/out module is treated to low rate data streams, by network performance analysis equipment group, the transmission performance of the tested network equipment is analyzed.
Further, described data transmitting/receiving equipment group is a data transmitting/receiving equipment that possesses two low-speed ports, two high-speed ports and two zoom in/out modules.
Or described data transmitting/receiving equipment group comprises two data transmitting/receiving equipments, every data transmitting/receiving equipment possesses a low-speed port, a high-speed port and a zoom in/out module.
A method for network apparatus test forwarding performance, comprises the following steps:
A. network performance analysis equipment group produces low rate data streams, and this low rate data streams is sent to data transmitting/receiving equipment group;
B. data transmitting/receiving equipment group receives this low rate data streams, and amplifies and be treated to high-speed data-flow;
C. data transmitting/receiving equipment group is sent to the tested network equipment by this high-speed data-flow;
D. this high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment;
E. data transmitting/receiving equipment group receives the high-speed data-flow returned by the tested network equipment, dwindles after being treated to low rate data streams and is sent to network performance analysis equipment group;
F. network performance analysis equipment group receives the transmission performance of the tested network equipment of low rate data streams post analysis being sent by data transmitting/receiving equipment group.
Further, in step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory and store;
B2. the processor of data transmitting/receiving equipment group copies n-1 part by this message;
B3. the processor of data transmitting/receiving equipment group is each message searching forward-path in memory, Reseal heading;
Whether the high-speed port and the low-speed port that b4. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b5, if not, after the message data of the n in memory partly being unpacked, re-start encapsulation, execution step b5;
B5. the processor of data transmitting/receiving equipment group sends the message of the n in memory according to forwarding rule from high-speed port, and the n that realizes data flow doubly amplifies, and described n is positive integer.
Or in step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory device and store;
B2. the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that b3. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b4, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step b4;
B4. the processor of data transmitting/receiving equipment group copies n-1 part by this message in memory;
B5. the processor of data transmitting/receiving equipment group sends the message of the n in memory according to forwarding rule from high-speed port, and the n that realizes data flow doubly amplifies, and described n is positive integer.
Or in step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory device and store;
B2. the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that b3. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b4, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step b4;
B4. the processor of data transmitting/receiving equipment group sends this message in memory n time from high-speed port according to forwarding rule, and the n that realizes data flow doubly amplifies, and described n is positive integer.
Further, in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, and the processor of data transmitting/receiving equipment group finds whether there be the message consistent with this message content in memory, if existed, performs step e2, otherwise, perform step e3;
E2. abandon the message newly receiving, packet counting+1, performs step e4 simultaneously;
E3. by the packet storage newly receiving to memory, execution step e1;
E4. when packet counting is n, the processor of data transmitting/receiving equipment group is that this message in memory is found forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that e5. judge data transmitting/receiving equipment group are the port of same type, if so, perform step e6, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step e6;
E6. the processor of data transmitting/receiving equipment group sends this message in memory according to forwarding rule from low-speed port, then in memory, deletes this message, realizes data flow is reduced into 1/n, and described n is positive integer.
Or, in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, and the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
E2. the processor of data transmitting/receiving equipment group is found and whether is had the message consistent with this message content in memory, if existed, performs step e3, otherwise, perform step e4;
E3. abandon the message newly receiving, packet counting+1, performs step e5 simultaneously;
E4. by the packet storage newly receiving to memory, execution step e1;
E5. when packet counting is n, judge whether the high-speed port of data transmitting/receiving equipment group and low-speed port are the port of same type, if, perform step e6, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step e6;
E6. the processor of data transmitting/receiving equipment group sends this message in memory according to forwarding rule from low-speed port, then in memory, deletes this message, realizes data flow is reduced into 1/n, and described n is positive integer.
Or, in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, the processor of data transmitting/receiving equipment group by this packet storage to memory;
E2. the processor of data transmitting/receiving equipment group statistics has the number of the message of identical content;
While e3. having the message of n identical content in memory, the message that the processor of data transmitting/receiving equipment group is up-to-date reception is found forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that e4. judge data transmitting/receiving equipment group are the port of same type, if so, perform step e5, if not, after the message data of up-to-date reception partly being unpacked, re-start encapsulation, execution step e5;
E5. the processor of data transmitting/receiving equipment group sends the message of up-to-date reception according to forwarding rule from low-speed port, then deletes all messages in memory, realizes data flow is reduced into 1/n, and described n is positive integer.
The invention has the beneficial effects as follows: owing to adopting, directly data (stream) are carried out to zoom in/out, do not use circulation assemblage method, not limited by low-speed port number on same device; Because multiplication factor can be very large, can not be subject to network performance analysis equipment low-speed port data (stream) rate limit, can test different interface type high-speed port with network performance analysis equipment low-speed port, and not limited by ethernet type.
Accompanying drawing explanation
Fig. 1 is for the test schematic diagram of the forwarding performance of high-speed port in conventional art;
Fig. 2 is the system configuration schematic diagram of network apparatus test forwarding performance in the present invention;
Fig. 3 is the method flow diagram of network apparatus test forwarding performance in the present invention;
Fig. 4 in the present invention amplifies low rate data streams the method flow diagram of processing;
Fig. 5 in the present invention dwindles high-speed data-flow the method flow diagram of processing.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
For in conventional art, the test mode range of application to network equipment forwarding performance is narrow, networking is inconvenient, the problem of non expansivity, the present invention proposes a kind of system and method for network apparatus test forwarding performance, by data flow is directly carried out to zoom in/out processing, for testing the forwarding performance of the tested network equipment;
Owing to not using circulation assemblage method, not limited by low-speed port number on same device, multiplication factor can be any positive integer, as just tested even higher rate of 10Gbit with network performance analysis equipment 100M low speed ether port, also can test any 100M integral multiple ports such as 2.5G; Because multiplication factor can be very large, not limited by network performance analysis equipment low-speed port streaming rate, can test different interface type high-speed port with network performance analysis equipment low-speed port, and not limited by ethernet type, as used the non-ether high-speed ports such as network performance analysis equipment 100M low speed ether port test 622.080M POS, ATM, with network performance analysis equipment 100M low speed ether port transmitting-receiving POS, ATM 51.84M speed data (need be Ethernet message data division by net load conversion), the multiplication factor is here set to 12; Do not use circulation assemblage method, only have a data flow, do not have circulation, need not be thought of as and loop data flow planning, regardless of tested network, port, how to expand, it is also only forwarded by data communication equipment as the special common data stream flowing to of a nothing.
Referring to Fig. 2, the system of the network apparatus test forwarding performance in the present invention, comprising: network performance analysis equipment group and data transmitting/receiving equipment group; Described network performance analysis equipment group possesses two low-speed ports, i.e. low-speed port 1 and low-speed port 2; Described data transmitting/receiving equipment group possesses two low-speed ports, two high-speed ports and two zoom in/out modules; Network performance analysis equipment group sends low rate data streams to data transmitting/receiving equipment group, data transmitting/receiving equipment group receives low rate data streams and be sent to the tested network equipment after the amplification of zoom in/out module is treated to high-speed data-flow, high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment, data transmitting/receiving equipment group is sent to high-speed data-flow network performance analysis equipment group after dwindling of zoom in/out module is treated to low rate data streams, by network performance analysis equipment group, the transmission performance of the tested network equipment is analyzed.
Wherein, data transmitting/receiving equipment group can adopt a data transmitting/receiving equipment that possesses two low-speed ports, two high-speed ports and two zoom in/out modules, also can adopt two data transmitting/receiving equipments, every data transmitting/receiving equipment possesses a low-speed port, a high-speed port and a zoom in/out module.
The operation principle of this system is: by network performance analysis equipment group, produced data flow D1 and by low-speed port 1, sent to a low-speed port of data transmitting/receiving equipment group, after data transmitting/receiving equipment group receiving data stream D1, it is amplified to processing, through data flow that amplify to process, through D1*n, by a high-speed port of data transmitting/receiving equipment group, be sent to the tested network equipment, through the high-speed data-flow D1*n of the tested network equipment, be forwarded to another high-speed port of data transmitting/receiving equipment group, the high-speed data-flow D1*n that data transmitting/receiving equipment group receives tested network equipment passback dwindles and processes to 1/n it later, be D1, finally by another low-speed port of data transmitting/receiving equipment group, send to the low-speed port 2 of network performance analysis equipment group, transmission performance by the tested network equipment of network performance analysis equipment group analysis, for the transmission situation of data flow D2 with above-mentioned consistent, here repeat no more.
Referring to Fig. 3, the method for the network apparatus test forwarding performance in the present invention, can be completed by following steps:
A. network performance analysis equipment group produces low rate data streams, and this low rate data streams is sent to data transmitting/receiving equipment group;
B. data transmitting/receiving equipment group receives this low rate data streams, and amplifies and be treated to high-speed data-flow;
C. data transmitting/receiving equipment group is sent to the tested network equipment by this high-speed data-flow;
D. this high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment;
E. data transmitting/receiving equipment group receives the high-speed data-flow returned by the tested network equipment, dwindles after being treated to low rate data streams and is sent to network performance analysis equipment group;
F. network performance analysis equipment group receives the transmission performance of the tested network equipment of low rate data streams post analysis being sent by data transmitting/receiving equipment group.
Realize the test of above-mentioned network equipment forwarding performance, a key point is that the n that how to carry out data flow doubly zooms in or out to 1/n.For the concrete means that realize, set forth below:
The n that realizes data flow doubly amplifies, and has three kinds to realize means:
1. the low-speed port of data transmitting/receiving equipment group is received a message, and message is sent into memory, and the processor of data transmitting/receiving equipment group copies n-1 part by message in memory, puts into memory, and now memory has n message, and each message has identical content; Then, processor is each message searching forward-path, refitting encapsulated message head, if the port that the low-speed port of data transmitting/receiving equipment group and high-speed port are same type, processor directly sends n message according to forwarding rule from high-speed port, if the low-speed port of data transmitting/receiving equipment group and high-speed port are not the port of same type, processor re-starts encapsulation after this n message data is partly unpacked, then by forwarding rule, it is sent from high-speed port.
2. the low-speed port of data transmitting/receiving equipment group is received a message, and message is sent into memory, and processor is that this message is found forward-path, refitting encapsulated message head; If the low-speed port of data transmitting/receiving equipment group and high-speed port are same kind port, processor directly copies n-1 part by message in memory, put into memory, now memory has n message, and processor sends this n message by forwarding rule from high-speed port; If the low-speed port of data transmitting/receiving equipment group and high-speed port are not same kind port, processor re-starts encapsulation after this message data is partly unpacked, again message in memory is copied to n-1 part, put into memory, now memory has n message, and processor sends this n message by forwarding rule from high-speed port.
3. the low-speed port of data transmitting/receiving equipment group is received a message, message is sent into memory device, processor is that this message is found forward-path, refitting encapsulated message head, if low-speed port and high-speed port are dissimilar port, processor re-starts encapsulation after this message data is partly unpacked, then by forwarding rule, this message is sent n time from high-speed port; If low-speed port and high-speed port are same kind port, processor directly sends this message n time from high-speed port according to forwarding rule.
Above 3 kinds of amplification methods, from realizing, the 3rd kind of processing procedure that can reduce as far as possible processor, therefore as priority selection method, its realization flow is referring to Fig. 4.In addition, in the 1st, 2 kinds of methods, when processor utilizes first message to copy other message, also can be by the message content except address by similar operations such as certain custom rule add, subtracts to form different messages.
Realize data flow be contracted to 1/n, also have three kinds to realize means:
1. the high-speed port of data transmitting/receiving equipment group is received a message, processor by high-speed port receive telegraph literary composition with memory in existing message contrast, if consistent with existing message content, think that the message of newly receiving is the copy packet of the existing message of memory,, by this packet loss, packet counting is increased to 1 simultaneously; When packet counting is increased to set n (the existing message in memory of take is first counting), processor is that the existing message in memory is found forward-path, refitting encapsulated message head; If low-speed port and high-speed port are not same kind port, processor re-starts encapsulation after this existing message data in memory is partly unpacked, and then by forwarding rule, this message is sent from low-speed port, delete this message in memory simultaneously; If low-speed port and high-speed port are same kind port, processor directly sends this message according to forwarding rule from low-speed port; If cannot find the existing message consistent with the message content of newly receiving in memory, so just this message of newly receiving is deposited in memory, as the source of later message contrast; Because high-speed port receives n message, just from low-speed port, send a message, the method can complete the work that data flow is reduced into 1/n.
2. the high-speed port of data transmitting/receiving equipment group is received a message, and the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading; The processor of data transmitting/receiving equipment group finds whether there be the message consistent with this message content in memory, if existed, abandons the message newly receiving, simultaneously packet counting+1; When packet counting is increased to set n (the existing message in memory of take is first counting), processor judges whether low-speed port and high-speed port are same type port, if low-speed port and high-speed port are not same kind port, processor re-starts encapsulation after this existing message data in memory is partly unpacked, and then by forwarding rule, this message is sent from low-speed port, delete this message in memory simultaneously; If low-speed port and high-speed port are same kind port, processor directly sends this message according to forwarding rule from low-speed port, then deletes this message in memory; If cannot find the existing message consistent with the message content of newly receiving in memory, so just this message of newly receiving is deposited in memory, as the source of later message contrast.
3. the high-speed port of data transmitting/receiving equipment group receives a message, the processor of data transmitting/receiving equipment group by this packet storage to memory; When carrying out packet storage each time, processor all can be added up the number of the message with identical content; While having the message of n identical content in memory, the message that the processor of data transmitting/receiving equipment group is up-to-date reception is found forward-path, Reseal heading; Whether the high-speed port and the low-speed port that judge data transmitting/receiving equipment group are the port of same type, the port of same type if, processor sends the up-to-date message receiving according to forwarding rule from low-speed port, then delete all messages in memory, if be not the port of same type, after the message data of up-to-date reception partly being unpacked, re-start encapsulation, then processor sends the message of up-to-date reception according to forwarding rule from low-speed port, then deletes all messages in memory.
Above 3 kinds are dwindled method, and from realizing, the 1st kind of processing procedure that can reduce as far as possible processor, can save memory space simultaneously, and therefore using it as priority selection method, specific implementation flow process is referring to Fig. 5.In addition, for by the message content except address by similar operations such as certain custom rule add, subtracts to form different messages, can only take the 3rd kind of storage contrast of dwindling in method, again it such as is added, subtracts at similar operations inverse process and restore initial network performance analysis message that equipment sends, this method is had relatively high expectations to processor disposal ability, as do not adopted without special demands.
For " high-speed port " described in the present invention and " low-speed port ", it is the different port of two class speed, the speed of the data flow that " high-speed port " can send or receive with respect to " low-speed port " is higher, equally, for " high-speed data-flow " described in the present invention and " low rate data streams ", be also relative, do not have absolute speed division limits.
Claims (7)
1. a system for network apparatus test forwarding performance, is characterized in that: comprise network performance analysis equipment group and data transmitting/receiving equipment group; Described network performance analysis equipment group possesses two low-speed ports; Described data transmitting/receiving equipment group possesses two low-speed ports, two high-speed ports and two zoom in/out modules; Network performance analysis equipment group sends low rate data streams to data transmitting/receiving equipment group, data transmitting/receiving equipment group receives low rate data streams and be sent to the tested network equipment after the amplification of zoom in/out module is treated to high-speed data-flow, high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment, data transmitting/receiving equipment group is sent to high-speed data-flow network performance analysis equipment group after dwindling of zoom in/out module is treated to low rate data streams, by network performance analysis equipment group, the transmission performance of the tested network equipment is analyzed;
The concrete mode that the amplification of described data transmitting/receiving equipment group reception low rate data streams process zoom in/out module is treated to high-speed data-flow is:
The low-speed port of data transmitting/receiving equipment group is received a message, and message is sent into memory, and the processor of data transmitting/receiving equipment group copies n-1 part by message in memory, puts into memory, and now memory has n message, and each message has identical content; Processor is each message searching forward-path, refitting encapsulated message head, if the port that the low-speed port of data transmitting/receiving equipment group and high-speed port are same type, processor directly sends n message according to forwarding rule from high-speed port, if the low-speed port of data transmitting/receiving equipment group and high-speed port are not the port of same type, processor re-starts encapsulation after this n message data is partly unpacked, then by forwarding rule, it is sent from high-speed port;
Or,
The low-speed port of data transmitting/receiving equipment group is received a message, and message is sent into memory, and processor is that this message is found forward-path, refitting encapsulated message head; If the low-speed port of data transmitting/receiving equipment group and high-speed port are same kind port, processor directly copies n-1 part by message in memory, put into memory, now memory has n message, and processor sends this n message by forwarding rule from high-speed port; If the low-speed port of data transmitting/receiving equipment group and high-speed port are not same kind port, processor re-starts encapsulation after this message data is partly unpacked, again message in memory is copied to n-1 part, put into memory, now memory has n message, and processor sends this n message by forwarding rule from high-speed port;
Or,
The low-speed port of data transmitting/receiving equipment group is received a message, message is sent into memory device, processor is that this message is found forward-path, refitting encapsulated message head, if low-speed port and high-speed port are dissimilar port, processor re-starts encapsulation after this message data is partly unpacked, then by forwarding rule, this message is sent n time from high-speed port; If low-speed port and high-speed port are same kind port, processor directly sends this message n time from high-speed port according to forwarding rule.
2. the system of a kind of network apparatus test forwarding performance as claimed in claim 1, is characterized in that: described data transmitting/receiving equipment group is a data transmitting/receiving equipment that possesses two low-speed ports, two high-speed ports and two zoom in/out modules.
3. the system of a kind of network apparatus test forwarding performance as claimed in claim 1 or 2, it is characterized in that: described data transmitting/receiving equipment group comprises two data transmitting/receiving equipments, every data transmitting/receiving equipment possesses a low-speed port, a high-speed port and a zoom in/out module.
4. a method for network apparatus test forwarding performance, is characterized in that: comprise the following steps:
A. network performance analysis equipment group produces low rate data streams, and this low rate data streams is sent to data transmitting/receiving equipment group;
B. data transmitting/receiving equipment group receives this low rate data streams, and amplifies and be treated to high-speed data-flow;
C. data transmitting/receiving equipment group is sent to the tested network equipment by this high-speed data-flow;
D. this high-speed data-flow is back to data transmitting/receiving equipment group after the tested network equipment;
E. data transmitting/receiving equipment group receives the high-speed data-flow returned by the tested network equipment, dwindles after being treated to low rate data streams and is sent to network performance analysis equipment group;
F. network performance analysis equipment group receives the transmission performance of the tested network equipment of low rate data streams post analysis being sent by data transmitting/receiving equipment group;
In step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory device and store;
B2. the processor of data transmitting/receiving equipment group copies n-1 part by this message;
B3. the processor of data transmitting/receiving equipment group is each message searching forward-path in memory, Reseal heading;
Whether the high-speed port and the low-speed port that b4. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b5, if not, after the message data of the n in memory partly being unpacked, re-start encapsulation, execution step b5;
B5. the processor of data transmitting/receiving equipment group sends the message of the n in memory according to forwarding rule from high-speed port, and the n that realizes data flow doubly amplifies, and described n is positive integer;
Or in step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory and store;
B2. the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that b3. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b4, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step b4;
B4. the processor of data transmitting/receiving equipment group copies n-1 part by this message in memory;
B5. the processor of data transmitting/receiving equipment group sends the message of the n in memory according to forwarding rule from high-speed port, and the n that realizes data flow doubly amplifies, and described n is positive integer;
Or in step b, the concrete grammar that the low rate data streams amplification that data transmitting/receiving equipment group is received is treated to high-speed data-flow is:
B1. the low-speed port of data transmitting/receiving equipment group receives a message, this message is sent into memory device and store;
B2. the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that b3. judge data transmitting/receiving equipment group are the port of same type, if so, perform step b4, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step b4;
B4. the processor of data transmitting/receiving equipment group sends this message in memory n time from high-speed port according to forwarding rule, and the n that realizes data flow doubly amplifies, and described n is positive integer.
5. the method for a kind of network apparatus test forwarding performance as claimed in claim 4, it is characterized in that: in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, and the processor of data transmitting/receiving equipment group finds whether there be the message consistent with this message content in memory, if existed, performs step e2, otherwise, perform step e3;
E2. abandon the message newly receiving, packet counting+1, performs step e4 simultaneously;
E3. by the packet storage newly receiving to memory, execution step e1;
E4. when packet counting is n, the processor of data transmitting/receiving equipment group is that this message in memory is found forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that e5. judge data transmitting/receiving equipment group are the port of same type, if so, perform step e6, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step e6;
E6. the processor of data transmitting/receiving equipment group sends this message in memory according to forwarding rule from low-speed port, then in memory, deletes this message, realizes data flow is reduced into 1/n, and described n is positive integer.
6. the method for a kind of network apparatus test forwarding performance as claimed in claim 4, it is characterized in that: in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, and the processor of data transmitting/receiving equipment group is this message searching forward-path, Reseal heading;
E2. the processor of data transmitting/receiving equipment group is found and whether is had the message consistent with this message content in memory, if existed, performs step e3, otherwise, perform step e4;
E3. abandon the message newly receiving, packet counting+1, performs step e5 simultaneously;
E4. by the packet storage newly receiving to memory, execution step e1;
E5. when packet counting is n, judge whether the high-speed port of data transmitting/receiving equipment group and low-speed port are the port of same type, if, perform step e6, if not, after this message data in memory partly being unpacked, re-start encapsulation, execution step e6;
E6. the processor of data transmitting/receiving equipment group sends this message in memory according to forwarding rule from low-speed port, then in memory, deletes this message, realizes data flow is reduced into 1/n, and described n is positive integer.
7. the method for a kind of network apparatus test forwarding performance as claimed in claim 4, it is characterized in that: in step e, data transmitting/receiving equipment group receive by the tested network equipment, returned high-speed data-flow, dwindle be treated to low rate data streams concrete grammar be:
E1. the high-speed port of data transmitting/receiving equipment group receives a message, the processor of data transmitting/receiving equipment group by this packet storage to memory;
E2. the processor of data transmitting/receiving equipment group statistics has the number of the message of identical content;
While e3. having the message of n identical content in memory, the message that the processor of data transmitting/receiving equipment group is up-to-date reception is found forward-path, Reseal heading;
Whether the high-speed port and the low-speed port that e4. judge data transmitting/receiving equipment group are the port of same type, if so, perform step e5, if not, after the message data of up-to-date reception partly being unpacked, re-start encapsulation, execution step e5;
E5. the processor of data transmitting/receiving equipment group sends the message of up-to-date reception according to forwarding rule from low-speed port, then deletes all messages in memory, realizes data flow is reduced into 1/n, and described n is positive integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110140077.5A CN102201949B (en) | 2011-05-27 | 2011-05-27 | System and method for testing network equipment forwarding performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110140077.5A CN102201949B (en) | 2011-05-27 | 2011-05-27 | System and method for testing network equipment forwarding performance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102201949A CN102201949A (en) | 2011-09-28 |
CN102201949B true CN102201949B (en) | 2014-03-12 |
Family
ID=44662354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110140077.5A Expired - Fee Related CN102201949B (en) | 2011-05-27 | 2011-05-27 | System and method for testing network equipment forwarding performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102201949B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103209103B (en) * | 2013-03-25 | 2015-12-23 | 华为技术有限公司 | The method of testing of the network equipment and device |
CN103997433B (en) * | 2014-05-16 | 2017-10-31 | 瑞斯康达科技发展股份有限公司 | A kind of packet loss rate measurement method, measuring apparatus and measuring system |
CN104468285B (en) * | 2014-12-31 | 2018-04-27 | 迈普通信技术股份有限公司 | Network equipment multicast performance measuring method and system |
CN106506273B (en) * | 2016-11-07 | 2020-10-02 | 瑞斯康达科技发展股份有限公司 | Bandwidth measurement method, device and system |
CN109995600B (en) * | 2017-12-29 | 2021-06-01 | 浙江宇视科技有限公司 | SDN-based high-pressure service testing method and system |
CN110460485B (en) * | 2018-05-07 | 2021-05-07 | 大唐移动通信设备有限公司 | Device and method for testing Ethernet interface performance |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549531A (en) * | 2003-05-21 | 2004-11-24 | 华为技术有限公司 | Apparatus for testing network equipment transmission performance and method thereof |
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020015387A1 (en) * | 2000-08-02 | 2002-02-07 | Henry Houh | Voice traffic packet capture and analysis tool for a data network |
-
2011
- 2011-05-27 CN CN201110140077.5A patent/CN102201949B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549531A (en) * | 2003-05-21 | 2004-11-24 | 华为技术有限公司 | Apparatus for testing network equipment transmission performance and method thereof |
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
Also Published As
Publication number | Publication date |
---|---|
CN102201949A (en) | 2011-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102201949B (en) | System and method for testing network equipment forwarding performance | |
Jiang et al. | Enhancing network performance by edge addition | |
CN102739518B (en) | A kind of flow load sharing method and apparatus | |
CN103036787B (en) | A kind of network routing convergence treating method and apparatus | |
CN107948103A (en) | A kind of interchanger PFC control methods and control system based on prediction | |
CN105763437A (en) | Message forwarding method and network equipment | |
CN102984035A (en) | Loopback test method and system of packet loss probability of network data | |
CN103220215A (en) | Fiber channel over Ethernet (FCoE) message forwarding method and device in TRILL network | |
CN104580002B (en) | The big balanced retransmission method of current load and device | |
CN102857989A (en) | Self-adaptive routing method oriented to mobile sensor network | |
CN103312614B (en) | A kind of multicast message processing method, line card and communication equipment | |
CN102158422A (en) | Message forwarding method and equipment for layer 2 ring network | |
CN106100960A (en) | Method, Apparatus and system across the intercommunication of storage area network Fabric | |
CN110784378B (en) | Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier) | |
Liu et al. | NCoS: A framework for realizing network coding over software-defined network | |
CN104486040A (en) | Efficient coding-aware routing method based on cache management | |
Cao et al. | MPTCP-meLearning: a multi-expert learning-based MPTCP extension to enhance multipathing robustness against network attacks | |
CN102624769A (en) | Pipeline network device and related data transmission method | |
CN102685011B (en) | Route computing method in a kind of TRILL network and equipment | |
CN108449166A (en) | Data forwarding method and the network equipment in a kind of FlexE | |
Liu et al. | Flow splitting scheme over link‐disjoint multiple paths in software‐defined networking | |
WO2017088489A1 (en) | Data message transmission method and system, and communication system | |
CN104871497B (en) | Flow table treating method and apparatus | |
WO2012103828A2 (en) | Method and device for testing link performance | |
CN105897614B (en) | Method for routing based on multi-channel data packet priority and equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140312 |