CN110460485A - Test the device and method of Ethernet interface performance - Google Patents

Test the device and method of Ethernet interface performance Download PDF

Info

Publication number
CN110460485A
CN110460485A CN201810427141.XA CN201810427141A CN110460485A CN 110460485 A CN110460485 A CN 110460485A CN 201810427141 A CN201810427141 A CN 201810427141A CN 110460485 A CN110460485 A CN 110460485A
Authority
CN
China
Prior art keywords
test data
test
equipment under
port
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.)
Granted
Application number
CN201810427141.XA
Other languages
Chinese (zh)
Other versions
CN110460485B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810427141.XA priority Critical patent/CN110460485B/en
Publication of CN110460485A publication Critical patent/CN110460485A/en
Application granted granted Critical
Publication of CN110460485B publication Critical patent/CN110460485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/208Port mirroring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Abstract

The embodiment of the present invention discloses a kind of device and method for testing Ethernet interface performance, can utilize the performance of the Ethernet interface of the tester test higher rate compared with low rate.Device includes: tester, optical splitter and power board;Tester sends test data by first port, optical splitter is n parts identical for test data to be copied into, it sends, power board is for receiving n part test data from optical splitter, it is sent after n parts of test datas are converged, so that equipment under test receives n part test data from power board, choose a copy of it test data, this part of test data is sent, tester receives the test data from equipment under test by second port, verification is compared with the test data sent by first port in the test data, power board and equipment under test are interconnected according to Inspection result port or between channel be tested for the property.

Description

Test the device and method of Ethernet interface performance
Technical field
The present embodiments relate to the communications fields, and in particular to a kind of device and method for testing Ethernet interface performance.
Background technique
The test of high speed Ethernet interface generally requires network test instrument port speed and tested switching equipment port speed Rate will unanimously, i.e., tested switching equipment port speed is if 100G, then the port speed of network test instrument also should be 100G.
For example, the scene of 100 Ethernet high-speed interfaces is generally divided into following 2 kinds: (1) port switching board panel 100G is surveyed Examination (hardware connection is as shown in Figure 1);(2) switching board straddle 100G port test (hardware connection is as shown in Figure 2).Below to hand over Change for panel of the board 100G port test and illustrate the principle of Ethernet interface test: 1 port of network test instrument is (as surveyed Examination instrument P1) given out a contract for a project with full bandwidth, then by 1 port of equipment under test (such as tested port P1), equipment under test will be received Data packet is forwarded by another 1 port (such as tested port P2), and network test instrument passes through another 1 port (such as tester P2 the data packet of the port tester P1 sending) is finally received, and is compared and counts whether have packet loss.At the same time, it tests Instrument P2 can also issue data packet, by opposite path, be eventually returned to tester P1, and comparison and statistical result.By comparing, The result of statistics determines switching board panel 100G port speed.
With the promotion at double of Ethernet exchanging and interface rate, cause the interface rate of often test instrumentation do not catch up with by The development of measurement equipment.The network test instrument of 10G rate can not meet the test request of 25G, 50G, 100G interface rate, need not Disconnected purchases new instrument, and high cost will then be paid by being equipped with matched Ethernet test instrumentation.
Summary of the invention
In view of the shortcomings of the prior art and defect, the embodiment of the present invention provides a kind of test Ethernet interface performance Device and method.
On the one hand, the embodiment of the present invention proposes a kind of device for testing Ethernet interface performance, comprising:
Tester, optical splitter and power board;Wherein,
The first port of the tester connects the optical splitter, and the optical splitter connects the power board, the exchange Plate connects equipment under test, and the equipment under test connects the second port of the tester;
The tester sends test data by the first port, and the optical splitter is for answering the test data It is made n parts identical, and sends, the power board is for receiving n part test data from the optical splitter, general It is sent after the n parts of test data convergence, tests number so that the equipment under test receives n part from the power board According to selection a copy of it test data sends this part of test data, the tester is received by the second port Test data from the equipment under test compares the test data with the test data sent by the first port To verification, the power board and equipment under test are interconnected according to Inspection result port or between channel carry out performance survey Examination, wherein n is positive integer, and the tester sends the rate of test data and the product of n is equal to the power board and is tested The port of apparatus interconnection or between channel rate.
The device of test Ethernet interface performance provided in an embodiment of the present invention, optical splitter issue tester a port Test data be copied into n parts, power board will be sent after n parts of test datas convergences, so that equipment under test is from n parts of test numbers It is sent according to middle selection portion, tester receives the data that equipment under test is sent by another port, by holding one Verification is compared in the test data and the received test data in another port that mouth issues, and carries out to Ethernet interface performance It tests, tester sends the rate of test data in entire scheme and the product of n is equal to the speed in measurand (port or channel) Rate, so as to save cost using the performance of the Ethernet interface of the tester test higher rate compared with low rate.
On the other hand, the embodiment of the present invention proposes a kind of method for testing Ethernet interface performance, comprising:
Tester, the first optical splitter, the second optical splitter, the first power board and the second power board;Wherein,
The first port of the tester connects first optical splitter, the first optical splitter connection first exchange Plate, first power board connect the first equipment under test, and first equipment under test connects the survey by the second equipment under test Try the second port of instrument;
The second port of the tester connects second optical splitter, the second optical splitter connection second exchange Plate, second power board connect second equipment under test, and second equipment under test is connected by first equipment under test Connect the first port of the tester;
The tester sends test data by the first port, and first optical splitter is used for the test number It is n parts identical according to being copied into, and send, first power board is for receiving the n from first optical splitter Part test data will be sent after n parts of test data convergence, so that first equipment under test is received from described N part test data of first power board is transmitted to the second equipment under test processing;
The tester receives the test data from second equipment under test by the second port, by the test Verification is compared with the test data sent by the first port in data, wherein second equipment under test handles number According to process are as follows: choose a test data from n part test data from first equipment under test, which tested into number According to sending;
The tester sends test data by the second port, and second optical splitter is used for the test number It is n parts identical according to being copied into, and send, second power board is for receiving the n from second optical splitter Part test data will be sent after n parts of test data convergence, so that second equipment under test is received from described N part test data of second power board is transmitted to the first equipment under test processing;
The tester receives the test data from first equipment under test by the first port, by the test Verification is compared with the test data sent by the second port in data, according to Inspection result twice to described Two equipment under tests and the first equipment under test interconnection port or between channel be tested for the property, wherein n is positive integer, institute State the process of the first equipment under test processing data are as follows: choose from n part test data from second equipment under test a Test data sends this part of test data, and the tester sends the rate of test data and the product of n equal to described First equipment under test and the second equipment under test interconnection port or between channel rate.
The device of test Ethernet interface performance provided in an embodiment of the present invention, compared to aforementioned device embodiment, we Case is provided with 2 optical splitters and 2 power boards, and the two-way receipts of test data are realized using 2 optical splitters and 2 power boards Hair, tester pass through the Inspection of the test data of bidirectional transmit-receive, to test Ethernet interface performance, entire scheme Middle tester sends the rate of test data and the product of n is equal to the rate in measurand (port or channel), so as to utilize Compared with the performance of the Ethernet interface of the tester test higher rate of low rate.
The third aspect, the embodiment of the present invention provide a kind of side of test Ethernet interface performance based on device above-mentioned Method, comprising:
The tester sends test data by the first port;
The test data is copied into n parts identical by the optical splitter, and sends;
The power board receives n part test data from the optical splitter, will send after n parts of test data convergence It goes out, so that the equipment under test receives n part test data from the power board, chooses a copy of it test data, it will This part of test data is sent;
The tester receives the test data from the equipment under test by the second port, by the test data Verification is compared with the test data sent by the first port, according to Inspection result to the power board and by Measurement equipment interconnection port or between channel be tested for the property.
The method of test Ethernet interface performance provided in an embodiment of the present invention, optical splitter issue tester a port Test data be copied into n parts, power board will be sent after n parts of test datas convergences, so that equipment under test is from n parts of test numbers It is sent according to middle selection portion, tester receives the data that equipment under test is sent by another port, by holding one Verification is compared in the test data and the received test data in another port that mouth issues, and carries out to Ethernet interface performance It tests, tester sends the rate of test data in entire scheme and the product of n is equal to the speed in measurand (port or channel) Rate, so as to save cost using the performance of the Ethernet interface of the tester test higher rate compared with low rate.
Fourth aspect, the embodiment of the present invention provide a kind of side of test Ethernet interface performance based on device above-mentioned Method, comprising:
The tester sends test data by the first port, and first optical splitter answers the test data It is made n parts identical, and sends, first power board receives n part test number from first optical splitter According to, will the n parts of test data convergence after send, for first equipment under test receive come from first power board N part test data, be transmitted to second equipment under test processing;
The tester receives the test data from second equipment under test by the second port, by the test Verification is compared with the test data sent by the first port in data;
The tester sends test data by the second port, and second optical splitter answers the test data It is made n parts identical, and sends, second power board receives n part test number from second optical splitter According to, will the n parts of test data convergence after send, for second equipment under test receive come from second power board N part test data, be transmitted to first equipment under test processing;
The tester receives the test data from first equipment under test by the first port, by the test Verification is compared with the test data sent by the second port in data, according to Inspection result twice to described Two equipment under tests and the first equipment under test interconnection port or between channel be tested for the property.
The method of test Ethernet interface performance provided in an embodiment of the present invention, compared to preceding method embodiment, we Case is provided with 2 optical splitters and 2 power boards, and the two-way receipts of test data are realized using 2 optical splitters and 2 power boards Hair, tester pass through the Inspection of the test data of bidirectional transmit-receive, to test Ethernet interface performance, entire scheme Middle tester sends the rate of test data and the product of n is equal to the rate in measurand (port or channel), so as to utilize Compared with the performance of the Ethernet interface of the tester test higher rate of low rate.
Detailed description of the invention
Fig. 1 is the hardware connection diagram of existing switching board panel 100G port test;
Fig. 2 is the hardware connection diagram of existing switching board straddle 100G port test;
Fig. 3 is the hardware connection diagram for one embodiment of device that the embodiment of the present invention tests Ethernet interface performance;
Fig. 4 is the hardware connection diagram for another embodiment of device that the embodiment of the present invention tests Ethernet interface performance;
Fig. 5 is the hardware connection diagram for the another embodiment of device that the embodiment of the present invention tests Ethernet interface performance;
Fig. 6 is the hardware connection diagram for the another embodiment of device that the embodiment of the present invention tests Ethernet interface performance;
Fig. 7 is the flow diagram for one embodiment of method that the embodiment of the present invention tests Ethernet interface performance;
Fig. 8 is the flow diagram for the another embodiment of method that the embodiment of the present invention tests Ethernet interface performance.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, the range of protection of the embodiment of the present invention is belonged to.
Referring to Fig. 3, the present embodiment discloses a kind of device for testing Ethernet interface performance, comprising:
Tester 10, optical splitter 11 and power board 12;Wherein,
The first port of the tester 10 connects the optical splitter 11, and the optical splitter 11 connects the power board 12, The power board 12 connects equipment under test, and the equipment under test connects the second port of the tester 10;
The tester 10 sends test data by the first port, and the optical splitter 11 is used for the test Data are copied into n parts identical, and send, the power board 12 is for receiving n part from the optical splitter 11 Test data will send after n parts of test data convergence, come from the power board so that the equipment under test receives 12 n part test data is chosen a copy of it test data, this part of test data is sent, the tester 10 passes through The second port receives the test data from the equipment under test, which is sent with by the first port Test data verification is compared, the port that the power board 12 and equipment under test are interconnected according to Inspection result or it Between channel be tested for the property, wherein n is positive integer, and the tester 10 sends rate and product of n of test data etc. In the port that the power board 12 and equipment under test interconnect or between channel rate.
The device of test Ethernet interface performance provided in an embodiment of the present invention, optical splitter issue tester a port Test data be copied into n parts, power board will be sent after n parts of test datas convergences, so that equipment under test is from n parts of test numbers It is sent according to middle selection portion, tester receives the data that equipment under test is sent by another port, by holding one Verification is compared in the test data and the received test data in another port that mouth issues, and carries out to Ethernet interface performance It tests, tester sends the rate of test data in entire scheme and the product of n is equal to the speed in measurand (port or channel) Rate, so as to save cost using the performance of the Ethernet interface of the tester test higher rate compared with low rate.
Below to illustrate test of the invention for the performance using 10G network tester test 100G Ethernet interface Journey, is illustrated in figure 4 specific hardware connection diagram, entire test process need to use 10G network tester, optical splitter and 100G power board.
10G network tester is the most critical equipment in test device, for sending and receiving test data with full bandwidth Packet, statistical test counts and result.Optical splitter is the key that test accessory in test device, is used for optical signal (this hair The test data issued in bright for 10G network tester) identical 10 parts of optical signals are copied into, and send, at This is very low.100G power board (being made of the board that 1 piece of board or muti-piece interface interconnect) comes from for realizing reception and divides The data of 10 road 10G optical signal of light Qi, and the difference of port numbers based on the received are added different to 10 tunnels reception data Vlan (such as No. Vlan that includes in the Vlan head of 10 tunnel test datas is respectively set to from 1 to 10), then pass through 1 100G ether trunking simultaneously issues.Equipment under test (being made of the board that 1 piece of board or 2 pieces of interfaces interconnect) at least has 1 (port 10G is used for and 10G is surveyed for a port 100G (port 100G is used for and the interconnection of 100G power board) and 1 port 10G Try instrument interconnection).Equipment under test receives the data from 100G power board, chooses wherein 1 No. Vlan (such as No. Vlan is 1) Data are forwarded after removing Vlan by the port 10G of equipment under test, while will be with other No. Vlan (2 to 10) data It abandons.After the port P2 of 10G tester receives the data from equipment under test, the data issued with oneself port P1 are compared Verification, checks whether packet loss, and whether part is wrong etc. for data, and is counted, and determines 100G power board according to statistical result And the performance of the 100G interface (channel between or) of equipment under test interconnection.
The data flow of entire test process are as follows: 10G tester P1-> optical splitter-> 100G power board-(100G number According to)-> equipment under test-(10G data)-> 10G tester P2.It is understood that the content in 100G data flow is 10 Part 10G data of equal value (path of process is duplicate), it is possible to think the test result of 1 circuit-switched data therein It can reflect the actual test result of entire 10 circuit-switched data.
Referring to Fig. 5, the present embodiment discloses a kind of device for testing Ethernet interface performance, comprising:
Tester 20, the first optical splitter 21, the second optical splitter 22, the first power board 23 and the second power board 24;Wherein,
The first port of the tester 20 connects first optical splitter 21, and first optical splitter 21 connects described the One power board 23, first power board 23 connect the first equipment under test, and first equipment under test passes through the second equipment under test Connect the second port of the tester 20;
The second port of the tester 20 connects second optical splitter 22, and second optical splitter 22 connects described the Two power boards 24, second power board 24 connect second equipment under test, and second equipment under test passes through described first Equipment under test connects the first port of the tester 20;
The tester 20 sends test data by the first port, and first optical splitter 21 is used for the survey Examination data are copied into n part identical, and send, first power board 23 is divided for receiving from described first N part test data of device 21 will send after n parts of test data convergence, come so that first equipment under test receives From n part test data of first power board 23, it is transmitted to the second equipment under test processing;
The tester 20 receives the test data from second equipment under test by the second port, by the survey It tries data and verification is compared with the test data sent by the first port, wherein the second equipment under test processing The process of data are as follows: choose a test data from n part test data from first equipment under test, which is tested Data are sent;
The tester 20 sends test data by the second port, and second optical splitter 22 is used for the survey Examination data are copied into n part identical, and send, second power board 24 is divided for receiving from described second N part test data of device 22 will send after n parts of test data convergence, come so that second equipment under test receives From n part test data of second power board 24, it is transmitted to the first equipment under test processing;
The tester 20 receives the test data from first equipment under test by the first port, by the survey It tries data and verification is compared with the test data sent by the second port, according to Inspection result twice to described Second equipment under test and the first equipment under test interconnection port or between channel be tested for the property, wherein n is positive integer, The process of the first equipment under test processing data are as follows: choose one from n part test data from second equipment under test Part test data, this part of test data is sent, and the tester 20 sends the rate of test data and the product of n is equal to First equipment under test and the second equipment under test interconnection port or between channel rate.
The device of test Ethernet interface performance provided in an embodiment of the present invention, compared to aforementioned device embodiment, we Case is provided with 2 optical splitters and 2 power boards, and the two-way receipts of test data are realized using 2 optical splitters and 2 power boards Hair, tester pass through the Inspection of the test data of bidirectional transmit-receive, to test Ethernet interface performance, entire scheme Middle tester sends the rate of test data and the product of n is equal to the rate in measurand (port or channel), so as to utilize Compared with the performance of the Ethernet interface of the tester test higher rate of low rate.
Fig. 3, test process shown in unidirectional test schematic diagram is the most crucial content of the present invention in 4, by what is unidirectionally tested Method is further improved the method that two-way test can be achieved, i.e., process as shown in Figure 5,6.Below to be surveyed using 10G network Illustrate two-way test process (specific hardware connection diagram of the invention for the performance of examination instrument test 100G Ethernet interface As shown in Figure 6).Entire test process is as aforementioned unidirectional test process, it is also desirable to use 10G network tester, optical splitter The port tester P1 and P2 is realized the difference is that optical splitter and 100G power board are required to use 2 with 100G power board For the 10G data conversion of transmission at the data flow of 100G bandwidth, equipment under test A and B at least have 2 ports 100G (2 respectively The port 100G is respectively used to and 100G power board, the interconnection of another equipment under test) and 1 port 10G (for and 10G test Instrument interconnection).
In two-way test, the sending and receiving data port each other 2 ports P1 and P2 of 10G tester;The port P1 sends test number The process of test data is received according to, the port P2 are as follows: 10G tester sends test data by the port P1, and the first optical splitter is by institute It states test data and is copied into identical 10 parts, and send, the first 100G power board is received from first light splitting 10 parts of test datas of device, the based on the received difference of port numbers receive data to 10 tunnels and add different Vlan heads (such as general No. Vlan for including in the Vlan head of 10 tunnel test datas is respectively set to from 1 to 10), then pass through 1 100G ether port It converges and sends.Equipment under test B receives 10 parts of test datas from first power board, is transmitted to equipment under test A, Equipment under test A receives 10 parts of test datas from equipment under test B, chooses the number of wherein 1 No. Vlan (such as No. Vlan is 1) According to being forwarded after removing Vlan by the port 10G of equipment under test A, while will be with other No. Vlan (2 to 10) data It abandons.10G tester receives the test data from equipment under test A by the port P2, by the test data and passes through the port P1 Verification is compared in the test data of transmission, checks whether packet loss, and whether part is wrong etc. for data, and is counted.The mistake The data flow of journey are as follows: 10G tester P1-> the first optical splitter-> the first 100G power board-(100G data)-> equipment under test B-(100G data)-> equipment under test A-(10G data)-> 10G tester P2.
The port P2 sends test data, and the port P1 receives the process of test data and the aforementioned port P1 sends test data, The process that the port P2 receives test data is similar, specifically: 10G tester sends test data, the second light splitting by the port P2 The test data is copied into identical 10 parts by device, and is sent, and the 2nd 100G power board is received from described the 10 parts of test datas of two optical splitters, the difference of port numbers, receives data to 10 tunnels and adds different Vlan heads based on the received (such as No. Vlan that includes in the Vlan head of 10 tunnel test datas is respectively set to from 11 to 20) then passes through 1 100G Ether trunking is simultaneously sent.Equipment under test A receive 10 parts of test datas from second power board, be transmitted to by 10 part test datas of measurement equipment B, equipment under test the B reception from equipment under test A, selection wherein 1 No. Vlan (such as Vlan Number for data 11), forwarded after removing Vlan by the port 10G of equipment under test B, while will be No. Vlan (12 with other It is abandoned to data 20).10G tester by the port P1 receive the test data from equipment under test B, by the test data with Verification is compared by the test data that the port P2 is sent, checks whether packet loss, whether part is wrong etc. for data, and carries out Statistics.10G tester according to two-way Inspection result to the port interconnected equipment under test A and equipment under test B or between Channel is tested for the property.
The data flow of the process are as follows: 10G tester P2-> optical splitter-> 100G power board-(100G data)-> tested Equipment A-(100G data)-> equipment under test B-(10G data)-> 10G tester P1.
It is understood that test process above-mentioned, either unidirectional is still two-way, is to utilize 10G tester 100G Ethernet interface performance is tested, on this basis, naturally it is also possible to the Ethernet of other rates is tested using 10G tester Interface capability, or the Ethernet interface performance of the tester test different rates using other rates, it is only necessary to guarantee light splitting The product of the test data number of copies of device and tester rate is equal to Ethernet interface rate, specifically, such as can be with Utilize the Ethernet interfaces performances such as the test of 10G tester 25G, 40G, 50G.
Referring to Fig. 7, the present embodiment discloses a kind of test Ethernet interface performance based on device described in previous embodiment Method, comprising:
S10, the tester send test data by the first port;
The test data is copied into n parts identical by S11, the optical splitter, and sends;
S12, the power board receive n part test data from the optical splitter, and the n parts of test data is converged After send, for the equipment under test receive n part test data from the power board, choose a copy of it test number According to this part of test data is sent;
S13, the tester receive the test data from the equipment under test by the second port, by the test Verification is compared with the test data sent by the first port in data, according to Inspection result to the power board And equipment under test interconnection port or between channel be tested for the property.
The method of test Ethernet interface performance provided in an embodiment of the present invention, optical splitter issue tester a port Test data be copied into n parts, power board will be sent after n parts of test datas convergences, so that equipment under test is from n parts of test numbers It is sent according to middle selection portion, tester receives the data that equipment under test is sent by another port, by holding one Verification is compared in the test data and the received test data in another port that mouth issues, and carries out to Ethernet interface performance It tests, tester sends the rate of test data in entire scheme and the product of n is equal to the speed in measurand (port or channel) Rate, so as to save cost using the performance of the Ethernet interface of the tester test higher rate compared with low rate.
On the basis of preceding method embodiment, sent after the convergence by the n parts of test data, for described Equipment under test receives n part test data from the power board, chooses a copy of it test data, this part of test data is sent out It sees off, may include:
It will be sent after n parts of test data convergence, so that the equipment under test receives the n from the power board Part test data, different Vlan heads is added to the n parts of test data, chooses wherein 1 No. Vlan test data, will The test data is sent after removing Vlan, wherein includes No. Vlan in Vlan described.
Referring to Fig. 8, the present embodiment discloses a kind of test Ethernet interface performance based on device described in previous embodiment Method, comprising:
S20, the tester send test data by the first port, and first optical splitter is by the test number It is n parts identical according to being copied into, and send, first power board receives n part from first optical splitter and surveys Data are tried, will send after n parts of test data convergence, handed over so that first equipment under test is received from described first The n part test data for changing plate is transmitted to the second equipment under test processing;
S21, the tester receive the test data from second equipment under test by the second port, by this Verification is compared with the test data sent by the first port in test data;
S22, the tester send test data by the second port, and second optical splitter is by the test number It is n parts identical according to being copied into, and send, second power board receives n part from second optical splitter and surveys Data are tried, will send after n parts of test data convergence, handed over so that second equipment under test is received from described second The n part test data for changing plate is transmitted to the first equipment under test processing;
S23, the tester receive the test data from first equipment under test by the first port, by this Verification is compared with the test data sent by the second port in test data, according to Inspection result twice to institute State the second equipment under test and the first equipment under test interconnection port or between channel be tested for the property.
The method of test Ethernet interface performance provided in an embodiment of the present invention, compared to preceding method embodiment, we Case is provided with 2 optical splitters and 2 power boards, and the two-way receipts of test data are realized using 2 optical splitters and 2 power boards Hair, tester pass through the Inspection of the test data of bidirectional transmit-receive, to test Ethernet interface performance, entire scheme Middle tester sends the rate of test data and the product of n is equal to the rate in measurand (port or channel), so as to utilize Compared with the performance of the Ethernet interface of the tester test higher rate of low rate.
On the basis of preceding method embodiment, the process of the second equipment under test processing data is specifically as follows: to N part test data from first equipment under test adds different Vlan heads, chooses wherein 1 No. Vlan test number According to being sent after the test data is removed Vlan;
The process of the first equipment under test processing data is specifically as follows: to n part from second equipment under test Test data adds different Vlan heads, chooses wherein 1 No. Vlan test data, which is removed Vlan head After send.
The invention has the following beneficial effects:
1, existing test equipment and board resource are greatly utilized, without additionally purchasing instrument, greatly saves veneer Innovation Input cost;
2, implementation is simple, and strong operability, the program has passed through actual verification;
3, flexibility is high, can test interface it is extensive, which can be to 25G, 40G, 50G, 100G (even higher number Rate) interface tested.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.Term " on ", "lower" etc. refer to The orientation or positional relationship shown is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of the description present invention and simplifies Description, rather than the device or element of indication or suggestion meaning must have a particular orientation, constructed and grasped with specific orientation Make, therefore is not considered as limiting the invention.Unless otherwise clearly defined and limited, term " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be Mechanical connection, is also possible to be electrically connected;It can be directly connected, two can also be can be indirectly connected through an intermediary Connection inside element.For the ordinary skill in the art, above-mentioned term can be understood at this as the case may be Concrete meaning in invention.
In specification of the invention, numerous specific details are set forth.Although it is understood that the embodiment of the present invention can To practice without these specific details.In some instances, well known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this specification.Similarly, it should be understood that disclose in order to simplify the present invention and helps to understand respectively One or more of a inventive aspect, in the above description of the exemplary embodiment of the present invention, each spy of the invention Sign is grouped together into a single embodiment, figure, or description thereof sometimes.However, should not be by the method solution of the disclosure Release is in reflect an intention that i.e. the claimed invention requires more than feature expressly recited in each claim More features.More precisely, as the following claims reflect, inventive aspect is less than single reality disclosed above Apply all features of example.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, It is wherein each that the claims themselves are regarded as separate embodiments of the invention.It should be noted that in the absence of conflict, this The feature in embodiment and embodiment in application can be combined with each other.The invention is not limited to any single aspect, It is not limited to any single embodiment, is also not limited to any combination and/or displacement of these aspects and/or embodiment.And And can be used alone each aspect and/or embodiment of the invention or with other one or more aspects and/or its implementation Example is used in combination.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme should all cover within the scope of the claims and the description of the invention.

Claims (10)

1. a kind of device for testing Ethernet interface performance characterized by comprising
Tester, optical splitter and power board;Wherein,
The first port of the tester connects the optical splitter, and the optical splitter connects the power board, and the power board connects Equipment under test is connect, the equipment under test connects the second port of the tester;
The tester sends test data by the first port, and the optical splitter is for the test data to be copied into It is n parts identical, and send, the power board, will be described for receiving n part test data from the optical splitter It is sent after n parts of test data convergences, so that the equipment under test receives n part test data from the power board, choosing A copy of it test data is taken, this part of test data is sent, the tester is come from by second port reception School is compared with the test data sent by the first port in the test data by the test data of the equipment under test Test, the power board and equipment under test are interconnected according to Inspection result port or between channel be tested for the property, Wherein, n is positive integer, and the tester sends the rate of test data and the product of n is equal to the power board and equipment under test The port of interconnection or between channel rate.
2. the apparatus according to claim 1, which is characterized in that the power board is sent out after converging the n parts of test data It sees off, so that the equipment under test receives n part test data from the power board, is added to the n parts of test data Different Vlan heads is chosen wherein 1 No. Vlan test data, is sent after which is removed Vlan, In, it is Vlan described in include No. Vlan.
3. device according to claim 1 or 2, which is characterized in that the rate of the tester is 10G, n 10.
4. a kind of device for testing Ethernet interface performance characterized by comprising
Tester, the first optical splitter, the second optical splitter, the first power board and the second power board;Wherein,
The first port of the tester connects first optical splitter, and first optical splitter connects first power board, First power board connects the first equipment under test, and first equipment under test connects the tester by the second equipment under test Second port;
The second port of the tester connects second optical splitter, and second optical splitter connects second power board, Second power board connects second equipment under test, and second equipment under test connects institute by first equipment under test State the first port of tester;
The tester sends test data by the first port, and first optical splitter is for answering the test data It is made n parts identical, and sends, first power board is used to receive n part survey from first optical splitter Data are tried, will send after n parts of test data convergence, handed over so that first equipment under test is received from described first The n part test data for changing plate is transmitted to the second equipment under test processing;
The tester receives the test data from second equipment under test by the second port, by the test data Verification is compared with the test data sent by the first port, wherein the second equipment under test processing data Process are as follows: choose a test data from n part test data from first equipment under test, this part of test data is sent out It sees off;
The tester sends test data by the second port, and second optical splitter is for answering the test data It is made n parts identical, and sends, second power board is used to receive n part survey from second optical splitter Data are tried, will send after n parts of test data convergence, handed over so that second equipment under test is received from described second The n part test data for changing plate is transmitted to the first equipment under test processing;
The tester receives the test data from first equipment under test by the first port, by the test data Verification is compared with the test data sent by the second port, according to Inspection result twice to second quilt The port of measurement equipment and the interconnection of the first equipment under test or between channel be tested for the property, wherein n is positive integer, described the The process of one equipment under test processing data are as follows: a test is chosen from n part test data from second equipment under test Data send this part of test data, and the tester sends the rate of test data and the product of n is equal to described first Equipment under test and the second equipment under test interconnection port or between channel rate.
5. device according to claim 4, which is characterized in that the process of the second equipment under test processing data is specific Are as follows: different Vlan heads is added to n part test data from first equipment under test, chooses wherein 1 No. Vlan survey Data are tried, are sent after which is removed Vlan;
The process of the first equipment under test processing data specifically: to n part test data from second equipment under test Different Vlan heads is added, wherein 1 No. Vlan test data is chosen, is sent out after which is removed Vlan It goes.
6. device according to claim 4 or 5, which is characterized in that the rate of the tester is 10G, n 10.
7. a kind of method of the test Ethernet interface performance based on the described in any item devices of claims 1 to 3, feature exist In, comprising:
The tester sends test data by the first port;
The test data is copied into n parts identical by the optical splitter, and sends;
The power board receives n part test data from the optical splitter, will send out after n parts of test data convergence It goes, so that the equipment under test receives n part test data from the power board, a copy of it test data is chosen, by this Part test data is sent;
The tester receives the test data from the equipment under test by the second port, by the test data and leads to It crosses the test data that the first port is sent and verification is compared, the power board is set with tested according to Inspection result The port of standby interconnection or between channel be tested for the property.
8. the method according to the description of claim 7 is characterized in that it is described by the n parts of test data convergence after send, So that the equipment under test receives n part test data from the power board, a copy of it test data is chosen, which is surveyed Examination data are sent, comprising:
It will send after n parts of test data convergence, surveyed so that the equipment under test receives n part from the power board Data are tried, different Vlan heads is added to the n parts of test data, wherein 1 No. Vlan test data are chosen, by the test Data are sent after removing Vlan, wherein include No. Vlan in Vlan described.
9. a kind of method of the test Ethernet interface performance based on the described in any item devices of claim 4 to 6, feature exist In, comprising:
The tester sends test data by the first port, and the test data is copied by first optical splitter It is n parts identical, and send, first power board receives n part test data from first optical splitter, will It is sent after the n parts of test data convergence, so that first equipment under test receives n part from first power board Test data is transmitted to the second equipment under test processing;
The tester receives the test data from second equipment under test by the second port, by the test data Verification is compared with the test data sent by the first port;
The tester sends test data by the second port, and the test data is copied by second optical splitter It is n parts identical, and send, second power board receives n part test data from second optical splitter, will It is sent after the n parts of test data convergence, so that second equipment under test receives n part from second power board Test data is transmitted to the first equipment under test processing;
The tester receives the test data from first equipment under test by the first port, by the test data Verification is compared with the test data sent by the second port, according to Inspection result twice to second quilt Measurement equipment and the first equipment under test interconnection port or between channel be tested for the property.
10. according to the method described in claim 9, it is characterized in that, the process of second equipment under test processing data is specific Are as follows: different Vlan heads is added to n part test data from first equipment under test, chooses wherein 1 No. Vlan survey Data are tried, are sent after which is removed Vlan;
The process of the first equipment under test processing data specifically: to n part test data from second equipment under test Different Vlan heads is added, wherein 1 No. Vlan test data is chosen, is sent out after which is removed Vlan It goes.
CN201810427141.XA 2018-05-07 2018-05-07 Device and method for testing Ethernet interface performance Active CN110460485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810427141.XA CN110460485B (en) 2018-05-07 2018-05-07 Device and method for testing Ethernet interface performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810427141.XA CN110460485B (en) 2018-05-07 2018-05-07 Device and method for testing Ethernet interface performance

Publications (2)

Publication Number Publication Date
CN110460485A true CN110460485A (en) 2019-11-15
CN110460485B CN110460485B (en) 2021-05-07

Family

ID=68471942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810427141.XA Active CN110460485B (en) 2018-05-07 2018-05-07 Device and method for testing Ethernet interface performance

Country Status (1)

Country Link
CN (1) CN110460485B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465924A (en) * 2021-12-24 2022-05-10 阿里巴巴(中国)有限公司 Network equipment testing method, data packet generating method and switching chip

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
US7378861B1 (en) * 2003-04-07 2008-05-27 Luxtera, Inc. Optical alignment loops for the wafer-level testing of optical and optoelectronic chips
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102571198A (en) * 2011-12-31 2012-07-11 武汉烽火网络有限责任公司 System and method for carrying out EPON (Ethemet-based passive optical network) performance test based on emulational ONU (optical network unit)
CN103107924A (en) * 2013-03-06 2013-05-15 深圳市新格林耐特通信技术有限公司 Testing method for performance of network device with high-rate port by utilizing low-rate port
CN103532785A (en) * 2013-10-18 2014-01-22 上海斐讯数据通信技术有限公司 Full load test method for Ethernet switch
CN203788305U (en) * 2014-02-12 2014-08-20 明瑞电子(成都)有限公司 Ethernet flow multiplier
US8873963B2 (en) * 2012-07-25 2014-10-28 Doron Handelman Apparatus and methods for generating and receiving optical signals at substantially 100Gb/s and beyond
US20140341561A1 (en) * 2013-05-20 2014-11-20 Futurewei Technologies, Inc. Cooperative Multi-Point (CoMP) in a Passive Optical Network (PON)
CN107528744A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of detection method and device of device port

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7378861B1 (en) * 2003-04-07 2008-05-27 Luxtera, Inc. Optical alignment loops for the wafer-level testing of optical and optoelectronic chips
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102571198A (en) * 2011-12-31 2012-07-11 武汉烽火网络有限责任公司 System and method for carrying out EPON (Ethemet-based passive optical network) performance test based on emulational ONU (optical network unit)
US8873963B2 (en) * 2012-07-25 2014-10-28 Doron Handelman Apparatus and methods for generating and receiving optical signals at substantially 100Gb/s and beyond
CN103107924A (en) * 2013-03-06 2013-05-15 深圳市新格林耐特通信技术有限公司 Testing method for performance of network device with high-rate port by utilizing low-rate port
US20140341561A1 (en) * 2013-05-20 2014-11-20 Futurewei Technologies, Inc. Cooperative Multi-Point (CoMP) in a Passive Optical Network (PON)
CN103532785A (en) * 2013-10-18 2014-01-22 上海斐讯数据通信技术有限公司 Full load test method for Ethernet switch
CN203788305U (en) * 2014-02-12 2014-08-20 明瑞电子(成都)有限公司 Ethernet flow multiplier
CN107528744A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of detection method and device of device port

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汤奥: "基于PCI_E接口数据采集系统FPGA设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465924A (en) * 2021-12-24 2022-05-10 阿里巴巴(中国)有限公司 Network equipment testing method, data packet generating method and switching chip
CN114465924B (en) * 2021-12-24 2023-12-22 阿里巴巴(中国)有限公司 Network equipment testing method, data packet generating method and switching chip

Also Published As

Publication number Publication date
CN110460485B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN102946325B (en) Network diagnosis method, system and equipment based on software defined network
CN103746884A (en) Method and system for testing flow through switchboard
US7673184B2 (en) Flow control methodology for digital retiming devices
US9065742B2 (en) Snooping in SAS expander networks
CN103618646B (en) Network performance, packet loss, time delay measuring method and network edge node equipment
US9736064B2 (en) Offline queries in software defined networks
CN104615477A (en) Cycle-accurate replay and debugging of running fpga systems
CN102104502A (en) Ethernet equipment performance test platform based on Linux system
CN102307118A (en) Back plate test method, apparatus thereof and system thereof
CN107908420A (en) A kind of code process method, apparatus and system
AU2022279438A1 (en) Networks for packet monitoring and replay
Zhou et al. KeySight: Troubleshooting programmable switches via scalable high-coverage behavior tracking
CN110460485A (en) Test the device and method of Ethernet interface performance
CN100366003C (en) Device and method for emulated route analysis test
CN105162653A (en) Fault detection device for communication data
CN108011766A (en) A kind of system architecture and distribution relation automatic switching control equipment
CN101958816A (en) High speed core switching equipment testing system and testing method thereof
FIU20020469U0 (en) JTAG testing arrangement
CN207460208U (en) A kind of system architecture and wiring relation automatic switching control equipment
CN108089952A (en) A kind of automated test device
CN105634839A (en) Method and device for acquiring accessible address space of network
Sagkriotis et al. Accelerating kubernetes with in-network caching
CN104796276B (en) A kind of link switch-over method and system
Nannipieri et al. Building Blocks of a SpaceFibre Network: Examples Designs
Norris et al. Method for the synthesis of interactive system specifications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant