CN103795579A - Switch test system and switch test method - Google Patents

Switch test system and switch test method Download PDF

Info

Publication number
CN103795579A
CN103795579A CN201210418681.4A CN201210418681A CN103795579A CN 103795579 A CN103795579 A CN 103795579A CN 201210418681 A CN201210418681 A CN 201210418681A CN 103795579 A CN103795579 A CN 103795579A
Authority
CN
China
Prior art keywords
switch
host computer
relay
module
switch 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.)
Pending
Application number
CN201210418681.4A
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.)
Shanghai Feixun Data Communication 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 CN201210418681.4A priority Critical patent/CN103795579A/en
Publication of CN103795579A publication Critical patent/CN103795579A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a switch test system and a switch test method. The switch test system comprises an upper computer, a data output module, a data input module and a relay module. The relay module comprises multiple relays. The data output module is connected with the upper computer and the relay module and used for controlling on or off of the multiple relays according to the preset state contained in a control instruction sent by the upper computer. The data input module is used for reading the on-off state of the relays and sending the on-off state to the upper computer. The upper computer is used for sending a PING command to a switch to detect performance of the switch. According to the switch test system and the switch test method utilizing the switch test system, the relay module is controlled via the control instruction sent by the upper computer so that receiving and sending performance of data packets of multiple switches can be monitored in real time, and efficiency in a switch performance test and reliability in a test result are enhanced.

Description

Switch test system and switch test method
Technical field
The present invention relates to a kind of switch test system and switch test method.
Background technology
The data packet transceive of switch is its basic function.In switch production process, the high temperature ageing test of product is the important test step that improves switch product reliability, guarantees under extreme conditions stable performance of product.The high temperature ageing test of product has strict testing standard, and test environment temperature will reach 50 ± 5 ℃ conventionally.Product is in running order in burn-in test process.In prior art, be whether working temperature by Real-Time Monitoring product and output voltage parameter carry out diagnostic products and break down in ageing process, to improve the q&r of product, but the parameter that such detection needs a large amount of manpowers to remove to check one by one switch.In prior art, lack and can directly monitor test macro and the method for testing that the data packet transceive situation of multiple switches is monitored in real time simultaneously.
Summary of the invention
The technical problem to be solved in the present invention is the defect that cannot directly carry out Real-Time Monitoring in prior art to the data packet transceive performance of multiple switches in order to overcome, propose a kind of switch test system and utilize the switch test method of this switch test system, by a host computer, a data outputting module, a data input module and a relay module are set, this relay module of control command control of utilizing this host computer to send, carries out Real-Time Monitoring thereby realize to the data packet transceive performance of multiple switches.
The present invention solves above-mentioned technical problem by following technical proposals:
The invention provides a kind of switch test system, its feature is, comprise a host computer, one data outputting module, one data input module and a relay module, this relay module comprises the multiple relays for connecting multiple switches, this data outputting module connects this host computer and this relay module, conducting or the disconnection of the plurality of relay of preset state control containing for a control command of sending according to this host computer, this data input module is for reading the on off operating mode of the plurality of relay and being sent to this host computer, this host computer is for sending a PING order to check the data packet transceive performance of the plurality of switch to the plurality of switch respectively.
Wherein, PING is the abbreviation of Packet Internet Groper, i.e. the Internet packets survey meter.PING order is the program for test network connection amount.By sending an ICMP (Internet Control Messages Protocol), i.e. the instruction of internet letter report control protocol, to destination, also whether report receives desirable ICMP Echo Reply.The principle that PING order utilizes is as follows: the uniqueness of utilizing the IP address of machine on network, send a packet to target ip address, require the other side to return to an onesize packet again and determine whether two net machines connect and communicate, time delay is how many.
It will be appreciated by those skilled in the art that this preset state is exactly that this control command can be controlled the state that the plurality of relay reaches in theory.This data input module is sent to this host computer after reading the on off operating mode of the plurality of relay, and making this host computer to judge which in fact the plurality of switch according to the on off operating mode of the plurality of relay and this preset state is to be normally connected with this host computer.In the time that this host computer sends the data packet transceive performance of the plurality of switch of PING command verification, just can avoid because certain in the plurality of switch causes the erroneous judgement to data packet transceive performance because malunion is normal.
Preferably, this data input module and this data outputting module are respectively a micro-control unit, and micro-control unit is called for short MCU, is called again one chip microcomputer.
Preferably, this relay module is a relay matrix.
Preferably, this switch test system is arranged under high temperature ageing test environment.
The present invention also provides a kind of switch test method of utilizing above-mentioned switch test system, and its feature is, this switch test method comprises the following steps:
S 101, this host computer sends this control command to this data outputting module;
S 102, the plurality of relay of this data outputting module control conducting or disconnection;
S 103, this data input module reads the on off operating mode of the plurality of relay and is sent to this host computer;
S 104, this host computer judges that whether the on off operating mode of the plurality of relay consistent with this preset state, when judged result is when being, enters step S 105, when judged result is while being no, this host computer sends a prompting, and flow process stops;
S 105, this host computer sends a PING order to check the data packet transceive performance of the plurality of switch to the plurality of switch respectively.
Wherein, this step S 105the check of the data packet transceive performance to the plurality of switch is to obtain assay by analyzing the packet that packet that this host computer sends and the plurality of switch return, and can be the analysis of carrying out returning to speed and/or packet loss to the analysis of packet.
Meeting on the basis of this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Switch test system of the present invention and utilize the switch test method of this switch test system, the control command control relay module of sending by host computer, thereby realize, the data packet transceive performance of multiple switches is carried out to Real-Time Monitoring, improved the efficiency of switch performance test and the reliability of test result.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the switch test system of embodiments of the invention 1.
Fig. 2 is the flow chart of the switch test method of embodiments of the invention 2.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail, but therefore do not limit the present invention among described scope of embodiments.
Embodiment 1
As shown in Figure 1, the switch test system of the present embodiment, comprise a host computer 1, one data outputting module 2, one data input module 4 and a relay module 3, this relay module 3 comprises the multiple relays 31 for connecting multiple switches 5, this data outputting module 2 connects this host computer 1 and this relay module 3, conducting or the disconnection of the plurality of relay 31 of preset state control containing for a control command of sending according to this host computer 1, this data input module 4 is for reading the on off operating mode of the plurality of relay 31 and being sent to this host computer 1, this host computer 1 is for sending a PING order to check the data packet transceive performance of the plurality of switch 5 to the plurality of switch 5 respectively.
Wherein this host computer 1 is a computer, and this data input module 4 and this data outputting module 2 are respectively a micro-control unit.This control command can be arranged according to actual needs by those skilled in the art, only need be reached and be made that the plurality of relay 31 middle parts are divided into conducting state, remaining is off-state by this control command.This preset state is exactly that this control command can be controlled the state that the plurality of relay 31 reaches in theory.This host computer 1 sends after a PING order packet loss of the packet by returning and returns to speed the performance of checking the plurality of switch 5.
Those skilled in the art are to be understood that; shown in Fig. 1, three relays 31 and three switches 5 are only schematic; the switch quantity that does not therefore limit the relay quantity in the present invention and can detect, as long as the scheme that multiple relays are set in this switch test system all falls into protection scope of the present invention.
Preferably, this relay module 3 is a relay matrix.This switch test system is arranged under high temperature ageing test environment, the data packet transceive performance of the plurality of switch 5 is monitored simultaneously.
Embodiment 2
As shown in Figure 2, switch 5 method of testings of the present embodiment have been utilized the switch test system of embodiment 1, and these switch 5 method of testings comprise the following steps:
S 101, this host computer 1 sends this control command to this data outputting module 2;
S 102, this data outputting module 2 controls conducting or the disconnection of the plurality of relay 31;
S 103, this data input module 4 reads the on off operating mode of the plurality of relay 31 and is sent to this host computer 1;
S 104, this host computer 1 judges that whether the on off operating mode of the plurality of relay 31 consistent with this preset state, when judged result is when being, enters step S 105, when judged result is while being no, this host computer 1 sends a prompting, and flow process stops;
S 105, this host computer 1 sends a PING order to check the data packet transceive performance of the plurality of switch 5 to the plurality of switch 5 respectively.
Wherein, this step S 104, in when judged result this prompting that this host computer 1 sends while being no can be to show the information that a malunion is normal on this host computer 1, check that with reminding user whether the connection of each several part in this switch test system normal.This step S 105the check of the data packet transceive performance to the plurality of switch 5 is to obtain assay by analyzing the packet that packet that this host computer 1 sends and the plurality of switch 5 return, and can be the analysis of carrying out returning to speed and/or packet loss to the analysis of packet.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these execution modes, but these changes and modification all fall into protection scope of the present invention.

Claims (5)

1. a switch test system, it is characterized in that, comprise a host computer, one data outputting module, one data input module and a relay module, this relay module comprises the multiple relays for connecting multiple switches, this data outputting module connects this host computer and this relay module, conducting or the disconnection of the plurality of relay of preset state control containing for a control command of sending according to this host computer, this data input module is for reading the on off operating mode of the plurality of relay and being sent to this host computer, this host computer is for sending a PING order to check the data packet transceive performance of the plurality of switch to the plurality of switch respectively.
2. switch test system as claimed in claim 1, is characterized in that, this data input module and this data outputting module are respectively a micro-control unit.
3. switch test system as claimed in claim 1, is characterized in that, this relay module is a relay matrix.
4. switch test system as claimed in claim 1, is characterized in that, this switch test system is arranged under high temperature ageing test environment.
5. a switch test method for the switch test system of utilization as described in any one in claim 1-4, is characterized in that, this switch test method comprises the following steps:
S 101, this host computer sends this control command to this data outputting module;
S 102, the plurality of relay of this data outputting module control conducting or disconnection;
S 103, this data input module reads the on off operating mode of the plurality of relay and is sent to this host computer;
S 104, this host computer judges that whether the on off operating mode of the plurality of relay consistent with this preset state, when judged result is when being, enters step S 105, when judged result is while being no, this host computer sends a prompting, and flow process stops;
S 105, this host computer sends a PING order to check the data packet transceive performance of the plurality of switch to the plurality of switch respectively.
CN201210418681.4A 2012-10-26 2012-10-26 Switch test system and switch test method Pending CN103795579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210418681.4A CN103795579A (en) 2012-10-26 2012-10-26 Switch test system and switch test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210418681.4A CN103795579A (en) 2012-10-26 2012-10-26 Switch test system and switch test method

Publications (1)

Publication Number Publication Date
CN103795579A true CN103795579A (en) 2014-05-14

Family

ID=50670904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210418681.4A Pending CN103795579A (en) 2012-10-26 2012-10-26 Switch test system and switch test method

Country Status (1)

Country Link
CN (1) CN103795579A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196661A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Ageing detection method and device
CN105207837A (en) * 2015-07-22 2015-12-30 广西大学 Network type signal acquisition and control device
CN105262646A (en) * 2015-11-10 2016-01-20 上海斐讯数据通信技术有限公司 A method for testing reliability of a switch
CN105577273A (en) * 2016-03-07 2016-05-11 太仓市同维电子有限公司 Method for testing ONU data forwarding function in batches
CN106569108A (en) * 2016-11-02 2017-04-19 上海斐讯数据通信技术有限公司 Switch withstand voltage detection system and detection method
CN106789423A (en) * 2016-12-20 2017-05-31 深圳市菲菱科思通信技术股份有限公司 Interchanger automatic test device and method of testing
CN111181760A (en) * 2019-09-02 2020-05-19 腾讯科技(深圳)有限公司 Network fault detection method and device, computer readable medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696867A (en) * 2004-05-15 2005-11-16 鸿富锦精密工业(深圳)有限公司 System and method of controlling power source in main board through network
CN201414135Y (en) * 2009-05-26 2010-02-24 上海晨兴希姆通电子科技有限公司 Test switching device of multi-port router
CN101783745A (en) * 2009-01-21 2010-07-21 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN102447591A (en) * 2010-12-31 2012-05-09 北京谊安医疗系统股份有限公司 System and method for testing multiple serial devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696867A (en) * 2004-05-15 2005-11-16 鸿富锦精密工业(深圳)有限公司 System and method of controlling power source in main board through network
CN101783745A (en) * 2009-01-21 2010-07-21 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN201414135Y (en) * 2009-05-26 2010-02-24 上海晨兴希姆通电子科技有限公司 Test switching device of multi-port router
CN102447591A (en) * 2010-12-31 2012-05-09 北京谊安医疗系统股份有限公司 System and method for testing multiple serial devices
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196661A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Ageing detection method and device
CN105207833A (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Aging detection method and aging detection device
US9906971B2 (en) 2014-06-23 2018-02-27 Zte Corporation Ageing detection method and device
CN105207837A (en) * 2015-07-22 2015-12-30 广西大学 Network type signal acquisition and control device
CN105262646A (en) * 2015-11-10 2016-01-20 上海斐讯数据通信技术有限公司 A method for testing reliability of a switch
CN105262646B (en) * 2015-11-10 2019-07-09 上海斐讯数据通信技术有限公司 A method of test interchanger reliability
CN105577273A (en) * 2016-03-07 2016-05-11 太仓市同维电子有限公司 Method for testing ONU data forwarding function in batches
CN106569108A (en) * 2016-11-02 2017-04-19 上海斐讯数据通信技术有限公司 Switch withstand voltage detection system and detection method
CN106569108B (en) * 2016-11-02 2019-09-27 上海斐讯数据通信技术有限公司 A kind of the resistance test system and detection method of interchanger
CN106789423A (en) * 2016-12-20 2017-05-31 深圳市菲菱科思通信技术股份有限公司 Interchanger automatic test device and method of testing
CN106789423B (en) * 2016-12-20 2021-02-26 深圳市菲菱科思通信技术股份有限公司 Automatic testing device and method for switch
CN111181760A (en) * 2019-09-02 2020-05-19 腾讯科技(深圳)有限公司 Network fault detection method and device, computer readable medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN103795579A (en) Switch test system and switch test method
US8014297B2 (en) Network test apparatus, network test method and network test program
CN102111310B (en) Method and system for monitoring content delivery network (CDN) equipment status
CN108134684B (en) BMCIP address management system, management terminal and management method
CN103514078A (en) Hard disk monitoring system
CN107018526B (en) The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN102821416A (en) System for testing abnormal interruption of wireless communication module and application method thereof
CN107094091B (en) A kind of intelligent substation station level network configuration method of calibration and system
CN205067616U (en) General test platform
CN105550080A (en) Method, apparatus and system for performing server program fault injection based on Linux
CN104880222B (en) Secondary device condition monitoring system based on 3G radio communications
CN102098188A (en) Method and system for detecting IP (Internet Protocol) connection
CN103178980A (en) Network card management system
CN202735418U (en) Power quality monitoring system
CN106706000B (en) Theodolite intelligent network monitoring method and system
CN102022314B (en) Testing tool and testing system of fan
CN106874162A (en) A kind of monitoring management pressure test integration method based on IPMI services
CN108574542B (en) BTM aging test system
CN110988528A (en) Method, device and system for testing product signal integrity
CN108089952B (en) Automatic change test equipment
CN105182131A (en) General test platform and test method
CN115454015A (en) Controller node detection method, controller node detection device, control system, vehicle and storage medium
CN103376369A (en) Test method and test apparatus of communication load
CN114338464A (en) Fault diagnosis method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140514

RJ01 Rejection of invention patent application after publication