The utility model content
The purpose of this utility model is to provide a kind of test macro of networking products, a large amount of testing time and the manpowers of waste that exists when being intended to solve prior art networking products being tested, be difficult to unified management is carried out in test, and systematicness records the problem of the detecting information of each equipment under test.
The utility model is achieved in that a kind of test macro of networking products, and described system comprises test computer and the networking products testing apparatus that the networking products testing softwares have been installed; Wherein,
Described networking products testing apparatus comprise the network interface of the control network interface that connects described test computer, the tested networking products of a plurality of connections, respectively with described control network interface and the test module of being connected the tested networking products access modules that network interface is connected, the command control module that is connected with described control network interface, being connected with described command control module be connected with described network interface be connected the virtual network device module that test module is connected, described command control module also is connected with described tested networking products access modules.
Further, described networking products testing apparatus also comprises the network address conversion module that is connected with described command control module, and described tested networking products access modules is connected with described control network interface by described network address conversion module.
Further, described networking products testing apparatus comprises that also the DynamicHost that is connected with described virtual network device module arranges the protocol DHCP server.
Further, described networking products testing apparatus also comprises the Automatic test clamp that is connected with described test computer.
Further, described Automatic test clamp comprises the control module that is connected with described test computer and the automatic plug networking products module that is connected with described control module, and described tested networking products are positioned in described automatic plug networking products module.
Further, described automatic plug networking products module comprises interconnective electromagnetically operated valve, cylinder and plug module, and described electromagnetically operated valve is connected with described control module.
In the utility model, the network interface, command control module, tested networking products access modules and the virtual network device module that comprise the control network interface of connecting test computer, the tested networking products of a plurality of connections due to the networking products testing apparatus, therefore test computer can be controlled and test tested networking products by the networking products testing apparatus, thereby when having solved tested networking products access network product tester use, the problem of tested computer control simultaneously and control.The test that the networking products testing apparatus that script is separated carries out and the tested networking products of test computer access control are combined as a cover test topology; Tested networking products only need access test topology once, just can complete the test of completing on original networking products testing apparatus and test computer; Test workshop section can merge into one, can reduce operating personnel, and be beneficial to automatic improving; In unified test topology, be convenient to networking products are tested management and the information recording/that carries out system.In addition, because the networking products testing apparatus comprises network address conversion module, so the tested networking products of the addressable a plurality of identical ip addresses of test computer.Moreover, comprise the Dynamic Host Configuration Protocol server that is connected with the virtual network device module due to the networking products testing apparatus, therefore can realize the test to router.And because the test macro of networking products comprises Automatic test clamp, therefore can further reduce operating personnel, and reduce operating personnel's labour intensity.
Embodiment
In order to make the purpose of this utility model, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
For technical scheme described in the utility model is described, describe below by specific embodiment.
Embodiment one:
See also Fig. 1, the test macro of the networking products that the utility model embodiment one provides comprises test computer 11 and the networking products testing apparatus 12 that the networking products testing softwares have been installed.
Networking products testing apparatus 12 comprise the network interface 122 of the control network interface 121 of connecting test computer 11, the tested networking products 13 of a plurality of connection, respectively with control that network interface 121 is connected the tested networking products access modules 127 that is connected, the command control module 124 that is connected with control network interface 121 with network interface, the test module 125 that is connected with command control module 124 is connected with being connected the virtual network device module 126 that is connected with test module with network interface 122, command control module 124 also is connected with tested networking products access modules 127.
during due to a plurality of tested networking products 13 of test, has identical IP address with the tested networking products 13 that a plurality of network interfaces 122 connect respectively, exist the IP conflict to cause test computer 11 can't correctly access tested networking products 13, in order to allow test computer 11 can effectively distinguish a plurality of tested networking products 13, therefore in the utility model embodiment one, networking products testing apparatus 12 can also comprise the network address conversion module 123 that is connected with command control module 124, tested networking products access modules 127 is connected with control network interface 121 by network address conversion module 123, the IP address transition that network address conversion module 123 is used for the different tested networking products 13 that will connect from heterogeneous networks interface 122 is different IP address, the tested networking products 13 that with network interface 122 are connected corresponding from the different IP address access after the test computer 11 of controlling network interface 121 connections passes through conversion.In addition, because networking products testing apparatus 12 comprises network address conversion module 123, so test computer 11 can be by the tested networking products 13 of networking products testing apparatus 12 access, thereby realize the webpage configuration information of tested networking products 13 is checked.
Command control module 124 is used for obtaining from controlling network interface 121 control command that test computer 11 sends, control 125 pairs of tested networking products 13 of test module and test, controlling the tested networking products access modules 127 tested networking products 13 of access will be different IP address from the IP address transition of the different tested networking products 13 of heterogeneous networks interface 122 connections with being connected network address conversion module 123.
Test module 125 is used for operating a plurality of virtual network equipment associated working, simulate the operational environment of tested networking products 13, control sends network message from each network interface, and the network message of statistics reception, thereby realize that the virtual network equipment is by the test of network interface to tested networking products 13.In test module 125, built-in packet sending and receiving test model for the multiple network product, test dissimilar networking products by selecting different test models just can complete, and automatic decision and prompting test result.
Virtual network device module 126, be used for each network interface 122 virtual be an independently network equipment, each virtual network equipment has independently MAC Address, IP address and ICP/IP protocol ability to communicate.
In the utility model embodiment one, networking products testing apparatus 12 can also comprise the DHCP(Dynamic Host Configuration Protocol that is connected with virtual network device module 126, and DynamicHost arranges agreement) the server (not shown).When networking products testing apparatus 12 test router, because the WAN mouth of router acquiescence need to could work after Dynamic Host Configuration Protocol server obtains the IP address, so built-in Dynamic Host Configuration Protocol server in networking products testing apparatus 12, and provide the DHCP service to the all-network interface 122 of networking products testing apparatus 12.
In the utility model embodiment one, tested networking products 13 comprise switch, router, HUB(hub), ADSL(Asymmetric Digital Subscriber Line, ADSL (Asymmetric Digital Subscriber Line)) terminal, EPON (Ethernet Passive Optical Network, Ethernet passive optical network) equipment etc.
Test computer 11 is used for supervising the network product tester 12, manages and control tested networking products 13 and record detecting information.
Supervising the network product tester 12 is specially: test computer 11 is realized the automatic test job to tested networking products 13 each test events by supervising the network product tester 12.
Manage and control tested networking products 13, being specially: by reading the information of tested networking products 13, perhaps revising the running parameter of tested networking products 13, the carrying out of realization or subtest project.
Record detecting information, be specially: will each testing procedure result of tested networking products 13 be recorded, analyze, realize the information system management of production test, thus result and the state of traceable networking products in whole testing process.
The course of work of the test macro of the networking products that the utility model embodiment one provides is as follows:
To test 24 mouth switchs as example, 24 network interfaces 122 with switch access network product tester 12, each network interface 122 in these 24 network interfaces 122 is virtual is an independently network equipment, utilizes the communication between these 24 virtual network devices that the switch function of exchange is tested.
In addition, comprise that take test the router of 4 LAN mouths and 1 WAN mouth is as example, 5 network interfaces 122 with router access network product tester 12, each network interface 122 in these 5 network interfaces 122 is virtual is an independently network equipment, configure the network parameter (IP address, subnet mask, gateway) of these 5 virtual units according to the router operation principle, realize utilizing the communication between virtual network device that router is tested.
In the utility model embodiment one, the network interface 122, command control module 124, tested networking products access modules 127 and the virtual network device module 126 that comprise the control network interface 121 of connecting test computer 11, the tested networking products 13 of a plurality of connection due to networking products testing apparatus 12, so test computer 11 can be controlled and test by 12 pairs of tested networking products 13 of networking products testing apparatus.Thereby when having solved tested networking products 13 access network product testers 12 and having used, can not simultaneously tested computer 11 management and the problem controlled.The test that the networking products testing apparatus 12 that script is separated carries out and the tested networking products of test computer access control are combined as a cover test topology; Tested networking products only need access test topology once, just can complete the test of completing on original networking products testing apparatus and test computer; Test workshop section can merge into one, can reduce operating personnel, and be beneficial to automatic improving; In unified test topology, be convenient to networking products are tested management and the information recording/that carries out system.In addition, because networking products testing apparatus 12 comprises network address conversion module 123, so the tested networking products 13 of test computer 11 addressable a plurality of identical ip addresses.Moreover, comprise the Dynamic Host Configuration Protocol server that is connected with virtual network device module 126 due to networking products testing apparatus 12, therefore can realize the test to router.
Embodiment two:
See also Fig. 2, the test macro of the networking products that the utility model embodiment two provides is compared with the test macro of the networking products that the utility model embodiment two provides, difference is, also comprise the Automatic test clamp 23 that is connected with test computer 11, Automatic test clamp 23 comprises with test computer 11 by the serial ports control module 231 that is connected and the automatic plug networking products module 232 that is connected with control module 231.A plurality of tested networking products 13 are positioned in automatic plug networking products module 232, with by the network interface 122 of automatic plug networking products module 232 with a plurality of tested networking products 13 access network product testers 12, automatically plug networking products module 232 comprises interconnective electromagnetically operated valve 233, cylinder 234 and plug module 235, control module 231 is connected with electromagnetically operated valve 233, thereby control cylinder 234 moves, and will be positioned over the network interface 122 of a plurality of tested networking products 13 access network product testers 12 in plug module 235 to drive plug module 235.
In the utility model embodiment two, because the test macro of networking products comprises Automatic test clamp 23, therefore can further reduce operating personnel, and reduce operating personnel's labour intensity.
The above is only preferred embodiment of the present utility model; not in order to limit the utility model; all any modifications of doing within spirit of the present utility model and principle, be equal to and replace and improvement etc., within all should being included in protection range of the present utility model.