CN103916286B - Test method and device for detecting network device - Google Patents

Test method and device for detecting network device Download PDF

Info

Publication number
CN103916286B
CN103916286B CN201310007776.1A CN201310007776A CN103916286B CN 103916286 B CN103916286 B CN 103916286B CN 201310007776 A CN201310007776 A CN 201310007776A CN 103916286 B CN103916286 B CN 103916286B
Authority
CN
China
Prior art keywords
package
test
network
measured
local area
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
CN201310007776.1A
Other languages
Chinese (zh)
Other versions
CN103916286A (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.)
HAOYANG TIANYU TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
HAOYANG TIANYU TECHNOLOGY (SHENZHEN) 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 HAOYANG TIANYU TECHNOLOGY (SHENZHEN) Co Ltd filed Critical HAOYANG TIANYU TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN201310007776.1A priority Critical patent/CN103916286B/en
Priority to TW102103150A priority patent/TWI514813B/en
Publication of CN103916286A publication Critical patent/CN103916286A/en
Application granted granted Critical
Publication of CN103916286B publication Critical patent/CN103916286B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a test method and device for detecting a network device. The test method includes the following steps of firstly, providing multiple virtual local network channels for a route of a first self-loop loop port and a rout of a second self-loop loop port so as to correspond to all network test ports, wherein the first self-loop loop port and the second self-loop loop port are connected with each other; secondly, receiving packets to be tested and transmitting the packets to be tested to the first loop port so as to increase the transmitting speed of the packets; thirdly, selecting a target transmitting test port and a target receiving test port from the network test ports, and allocating the packets to be tested to the virtual local network channel corresponding to the target transmitting test port; fourthly, transmitting the packets which are to be tested and are accelerated in a self-loop mode to a network device which is to be tested and is connected with the target transmitting test port through the virtual local network channel corresponding to the target transmitting test port; fifthly, receiving related packets corresponding to the packets to be tested from a network device which is to be tested and is connected with the target receiving test port; sixthly, analyzing the execution results in the transmitting step and the receiving step.

Description

For detecting the method for testing and device of the network equipment
Technical field
The present invention relates to a kind of method of testing and device for detecting the network equipment, more particularly to one kind is by virtual LAN passage, carries out detecting the method for testing and device of the network equipment.
Background technology
With the high development of communication network, network has melted the part for people's life, becomes people and exchanges, obtains Take, the medium that transmission information is indispensable.Therefore, modem(modem), hub(hub), exchanger(switch)、 Router(router)It is seen everywhere Deng network communication apparatus.
Network communication apparatus miscellaneous from design, develop to during production, it is necessary to through test repeatedly. Wherein, in network communication apparatus test process, the package test instrumentation of a specialty is indispensable outfit.However, this Class testing Meter cost is not striking, increased the cost of research and development and the production of network communication apparatus.
The content of the invention
It is an object of the invention to provide a kind of method of testing for detecting the network equipment, it can be via computer program To carry out practical operation, test instrumentation equipment is eliminated, and then reduce the cost of research and development and the production of network communication apparatus.
Another object of the present invention is to provide a kind of test device for detecting the network equipment, and it eliminates test instrumentation Equipment, and then reduce the cost of the test device of network communication apparatus.
For achieving the above object, the present invention provides a kind of method of testing for detecting the network equipment, comprises the following steps:
(a)One first loop ports, one second loop ports and several network test ports are provided, the first loop end Mouth and second loop ports are connected with each other and are arranged to from ring;
(b)On the path of first loop ports and second loop ports, there is provided several Virtual Local Area Networks lead to One of road, those network test ports of each of which Virtual Local Area Network passage correspondence;
(c)A package to be measured is received and transmitted to first loop ports;
(d)From in those network test ports, at least target transmission test port and an at least intended recipient are selected Test port, and the package to be measured is distributed to the corresponding Virtual Local Area Network of at least target transmission test port lead to Road;
(e)By being connected with each other and from first loop ports and second loop ports of ring, accelerate the envelope to be measured The transfer rate of bag;
(f)The corresponding Virtual Local Area Network passage of test port is transmitted by an at least target, ring acceleration is delivered from The network under test equipment that the package to be measured afterwards is connected at least target transmission test port;
(g)From the network under test equipment that an at least intended recipient test port is connected, the package pair to be measured is received At least one related package answered;And
(h)According to step(f)And(g)Implementing result, obtain test result to the network under test equipment.
Also include:
One of several service quality queues, each those network test ports of service quality queue correspondence are provided;
Receive a target detection speed of the package to be measured;And
In execution step(f)When, transmit the corresponding service quality queue of test port by by an at least target Bandwidth(bandwidth)Set to the target detection speed, the transfer rate of the package to be measured is controlled to the target detection Speed.
Also include:
The identification information of the corresponding Virtual Local Area Network passage of at least target transmission test port is added to this Package to be measured,
The step(f)According to the identification information of the corresponding Virtual Local Area Network passage, at least target transmission is found Corresponding Virtual Local Area Network passage of test port, with execution step(f)Transmission.
Also include:
After the identification information for removing the corresponding Virtual Local Area Network passage of at least target transmission test port, hold Row step(f).
Should be in step(d)Selected in the quantity of at least target transmission test port be several, the method for testing Also include:
By the identification information of those corresponding those Virtual Local Area Network passages of target transmission test port, add this to be measured Package, makes whereby step(f)According to the identification information of corresponding those Virtual Local Area Network passages, find those target transmission and survey Corresponding those Virtual Local Area Network passages in examination port, with execution step(f)Transmission.
The present invention also provides a kind of for detecting network equipment detection device, and it includes:
One first loop ports;
One second loop ports, are electrically connected with first loop ports;
Several network test ports;And
One process assembly, is electrically connected with first loop ports, second loop ports and those network test ports, The process assembly is included:
One passage provides module, on the path of first loop ports and second loop ports, there is provided Shuo Gexu Intend one of LAN passage, those network test ports of each of which Virtual Local Area Network passage correspondence;
One package processing module, receives and transmits the package to be measured to first loop ports;
One setting module, from those network test ports, selects at least target transmission test port and at least Intended recipient test port, and the package to be measured is distributed to the corresponding virtual local area of at least target transmission test port Network channel;
One, from ring module, first loop ports and second loop ports is set to from ring, and by this at least one Package to be measured is transmitted between first loop ports and second loop ports, to accelerate the transfer rate of the package to be measured;
One delivery module, package to be measured after accelerating from ring transmits test port correspondence by an at least target The Virtual Local Area Network passage, be sent to the network under test equipment that at least target transmission test port is connected;
One receiver module, from the network under test equipment that an at least intended recipient test port is connected, receives this and treats Survey at least one related related package of package;And
One result obtains module, according to a reception of the one of the package to be measured transmission information and at least one related package Information, obtains the test result to the network under test equipment.
The process assembly also includes:
One service quality queue provides module, there is provided several service quality queues, each of which service quality queue correspondence One of those network test ports,
When wherein in this place reason component receives a target detection speed of the package to be measured, the service quality queue provides mould Block transmits the bandwidth of the corresponding service quality queue of test port by an at least target is set, by the biography of the package to be measured Transmission rate is controlled to the target detection speed.
The process assembly also includes:
One identification information processing module, by the corresponding Virtual Local Area Network passage of at least target transmission test port Identification information, add to the package to be measured,
The wherein delivery module finds an at least target according to the identification information of the corresponding Virtual Local Area Network passage Corresponding Virtual Local Area Network passage of transmission test port, to be transmitted.
The process assembly also includes:
One remove module, removes the identification information of the corresponding Virtual Local Area Network passage in the package to be measured, and is moving After the completion of removing, the delivery module is driven to start transmission.
The quantity of the selected at least target transmission test port of the setting module is several, and the process assembly is also Comprising:
One identification information processing module, by those corresponding those Virtual Local Area Network passages of target transmission test port Identification information, adds the package to be measured;
The wherein delivery module finds those targets and passes according to the identification information of corresponding those Virtual Local Area Network passages Send test port the corresponding Virtual Local Area Network passage, to be transmitted.
Beneficial effects of the present invention:The present invention is used to detect the method for testing of the network equipment that it to utilize Virtual Local Area Network Passage auxiliary package is tested, and the method for testing can carry out practical operation via computer program, eliminate test instrumentation Equipment, and then reduce the cost of research and development and the production of network communication apparatus;The present invention is filled for the test for detecting the network equipment Put, it eliminates test instrumentation equipment, and then reduces the cost of network communication apparatus test device.
In order to be able to be further understood that the feature and technology contents of the present invention, refer to below in connection with the detailed of the present invention Illustrate and accompanying drawing, but accompanying drawing only provides with reference to and illustrates to use, not for being any limitation as to the present invention.
Description of the drawings
Below in conjunction with the accompanying drawings, described in detail by the specific embodiment to the present invention, technical scheme will be made And other beneficial effects are apparent.
In accompanying drawing,
Fig. 1 is the present invention for detecting the flow chart of the embodiment of method of testing one of the network equipment.
Fig. 2 is to be used to detect the schematic device of the method for testing of the network equipment using the present invention.
Fig. 3 is the present invention for detecting the functional block diagram of the embodiment of test device one of the network equipment.
Specific embodiment
Further to illustrate the technological means taken of the invention and its effect, below in conjunction with being preferable to carry out for the present invention Example and its accompanying drawing are described in detail.
As shown in figure 1, being used to detect the flow chart of the embodiment of method of testing one of the network equipment for the present invention.In test side In method, by Virtual Local Area Network passage, auxiliary package test.Method of testing can carry out actual behaviour via computer program Make.Computer program can be stored in a computer-readable medium storing, and computer is read after this record media and performed This method of testing.Computer-readable medium storing can be read only memory, flash memory, floppy disk, hard disk, CD, Portable disk, magnetic Band, the computer-readable with identical function can easily be associated by the data base of network access or person skilled in the art Take record media.
Fig. 2 is to be used to detect the schematic device of the method for testing of the network equipment using the present invention.Please refer to Fig. 1 and 2.Method of testing 100 is comprised the steps of:
In step 110, there is provided one first loop ports 201, one second loop ports 202 and several network test ends Mouth 203,204.Wherein, the first loop ports 201 and the second loop ports 202 are connected with each other and are arranged to from ring.First Loop ports 201, the second loop ports 202 and network test port 203,204 can be by an exchangers(switch)Chip 200 There is provided.
In the step 120, on the path of the first loop ports 201 and the second loop ports 202, there is provided several virtual LAN passage 301,302,303.Wherein, the one of network of the correspondence of each Virtual Local Area Network passage 301,302,303 is surveyed Examination port.In the present embodiment, the map network test port 203 of Virtual Local Area Network passage 301, Virtual Local Area Network passage 302 map network test ports 204, the map network test port 204 of Virtual Local Area Network passage 303.In other words, one can be made One network test port of Virtual Local Area Network passage correspondence, can also make the same network of multiple Virtual Local Area Network passage correspondences Test port.
In step 130, package to be measured is received and transmitted to the first loop ports 201.In some embodiments of the present invention In, a package to be measured can be produced by a process assembly 205 of switch chips 200 itself, in step 130, to receive at least One package to be measured.In other embodiments of the present invention, package to be measured can be received from other devices(Step 130).Additionally, can Before step 130, the content of package to be measured is preset, such as the purpose or the MAC addresses in source of package to be measured (Media Access Control address, MAC address), Internet Protocol address(Internet Protocol Address, IP address), Virtual Local Area Network value or other types of package content.
In step 140, in automatic network test port 203,204, at least target transmission test port and extremely is selected A few intended recipient test port, and package to be measured is distributed to the corresponding Virtual Local Area Network of target transmission test port lead to Road.For example, such as in step 140, network test port 203 is selected to transmit test port as target, then package to be measured Virtual Local Area Network passage 301 corresponding to target transmission test port 203 will be allocated.Additionally, further will can set For the network test port 203 that target transmits test port, intended recipient test port is also set to.
In step 150, by being connected with each other and from first loop ports 201 and the second loop ports 202 of ring, plus The transfer rate of speed package to be measured.
In a step 160, pass through(It is chosen as target transmission test port)The corresponding virtual office in network test port 203 Domain network channel 301, is delivered from the package to be measured after ring accelerates to target and transmits the network under test that test port 203 is connected Equipment 400.Wherein, network under test equipment 400 can be exchanger(switch), router(router), other types of network Communication apparatus or other transmittable or reception network package electronic installations.
In step 170, certainly(It is chosen as intended recipient test port)What network test port 203 was connected treats survey grid Network equipment 400, receives at least one related related package of package to be measured.In some embodiments of the invention, related package can Produced package after to perform package to be measured.In other embodiments of the present invention, related package can be after turning to pass Package to be measured.However, in other embodiments, also other network test ports 204 can be set as into mesh in step 140 Tag splice Acceptance Tests port, however it is not limited to this exposure.Additionally, in some embodiments of step 170, can further by access control List processed(Access control list, ACL), the received related package of screening.
In step 180, according to step 160 and the implementing result of step 170, the test to network under test equipment is obtained As a result.For example, in step 180, the number of the package to be measured that can be transmitted in analytical procedure 160, byte number, actual pass Related information or its combination when defeated speed, mistake package number, other transmission packages, and can be received in analytical procedure 170 The number of related package, byte number, actual transfer rate, mistake package number, other receive information related during packages or Its combination.Consequently, it is possible to can judge whether network under test equipment is working properly after the analysis of step 180.In addition, it is only necessary to Hold the network communication apparatus of Virtual Local Area Network channel function(For example:Ethernet exchanger), you can implementation goes out the present invention, no Expensive package test instrumentation is needed to carry out package test.
In some embodiments of the invention, method of testing 100 can also be included:By the corresponding void of target transmission test port Intend the identification information of LAN passage, add package to be measured, step 160 is made whereby according to corresponding Virtual Local Area Network passage Identification information, the target transmission corresponding Virtual Local Area Network passage of test port is found, with the transmission of execution step 160.This Outward, several target transmission test ports can be also selected in step 140.For example, such as it is intended to be sent to same package to be measured When multiple different target transmission test ports are tested, reproducible many parts of packages to be measured, and each target is transmitted into test lead The identification information of mouth adds each package to be measured.Next, in step 160 can according to each package to be measured in different virtual local area The identification information of network channel, by package to be measured multiple target transmission test ports are sent to.In other embodiments of the invention In, multiple identical or different target also can be transmitted the identification information of the corresponding Virtual Local Area Network passage of test port, plus Enter multiple identical or different package to be measured, to be tested, however it is not limited to this exposure.Consequently, it is possible to can simultaneously to it is multiple not The network under test equipment connected with network test port, carries out identical or different package test.
Additionally, in an embodiment of step 160, can before test port 203 being transmitted by target and transmits package to be measured, The identification information of corresponding Virtual Local Area Network passage can be first removed, then package to be measured is passed from target transmission test port 203 Deliver to network under test equipment 400.Consequently, it is possible to can avoid the identification information of Virtual Local Area Network passage affects test result.
In some embodiments of the invention, method of testing 100 can also be included:Several service quality are provided(Quality Of Service, QoS)Queue(queue).Wherein, each service quality queue map network test port 203,204 wherein it One.Then, the target detection speed by set by user can be received, the transfer rate of package to be measured is controlled to mesh Mark test rate.Wherein, can be by by the bandwidth of each service quality queue(bandwidth)Set to target detection speed.Connect Get off, in the transmission of execution step 160, can be by the corresponding service quality queue of target transmission test port, by envelope to be measured The transfer rate of bag is controlled to target detection speed.For example, the corresponding Service Quality of test port is transmitted by target setting The a width of 800Mega bits of band of amount queue, the transfer rate that test port sends out is transmitted by package to be measured by the target Control 100Mbytes.It should be noted that the package length to be measured is also to the bandwidth that should set and target transmission rate, and Different package lengths are produced, for example, the service quality queue with a width of 800Mega bits is set, it is fixed in target transmission rate When justice is 100Mbytes, the length for producing package to be measured is 100bytes.Therefore, package to be measured can be surveyed by target transmission The transfer rate that examination port sends out is controlled to target detection speed.
Fig. 3 is referred to, it is the present invention for detecting the functional block diagram of the embodiment of test device one of the network equipment.In Test device in the embodiment of the present invention can be Ethernet exchanger.Test device 500 includes one first loop ports 510th, one second loop ports 520, several network test ports 530,540 and a process assembly 550.Second loop ports 520 are electrically connected with the first loop ports 510, and process assembly 550 is electrically connected with the first loop ports 510, the second loop Port 520 and network test port 530,540.Process assembly 550 can be CPU(Central Processing Unit, CPU), microcontroller(microcontroller), other types of process assembly or its combination.
Process assembly 550 includes that a passage provides module 551, a package processing module 552, a setting module 553, certainly Ring module 554, a delivery module 555, a receiver module 556 and a result obtain module 557.Passage provide module 551 in On the path of the first loop ports 510 and the second loop ports 520, there is provided several Virtual Local Area Network passages.Wherein, it is each Virtual Local Area Network passage map network test port 530, one of 540.
Package processing module 552 receives at least one package to be measured, and transmits package to be measured to the first loop ports 510. In some embodiments of the present invention, a package to be measured can be produced by process assembly 550 itself, be received for package processing module 552. In other embodiments of the present invention, package processing module 552 can receive package to be measured from other devices.Additionally, can pass through Process assembly 550 presets the content of package to be measured, such as the purpose or the MAC addresses in source of package to be measured (Media Access Control address, MAC address), Internet Protocol address(Internet Protocol Address, IP address), Virtual Local Area Network value or other types of package content.
In the automatic network test port 530,540 of setting module 553, at least target transmission test port and at least is selected One intended recipient test port, and distribute Virtual Local Area Network passage corresponding to target transmission test port by package to be measured. Wherein, identical or different network test port can be set as that target transmission test port and target connect by setting module 553 Acceptance Tests port.
First loop ports 510 and the second loop ports 520 are set to from ring from ring module 554, and by envelope to be measured It is wrapped between the first loop ports and the second loop ports from ring and transmits, accelerates the transfer rate of package to be measured.Citing comes Say, from ring module 554 self-loop function of the first loop ports 510 and the second loop ports 520 can be separately turned on, and make first 510 and second loop ports of loop ports 520 constitute closed circuit.Then, package to be measured is sent to into from ring module 554 After one loop ports 510, the closure ring that package to be measured can be constituted in the first loop ports 510 and the second loop ports 520 Transmit on road.Consequently, it is possible to the transfer rate of package to be measured can be accelerated to into the first loop ports 510 and the second loop ports 520 maximum transmission rate.
Delivery module 555 will accelerate from ring after package to be measured, the corresponding virtual local area of test port is transmitted by target Network channel, is sent to the network under test equipment that target transmission test port is connected.For example, such as in the present embodiment In, setting module 553 selects network test port 530 to transmit test port as target, then delivery module 555 will accelerate from ring Package to be measured afterwards, by corresponding Virtual Local Area Network channel transfer to target test port 530 is transmitted, and is resent to target The network under test equipment 600 that transmission test port 530 is connected.Wherein, network under test equipment 600 can be exchanger (switch), router(router), other types of network communication apparatus or other are transmittable or receive electricity of network package Sub-device.
The network under test equipment that receiver module 556 is connected from intended recipient test port, receives package to be measured corresponding At least one related package.In the present embodiment, setting module 553 selects network test port 530 as intended recipient test lead Mouthful, then the network under test equipment 600 that receiver module 556 is connected from intended recipient test port 530 receives package correspondence to be measured At least one related package.In some embodiments of the invention, related package can receive envelope to be measured for network under test equipment 600 The package of corresponding generation after bag.In other embodiments of the present invention, related package can be through network under test equipment 600 Turn the package to be measured after passing.Additionally, in some embodiments of the invention, process assembly 550 can further by access control List(Access control list, ACL), the received related package of screening.
As a result module 557 is obtained according to the one of package to be measured transmission information and a receive information of related package, analysis Test to network under test equipment 600.For example, as a result obtaining module 557 can analyze delivery module 555 in the transmission test During package, when number, byte number, actual transfer rate, mistake package number, other transmission packages of the package to be measured for being transmitted The transmission information of the information of correlation or its combination.And receiver module 556 can be analyzed when related package is received, the phase for being received Close information or its group related during number, byte number, actual transfer rate, mistake package number, other reception packages of package The receive information closed.Consequently, it is possible to result obtains module 557 can judge that network under test equipment 600 is according to its analysis result It is no working properly.In addition, it is only necessary to support the network communication apparatus of Virtual Local Area Network channel function, you can implementation goes out the present invention's Package test is carried out by test device 500, the package test instrumentation for being not required to costliness.
Process assembly 550 may also include an identification information processing module 559.Identification information processing module 559 passes target The identification information of the corresponding Virtual Local Area Network passage of test port 530 is sent, is added to package to be measured.Then, delivery module 555 The target transmission corresponding virtual local area of test port 530 can be found according to the identification information of corresponding Virtual Local Area Network passage Network channel, to be transmitted.Additionally, setting module 553 can also select multiple targets in automatic network test port 530,540 Transmission test port.For example, being such as intended to for same package to be measured to be sent to multiple different targets transmission test ports is carried out During test, each target is transmitted test port by the reproducible many parts of packages to be measured of process assembly 550, identification information processing module 559 Identification information add each package to be measured.Next, delivery module 555 can be according to VLAN different in each package to be measured The identification information of network passage, by package to be measured multiple target transmission test ports are sent to.In other embodiments of the invention, Identification information processing module 559 can also lead to the multiple identical or different corresponding Virtual Local Area Network of target transmission test port The identification information in road, adds multiple identical or different package to be measured, transmits for delivery module 555 and is tested, and does not limit In this exposure.Consequently, it is possible to the network under test equipment that can be connected to multiple heterogeneous networks test ports simultaneously, carry out it is identical or Different package test.
Additionally, a remove module 560 of process assembly 550 can be removed corresponding Virtual Local Area Network passage in package to be measured Identification information.After the completion of removing, remove module 560 drives delivery module 555 to start transmission.Consequently, it is possible to void can be avoided Intend the identification information of LAN passage, affect test result.
In addition, process assembly 550 may also include a service quality queue provides module 558.Service quality queue provides mould Block 558 provides several service quality queues.Each service quality queue map network test port 530, one of 540.In It is that when process assembly 550 receives a target detection speed of package to be measured, service quality queue provides module 558 can be by general The bandwidth of the target transmission corresponding service quality queue of test port is set to target detection speed, and by the transmission of package to be measured Rate controlled is to target detection speed.Thus, it is possible to provide the package test of different rates.
In addition, the method for testing or device of the embodiment of the present invention is also applicable in existing Ethernet exchanger and sets In standby, by the existing capability of Ethernet exchanger device, the test of the network equipment is carried out, therefore can be reduced for testing Expensive cost needed for the test device of the network equipment.
In sum, the present invention is used to detect the method for testing of the network equipment that it to utilize Virtual Local Area Network passage to aid in Package is tested, and the method for testing can carry out practical operation via computer program, eliminate test instrumentation equipment, and then Reduce the cost of research and development and the production of network communication apparatus;The present invention is used to detect the test device of the network equipment, eliminates Test instrumentation equipment, and then reduce the cost of network communication apparatus test device.
The above, for the person of ordinary skill of the art, can be with technology according to the present invention scheme and technology Other various corresponding changes and deformation are made in design, and all these changes and deformation should all belong to the claims in the present invention Protection domain.

Claims (10)

1. a kind of method of testing for detecting the network equipment, it is characterised in that comprise the following steps:
A () provides one first loop ports, one second loop ports and several network test ports, first loop ports with And second loop ports are connected with each other and are arranged to from ring;
B () is on the path of first loop ports and second loop ports, there is provided several Virtual Local Area Network passages, its In one of those network test ports of each Virtual Local Area Network passage correspondence;
C () receives and transmits a package to be measured to first loop ports;
D () selects at least target transmission test port and the test of an at least intended recipient from those network test ports Port, and the package to be measured is distributed to the corresponding Virtual Local Area Network passage of at least target transmission test port;
E () is by being connected with each other and from first loop ports and second loop ports of ring, accelerate the package to be measured Transfer rate;
F () transmits the corresponding Virtual Local Area Network passage of test port by an at least target, after being delivered from ring acceleration The network under test equipment that the package to be measured is connected at least target transmission test port;
The g network under test equipment that () is connected from an at least intended recipient test port, receives the package to be measured corresponding At least one related package;And
H () obtains the test result to the network under test equipment according to the implementing result of step (f) and (g).
2. it is used to as claimed in claim 1 detect the method for testing of the network equipment, it is characterised in that also include:
One of several service quality queues, each those network test ports of service quality queue correspondence are provided;
Receive a target detection speed of the package to be measured;And
In execution step (f), by the bandwidth that an at least target is transmitted the corresponding service quality queue of test port Set to the target detection speed, the transfer rate of the package to be measured is controlled to the target detection speed.
3. it is used to as claimed in claim 1 detect the method for testing of the network equipment, it is characterised in that also include:
By the identification information of the corresponding Virtual Local Area Network passage of at least target transmission test port, add to be measured to this Package,
The step (f) is the identification information according to the corresponding Virtual Local Area Network passage, finds at least target transmission and surveys Corresponding Virtual Local Area Network passage in examination port, with the transmission of execution step (f).
4. it is used to as claimed in claim 3 detect the method for testing of the network equipment, it is characterised in that also include:
After the identification information for removing the corresponding Virtual Local Area Network passage of at least target transmission test port, step is performed Suddenly (f).
5. it is used to as claimed in claim 1 detect the method for testing of the network equipment, it is characterised in that be somebody's turn to do the institute in step (d) The quantity of at least target transmission test port for selecting is several, and the method for testing also includes:
By the identification information of those corresponding those Virtual Local Area Network passages of target transmission test port, the envelope to be measured is added Bag, makes whereby step (f) according to the identification information of corresponding those Virtual Local Area Network passages, finds those target transmission tests Corresponding those Virtual Local Area Network passages in port, with the transmission of execution step (f).
6. a kind of test device for detecting the network equipment, it is characterised in that include:
One first loop ports;
One second loop ports, are electrically connected with first loop ports;
Several network test ports;And
One process assembly, is electrically connected with first loop ports, second loop ports and those network test ports, at this Reason component includes:
One passage provides module, on the path of first loop ports and second loop ports, there is provided several virtual offices One of domain network channel, those network test ports of each of which Virtual Local Area Network passage correspondence;
One package processing module, receives and transmits a package to be measured to first loop ports;
One setting module, from those network test ports, selects at least target transmission test port and an at least target Test port is received, and the package to be measured is distributed to the corresponding Virtual Local Area Network of at least target transmission test port Passage;
One, from ring module, first loop ports and second loop ports is set to from ring, and this is at least one to be measured Package is transmitted between first loop ports and second loop ports, to accelerate the transfer rate of the package to be measured;
One delivery module, the package to be measured after accelerating from ring, transmitting that test port is corresponding by least target should Virtual Local Area Network passage, is sent to the network under test equipment that at least target transmission test port is connected;
One receiver module, from the network under test equipment that an at least intended recipient test port is connected, receives the envelope to be measured At least one related related package of bag;And
One result obtains module, according to the one of the package to be measured transmission information and a reception letter of at least one related package Breath, obtains the test result to the network under test equipment.
7. it is used to as claimed in claim 6 detect the test device of the network equipment, it is characterised in that the process assembly is also wrapped Include:
One service quality queue provides module, there is provided several service quality queues, and the queue of each of which service quality corresponds to those One of network test port,
When wherein in this place reason component receives a target detection speed of the package to be measured, the service quality queue provides module and borrows By the bandwidth for setting the corresponding service quality queue of at least target transmission test port, by the transmission speed of the package to be measured Rate is controlled to the target detection speed.
8. it is used to as claimed in claim 6 detect the test device of the network equipment, it is characterised in that the process assembly is also wrapped Include:
One identification information processing module, by the knowledge of the corresponding Virtual Local Area Network passage of at least target transmission test port Other information, adds to the package to be measured, the wherein delivery module according to the identification information of the corresponding Virtual Local Area Network passage, The corresponding Virtual Local Area Network passage of at least target transmission test port is found, to be transmitted.
9. it is used to as claimed in claim 8 detect the test device of the network equipment, it is characterised in that the process assembly is also wrapped Include:
One remove module, removes the identification information of the corresponding Virtual Local Area Network passage in the package to be measured, and is removing Cheng Hou, drives the delivery module to start transmission.
10. it is used to as claimed in claim 6 detect the test device of the network equipment, it is characterised in that selected by the setting module The quantity of at least target transmission test port selected is several, and the process assembly also includes:
One identification information processing module, by the knowledge of those corresponding those Virtual Local Area Network passages of target transmission test port Other information, adds the package to be measured;
The wherein delivery module finds those target transmission and surveys according to the identification information of corresponding those Virtual Local Area Network passages Corresponding those Virtual Local Area Network passages in examination port, to be transmitted.
CN201310007776.1A 2013-01-09 2013-01-09 Test method and device for detecting network device Expired - Fee Related CN103916286B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310007776.1A CN103916286B (en) 2013-01-09 2013-01-09 Test method and device for detecting network device
TW102103150A TWI514813B (en) 2013-01-09 2013-01-28 Method and device for testing network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310007776.1A CN103916286B (en) 2013-01-09 2013-01-09 Test method and device for detecting network device

Publications (2)

Publication Number Publication Date
CN103916286A CN103916286A (en) 2014-07-09
CN103916286B true CN103916286B (en) 2017-05-17

Family

ID=51041704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310007776.1A Expired - Fee Related CN103916286B (en) 2013-01-09 2013-01-09 Test method and device for detecting network device

Country Status (2)

Country Link
CN (1) CN103916286B (en)
TW (1) TWI514813B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559704B (en) * 2015-01-12 2016-11-21 Test method of network transmission rate
CN105323122B (en) * 2015-12-04 2019-01-15 北京博维亚讯技术有限公司 A kind of throughput of network device test device and test method based on interchanger
CN109962824A (en) * 2017-12-26 2019-07-02 新汉股份有限公司 High-speed network appliance and its self test method
CN112436983B (en) * 2020-11-23 2023-02-17 锐捷网络股份有限公司 Analog wide area network data transmission method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852173A (en) * 2005-04-22 2006-10-25 智邦科技股份有限公司 Detecting apparatus and method for network connection apparatus
CN101557322A (en) * 2008-04-07 2009-10-14 智邦科技股份有限公司 Method using network switch as network device testing instrument

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6912202B1 (en) * 2001-01-25 2005-06-28 Advanced Micro Device, Inc. Arrangement for testing network switch expansion port using external logic to emulate connected expansion port
US6816465B1 (en) * 2001-01-29 2004-11-09 Advanced Micro Devices, Inc. Arrangement for testing pause frame response in a network switch
CN1917452A (en) * 2005-08-19 2007-02-21 上海亿人通信终端有限公司 Method for testing forwarding performance of Ethernet exchange, and method for configuring network
US8117301B2 (en) * 2006-01-30 2012-02-14 Juniper Networks, Inc. Determining connectivity status for unnumbered interfaces of a target network device
TWI375434B (en) * 2008-12-31 2012-10-21 Universal Scient Ind Shanghai Multiple lan ports testing system and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852173A (en) * 2005-04-22 2006-10-25 智邦科技股份有限公司 Detecting apparatus and method for network connection apparatus
CN101557322A (en) * 2008-04-07 2009-10-14 智邦科技股份有限公司 Method using network switch as network device testing instrument

Also Published As

Publication number Publication date
CN103916286A (en) 2014-07-09
TW201429189A (en) 2014-07-16
TWI514813B (en) 2015-12-21

Similar Documents

Publication Publication Date Title
US10484206B2 (en) Path detection method in VxLAN, controller, and network device
US9065770B2 (en) Traffic item impairment emulation
CN108111432B (en) Message forwarding method and device
CN104022953B (en) Message forwarding method and device based on open flows Openflow
US7500158B1 (en) System and method for network device configuration
US8391157B2 (en) Distributed flow analysis
CN202455371U (en) Multi-machine testing system
JP4769609B2 (en) Switch device
CN103916286B (en) Test method and device for detecting network device
KR20040052015A (en) Traffic measurement system and traffic analysis method thereof
US8619565B1 (en) Integrated circuit for network delay and jitter testing
US20060002307A1 (en) Apparatus and method for testing a network connection device
WO2022078293A1 (en) Method for detecting multicast service flow and related apparatus
CN101547063A (en) Method and system for testing forward delay
CN104135548B (en) Static NAT realization method and device based on FPGA
CN104270282B (en) A kind of IP network end-to-end test method and apparatus
US20070101195A1 (en) Method for testing network devices using breakpointing
US9985864B2 (en) High precision packet generation in software using a hardware time stamp counter
CN109067625A (en) A kind of detection method, equipment and the system of service channel performance
US8724473B2 (en) Locating signatures in packets
CN111490907B (en) Method and device for determining VXLAN network performance parameters
US9094290B2 (en) Measuring and displaying bandwidth contention
CN104768176B (en) The method, apparatus that sFlow is sampled in wireless network
JP6467316B2 (en) Flow inspection apparatus, transfer apparatus, and flow inspection method
CN112422355B (en) Network transmission detection 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170517

Termination date: 20190109

CF01 Termination of patent right due to non-payment of annual fee