CN202261360U - Device for testing robustness of router data path - Google Patents

Device for testing robustness of router data path Download PDF

Info

Publication number
CN202261360U
CN202261360U CN2011203306025U CN201120330602U CN202261360U CN 202261360 U CN202261360 U CN 202261360U CN 2011203306025 U CN2011203306025 U CN 2011203306025U CN 201120330602 U CN201120330602 U CN 201120330602U CN 202261360 U CN202261360 U CN 202261360U
Authority
CN
China
Prior art keywords
interface
router
bandwidth
module
test
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
CN2011203306025U
Other languages
Chinese (zh)
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon Technology 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN2011203306025U priority Critical patent/CN202261360U/en
Application granted granted Critical
Publication of CN202261360U publication Critical patent/CN202261360U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model provides a device for testing robustness of a router data path. A router is provided with a first interface and a second interface. The device comprises a configuration module, a bandwidth setting module, a first matched testing device, a second matched testing device, a detecting module and a detecting report generation module. The configuration module is used for configuring the first interface, the second interface, the first matched testing device connected with the first interface and the second matched testing device connected with the second interface, so that the first matched testing device is enabled to access the second matched testing device. The bandwidth setting module is used for setting the first matched testing device to work on a first bandwidth and setting the second matched testing device to work on a second bandwidth, wherein the first bandwidth is far larger than the second bandwidth. The first matched testing device is used for sending testing flow for time duration of T to the first interface continuously. The second matched testing device is used for receiving the testing flow through the second interface. The detecting module is used for detecting whether a working state of the router is normal and obtaining a detecting result. The detecting report generation module receives a detecting result sent by the detecting module, generates a detecting result report, and sends the detecting result report to a main display.

Description

A kind of device of test router data path robustness
Technical field
The utility model relates to the router field tests, particularly a kind of device of test router data path robustness.
Background technology
Fig. 1 is an example with the LAN To WAN data path robustness of investigating router, shows the general topology that the LAN To WAN data path robustness of router is tested.Because the identical or a plurality of chip solution abilities of chip solution are suitable; LAN (the local area network (LAN) of common router; Local Area Network) rate mode of interface and WAN (wide area network, Wide Area Network) interface support is identical, as is gigabit Ethernet.Common way is; LAN interface connects the test PC with gigabit ethernet card; The same test PC with gigabit ethernet card that connects of wan interface uses the instrument of giving out a contract for a project to produce the test traffic of size as throughput (Throughput) from end test PC for a long time to the test PC of the other end then.According to the definition of RFC2889, throughput is the network equipment at packet loss is the maximum of transfer capability under zero the situation.Therefore, said method is not have under the packet loss converting flow in the maximum that institute's test router can be supported to carry out.Let the packet receiving interface and the interface of giving out a contract for a project transmit a large amount of bags through long-time with identical speed, thereby the robustness of this data path is described.General criterion is: whether the function of institute's test router each side is all normal behind the EOT; Can the converting flow level in the whole test process reach desired value.
Yet; The problem that prior art exists is; Only investigated the robustness of the transmitting-receiving bag processing logic that various device drives under the sufficient situation of resource, and router product is different with product orientation because of its application scenarios, common storage resources all is that certain different upper limit is arranged with the chip disposal ability.The limited resources of router comprise processor and storage medium.Wherein the disposal ability of processor has determined peripheral interface and the speed and the function of this product support, and memory generally includes ROM and RAM.The code of storage system boot and embedded system among the ROM wherein, RAM be used to that embedded system starts and running in required memory allocation internal memory.And router through in the process of data path, needs the corresponding memory space of application that it is carried out buffer memory at packet as a kind of network equipment of storing relay type, and its occupation space just can be released after processing and forwarding were accomplished.And embedded system no-load running get up after among the RAM vacant memory space all be very limited usually.In the prior art scheme; The rate mode of the packet receiving interface and the interface of giving out a contract for a project is to mate each other; Though CPU has processing delay; But receive and dispatch packet interface all dynamic buffer memory and transmitting-receiving bag under poised state, can not occur receiving and dispatching bag formation buffer memory mass data bag and taking a large amount of internal memories visit failure scenarios when new packet application internal memory is stored basically.And no matter be wireless medium or wire medium; The flank speed that its physical layer data is transmitted is more or less the same usually; Therefore in using the process that the speed of coupling is tested each other; No matter carrying out wired wireless or wireless wired data forwarding test of arriving of arriving, can't test the border condition that a wherein end packet receiving formation (storehouse) and the formation of giving out a contract for a project (storehouse) can not continue to visit for full storage resources usually, stay the blind spot of test for the robustness of equipment.Router belongs to typical resource-constrained type embedded system, and device drives only designs in logic and verifies from transmitting-receiving usually, and be difficult to verify under the various abnormal conditions whether can go wrong in the process of exploitation.Owing to fail to contain the various branches logic of software processes in the test process; Afterwards test result is normal though cause according to existing testing scheme the router of being tested being carried out strict long-time stability test, and also there is the stability problem of system with more deadlock, dysfunction etc. in the user in actual environment for use.
The utility model content
In the utility model content part, introduced the notion of a series of reduced forms, this will further explain in the embodiment part.The utility model content part of the utility model does not also mean that key feature and the essential features that will attempt to limit technical scheme required for protection, does not more mean that the protection range of attempting to confirm technical scheme required for protection.
The utility model provides a kind of device of test router data path robustness, and said router has first interface, second interface, it is characterized in that, comprising:
Configuration module, be used for configuration router first interface, second interface, be connected with said first interface first join survey device, be connected with said second interface second join the survey device, make said first to join the survey device and can visit said second and join the survey device;
Bandwidth is provided with module, is used to be provided with said first and joins and survey device and be operated in first bandwidth, and said second joins and survey device and is operated in second bandwidth, and wherein first bandwidth is much larger than second bandwidth;
First joins the survey device, and being used for continuing to send duration to said first interface is the test traffic of T;
Second joins the survey device, is used for receiving said test traffic through said second interface;
Detection module, whether be used to detect the operating state of said router normal and draw testing result;
The examining report generation module receives the said testing result that said detection module sends, and said examining report generation module generates test results report, and said test results report is sent to display to show.
Said first interface is a LAN interface, and said second interface is wan interface or WLAN interface; Or said first interface is wan interface, and said second interface is LAN interface or WLAN interface; Or said first interface is the WLAN interface, and said second interface is LAN interface or wan interface.
Two to be measured interface and two of with two to be measured interfaces respectively being connected of the utility model through configuration router join the survey device; Guarantee the connectedness between two interfaces; To join as the correspondence of the packet receiving interface of router then and survey device and be arranged on the high bandwidth speed; To be arranged on the high bandwidth speed by the corresponding survey device of joining as the packet receiving interface of router; To survey device as corresponding the joining of the interface of giving out a contract for a project of router and be arranged on the low bandwidth speed, and guarantee that high bandwidth speed is higher than low bandwidth speed far away, and make transmit queue (storehouse) and reception formation (storehouse) will be in full state.
Thereby reached checking under the situation of inadequate resource, whether the processing logic of the branch of software transmitting-receiving bag exists the effect of defective.Can find the problem that original long-time big stability of flow property testing can't be found in the short again time; As the further validation test after original basicly stable property testing; Improved the robustness of embedded system data path from an aspect, made that operation is more stable under the user's complicated application scenarios.
Description of drawings
The attached drawings of the utility model is used to understand the utility model in this part as the utility model.The embodiment and the description thereof of the utility model have been shown in the accompanying drawing, have been used for explaining the principle of the utility model.In the accompanying drawings,
Fig. 1 is a router LAN to WAN stability test topology sketch map;
Fig. 2 is the logic connection sketch map by router embedded system and peripheral interface thereof;
Fig. 3 is the structural representation according to the device of the test router data path robustness of the utility model.
Embodiment
In the description hereinafter, provided a large amount of concrete details and the utility model has been understood more completely so that provide.Yet, it will be apparent to one skilled in the art that the utility model can need not one or more these details and be able to enforcement.In other example,, describe for technical characterictics more well known in the art for fear of obscuring with the utility model.
In order to understand the utility model better, below router to be measured is done brief account.Fig. 2 is that the logic of router embedded system and peripheral interface thereof connects sketch map.Wherein, the router Implementation of Embedded System be protocol stack and NAT (network address translation, Network Address Translation), realize the processing and the routing function of variety of protocol.WAN, LAN, WLAN are the physical interfaces of embedded system periphery, corresponding respectively the wan interface of router, LAN interface, WLAN interface.Each interface all has special interface equipment driving to handle, and has realized the function of packet receiving (Rx) and give out a contract for a project (Tx).Fig. 2 only shows the part composition of router for convenience, and other assemblies are not shown.Wherein, the wan interface among Fig. 2, LAN interface, WLAN interface only show one, are merely signal here, can also a plurality of wan interfaces, a plurality of WLAN interface, a plurality of LAN interface be set according to actual needs.
The general process of router transmitting-receiving bag is: physical interface equipment receives the physical layer information of convey data packets, therefrom extracts packet information, produces interruption and gives the packet receiving resume module; Packet receiving module application internal memory is given CPU after the success and is further handled and transmit as the buffer memory of processing data packets; After obtaining the CPU time sheet, CPU handles the bag of receiving according to the logic of protocol stack and NAT, comprises the parsing and the conversion of agreement, and the realization of function such as route, and then this packet being forwarded to correct discharge coupling gets on; Discharge coupling application internal memory is deposited packet to be transmitted, and after the wait discharge coupling device free this packet is transferred to physical equipment and sends.
The LAN interface medium is not limited to Ethernet, Wi-Fi, Poe, USB or the like.The wan interface medium is not limited to Ethernet, Wi-Fi, DSL, 3.75G, PoE, 4G etc.So long as the interface that can use in the communication process, just can adopt the method for test router data path robustness of the present invention, the media type that the type of docking port of the present invention and interface connect does not limit.
Fig. 3 shows the device 100 according to the test router data path robustness of the utility model.Router has first interface and second interface.The device 100 of test router data path robustness comprise configuration module 101, bandwidth be provided with module 102, be connected with said first interface first join survey module 103, be connected with said second interface second join survey module 104, detection module 105.
Configuration module 101, first interface, second interface, first that is used for configuration router are joined and are surveyed module 103, second and join and survey module 104, and making wins joins and survey module 103 and can visit second and join and survey module 104.
Bandwidth is provided with module 102, is used to be provided with first and joins and survey module 103 and be operated in first bandwidth, and second joins and survey module 104 and is operated in second bandwidth, and the numerical value of first bandwidth, second bandwidth determine by router to be measured, distinct device value difference.Can choose maximum bandwidth, minimum bandwidth that router to be measured is supported, perhaps between maximum bandwidth, minimum bandwidth, choose two values that differ bigger.
First joins survey module 103, and being used for continuing to send duration to first interface is the test traffic of T.
Second joins survey module 104, is used for receiving said test traffic through second interface.
Whether detection module 105, it is normal and draw testing result to be used to detect the operating state of router.
It mainly is the basic configuration of being correlated with for the data connectivity that realizes first interface that configuration module 101, bandwidth in the device 100 is provided with module 102.First joins and surveys module 103, second and joins and survey module 104, can use the corresponding measurement equipment of joining of the prior art, for example Ethernet card etc.Can use conducts such as diverse network transmitting-receiving bag equipment, network traffics generation and analytical instrument to join the survey device.Such as Ethernet card, wireless network card, SmartBits series of tests instrument etc.; First joins and surveys module 103 and be flow generation equipment; Second joins survey module 104 is the flow receiving equipment, and above equipment can be joined survey module 103 and second as first and joined survey module 104.No matter use which kind of equipment as joining the survey device, as long as can satisfy the coupling with router to be measured.
Detection module 105 can be monitored the operating position of router embedded system memory, through Ping or arp test router first interface and observe its response, visits the administration page of said router and observes its response; Can router normally use or the like after detecting test traffic loading completion.For forwarding rate; Should reach the expection level under the normal condition; Promptly be subject to low-speed interface the forwarding level that should reach, if, be not optimum though do not have serious logic flaw for the processing of these border abnormal conditions less than expection level explanation router.Use for internal memory, under the normal condition surplus should be arranged, and can dynamically reclaim, if internal memory exhausts or visits to make mistakes and explain that then there is the robustness problem in router to be measured.After test traffic loads completion; Elder brother's functional module of router can be recovered operate as normal under the normal condition, if can not recover operate as normal, crash or unit exception (wirelessly do not work, wiredly do not receive and dispatch bag, NAT (Network Address Translation) transmits and gets nowhere) etc. then explain that there is the robustness problem in router to be measured.See for details shown in the following table:
Figure BSA00000568032900051
Examining report generation module 106; Examining report generation module 106 connection detection module 105; Detection module 105 is according to testing result; Corresponding abnormal conditions in the table 1 are produced reason send to examining report generation module 106, generate test results report, and said test results report is sent to display to show by examining report generation module 106.
In an embodiment of the utility model, if test the data path robustness of LAN interface to wan interface, then first interface is LAN interface, and second interface is wan interface.The high bandwidth of LAN interface and wan interface is 1000Mbps, and lowest-bandwidth is 10Mbps.In this embodiment, first joins and surveys module 103 and second and join survey module 104 and can be operated in for example full-duplex mode.Bandwidth is provided with module 102 the first bandwidth 1000Mbps (the packet receiving interface rate of router) is set, and second bandwidth is 10Mbps (interface rate of giving out a contract for a project of router).Squeeze into test traffic from first interface (the packet receiving interface of router), the packet sending speed of second interface (interface of giving out a contract for a project of router) will reach capacity; Keep this flow, the formation of giving out a contract for a project of the interface of giving out a contract for a project of router will at first be filled, and produces a large amount of internal memory application operations and is used for data cached bag and causes storage resources not enough, thereby reach the boundary condition of institute's test data path.
The utility model is illustrated through the foregoing description, but should be understood that, the foregoing description just is used for for example and illustrative purposes, but not is intended to the utility model is limited in the described scope of embodiments.It will be understood by those skilled in the art that in addition; The utility model is not limited to the foregoing description; Instruction according to the utility model can also be made more kinds of variants and modifications, and these variants and modifications all drop in the utility model scope required for protection.The protection range of the utility model is defined by appended claims book and equivalent scope thereof.

Claims (2)

1. the device of a test router data path robustness, said router have first interface,
Second interface is characterized in that, comprising:
Configuration module, be used for configuration router first interface, second interface, be connected with said first interface first join survey device, be connected with said second interface second join the survey device, make said first to join the survey device and can visit said second and join the survey device;
Bandwidth is provided with module, is used to be provided with said first and joins and survey device and be operated in first bandwidth, and said second joins and survey device and is operated in second bandwidth, and wherein first bandwidth is much larger than second bandwidth;
First joins the survey device, and being used for continuing to send duration to said first interface is the test traffic of T;
Second joins the survey device, is used for receiving said test traffic through said second interface;
Detection module, whether be used to detect the operating state of said router normal and draw testing result;
The examining report generation module receives the said testing result that said detection module sends, and said examining report generation module generates test results report, and said test results report is sent to display to show.
2. the device of test router data path robustness as claimed in claim 1 is characterized in that, said first interface is a LAN interface, and said second interface is wan interface or WLAN interface; Or said first interface is wan interface, and said second interface is LAN interface or WLAN interface; Or said first interface is the WLAN interface, and said second interface is LAN interface or wan interface.
CN2011203306025U 2011-09-06 2011-09-06 Device for testing robustness of router data path Expired - Fee Related CN202261360U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011203306025U CN202261360U (en) 2011-09-06 2011-09-06 Device for testing robustness of router data path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011203306025U CN202261360U (en) 2011-09-06 2011-09-06 Device for testing robustness of router data path

Publications (1)

Publication Number Publication Date
CN202261360U true CN202261360U (en) 2012-05-30

Family

ID=46122539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011203306025U Expired - Fee Related CN202261360U (en) 2011-09-06 2011-09-06 Device for testing robustness of router data path

Country Status (1)

Country Link
CN (1) CN202261360U (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017053961A1 (en) * 2015-09-25 2017-03-30 Contec, Llc Universal device testing system
US9810735B2 (en) 2015-09-25 2017-11-07 Contec, Llc Core testing machine
US9836375B2 (en) 2009-09-24 2017-12-05 Contec, Llc Method and system for automated test of multi-media user devices
US9838295B2 (en) 2015-11-23 2017-12-05 Contec, Llc Wireless routers under test
US9900116B2 (en) 2016-01-04 2018-02-20 Contec, Llc Test sequences using universal testing system
US9900113B2 (en) 2016-02-29 2018-02-20 Contec, Llc Universal tester hardware
US9960989B2 (en) 2015-09-25 2018-05-01 Contec, Llc Universal device testing system
US9992084B2 (en) 2015-11-20 2018-06-05 Contec, Llc Cable modems/eMTAs under test
US10103967B2 (en) 2016-11-10 2018-10-16 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US10122611B2 (en) 2015-09-25 2018-11-06 Contec, Llc Universal device testing interface
US10158553B2 (en) 2015-09-25 2018-12-18 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US10291959B2 (en) 2015-09-25 2019-05-14 Contec, Llc Set top boxes under test
US10320651B2 (en) 2015-10-30 2019-06-11 Contec, Llc Hardware architecture for universal testing system: wireless router test
US10462456B2 (en) 2016-04-14 2019-10-29 Contec, Llc Automated network-based test system for set top box devices
US10779056B2 (en) 2016-04-14 2020-09-15 Contec, Llc Automated network-based test system for set top box devices
US10965578B2 (en) 2015-10-30 2021-03-30 Contec, Llc Hardware architecture for universal testing system: cable modem test

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9836376B2 (en) 2009-09-24 2017-12-05 Contec, Llc Method and system for automated test of end-user devices
US10846189B2 (en) 2009-09-24 2020-11-24 Contec Llc Method and system for automated test of end-user devices
US9836375B2 (en) 2009-09-24 2017-12-05 Contec, Llc Method and system for automated test of multi-media user devices
US10277497B2 (en) 2015-09-25 2019-04-30 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
WO2017053961A1 (en) * 2015-09-25 2017-03-30 Contec, Llc Universal device testing system
US11353507B2 (en) 2015-09-25 2022-06-07 Contec, Llc Core testing machine
US9810735B2 (en) 2015-09-25 2017-11-07 Contec, Llc Core testing machine
US9960989B2 (en) 2015-09-25 2018-05-01 Contec, Llc Universal device testing system
US10578670B2 (en) 2015-09-25 2020-03-03 Contec, Llc Core testing machine
US10298483B2 (en) 2015-09-25 2019-05-21 Contec, Llc Universal device testing interface
US10291959B2 (en) 2015-09-25 2019-05-14 Contec, Llc Set top boxes under test
US10122611B2 (en) 2015-09-25 2018-11-06 Contec, Llc Universal device testing interface
US10158553B2 (en) 2015-09-25 2018-12-18 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US10581719B2 (en) 2015-10-30 2020-03-03 Contec, Llc Hardware architecture for universal testing system: wireless router test
US10320651B2 (en) 2015-10-30 2019-06-11 Contec, Llc Hardware architecture for universal testing system: wireless router test
US10965578B2 (en) 2015-10-30 2021-03-30 Contec, Llc Hardware architecture for universal testing system: cable modem test
US9992084B2 (en) 2015-11-20 2018-06-05 Contec, Llc Cable modems/eMTAs under test
US10230617B2 (en) 2015-11-23 2019-03-12 Contec, Llc Wireless routers under test
US10581718B2 (en) 2015-11-23 2020-03-03 Contec, Llc Wireless devices under test
US9838295B2 (en) 2015-11-23 2017-12-05 Contec, Llc Wireless routers under test
US9900116B2 (en) 2016-01-04 2018-02-20 Contec, Llc Test sequences using universal testing system
US10116397B2 (en) 2016-01-04 2018-10-30 Contec, Llc Test sequences using universal testing system
US9900113B2 (en) 2016-02-29 2018-02-20 Contec, Llc Universal tester hardware
US10462456B2 (en) 2016-04-14 2019-10-29 Contec, Llc Automated network-based test system for set top box devices
US10779056B2 (en) 2016-04-14 2020-09-15 Contec, Llc Automated network-based test system for set top box devices
US10103967B2 (en) 2016-11-10 2018-10-16 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US10757002B2 (en) 2016-11-10 2020-08-25 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US10284456B2 (en) 2016-11-10 2019-05-07 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
US11509563B2 (en) 2016-11-10 2022-11-22 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures

Similar Documents

Publication Publication Date Title
CN202261360U (en) Device for testing robustness of router data path
CN102098187B (en) Method and system for testing robustness of data path of router
US20090232152A1 (en) Method and apparatus for aggregating ports
CN102624738B (en) Serial port server, protocol conversion chip and data transmission method
CN102916857B (en) Stacking and splitting quick detection method and device
CN101834796B (en) Double-controller communication system and method
CN101222455A (en) Network interlinking mode expandable wireless sensor network gateway equipment
CN102158403B (en) Efficient data stream transmission communication structure suitable for on chip network and operating method thereof
CN107484261A (en) One kind is based on 433MHz wireless self-networking methods
CN104572574A (en) GigE (gigabit Ethernet) vision protocol-based Ethernet controller IP (Internet protocol) core and method
CN103166811A (en) Multi-active detection (MAD) detection method and device
CN105656715A (en) Method and device for monitoring state of network device under cloud computing environment
CN107547430A (en) A kind of file transmitting method and device
CN102202424A (en) Transparent wireless sensor network/time division-synchronization code division multiple access (WSN/TD-SCDMA) gateway based on internet protocol version 6 (IPv6)
US10339077B2 (en) Systems and methods for implementing topology-based identification process in a MoChi environment
CN107949069A (en) terminal wireless data transmission method, device, terminal and storage medium
CN106506265B (en) Detection fpga chip hangs dead method and device
CN103312614A (en) Multicast message processing method, line card and communication device
CN106161522A (en) The communication means of a kind of LA Management Room, the network equipment and distributed network
CN101159583B (en) Inter-plate communication method, system and device
CN103106177B (en) Interconnect architecture and method thereof on the sheet of multi-core network processor
CN103888375A (en) Communication method based on ARINC 429, device thereof and expansion interface
CN101272326A (en) Method for packet transmission by polymerization link and communication equipment thereof
CN107257563A (en) A kind of remote low power consumption network system and network-building method
US8923290B1 (en) Self-forming lags

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120530

Termination date: 20170906

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