CN101146046B - A throughput testing method and testing system - Google Patents

A throughput testing method and testing system Download PDF

Info

Publication number
CN101146046B
CN101146046B CN2007101658494A CN200710165849A CN101146046B CN 101146046 B CN101146046 B CN 101146046B CN 2007101658494 A CN2007101658494 A CN 2007101658494A CN 200710165849 A CN200710165849 A CN 200710165849A CN 101146046 B CN101146046 B CN 101146046B
Authority
CN
China
Prior art keywords
port
test
devices
message
measured
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
Application number
CN2007101658494A
Other languages
Chinese (zh)
Other versions
CN101146046A (en
Inventor
陈武
李国辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2007101658494A priority Critical patent/CN101146046B/en
Publication of CN101146046A publication Critical patent/CN101146046A/en
Application granted granted Critical
Publication of CN101146046B publication Critical patent/CN101146046B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a throughput test method and a test system. The test method includes the following steps: test equipment sends out a message to first equipment to be tested at a port to be tested; the first equipment to be tested includes a port to be tested and a plurality of ports, the equivalent bandwidths of a plurality of the ports are the same as the port to be tested; the first equipment to be tested receives the message, adopts the port to divide a virtual LAN and utilizes second equipment to be tested the same as the first equipment to be tested to generate equivalent bandwidth flow rate of the port to be tested by self circulation and then transmits the message to the equipment to be tested; the equipment to be tested judges whether the number of the sent message is equivalent to the number of the received message; if so, the throughput test is passed. The invention needs no a trillion test card, and only utilizes the test equipment to realize the throughput test of trillion ports or other ports with any rate, with the advantages of cost saving, and test flexibility and practicability improvement.

Description

A kind of throughput testing approach and test macro
Technical field
The present invention especially in regard to throughput (Throughput) measuring technology, is about a kind of throughput testing approach and test macro about the switching performance measuring technology of communication equipment specifically.
Background technology
At present, the switching performance testing equipment is to be used for testing Devices to test, and as a kind of equipment of every performance of equipment such as switch, router, Devices to test wherein is a throughput as a key performance of switch, router etc.So-called throughput is meant switch or router device manageable maximum data flow in the unit interval.
When using the throughput of switching performance testing equipment test switch or router, can be in the following way: this switching performance testing equipment sends to Devices to test with the message of certain flow, certain port as switch or router, wherein, the flow of message is decided according to the disposal ability of Devices to test; Devices to test is transmitted these messages; If all messages that testing equipment is sent are transmitted the whole tested equipment in processing back through Devices to test and correctly regained, then testing throughput passes through.
Fig. 1 is for being used to test the simple test system formation schematic diagram of gigabit port throughput in the prior art.As shown in Figure 1, this system comprises testing equipment 101, Devices to test 102, is gigabit switch as this Devices to test 102.Wherein, Devices to test 102 also has 8 ports (GE Port) 1~8, and correspondingly testing equipment 101 also has 8 port one 01a, and when testing, port (GE Port) 101a, 1~8 of testing equipment 101 and Devices to test 102 is divided into four groups, every group of two ports literary composition of transmitting messages mutually.If the message that testing equipment 101 is sent is correctly regained by testing equipment after transmitting through Devices to test 102, then testing throughput passes through.This test mode is the most direct, and is also the simplest, but shortcoming is to take a large amount of test ports, only is suitable for the less switch of test port.
Fig. 2 uses the system that divides VLAN (VLAN:Virtual Local AreaNetwork) test gigabit port throughput to constitute schematic diagram in the prior art.As shown in Figure 2, this system comprises testing equipment 201, Devices to test 202, is gigabit switch as this Devices to test 202.Devices to test 202 has 8 ports (GE Port) 1~8, and wherein, port one and port 2 are in one independently among the VLAN1, and port 3 and port 4 are among the VLAN2, and port 5 and port 6 are among the VLAN3, and port 7 and port 8 are among the VLAN4.Testing equipment 201 has port T_GE1 and T_GE2.
As shown in Figure 2, the message that port T_GE1 sends out enters the port one of equipment to be tested, because port one and port 2 are among the same independently VLAN, and be in different VLAN with other port, therefore, can only be behind the message entry port 1 at the VLAN identical with it, promptly transmit among the VLAN1 (Here it is VLAN effect), like this, message can only be sent to port 2.The message that port 2 comes out is by short netting twine entry port 3, and in like manner port 3, port 4 are in one independently among the VLAN (being VLAN2), therefore, message can only come out from port 4, and the like, last message comes out from port 8, enters the port T_GE2 of testing equipment 201.
From the above, can realize that by system shown in Figure 2 the message amount that the T_GE1 mouth sends equates with the message number that the T_GE2 mouth is received.If port T_GE2 also sends message simultaneously, so just constitute full duplex (simply saying to be exactly that same port is in reception and transmit status simultaneously) flow status, port T_GE1 also will receive all messages that port T_GE2 sends.Such test macro can guarantee that 8 ports of Devices to test 202 all are in the operating state of full capacity, therefore uses this system testing to pass through by promptly showing the switch testing throughput.
Therefore, use the method for dividing VLAN (VLAN:Virtual Local Area Network) can reduce the testing equipment end and take quantity for 201 mouthfuls.But above-mentioned test mode then can not be used when test only has the throughput of one 10,000,000,000 port device.
Fig. 3 is for having the switch schematic diagram of one 10,000,000,000 port (10G Port) in the prior art; Fig. 4 is for having the switch schematic diagram of two 10,000,000,000 ports in the prior art.
As shown in Figure 3, switch comprises 301 and one 10,000,000,000 ports of gigabit port (GEPort) (10G Port) 302 more than 10, and forms with the above-mentioned exchange chip that external port is connected (Switch ASIC) 303.Wherein, exchange chip 303 carries out the exchange of data message according to the rule of setting, and external port is offered the user use.Switch can provide several gigabit ports and 1 or 2 10,000,000,000 ports usually, has one 10,000,000,000 port as shown in Figure 3, has two 10,000,000,000 ports 401,402 as shown in Figure 4, and other formation is identical with Fig. 3.
In this case, the throughput ratio of testing all gigabit ports (GE Port) 301 is easier to realize, can utilizes test macro shown in Figure 2 to test.But test macro shown in Figure 2 can not be used for testing the throughput of 10,000,000,000 ports (10G Port) 302.Generally, the simplest mode is to use 10,000,000,000 test cards to test the throughput of 10,000,000,000 ports.
When using 10,000,000,000 test cards, 10,000,000,000 ports (10G Port) 302 of switch shown in the 10000000000 port connection layouts 3 of 10,000,000,000 test cards, 10 gigabit mouths (GE Port) 301 of switch are connected respectively to a gigabit port of testing equipment, can test.This test mode needs 10 gigabit test ports and one 10,000,000,000 test port of engaged test equipment.
From the above, though adopt above-mentioned test mode can test gigabit port, can test 10,000,000,000 ports again, shortcoming is: the price of 10,000,000,000 test cards is very expensive, and also needs a large amount of gigabit ports of engaged test equipment during test, and resources occupation rate is higher.
Summary of the invention
Main purpose of the present invention is to provide a kind of throughput testing approach and test macro, need not use 10,000,000,000 test cards by the present invention, only use test equipment can be realized the test of the throughput of 10,000,000,000 ports or other any speed port, cost-saved, improve the flexibility and the practicality of test.
For achieving the above object, the invention provides a kind of throughput testing approach, the method comprising the steps of:
Testing equipment sends first Devices to test of message to port to be measured place; Wherein, described first Devices to test comprises port to be measured and a plurality of port at least, and the equivalent bandwidth of described a plurality of ports equates with described port bandwidth to be measured;
Described first Devices to test receives this message, employing is divided VLAN with described port and is utilized the flow of second Devices to test identical with this first Devices to test from the described port bandwidth to be measured of ring generation equivalence, then described message is sent to described testing equipment;
Described testing equipment judges whether the message of transmission and the message amount of reception equate;
If judged result is for equating that then testing throughput passes through.
For achieving the above object, the invention provides a kind of testing throughput system, this system comprises:
Testing equipment is used for sending and receiving message, and judges whether the message of transmission and the message amount of reception equate;
First Devices to test is connected with described testing equipment, and described first Devices to test comprises first port to be measured and a plurality of port at least, and the equivalent bandwidth of described a plurality of ports equates with first port bandwidth to be measured; And this first Devices to test is used to receive the described message that described testing equipment sends, employing is divided virtual net with described port and is utilized the flow of second Devices to test identical with this first Devices to test from described first port bandwidth to be measured of ring generation equivalence, then described message is sent to described testing equipment;
Second Devices to test, be connected with described first Devices to test, described second Devices to test comprises second port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with second port bandwidth to be measured, described second port to be measured is identical with described first port bandwidth to be measured, and a plurality of ports of described second Devices to test are identical with a plurality of port bandwidths of first Devices to test.
For achieving the above object, the present invention also provides a kind of throughput testing approach, and the method comprising the steps of:
First port of testing equipment and second port send first Devices to test of message to port to be measured place; Wherein, described first Devices to test comprises port to be measured and a plurality of port at least, and the equivalent bandwidth of described a plurality of ports equates with described port bandwidth to be measured;
Described first Devices to test receives this message of first port transmission of described testing equipment, described port is divided VLAN in employing and utilization second Devices to test identical with described first Devices to test encircles the flow that produces the described port bandwidth to be measured of equivalence certainly, then described message is sent to second port of described testing equipment; Simultaneously, described first Devices to test receives this message of second port transmission of described testing equipment, described port is divided VLAN in employing and utilization second Devices to test identical with described first Devices to test encircles the flow that produces the described port bandwidth to be measured of equivalence certainly, then described message is sent to first port of described testing equipment;
Described testing equipment judges whether the message amount that described first port, second port send and receive equates;
If judged result is for equating that then testing throughput passes through.
For achieving the above object, the present invention also provides a kind of testing throughput system, and this system comprises:
Testing equipment comprises second port, second port and processing unit at least, and described first port and second port are used for sending and receiving message, and this processing unit judges whether the message amount that described first port and second port send and receive equates;
First Devices to test is connected with described testing equipment, and described first Devices to test comprises port to be measured and a plurality of port at least, and the equivalent bandwidth of described a plurality of ports equates with first port bandwidth to be measured; And this first Devices to test is used to receive the described message that first port of described testing equipment sends, employing is divided virtual net with described port and is utilized the flow of second Devices to test identical with this first Devices to test from described first port bandwidth to be measured of ring generation equivalence, then described message is sent to second port of described testing equipment; And this first Devices to test also is used to receive the described message that second port of described testing equipment sends, employing is divided virtual net with described port and is utilized the flow of described second Devices to test from the described port bandwidth to be measured of ring generation equivalence, then described message is sent to first port of described testing equipment;
Second Devices to test, be connected with described first Devices to test, described second Devices to test comprises second port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with second port bandwidth to be measured, described second port to be measured is identical with described first port bandwidth to be measured, and a plurality of ports of described second Devices to test are identical with a plurality of port bandwidths of first Devices to test.
Beneficial effect of the present invention is, by this method only use test equipment can realize the test of the throughput of any speed port, test for the throughput of 10,000,000,000 ports need not used 10,000,000,000 test cards yet, thereby saving cost, improve the flexibility and the practicality of test, and resource utilization height, resources occupation rate are low.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, does not constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is for being used to test the simple test system formation schematic diagram of gigabit port throughput in the prior art;
Fig. 2 uses the system that divides VLAN test gigabit port throughput to constitute schematic diagram in the prior art;
Fig. 3 is for having the switch schematic diagram of one 10,000,000,000 port in the prior art;
Fig. 4 is for having the switch schematic diagram of two 10,000,000,000 ports in the prior art;
Fig. 5 is the formation schematic diagram of the testing throughput system of the embodiment of the invention;
Fig. 6 is the throughput testing approach equivalent schematic of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer,, embodiment of the present invention is described in further details below in conjunction with accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
The invention provides a kind of throughput testing approach and system.Wherein this method comprises:
Testing equipment sends first Devices to test at message to the first port to be measured place; Wherein, first Devices to test comprises first port to be measured and a plurality of port, and the equivalent bandwidth of these a plurality of ports equates with first port bandwidth to be measured;
First Devices to test receives this message, port is divided VLAN in employing and utilization second Devices to test identical with this first Devices to test produces the flow that is equivalent to described first port bandwidth to be measured from ring, all is transferred into described testing equipment at last through the message after repeatedly encircling certainly;
Testing equipment judges whether the message of transmission and the message amount of reception equate; If judged result is for equating that then testing throughput passes through.
By this method only use test equipment can realize the test of the throughput of any speed port, test for the throughput of 10,000,000,000 ports need not used 10,000,000,000 test cards yet, thereby the saving cost improves the flexibility and the practicality of test, and resource utilization height, resources occupation rate are low.
Below in conjunction with accompanying drawing embodiments of the present invention are elaborated.
The invention provides a kind of testing throughput system, as shown in Figure 5, this system comprises: testing equipment 501, first Devices to test 502 and second Devices to test 503, wherein the formation of first Devices to test 502 and second Devices to test 503 with dispose identical.
As shown in Figure 5, testing equipment 501 is used for sending and receiving message, and judges whether the message of transmission and the message amount of reception equate; In embodiment of the present invention,, think that then testing throughput passes through if the message amount that testing equipment 501 sends and receives is equal.
First Devices to test 502 is connected with testing equipment 501, and as shown in Figure 5, this first Devices to test 502 comprises the first port 502a to be measured and a plurality of port 502c at least, and the equivalent bandwidth of these a plurality of port 502c equates with the first port 502a bandwidth to be measured; And this first Devices to test 502 is used for the message that acceptance test equipment 501 sends, employing is divided virtual net with port and is utilized second Devices to test 503 identical with this first Devices to test 502 to produce the flow of equivalent this first port 502a bandwidth to be measured from ring, then this message is sent to testing equipment 501;
Second Devices to test 503, be connected with first Devices to test 502, be used for auxiliary first Devices to test 502 and finish test, these second Devices to test, 503 structures are identical with first Devices to test 502 with configuration, be that it comprises the second port 503a to be measured and a plurality of port 503c, the equivalent bandwidth of these a plurality of port 503c equates with the second port 503a bandwidth to be measured, the second port 503a to be measured is identical with the first port 502a bandwidth to be measured, and a plurality of port 503c of second Devices to test 503 are identical with a plurality of port 502c bandwidth of first Devices to test.
By said system only use test equipment can realize the test of the throughput of any speed port, test for the throughput of 10,000,000,000 ports need not used 10,000,000,000 test cards yet, thereby the saving cost improves the flexibility and the practicality of test, and resource utilization height, resources occupation rate are low.
From the above, in the present embodiment, use a testing equipment, two equipment under tests to carry out the test of throughput.Wherein, two equipment under tests constitute with dispose identical.
Because the present invention's throughput that can test any speed port, therefore, if when the bandwidth M of port to be measured gigabit, and a plurality of port bandwidth is when being gigabit, and then the port number of two Devices to tests is at least M, and wherein M is a positive integer.
As shown in Figure 5, first Devices to test 502 also comprises: first processing unit, promptly first exchange chip (Switch ASIC) 502b is connected with a plurality of port 502c with the first port 502a to be measured, is used to transmit the message between these a plurality of port 502c and the first port 502a to be measured;
In like manner, second Devices to test 503 also comprises: second processing unit, promptly second exchange chip (SwitchASIC) 503b is connected with a plurality of port 503c with the second port 503a to be measured, is used to transmit the message between these a plurality of port 503c and the second port 503a to be measured.
In the present embodiment, the throughput with the first port 502a to be measured that tests first Devices to test 502 is that example describes throughput testing approach of the present invention.
In the present embodiment, testing equipment 501 takies two ports, and the first port 501a and the second port 501b wherein, send message to the first Devices to test 502 by the first port 501a, receives the message that first Devices to test 502 transmits by the second port 501b.In the present embodiment, be that the bandwidth of 10,000,000,000 (10G Port), a plurality of port 502c (GE Port), 503c is gigabit, the first port 501a and the second port 501b to be gigabit port (GE Port) be that example is elaborated to method of testing of the present invention with the bandwidth of the first port 502a to be measured.
Therefore, in the present embodiment, the number of the port 502c that first Devices to test 502 is required should be at least 10, for describe clear can choose arbitrarily 10 gigabit ports be numbered 1,2 respectively ..., 10, like this, these 10 port 502c be respectively port one, port 2 ..., port one 0, and each port dispose respectively VLAN1, VLAN2 ..., VLAN10.The configuration of second Devices to test 503 repeats no more with first Devices to test 502 herein.
In the present embodiment, first Devices to test 502 and second Devices to test 503 are switch, are referred to as switch A 502 and switch b 503 respectively, but Devices to test is not limited thereto, and also can be equipment such as router.
Following is that example is elaborated to throughput testing approach of the present invention with reference to accompanying drawing 5 and accompanying drawing 6 with the throughput of the first port 502a to be measured of test switch A 502.
The first port 501a of testing equipment 501 sends message to switch A502; In the present embodiment, this message portability VLAN sign, switch A 502 and switch b 503 indicate according to this VLAN and use corresponding ports to receive this message, if VLAN is masked as 1, then this moment switch A 502 and switch b 503 port one receive this message;
After the port one of switch A 502 receives described message, message is sent to the first port 502a to be measured by the first exchange chip 502b; The first port 502a to be measured is sent to switch b by the link between switch A 502 and the switch b 503 with this message; This link is the 10G link.
After the second port 503a to be measured of switch b received this message, the VLAN sign that carries according to this message belonged to the port one that this message is sent to switch A 502 together a VLAN, the i.e. port one of the switch b of VLAN1.
This message sends out from the port one of switch b, this message is sent to the port 2 of this switch b through too short netting twine 503d, in the present embodiment, port 2 adds the VLAN sign can for the message that enters, this is masked as 2, and this is added that sign 2 message delivers to 10,000,000,000 ports of switch b, the i.e. second port 503a to be measured through the second exchange chip 503b; The second port 503a to be measured is sent to switch A by the link between switch A 502 and the switch b 503 with this message.
After the first port 502a to be measured of switch A 502 received this message, the VLAN sign 2 that carries according to this message belonged to the port 2 that this message is sent to switch b 502 together a VLAN, i.e. the port 2 of the switch A of VLAN2.
This message sends out from the port 2 of switch A, this message is sent to the port 3 of this switch A through too short netting twine 502d, in like manner, port 3 adds the VLAN sign can for the message that enters, this is masked as 3, and this is added that sign 3 message delivers to 10,000,000,000 ports of switch b 503, the i.e. second port 503a to be measured with the first exchange chip 502b;
After the second port 503a to be measured of switch b received this message, the VLAN sign 3 that carries according to this message belonged to the port 3 that this message is sent to switch A 502 together a VLAN, i.e. the port 3 of the switch b of VLAN3.
Shown in Fig. 5,6, the rest may be inferred, and this message finally arrives the port one 0 of switch A 502.
Then, the port one 0 of switch A 502 is delivered to testing equipment 501 with this message, and the second port 501b of this testing equipment 501 receives this message, judges whether the message of transmission and the message amount of reception equate; If judged result is for equating that then testing throughput passes through.
From the above, the message that is sent by the port 501a of testing equipment 501 enters from a plurality of gigabit port 502c, and this message all flows to 10,000,000,000 ports (10GPort) by the first exchange chip 502c, the i.e. first port 502a to be measured, and process switch b 503 flows back to switch A from the ring back from 10,000,000,000 ports (10G Port), switch A 502 is again by being transmitted back to switch b 503 with message from 10,000,000,000 ports (10G Port) from ring, message turns back to testing equipment by the gigabit port 502c of switch A at last, has caused the data traffic of 10Gbps so just for this 10,000,000,000 port.Therefore, can realize first Devices to test 502 with 10 (or more than 10) gigabit ports and one or more 10,000,000,000 ports (10G Port) is carried out the test of 10,000,000,000 port throughputs by said system.
In the foregoing description,, think that then testing throughput passes through as long as the quantity of the second port 501b received packet of testing equipment 501 equals the quantity that the first port 501a sends message.
In the above-described embodiments, adopt the half-duplex flow to test, guaranteed that the flow of 10,000,000,000 ports (10G Port) is 10,000,000,000, and the result of test embodies the traffic ability that 10,000,000,000 ports are had, and test result is true and reliable.
In yet another embodiment of the present invention, when the first port 501a of testing equipment 501 sends message to the port one of switch A 502, the second port 501b of this testing equipment 501 also can send message simultaneously to switch A 502, and this message portability VLAN sign, if this is masked as 10, then the port one 0 of switch A 502 receives this message.
According to the foregoing description, the first port 501a of testing equipment 501 sends the port one of message to switch A 502, through arrive the port one 0 of this switch A 502 from the final message of ring process, is delivered to the second port 501b of testing equipment 501 by port one 0; Simultaneously, the second port 501b of testing equipment 501 sends the port one 0 of message to switch A 502, and process is from the ring process, and final message arrives the port one of switch A 502, is delivered to the first port 501a of testing equipment 501 by port one.Thereby can constitute the full duplex flow at the port to be measured (10,000,000,000 port) of switch A.
Therefore, as long as the quantity of the second port 501b received packet of testing equipment 501 equals the quantity that the first port 501a sends message, and the quantity of the first port 501a received packet also equals the quantity that the second port 501b sends message, thinks that then testing throughput passes through.
By the foregoing description as can be known, adopt the full duplex flow to test, guaranteed that by the present invention 10,000,000,000 ports (10G Port) and 10G link are in filled band wide (at full capacity) flow status (promptly 20,000 million), the result of test embodies the traffic ability that 10,000,000,000 ports are had fully, and test result is true and reliable.
Therefore, only use the testing equipment of common, inexpensive can realize test by the present invention to the throughput of M gigabit speed port, test for the throughput of 10,000,000,000 ports need not used 10,000,000,000 test cards yet, the testing reliability height, save cost, improve the flexibility and the practicality of test, and resource utilization height, resources occupation rate are low.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. throughput testing approach is characterized in that the method comprising the steps of:
Testing equipment sends first Devices to test of message to port to be measured place; Wherein, described first Devices to test comprises port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with described port bandwidth to be measured, the bandwidth of described port to be measured is the M gigabit, described a plurality of port is gigabit port, then described a plurality of port numbers are at least M, and wherein M is a positive integer;
First port of described first Devices to test receives this message, carries out the following step:
Step 1 after first port of described first Devices to test receives described message, is sent to this message first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together by described port to be measured;
Step 2, described second Devices to test are sent to this message second port of this second Devices to test;
Step 3, second port of described second Devices to test is sent to this message second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together by described port to be measured;
Step 4, described first Devices to test are sent to this message the 3rd port of this first Devices to test;
Step 5, repeating step 1 to 4 transmits this message, arrives the M port of described first Devices to test until described message;
The M port of described first Devices to test is sent to described testing equipment with described message;
Described testing equipment judges whether the message of transmission and the message amount of reception equate;
If judged result is for equating that then testing throughput passes through.
2. method according to claim 1, it is characterized in that, in the described step 1, this message is sent to first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together, comprises step by described port to be measured:
Described port to be measured is sent to this message the port to be measured of described second Devices to test;
After the port to be measured of described second Devices to test receives this message, this message is sent to first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together.
3. method according to claim 1, it is characterized in that, in the described step 3, second port of described second Devices to test is sent to second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together by described port to be measured with this message, comprises step:
Second port of described second Devices to test is sent to port to be measured with described second Devices to test with described message;
The port to be measured of described second Devices to test is sent to described port to be measured with this message;
Described port to be measured is sent to described message second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together.
4. a testing throughput system is characterized in that, this system comprises:
Testing equipment is used for sending and receiving message, and judges whether the message of transmission and the message amount of reception equate;
First Devices to test, be connected with described testing equipment, described first Devices to test comprises first port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with first port bandwidth to be measured, the bandwidth of described port to be measured is the M gigabit, described a plurality of port is gigabit port, and then described a plurality of port numbers are at least M, and wherein M is a positive integer; And this first Devices to test is used to receive the described message that described testing equipment sends, and execution the following step: step 1, after first port of described first Devices to test receives described message, this message is sent to first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together by described port to be measured; Step 2, described second Devices to test are sent to this message second port of this second Devices to test; Step 3, second port of described second Devices to test is sent to this message second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together by described port to be measured; Step 4, described first Devices to test are sent to this message the 3rd port of this first Devices to test; Step 5, repeating step 1 to 4 transmits this message, arrives the M port of described first Devices to test until described message; The M port of described then first Devices to test is sent to described testing equipment with described message;
Second Devices to test, be connected with described first Devices to test, described second Devices to test comprises second port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with second port bandwidth to be measured, described second port to be measured is identical with described first port bandwidth to be measured, and a plurality of ports of described second Devices to test are identical with a plurality of port bandwidths of first Devices to test.
5. system according to claim 4 is characterized in that, described first Devices to test also comprises: first processing unit, be connected with a plurality of ports with described first port to be measured, and be used to transmit the message between these a plurality of ports and first port to be measured;
Described second Devices to test also comprises: second processing unit, be connected with a plurality of ports with described second port to be measured, and be used to transmit the message between these a plurality of ports and second port to be measured.
6. throughput testing approach is characterized in that the method comprising the steps of:
First port of testing equipment and second port send first Devices to test of message to port to be measured place; Wherein, described first Devices to test comprises port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with described port bandwidth to be measured, the bandwidth of described port to be measured is the M gigabit, described a plurality of port is in million ports, then described a plurality of port numbers are at least M, and wherein M is a positive integer;
Described first Devices to test receives this message of first port transmission of described testing equipment, carry out the following step: step 11, after first port of described first Devices to test receives described message, this message is sent to first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together by described port to be measured; Step 12, described second Devices to test are sent to this message second port of this second Devices to test; Step 13, second port of described second Devices to test is sent to this message second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together by described port to be measured; Step 14, described first Devices to test are sent to this message the 3rd port of this first Devices to test; Step 15, repeating step 11 to 14 transmits this message, arrives the M port of described first Devices to test until described message; The M port of described then first Devices to test is sent to described message second port of described testing equipment; Simultaneously, described first Devices to test receives this message of second port transmission of described testing equipment, carry out the following step: step 21, after the M port of described first Devices to test receives described message, this message is sent to the M port that belongs to described second Devices to test of a VLAN with the M port of described first Devices to test together by described port to be measured; Step 22, described second Devices to test is sent to this message the M-1 port of this second Devices to test; Step 23, the M-1 port of described second Devices to test is sent to this message the M-1 port that belongs to described first Devices to test of a VLAN with the M-1 port of this second Devices to test together by described port to be measured; Step 24, described first Devices to test is sent to this message the M-2 port of this first Devices to test; Step 25, repeating step 21 to 24 transmits this message, arrives first port of described first Devices to test until described message; First port of described then first Devices to test is sent to described message first port of described testing equipment;
Described testing equipment judges whether the message amount that described first port, second port send and receive equates;
If judged result is for equating that then testing throughput passes through.
7. a testing throughput system is characterized in that, this system comprises:
Testing equipment comprises second port, second port and processing unit at least, and described first port and second port are used for sending and receiving message, and this processing unit judges whether the message amount that described first port and second port send and receive equates;
First Devices to test, be connected with described testing equipment, described first Devices to test comprises port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with first port bandwidth to be measured, the bandwidth of described port to be measured is the M gigabit, described a plurality of port is gigabit port, and then described a plurality of port numbers are at least M, and wherein M is a positive integer; And this first Devices to test is used to receive the described message that first port of described testing equipment sends, carry out the following step: step 11, after first port of described first Devices to test receives described message, this message is sent to first port that belongs to described second Devices to test of a VLAN with first port of described first Devices to test together by described port to be measured; Step 12, described second Devices to test are sent to this message second port of this second Devices to test; Step 13, second port of described second Devices to test is sent to this message second port that belongs to described first Devices to test of a VLAN with second port of this second Devices to test together by described port to be measured; Step 14, described first Devices to test are sent to this message the 3rd port of this first Devices to test; Step 15, repeating step 11 to 14 transmits this message, arrives the M port of described first Devices to test until described message; The M port of described then first Devices to test is sent to described message second port of described testing equipment; And this first Devices to test also is used to receive the described message that second port of described testing equipment sends, carry out the following step: step 21, after the M port of described first Devices to test receives described message, this message is sent to the M port that belongs to described second Devices to test of a VLAN with the M port of described first Devices to test together by described port to be measured; Step 22, described second Devices to test is sent to this message the M-1 port of this second Devices to test; Step 23, the M-1 port of described second Devices to test is sent to this message the M-1 port that belongs to described first Devices to test of a VLAN with the M-1 port of this second Devices to test together by described port to be measured; Step 24, described first Devices to test is sent to this message the M-2 port of this first Devices to test; Step 25, repeating step 21 to 24 transmits this message, arrives first port of described first Devices to test until described message; First port of described then first Devices to test is sent to described message first port of described testing equipment;
Second Devices to test, be connected with described first Devices to test, described second Devices to test comprises second port to be measured and a plurality of port at least, the equivalent bandwidth of described a plurality of ports equates with second port bandwidth to be measured, described second port to be measured is identical with described first port bandwidth to be measured, and a plurality of ports of described second Devices to test are identical with a plurality of port bandwidths of first Devices to test.
8. system according to claim 7 is characterized in that, described first Devices to test also comprises: first processing unit, be connected with a plurality of ports with described first port to be measured, and be used to transmit the message between these a plurality of ports and first port to be measured;
Described second Devices to test also comprises: second processing unit, be connected with a plurality of ports with described second port to be measured, and be used to transmit the message between these a plurality of ports and second port to be measured.
CN2007101658494A 2007-11-05 2007-11-05 A throughput testing method and testing system Expired - Fee Related CN101146046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101658494A CN101146046B (en) 2007-11-05 2007-11-05 A throughput testing method and testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101658494A CN101146046B (en) 2007-11-05 2007-11-05 A throughput testing method and testing system

Publications (2)

Publication Number Publication Date
CN101146046A CN101146046A (en) 2008-03-19
CN101146046B true CN101146046B (en) 2010-06-02

Family

ID=39208344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101658494A Expired - Fee Related CN101146046B (en) 2007-11-05 2007-11-05 A throughput testing method and testing system

Country Status (1)

Country Link
CN (1) CN101146046B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272289B (en) * 2008-05-09 2010-12-01 中兴通讯股份有限公司 Method for port line-speed transmitting test data frame and Ethernet switchboard
CN102355377B (en) * 2011-06-30 2014-03-26 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
CN102843273B (en) * 2012-08-14 2015-03-04 瑞斯康达科技发展股份有限公司 Method and device for testing throughput of network device
CN103036747A (en) * 2013-01-07 2013-04-10 深圳市新格林耐特通信技术有限公司 Test method for performance of high-density port network equipment
CN103236956B (en) * 2013-04-18 2016-12-28 神州数码网络(北京)有限公司 A kind of method and switch that communication apparatus is carried out testing throughput
CN103716248B (en) * 2013-06-07 2017-03-01 潘晶 A kind of method that ethernet traffic based on Ethernet switching chip generates and analyzes
CN104363132B (en) * 2014-10-28 2018-01-09 南车株洲电力机车研究所有限公司 MVB communication test methods for train apparatus
CN105207954B (en) * 2015-08-25 2018-03-20 东软集团股份有限公司 Send packet and throughput testing approach and device
CN105323122B (en) * 2015-12-04 2019-01-15 北京博维亚讯技术有限公司 A kind of throughput of network device test device and test method based on interchanger
CN105610641B (en) * 2015-12-21 2018-11-09 武汉微创光电股份有限公司 A kind of switch test system and its test method based on HWIL simulation
CN105577474B (en) * 2015-12-23 2018-10-30 迈普通信技术股份有限公司 A kind of method and system of network equipment high-speed port performance test
CN107528744A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of detection method and device of device port
CN106452956B (en) * 2016-09-30 2019-06-21 深圳市吉祥腾达科技有限公司 A kind of Homeplug dormancy wake-up testing system and test method
CN108075911B (en) * 2016-11-14 2020-12-08 中国移动通信集团甘肃有限公司 Service testing method and device
CN109756400A (en) * 2019-03-12 2019-05-14 上海剑桥科技股份有限公司 The flow rate test method and system of 10G POE interchanger
CN111343452B (en) * 2020-02-28 2021-07-06 深圳市吉祥腾达科技有限公司 Switch monitoring belt machine quantity testing method of analog camera
CN112436983B (en) * 2020-11-23 2023-02-17 锐捷网络股份有限公司 Analog wide area network data transmission method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650177A (en) * 2002-02-28 2005-08-03 空气磁体公司 Measuring the throughput of transmissions over wireless local area networks
CN1856712A (en) * 2003-07-23 2006-11-01 英特泰克公司 System and method for optimized test and configuration throughput of electronic circuits
CN1878095A (en) * 2005-06-10 2006-12-13 华为技术有限公司 Device for testing radio transmission performance and method for implementing same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650177A (en) * 2002-02-28 2005-08-03 空气磁体公司 Measuring the throughput of transmissions over wireless local area networks
CN1856712A (en) * 2003-07-23 2006-11-01 英特泰克公司 System and method for optimized test and configuration throughput of electronic circuits
CN1878095A (en) * 2005-06-10 2006-12-13 华为技术有限公司 Device for testing radio transmission performance and method for implementing same

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
10/100交换器性能测试床-测量吞吐量和延时.电子与电脑 10.1995,(10),106-108.
10/100交换器性能测试床-测量吞吐量和延时.电子与电脑 10.1995,(10),106-108. *
王志军.网络与网间吞吐量的测试.智能建筑与城市信息 11.2004,(11),104-106.
王志军.网络与网间吞吐量的测试.智能建筑与城市信息 11.2004,(11),104-106. *

Also Published As

Publication number Publication date
CN101146046A (en) 2008-03-19

Similar Documents

Publication Publication Date Title
CN101146046B (en) A throughput testing method and testing system
CN101296131B (en) Method, device and system for testing switchboard connectivity
CN101247289B (en) Test method and device for forwarding performance of Ethernet switchboard high speed port
CN102726009B (en) Data flow exchange control method and relative device
CN100417136C (en) Down queue fast back pressure transmitting based on three-stage exchange network
JPS60136442A (en) Transmission system of packet switching data
CN103369696B (en) A kind of carrier scheduling method, Apparatus and system
CN105704068B (en) Service mixing centralized processing method and device
CN105530205B (en) Microwave equipment convergence device and method
CN102006231B (en) Method and device for establishing intelligent route of data service network element as well as data service transmission apparatus
CN203851159U (en) Intelligence aggregation Gigabit switch
CN1691609A (en) A method and apparatus for Ethernet converter line side loop back detection
CN101854402B (en) Interface conversion device and stream control implementing method
JP2003018162A (en) Maintenance control system and maintenance control method
CN1719944A (en) Double ring shaped optical exchanging system constituted with non-blocking light burst exchange ring exchange node
CN105933141A (en) Networking method of inter-station communication under hybrid multi-terminal direct-current topology
CN107800639B (en) Switching device, switching device group, data transmission method and computer system
CN1331531A (en) ATM token-ring network
Raghavan et al. A gigabyte-per-second parallel fiber optic network interface for multimedia applications
CN206389382U (en) Transmit the multi-port device of gigabit flow
CN1791097B (en) Control method of RPF protocol applied in optical burst switching ring network based on WDM
JPH01188137A (en) Burst communication system in slot ring type lan
CN205545278U (en) Distributing type ring light switching network structure based on passive optical network
Alam Simulation of multichannel protocols for fiber optics LAN
TWI407729B (en) Bus-type optical fiber network system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100602

Termination date: 20141105

EXPY Termination of patent right or utility model