CN109474501A - Switch test device and method - Google Patents

Switch test device and method Download PDF

Info

Publication number
CN109474501A
CN109474501A CN201910028554.5A CN201910028554A CN109474501A CN 109474501 A CN109474501 A CN 109474501A CN 201910028554 A CN201910028554 A CN 201910028554A CN 109474501 A CN109474501 A CN 109474501A
Authority
CN
China
Prior art keywords
test
host
interface
tested
switch
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
CN201910028554.5A
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.)
Shenzhen Phoenix Communication Technology Ltd By Share Ltd
Original Assignee
Shenzhen Phoenix Communication Technology Ltd By Share 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 Shenzhen Phoenix Communication Technology Ltd By Share Ltd filed Critical Shenzhen Phoenix Communication Technology Ltd By Share Ltd
Priority to CN201910028554.5A priority Critical patent/CN109474501A/en
Publication of CN109474501A publication Critical patent/CN109474501A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The invention discloses a kind of switch test device and methods, wherein, the test device includes tested interchanger, switch unit, controller and test host, tested interchanger has control interface and multiple RJ45 interfaces, switch unit is connected with multiple RJ45 interfaces, controller is connected with switch unit, and test host is connected with controller, switch unit and control interface, for sending test instruction to controller sending port switching command and to tested interchanger;Controller for echo port switching command and control switch Unit selection one in multiple RJ45 interfaces is connected with test host;Tested interchanger is instructed for response test and the RJ45 interface by connecting sends test bag to host is tested, to carry out communication test by RJ45 interface of the test host to connection.The switch test device and method provided according to embodiments of the present invention, the operation is more convenient, and testing efficiency is higher.

Description

Switch test device and method
Technical field
The present invention relates to communication test technical field more particularly to a kind of switch test device and methods.
Background technique
Interchanger is a kind of network equipment for electric (light) signal forwarding, it can be any two of access switch Network node provides the pathway for electrical signals exclusively enjoyed.The most common interchanger is Ethernet switch, other common also phones Voice exchange, optical fiber switch etc..
Interchanger is after the completion of production and processing, performance test before being dispatched from the factory, such as forward rate, testing throughput Deng, in the related technology, the test for interchanger generally requires and connect RJ45 interface by cable with test host, due to RJ45 interface quantity on interchanger is more, such as 18,24 etc., so, when testing these RJ45 interfaces, every time When testing a RJ45 interface, need that the RJ45 interface is connected to test host by cable manually, meanwhile, it needs to extract it Cable on his RJ45 interface, in this way, its is cumbersome, testing efficiency is low.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention One purpose is to propose a kind of switch test device.
It is another object of the present invention to propose a kind of switch test method.
To achieve the above object, on the one hand, switch test device according to an embodiment of the present invention, comprising:
Tested interchanger, the tested interchanger have control interface and multiple RJ45 interfaces;
Switch unit, the switch unit are connected with multiple RJ45 interfaces;
Controller, the controller are connected with the switch unit;
Host is tested, the test host is connected with the controller, the switch unit and the control interface, is used for Test instruction is sent to controller sending port switching command and to the tested interchanger;
The controller controls the switch unit selectively for multiple institutes for responding the port switching instruction One stated in RJ45 interface connects with the test host;
The tested interchanger is used to respond the test instruction and the RJ45 interface by connecting sends test bag To the test host, to carry out communication test by the RJ45 interface of the test host to connection.
According to one embodiment of present invention, the switch unit includes multiple electronic switches, multiple electronic switches It is corresponded with multiple RJ45 interfaces, each electronic switch is connected with the corresponding one RJ45 interface.
According to one embodiment of present invention, between the test host and the controller and the test host with It is connected between the control interface by Console line, between the test host and the switch unit and the switch It is connected between unit and the RJ45 interface by cable.
On the other hand, switch test method according to an embodiment of the present invention, comprising:
Host is tested to controller sending port switching command;
Controller respond port switching instruction and control switch Unit selection by one in multiple RJ45 interfaces It is a to be connected with test host;
It tests host and sends test instruction to tested interchanger;
Test instruction described in tested switch responds and the RJ45 interface by connecting send test bag to testing host, with Communication test is carried out by RJ45 interface of the test host to connection.
The switch test device and method provided according to embodiments of the present invention, controller control switch Unit selection Ground is connected one in multiple RJ45 interfaces with test host;The test instruction that tested switch responds test host is sent And the RJ45 interface by connecting sends test bag to host is tested, to connect by testing host to the RJ45 of connection Mouth carries out communication test, in this way, each RJ45 interface and cable disposably can be connected to switch unit before test, Being selectively turned on using switch unit during follow-up test, so that RJ45 interface and test main-machine communication, and then it is successively complete The communication test of pairs of each RJ45 interface, the operation is more convenient, and testing efficiency is higher.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the structural schematic diagram of switch test device of the embodiment of the present invention;
Fig. 2 is the flow chart of switch test method of the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention, based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " " axial direction ", " circumferential direction ", " radial direction " be orientation based on the figure or Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.In the description of the present invention, the meaning of " plurality " is two or more, Unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be machine Tool connection, is also possible to be electrically connected;It can be directly connected, two members can also be can be indirectly connected through an intermediary Connection inside part.For the ordinary skill in the art, above-mentioned term can be understood in this hair as the case may be Concrete meaning in bright.
In the present invention unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower" It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it Between other characterisation contact.Moreover, fisrt feature includes the first spy above the second feature " above ", " above " and " above " Sign is right above second feature and oblique upper, or is merely representative of first feature horizontal height higher than second feature.Fisrt feature exists Second feature " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of First feature horizontal height is less than second feature.
The switch test device of the present invention is described in detail embodiment with reference to the accompanying drawings.
Shown in referring to Fig.1, the switch test device provided according to embodiments of the present invention, including be tested interchanger 10, open Close unit 20, controller 30 and test host 40.
Specifically, be tested interchanger 10 have control interface 102 and multiple RJ45 interfaces 101, switch unit 20 with it is multiple The RJ45 interface 101 is connected, and controller 30 is connected with the switch unit 20, test host 40 and the controller 30, institute It states switch unit 20 and the control interface 102 is connected, for being tested to 30 sending port switching command of controller and to described Interchanger 10 sends test instruction.
Controller 30 controls the switch unit 20 selectively for multiple institutes for responding the port switching instruction One stated in RJ45 interface 101 connects with the test host 40.Tested interchanger 10 instruct for responding the test and Test bag is sent to the test host 40, to dock by the test host 40 by the RJ45 interface 101 of connection The logical RJ45 interface 101 carries out communication test.
Illustratively, it tests between host 40 and the controller 30 and the test host 40 and the control interface It is connected between 102 by Console line, between the test host 40 and the switch unit 20 and the switch unit 20 It is connect between the RJ45 interface 101 by cable, in this way, may be implemented between test host 40 and controller 30, test Communication connection between host 40 and tested interchanger 10.
That is, each RJ45 interface 101 of tested interchanger 10 is connected to test host 40 by switch unit 20, Host 40 is tested, and the input terminal of controller 30 is connect with test host 40, the output end and switch unit 20 of controller 30 connect It connects, in addition, test host 40 is also connect with the control interface 102 of tested interchanger 10.
Test host 40 can receive port switching instruction to 30 sending port switching command of controller, controller 30 Afterwards, control switch unit 20 switches over, and then selectively connects a RJ45 interface 101 and test host 40, and its He disconnects RJ45 interface 101 with test host 40, and in other words, test host 40 to the switching of 30 sending port of controller by referring to It enables, and then selects one in each RJ45 interface 101 to connect with test host 40 by the 30 control switch unit 20 of controller It is logical, in this way, realizing on-off switching of multiple RJ45 interfaces 101 between test host 40.
In addition, after one RJ45 interface 101 (such as the first RJ45 interface 101) of selection and test host 40 are connected, Test instruction can be sent to the control interface 102 of tested interchanger 10 by testing host 40, so that test host 40 is connecing After receiving test instruction, test bag is sent to test host 40, in this way, master can be tested by the first RJ45 interface 101 Machine 40 can carry out communication performance test to the RJ45 interface 101.After first test of RJ45 interface 101 is completed, test Host 40 continues sending port switching command, so that controller 30 instructs control switch unit 20 to switch to according to the port switching Next RJ45 interface 101 (such as the 2nd RJ45 interface 101) and test host 40 are connected, and test host 40 again to tested exchange The control interface 102 of machine 10 sends test instruction, so that test host 40 is after receiving test instruction, by the Two RJ45 interfaces 101 send test bag to test host 40, in this way, can test host 40 can be to the 2nd RJ45 interface 101 Communication performance test is carried out, is so recycled, the communication performance test to each RJ45 interface 101 can be completed.
The switch test device provided according to embodiments of the present invention, 30 control switch unit 20 of controller selectively will Ground connects one in multiple RJ45 interfaces 101 with test host 40;What tested 10 response test host 40 of interchanger was sent Test instructs and the RJ45 interface 101 by connecting sends test bag to host 40 is tested, with right by test host 40 The RJ45 interface 101 connected carries out communication test, in this way, before test can be disposably by each RJ45 interface 101 It is connected to switch unit 20 with cable, being selectively turned on using switch unit 20 during follow-up test, so that RJ45 connects Mouth 101 is communicated with test host 40, and then is sequentially completed the communication test to each RJ45 interface 101, and the operation is more convenient, Testing efficiency is higher.
In one embodiment of the invention, switch unit 20 includes multiple electronic switches 201, multiple electronic switches 201 correspond with multiple RJ45 interfaces 101, each electronic switch 201 and the corresponding one RJ45 interface 101 are connected, wherein electronic switch 201 can be using transistor etc..
In this way, each electronic switch 201 can correspond to one RJ45 interface 101 of control and test logical between host 40 It is disconnected, it is controlled using the selective on-off that multiple RJ45 interfaces 101 can be realized in multiple electronic switches 201.
Referring to shown in Fig. 2, the embodiment of the invention also provides a kind of switch test methods, can be used for above-described embodiment Middle switch test system, this method comprises:
S10, host 40 is tested to 30 sending port switching command of controller.
S20, controller 30 respond the port switching instruction and control switch unit 20 selectively meets multiple RJ45 One in mouth 101 is connected with test host 40.
S30, test host 40 send test instruction to tested interchanger 10.
S40, tested interchanger 10 respond the test and instruct and send test bag to survey by the RJ45 interface 101 of connection Host 40 is tried, communication test is carried out with the RJ45 interface 101 by 40 pairs of host connections of test.
That is, test host 40 is first to 30 sending port switching command of controller, controller 30 receives the port and cuts After changing instruction, control switch unit 20 is switched over, and then selectively connects a RJ45 interface 101 and test host 40 It is logical, and other RJ45 interfaces 101 and test host 40 disconnect.In one RJ45 interface 101 of selection (such as the first RJ45 interface 101) after connecting with test host 40, test host 40 can send test to the control interface 102 of tested interchanger 10 and refer to It enables, so that test host 40 after receiving test instruction, sends test bag by the first RJ45 interface 101 and extremely surveys Host 40 is tried, in this way, can test host 40 can carry out communication performance test to the RJ45 interface 101.
And after first test of RJ45 interface 101 is completed, test host 40 can continue sending port switching command, So that controller 30 instructs control switch unit 20 to switch to next RJ45 interface 101 (such as second according to the port switching RJ45 interface 101) it is connected with test host 40, test host 40 is sent to the control interface 102 of tested interchanger 10 again to be tested Instruction, so that test host 40 sends test bag extremely after receiving test instruction, through the 2nd RJ45 interface 101 Host 40 is tested, in this way, can test host 40 can carry out communication performance test to the 2nd RJ45 interface 101, is so recycled, The communication performance test to each RJ45 interface 101 can be completed.
The switch test method provided according to embodiments of the present invention, 30 control switch unit 20 of controller selectively will Ground connects one in multiple RJ45 interfaces 101 with test host 40;What tested 10 response test host 40 of interchanger was sent Test instructs and the RJ45 interface 101 by connecting sends test bag to host 40 is tested, with right by test host 40 The RJ45 interface 101 connected carries out communication test, in this way, before test can be disposably by each RJ45 interface 101 It is connected to switch unit 20 with cable, being selectively turned on using switch unit 20 during follow-up test, so that RJ45 connects Mouth 101 is communicated with test host 40, and then is sequentially completed the communication test to each RJ45 interface 101, and the operation is more convenient, Testing efficiency is higher.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in scope of patent protection of the invention.

Claims (4)

1. a kind of switch test device characterized by comprising
Tested interchanger, the tested interchanger have control interface and multiple RJ45 interfaces;
Switch unit, the switch unit are connected with multiple RJ45 interfaces;
Controller, the controller are connected with the switch unit;
Host is tested, the test host is connected with the controller, the switch unit and the control interface, is used for control Device sending port switching command processed and test instruction is sent to the tested interchanger;
The controller for respond port switching instruction and control the switch unit selectively will it is multiple described in One in RJ45 interface is connected with the test host;
The tested interchanger is used to respond the test instruction and the RJ45 interface by connecting sends test bag to institute Test host is stated, to carry out communication test by the RJ45 interface of the test host to connection.
2. switch test device according to claim 1, which is characterized in that the switch unit includes multiple electronic cuttings It closes, multiple electronic switches and multiple RJ45 interfaces correspond, each electronic switch and a corresponding institute RJ45 interface is stated to be connected.
3. switch test device according to claim 1, which is characterized in that the test host and the controller it Between and the test host and the control interface between connected by Console line, the test host and the switch It is connected between unit and by cable between the switch unit and the RJ45 interface.
4. a kind of switch test method characterized by comprising
Host is tested to controller sending port switching command;
Controller respond port switching instruction and control switch Unit selection by one in multiple RJ45 interfaces with Host is tested to connect;
It tests host and sends test instruction to tested interchanger;
Test described in tested switch responds instructs and the RJ45 interface by connecting sends test bag to host is tested, to pass through It tests host and communication test is carried out to the RJ45 interface of connection.
CN201910028554.5A 2019-01-11 2019-01-11 Switch test device and method Pending CN109474501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910028554.5A CN109474501A (en) 2019-01-11 2019-01-11 Switch test device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910028554.5A CN109474501A (en) 2019-01-11 2019-01-11 Switch test device and method

Publications (1)

Publication Number Publication Date
CN109474501A true CN109474501A (en) 2019-03-15

Family

ID=65678681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910028554.5A Pending CN109474501A (en) 2019-01-11 2019-01-11 Switch test device and method

Country Status (1)

Country Link
CN (1) CN109474501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176920A (en) * 2019-12-30 2020-05-19 合肥移瑞通信技术有限公司 Device under test and control method and device of device under test

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090072838A1 (en) * 2007-09-14 2009-03-19 Ewan William Shepherd Multi-port switching apparatus, device testing system and method of testing therefor
CN101963627A (en) * 2010-09-06 2011-02-02 杭州华三通信技术有限公司 Ethernet interface testing clamp
CN101783745B (en) * 2009-01-21 2012-03-14 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN102752161A (en) * 2011-04-19 2012-10-24 亚旭电脑股份有限公司 Test system
CN208538116U (en) * 2018-07-18 2019-02-22 惠州比亚迪电子有限公司 Test macro and interface test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090072838A1 (en) * 2007-09-14 2009-03-19 Ewan William Shepherd Multi-port switching apparatus, device testing system and method of testing therefor
CN101783745B (en) * 2009-01-21 2012-03-14 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN101963627A (en) * 2010-09-06 2011-02-02 杭州华三通信技术有限公司 Ethernet interface testing clamp
CN102752161A (en) * 2011-04-19 2012-10-24 亚旭电脑股份有限公司 Test system
CN208538116U (en) * 2018-07-18 2019-02-22 惠州比亚迪电子有限公司 Test macro and interface test device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176920A (en) * 2019-12-30 2020-05-19 合肥移瑞通信技术有限公司 Device under test and control method and device of device under test

Similar Documents

Publication Publication Date Title
KR960027403A (en) Module interconnection matrix for matrix connection of multiple antennas and multiple radio channel units
JPH0479556A (en) Abstract intelligent network call control system
CN107092459A (en) Exchange method and interactive device and display screen control system
CN101520763A (en) Method for switching serial ports and sharing device of serial ports
CN109474501A (en) Switch test device and method
CN100551090C (en) The circuit-switched method and the device of intelligence distributing frame
CN102143238A (en) Communication interface, switching circuit and switching method of communication interfaces
CN100541215C (en) A kind of state analog device and equipment under test function test system
CZ89194A3 (en) Apparatus for controlling cable network
CN108668091A (en) Signal switching apparatus, whistle control system and signal control method
CN211061971U (en) One-to-two test host and system
CN109243651A (en) Nuclear power plant instrument control system by-pass collar, method and system
CN206759607U (en) Signal switching apparatus and whistle control system
CN101615966B (en) Method and device for realizing interaction of protecting and cutting rings of optical channel data unit
CN217085130U (en) Distribution box detection device
CN100401250C (en) Multi-video frequency system
JP2533602Y2 (en) AV selector
JP4234296B2 (en) Reception control device
US6590862B1 (en) Line interfacing apparatus with N+1 configuration
JPH01231539A (en) Multi-point terminal system
KR200184438Y1 (en) Cable pair test and automatic jumper wire transfer system
JPH06339166A (en) Incomplete group automatic mdf device
CN100444604C (en) Main terminal and a method of operating the same
JPH0345059A (en) Station state display data selection system
JPS59165135A (en) Circuit selective connection system of display terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315

RJ01 Rejection of invention patent application after publication