CN103139017B - The test system and method for a kind of network equipment - Google Patents

The test system and method for a kind of network equipment Download PDF

Info

Publication number
CN103139017B
CN103139017B CN201310064818.5A CN201310064818A CN103139017B CN 103139017 B CN103139017 B CN 103139017B CN 201310064818 A CN201310064818 A CN 201310064818A CN 103139017 B CN103139017 B CN 103139017B
Authority
CN
China
Prior art keywords
tested
test
network equipment
network
test server
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.)
Active
Application number
CN201310064818.5A
Other languages
Chinese (zh)
Other versions
CN103139017A (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.)
Chenzhou Shengyu Information Technology Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310064818.5A priority Critical patent/CN103139017B/en
Publication of CN103139017A publication Critical patent/CN103139017A/en
Application granted granted Critical
Publication of CN103139017B publication Critical patent/CN103139017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of test system of the network equipment, wherein, including test server and multiple networks, multiple network equipments to be tested each are connected with the network, multiple networks are connected by switching equipment with the test server;The test server includes a remote control unit, the remote control unit controls the test server, the connection between the test server and the network equipment to be tested is configured, the network equipment to be tested is tested according to the type of the network equipment to be tested and receives test result.The beneficial effect of its technical scheme is:The more network equipments can be tested simultaneously, improve testing efficiency, test while disparity items can be carried out according to the different type of the network equipment, testing efficiency is further increased, saves manpower and time.

Description

The test system and method for a kind of network equipment
Technical field
The present invention relates to the test system and method for a kind of method of testing, more particularly to a kind of network equipment.
Background technology
With the development of network, the substantial amounts of network equipment, which is put into, to be made so that network equipment manufacturer has to expand life Production scale is to deal with the increasing market demand.With production-scale expansion, original network based on single machine test Apparatus testing method needs to consume substantial amounts of time and manpower, whole production process bottleneck is occurred, reduces production efficiency.
The content of the invention
For existing above mentioned problem during existing network equipment detection, one kind is now provided and is intended to improve testing efficiency The network equipment test system and method.
Concrete technical scheme is as follows:
A kind of test system of the network equipment, wherein, including test server and multiple networks, each in the network Multiple network equipments to be tested are connected with, multiple networks are connected by switching equipment with the test server;
The test server includes a remote control unit, and the remote control unit controls the test server, The connection between the test server and the network equipment to be tested is configured, according to the type of the network equipment to be tested The network equipment to be tested is tested and receives test result.
Preferably, the switching equipment is interchanger, and the interchanger passes through VLAN(Virtual Local Area Network VLANs)Mouth connects the network equipment to be tested, and the interchanger passes through TRUNK(Trunking)Mouth connection institute State test server.
Preferably, the test server is provided with multiple network adapter, and each network adapter is connecting The TRUNK mouths of one interchanger.
Preferably, the interchanger of each network is extended by stacking or cascading.
A kind of method of testing of the network equipment, wherein, applied to the test system of the above-mentioned network equipment, the testing service Device includes WEB service unit, the WEB service unit include a hypertext interface to be worked by WEB access ports and with Multiple CGI of the hypertext interface connection(Common Gateway Interface CGI(Common gateway interface)s)Program, it is described remote Process control unit is mainly formed by the hypertext interface and multiple cgi scripts;The hypertext interface is remote to receive The configuration data related to test of journey input simultaneously shows test result, and the WEB service unit is according to the hypertext interface Cgi script corresponding to the configuration data startup received is configured to the test server and to described to be tested The network equipment is tested and receives test result.
Preferably, in addition to connect the remote control computer of the WEB access ports of the WEB service unit.
Preferably, the cgi script is configured to the test server and the network equipment to be tested is entered The method that row is tested and receives test result, specifically comprises the following steps:
Step S1, described cgi script initializes the port of the network adapter of the test server, and according to corresponding The VLAN of the interchanger is set, the virtual port in establishment in the test server with the corresponding interchanger adaptation;
Step S2, the exchange that described cgi script is pointed to by the virtual port of establishment to the virtual port The network equipment to be tested that machine is connected is scanned to determine whether normal operation;
Step S3, described cgi script to be tested is set according to the configuration data that the hypertext interface is submitted to described It is standby to be tested;
The test result data that the network equipment to be tested returns is handled and returned by step S4, described cgi script Shown back to the hypertext interface.
The beneficial effect of above-mentioned technical proposal is:
The more network equipments can be tested simultaneously, improve testing efficiency, can be according to the inhomogeneity of the network equipment Type carries out test while disparity items, further increases testing efficiency, saves manpower and time.
Brief description of the drawings
Fig. 1 is a kind of structural representation of the test system of the network equipment of the present invention;
Fig. 2 is configured and right for a kind of cgi script of the test system of the network equipment of the present invention to test server The network equipment to be tested is tested and receives the FB(flow block) of the method for test result.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
As shown in figure 1, a kind of test system of the network equipment of the present invention, wherein, including test server and multiple nets Network, multiple network equipments to be tested is connected with each network, multiple networks are connected by switching equipment with test server;Survey Examination server includes a remote control unit, and remote control unit controls test server, configuration testing server with it is to be tested Connection between the network equipment, network apparatus test is treated according to the type of the network equipment to be tested and is tested and receives test As a result.
Above-mentioned technical proposal is by the way that multiple network equipments to be tested are connected in multiple networks, and by multiple networks simultaneously It is connected in test server, so as to test multiple network equipments to be tested in multiple networks simultaneously.Due to Connecting the network of equipment to be tested has multiple, therefore can be connected the different types of network equipment to be tested according to different networks It is connected in a network, and sends different tests for different network by test server and instruct so as to realize while right The different types of network equipment to be tested is tested.Simultaneously because configuration and testing and control are realized by remote control unit, So that tester need not carry out test job in test site, so can by multiple network deployments in different scenes, by Long-range tester is tested simultaneously, and which can greatly improve testing efficiency.
On the basis of above-mentioned technical proposal, further, switching equipment can use interchanger, and interchanger is connected by VLAN mouths Network apparatus test is received, interchanger passes through TRUNK mouth connecting test servers.On this basis, test server can be set Multiple network adapter, each network adapter is connecting the TRUNK mouths of an interchanger.Meanwhile the exchange of each network Machine can be extended by stacking or cascading.
Also include a kind of method of testing of the network equipment, the survey applied to the above-mentioned network equipment in embodiments of the present invention Test system, test server include WEB service unit, and WEB service unit includes a hypertext to be worked by WEB access ports Interface and the multiple cgi scripts being connected with hypertext interface, remote control unit is mainly by hypertext interface and multiple CGI journeys Sequence is formed;Hypertext interface is to receive the configuration data related to test of remote input and show test result, WEB service Unit cgi script according to corresponding to starting configuration data that hypertext interface receives is configured and right to test server The network equipment to be tested is tested and receives test result.The different test function of the correspondence of plurality of cgi script, can root According to the hypertext interface of remote access WEB service unit, specific test function is set, and by WEB service unit according to configuration number Configured and tested according to the cgi script of selection corresponding function.
On the basis of above-mentioned technical proposal, further, as shown in Fig. 2 cgi script test server is configured with And the method that network apparatus test is tested and receives test result is treated, specifically comprise the following steps:
Step S1, the port of the network adapter of cgi script initialization test server, and according to corresponding interchanger VLAN is set, the virtual port in establishment in test server with corresponding interchanger adaptation;Wherein it can will connect different type The interchanger of the network equipment to be tested point to different virtual port, cgi script can send different to different virtual ports Test instruct to realize to the different types of network equipment to be tested while test.
Step S2, the interchanger that cgi script is pointed to by the virtual port of establishment to virtual port is connected to be tested The network equipment is scanned to determine whether normal operation;Step S3, the configuration data that cgi script is submitted according to hypertext interface Test equipment is treated to be tested.
Step S4, the test result data that the network equipment to be tested returns is handled and returns to super text by cgi script This interface is shown.
In above-mentioned technical proposal, CURL storehouses can be installed in test server(Using URL syntax under command line mode The file transfer conveyance of work), cgi script can be by calling the realization of CURL storehouses visit multiple network equipments to be tested simultaneously Ask, HTTP is handled with CURL storehouses(Hypertext transfer protocol HTTP)Protocol massages can improve The access of the network equipment to be tested provided with WEB configuration interfaces and allocative efficiency
On the basis of above-mentioned technical proposal, further, in addition to connect the WEB access ports of WEB service unit Remote control computer, remote control computer can by remote control WEB service unit and then realize to test server Control, so as to reach the purpose of remote control test process.It is to be noted that remote control computer and test server It can be formed by a computer, i.e., local that directly test server is configured and controlled, which is suitable for without long-range control Make the occasion needed.
Preferred embodiments of the present invention are the foregoing is only, not thereby limit embodiments of the present invention and protection model Enclose, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Scheme obtained by equivalent substitution and obvious change, should be included in protection scope of the present invention.

Claims (2)

  1. A kind of 1. method of testing of the network equipment, it is characterised in that applied to the test system of a network equipment, the test system System includes test server and multiple networks, and multiple network equipments to be tested are connected with each network, multiple described Network is connected by switching equipment with the test server;
    The test server includes a remote control unit, and the remote control unit controls the test server, configuration Connection between the test server and the network equipment to be tested, according to the type of the network equipment to be tested to institute The network equipment to be tested is stated to be tested and receive test result;
    The switching equipment is interchanger, and the interchanger connects the network equipment to be tested by VLAN mouths;
    The test server is provided with multiple network adapter, and each network adapter is connecting an exchange The TRUNK mouths of machine;
    The interchanger of each network is extended by stacking or cascading
    The test server includes WEB service unit, what the WEB service unit was worked including one by WEB access ports Hypertext interface and the multiple cgi scripts being connected with the hypertext interface, the remote control unit is mainly by described super Text interface and multiple cgi scripts are formed;Multiple cgi scripts correspond to different test functions, and the hypertext interface is used To receive the configuration data related to test of remote input and show test result, the WEB service unit is according to described super Cgi script corresponding to the configuration data startup that text interface receives is configured to the test server and to institute The network equipment to be tested is stated to be tested and receive test result;
    The cgi script is configured to the test server and the network equipment to be tested is tested and received The method of test result, specifically comprises the following steps:
    Step S1, described cgi script initializes the port of the network adapter of the test server, and according to corresponding described The VLAN of interchanger is set, the virtual port in establishment in the test server with the corresponding interchanger adaptation;
    Step S2, the interchanger institute that described cgi script is pointed to by the virtual port of establishment to the virtual port The network equipment to be tested of connection is scanned to determine whether normal operation;
    Step S3, described cgi script enters according to the configuration data that the hypertext interface is submitted to the equipment to be tested Row test;
    The test result data that the network equipment to be tested returns is handled and returned to by step S4, described cgi script The hypertext interface is shown.
  2. 2. the method for testing of the network equipment as claimed in claim 1, it is characterised in that also include to connect the WEB service The remote control computer of the WEB access ports of unit.
CN201310064818.5A 2013-02-28 2013-02-28 The test system and method for a kind of network equipment Active CN103139017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310064818.5A CN103139017B (en) 2013-02-28 2013-02-28 The test system and method for a kind of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310064818.5A CN103139017B (en) 2013-02-28 2013-02-28 The test system and method for a kind of network equipment

Publications (2)

Publication Number Publication Date
CN103139017A CN103139017A (en) 2013-06-05
CN103139017B true CN103139017B (en) 2017-11-24

Family

ID=48498354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310064818.5A Active CN103139017B (en) 2013-02-28 2013-02-28 The test system and method for a kind of network equipment

Country Status (1)

Country Link
CN (1) CN103139017B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795800A (en) * 2014-02-12 2014-05-14 浪潮集团有限公司 Remote exchanger managing method based on web
CN104918280B (en) * 2015-04-27 2018-09-14 南车株洲电力机车研究所有限公司 In-vehicle wireless device, train apparatus wireless test system and method
CN104954203B (en) * 2015-06-24 2018-11-06 深圳市共进电子股份有限公司 Support the DSL product automations detecting system and method for IPv6 agreements
CN106886206A (en) * 2015-12-15 2017-06-23 西安富成防务科技有限公司 A kind of missile-borne computer product Auto-Test System
CN107124333B (en) * 2017-06-13 2019-08-13 烽火通信科技股份有限公司 A kind of network-building method of automatic test environment
CN107517133A (en) * 2017-09-04 2017-12-26 上海斐讯数据通信技术有限公司 A kind of method for configuring routers and system
CN109379588B (en) * 2018-12-29 2020-11-03 广州敏视数码科技有限公司 Automatic testing method and system for high-definition DVR
CN111371638B (en) * 2020-02-18 2022-01-18 深圳市晨北科技有限公司 Intelligent equipment testing method and device, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588897A (en) * 2004-09-13 2005-03-02 深圳市中实科技有限公司 Detecting and analyzing server, customer end and system for network digital communication signal
CN101937380A (en) * 2009-06-30 2011-01-05 鸿富锦精密工业(深圳)有限公司 Computer testing system and method
CN201733322U (en) * 2010-07-30 2011-02-02 中国科学院软件研究所 Network test equipment of wireless sensor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002056541A2 (en) * 2000-10-27 2002-07-18 Tekelec Us Methods and systems for testing comminications network components
US20030055909A1 (en) * 2001-08-24 2003-03-20 Stephan Hartwig Pluggable server module for wireless remote controlling of devices
CN101197720B (en) * 2007-12-27 2010-06-23 华为技术有限公司 Method and device for configuring Ethernet equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588897A (en) * 2004-09-13 2005-03-02 深圳市中实科技有限公司 Detecting and analyzing server, customer end and system for network digital communication signal
CN101937380A (en) * 2009-06-30 2011-01-05 鸿富锦精密工业(深圳)有限公司 Computer testing system and method
CN201733322U (en) * 2010-07-30 2011-02-02 中国科学院软件研究所 Network test equipment of wireless sensor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动终端测试自动化工具的设计与实现;闫雪娟;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120915;I138-128 *

Also Published As

Publication number Publication date
CN103139017A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN103139017B (en) The test system and method for a kind of network equipment
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN102333005B (en) Tester control method in automatic testing system
CN103067225B (en) A kind of test system
CN107659434A (en) A kind of automatic test approach of Devices to test, apparatus and system
US11153185B2 (en) Network device snapshots
CN101820359B (en) Fault processing method and equipment for network equipment
CN104468594B (en) The method, apparatus and system of a kind of request of data
CN107094091B (en) A kind of intelligent substation station level network configuration method of calibration and system
CN106568168A (en) Debugging method, debugger and system
CN103595712B (en) A kind of Web authentication method, apparatus and system
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
CN107659930A (en) A kind of AP connection control methods and device
CN107846304A (en) A kind of automation engine of mixing cloud service architecture centralized management
JP2010124162A (en) Communication equipment and network testing method
CN105632385B (en) A kind of LED display blind-spot detection method and its detection device
CN109005080B (en) Distributed packet forwarding implementation method, implementation system and automatic test method
CN104052632B (en) Equipment automatization method of testing and device based on virtual serial port server
CN106059964A (en) Message forwarding method and apparatus
CN109756400A (en) The flow rate test method and system of 10G POE interchanger
CN102739460B (en) Interface wiring path detection device and detection method thereof
CN105790834A (en) Optical network unit testing system and testing method
CN101599824B (en) Method and system for realizing multilevel switching network global timing signal synchronization and switching network equipment
CN104460638A (en) Multi-set solar cell test monitoring system
CN104052670B (en) A kind of communication means and 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
TR01 Transfer of patent right

Effective date of registration: 20201112

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130605

Assignee: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Assignor: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000762

Denomination of invention: A test system and method for network equipment

Granted publication date: 20171124

License type: Common License

Record date: 20211117

Application publication date: 20130605

Assignee: Hangzhou Bolian Intelligent Technology Co.,Ltd.

Assignor: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000761

Denomination of invention: A test system and method for network equipment

Granted publication date: 20171124

License type: Common License

Record date: 20211117

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20230921

Address after: No. 1408-1, Comprehensive Building of Zhonglin Technology Enterprise Incubation Base, Linyi Avenue, Bailutang Town, Chenzhou City, Chenzhou District, Hunan Province, China (Hunan) Pilot Free Trade Zone, 423699 (commitment declaration)

Patentee after: Chenzhou Shengyu Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right