CN206523872U - A kind of USB device test system - Google Patents

A kind of USB device test system Download PDF

Info

Publication number
CN206523872U
CN206523872U CN201720135821.5U CN201720135821U CN206523872U CN 206523872 U CN206523872 U CN 206523872U CN 201720135821 U CN201720135821 U CN 201720135821U CN 206523872 U CN206523872 U CN 206523872U
Authority
CN
China
Prior art keywords
main frame
measured
usb
test
controller
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
CN201720135821.5U
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 Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201720135821.5U priority Critical patent/CN206523872U/en
Application granted granted Critical
Publication of CN206523872U publication Critical patent/CN206523872U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model embodiment discloses a kind of USB device test system.The system includes:Controller and main frame to be measured;The controller includes switching circuit, the first USB interface for being connected with USB device, the communication interface for the secondary USB interface that is connected with the main frame to be measured and for being connected with the main frame to be measured;First USB interface, secondary USB interface and the communication interface are connected with the switching circuit, and test every time only has first USB interface and is connected by the switching circuit with a secondary USB interface;The main frame to be measured is connected by the communication interface with the controller to be communicated.By the technical solution of the utility model, extensive automatic test can be realized, testing efficiency is improved, the accuracy of test result is improved.

Description

A kind of USB device test system
Technical field
The utility model embodiment is related to computer technology, more particularly to a kind of USB device test system.
Background technology
With increasing product using USB (Universal Serial Bus, USB) interfaces and outside Boundary's equipment is communicated, in order to ensure USB device can, normally recognized, it usually needs carry out substantial amounts of USB functional tests, Need to test USB device under various operating systems and enumerate reliability, therefore, workload is huge.
At present, USB device method of testing be it is most of be, by manual testing, plug USB device to be repeated manually, to connect Extraneous host computer system is tested.Because test job amount is huge, and multiple USB devices need to carry out under different operating system Test is repeated several times, therefore, the method for manual testing can cause the problem of testing efficiency is low, and manual testing can not be advised greatly The reperformance test of mould so that the testing time under individual system does not reach expection, so as to test result can be caused inaccurate The problems such as.
Utility model content
The utility model embodiment provides a kind of USB device test system, to realize extensive automatic test, improves and surveys Efficiency is tried, the accuracy of test result is improved.
The utility model embodiment provides a kind of USB device test system, and the system includes controller and main frame to be measured;
The controller include switching circuit, for be connected with USB device the first USB interface, for it is described to be measured The connected secondary USB interface of main frame and the communication interface for being connected with the main frame to be measured;
First USB interface, secondary USB interface and the communication interface are connected with the switching circuit, every time Test only has first USB interface and is connected by the switching circuit with a secondary USB interface;
The main frame to be measured is connected by the communication interface with the controller to be communicated.
Further, the number of first USB interface, secondary USB interface, communication interface and main frame to be measured is many It is individual.
Further, the main frame to be measured includes the main frame to be measured of various control system.
Further, the controller also includes interactive module, and the interactive module is connected with the switching circuit.
The utility model embodiment is led to by the way that main frame to be measured is connected by the communication interface in controller with controller Letter, and by for be connected with USB device the first USB interface, for the secondary USB interface that is connected with the main frame to be measured and Communication interface for being connected with main frame to be measured is connected with the switching circuit in controller, and the first USB interface connects with the 2nd USB Mouth is joined directly together further through switching circuit, make use of main frame to be measured to control the switching circuit in controller by communication interface Advantage, solve in the prior art because workload is huge caused by manually connection USB device and test main frame, test The problems such as efficiency is low, test result is inaccurate, realizes extensive automatic test, improves testing efficiency and improves test knot The effect of the accuracy of fruit.
Brief description of the drawings
Fig. 1 is a kind of structure chart for USB device test system that the utility model embodiment one is provided;
Fig. 2 is a kind of structure chart for USB device test system that the utility model embodiment two is provided;
Fig. 3 is a kind of structure chart for USB device test system that the utility model embodiment three is provided.
Embodiment
The utility model is described in further detail with reference to the accompanying drawings and examples.It is understood that herein Described specific embodiment is used only for explaining the utility model, rather than limits of the present utility model.Further need exist for It is bright, for the ease of description, the part related to the utility model rather than entire infrastructure are illustrate only in accompanying drawing.
Embodiment one
Fig. 1 is a kind of structure chart for USB device test system that the utility model embodiment one is provided.The system is applicable Situation about being tested in USB device, the USB device test system that the present embodiment is provided includes:Controller 1 and main frame to be measured 2.
Wherein, controller 1 include switching circuit 11, for be connected with USB device 3 the first usb 12, for treating Survey the connected secondary USB interface 13 of main frame 2 and the communication interface 14 for being connected with main frame 2 to be measured;
First usb 12, secondary USB interface 13 and communication interface 14 are connected with switching circuit 11, every time test Only one the first usb 12 is connected by switching circuit 11 with a secondary USB interface 13;
Main frame 2 to be measured is connected by communication interface 14 with controller 1 to be communicated.
Specifically, the secondary USB interface 13 in controller 1 is connected with main frame 2 to be measured respectively with communication interface 14, wherein, Communication interface 14 can be USB interface, or serial ports, can be using two different numbers between controller 1 and main frame 2 to be measured It is connected according to passage, the data channel being connected with communication interface 14 is used to be communicated between main frame 2 to be measured and controller 1, and with The communication that the connected data channel of secondary USB interface 13 is used between main frame 2 to be measured and USB device 3, switching circuit 11 can be wrapped Data selector and microprocessor are included, wherein, data selector is used for the gating of circuit, and microprocessor is used for according to master to be measured The instruction controlled data selector that machine 2 is sent.Examining system is configured with main frame 2 to be measured, optionally, examining system is Windows operating systems.
Exemplary, main frame 2 to be measured sends the switching in link order, controller 1 by communication interface 14 to controller 1 Circuit 11 connects secondary USB interface 13 of first usb 12 with being connected with USB device according to the link order received, afterwards, Main frame 2 to be measured detects and recognizes USB device 3, completes answering according to usb protocol, recognizes that USB is set according to the result of response Standby 3, so as to judge whether USB device 3 is successfully tested, and test result is recorded, finally, main frame 2 to be measured is to controller 1 The open command opposite with link order is sent, controller 1 disconnects main frame 2 to be measured and USB device 3 according to the open command of reception Between circuit connection.Break-make is to complete once to test, and records test result, is integrated according to multiple enumeration test result Judge whether USB device is qualified, realize automatic test USB device.
It is indirectly connected between main frame 2 and USB device 3 to be measured by controller 1, it is advantageous in that can be by controller 1 The gating between main frame 2 to be measured and USB device is realized, because the gating control process of controller 1 can be controlled to determine by main frame 2 to be measured It is fixed, thus automation USB tests can be realized, testing efficiency is improved, to reach the purpose of large scale test USB device.
The technical scheme of the present embodiment, by the way that main frame to be measured is connected progress by the communication interface in controller with controller Communication, and by the first USB interface, the secondary USB interface and use for being connected with main frame to be measured for being connected with USB device It is connected in the communication interface being connected with main frame to be measured with the switching circuit in controller, and the first USB interface and secondary USB interface It is joined directly together further through switching circuit, make use of main frame to be measured can be by the switching circuit in communication interface control controller Advantage, is solved in the prior art because workload is huge caused by manually connection USB device and test main frame, test is imitated The problems such as rate is low, test result is inaccurate, realizes extensive automatic test, improves testing efficiency and improves test result Accuracy effect.
Embodiment two
Fig. 2 is a kind of structure chart for USB device test system that the utility model embodiment two is provided, and the present embodiment is pair The structure and the course of work of USB device test system in above-described embodiment are further elaborated, and are specifically by the first USB Interface, secondary USB interface, the number of communication interface and main frame to be measured are further optimized for multiple.
As shown in Fig. 2 the first USB interface includes 3 USB interfaces, it can be respectively used to be connected with 3 USB devices, second USB interface also includes 3 USB interfaces, can be respectively used to be connected with 3 main frames to be measured, it is preferred that main frame to be measured includes a variety of behaviour Make the main frame to be measured of system, for example, the first main frame 21 to be measured, which corresponds to XP systems, the second main frame 22 to be measured, corresponds to 32 win7 System, the 3rd main frame 23 to be measured correspond to 64 win8 systems.Communication interface includes the communication of the first communication interface 141, second and connect Mouth 142 and third communication interface 143.
Specifically, the first USB device 31 is connected with the first equipment usb 1 21 in controller 1, the second USB device 32 It is connected with the second equipment usb 1 22, the 3rd USB device 33 is connected with the 3rd equipment usb 1 23;First main frame 21 to be measured Be connected respectively with the first host USB interface 131 and the first communication interface 141 in controller 1, the second main frame 22 to be measured respectively with Second host USB interface 132 is connected with the second communication interface 142, the 3rd host USB interface 133 of main frame 23 and the 3rd to be measured and Third communication interface 143 is connected.
Optionally, when a test is begun, the switching circuit 11 in controller 1 can be given tacit consent to the first main frame to be measured of gating 21, the first main frame 21 to be measured controls the gating of switching circuit 11 by the first communication interface 141, for example, when the first main frame to be measured 21 when sending link order, then switching circuit 11 connects the first main frame USB according to link order and default configuration parameter and connect The equipment usb 1 21 of mouth 131 and first, that is, connected the first USB device 31 of main frame 21 and first to be measured, wherein, it is default to match somebody with somebody Putting parameter can include needing the USB device that be tested to number and quantity, test interval, the kind of testing time and test system Class, after single is completed, the first main frame 21 to be measured controls switching circuit 11 to disconnect the first main frame by the first communication interface 141 The connection of the equipment usb 1 21 of usb 1 31 and first, retest is preset after testing time, and switching circuit 11 is according to the The switching command that one main frame 21 to be measured is sent gates the second communication interface 142, that is, gates the second main frame 22 to be measured and repeat above-mentioned Process, until the main frame to be measured corresponding to the species of all test systems chosen is completed, the gating of switching circuit 11 the Two equipment usb 1s 22, that is, gate the second USB device 32 and tested, and is repeated in above-mentioned all processes, until three USB device is completed.
Set multiple first USB interfaces, secondary USB interface, communication interface and main frame to be measured to be advantageous in that, can pass through Controller switching circuit carries out the connection of selectivity, so as to realize different in the enumerating test of USB device, multiple main frames to be measured Retest under kinds System environment can not only improve the accuracy of test result, also improve testing efficiency, realize The function of extensive automatic test.
The technical scheme of the present embodiment, by setting multiple first USB interfaces, secondary USB interface, communication interface and many Individual main frame to be measured, and then multiple USB devices can respectively be tested by controller, it make use of controller to adjust switch The advantage of switching, solve in the prior art because caused by manually connection USB device and test main frame workload it is huge, The problems such as testing efficiency is low, test result is inaccurate, realizes extensive automatic test, improves testing efficiency and improve and survey The effect of the accuracy of test result.
Embodiment three
Fig. 3 is a kind of structure chart for USB device test system that the utility model embodiment three is provided, and the present embodiment is pair The structure and the course of work of controller in above-described embodiment are further elaborated.Controller can be further optimized for also Including interactive module.
Interactive module may include display screen and keypad, preferably comprise touch-screen, for showing configuration information and survey Test result, and realize setting of the user to controller parameter.
As shown in figure 3, interactive module 15 is connected with switching circuit 11, interactive module 15 is touch-screen, passes through interactive module 15 configuration parameters set can include USB device numbering and quantity, test interval, testing time and the survey for needing to be tested The species of test system, it is exemplary, before being tested, USB device 3 and main frame to be measured 2 are passed through into the first USB interface respectively 12 and the upper controller 1 of the connection of secondary USB interface 13 in switching circuit 11, meanwhile, interactive module 15 receives the configuration ginseng of input Count and send into switching circuit 11, switching circuit 11 can determine the gating of circuit according to the configuration parameter, main frame 2 to be measured also leads to Cross communication interface 14 with switching circuit 11 to be connected, in the test of individual host during each completion is to main frame 2 to be measured, pass through communication Interface 14 sends switching command to controller 1, to pass through first usb 1 of the control of switching circuit 11 2 and secondary USB interface 13 Between gating, until completing test to USB device 3.
For example, it is 3 to be set to need the USB device quantity tested by configuration parameter by interactive module, including 1 Number USB device, No. 2 USB devices and No. 3 USB devices, test interval are 5s, and testing time is 100 times, the kind of test system Class be XP systems, 32 win7 systems and 64 win8 systems, wherein, these USB devices be respectively with the first USB interface The connected USB device of first three interface, and test system is located on different main frames to be measured respectively, after being provided with, according to be measured The testing and control information that main frame is sent determines the gating of switching circuit in controller, in the case where interval 5s is carried out after single test terminates Once test, and the testing time of each main frame to be measured corresponding to single USB device is 100 times, that is, is just cut after testing 100 times Next main frame to be measured is changed to, and judges that whether current main frame to be measured is last main frame, and sentence by the configuration parameter Whether the disconnected current USB device tested is last equipment, if so, then discriminating test is finished, and test result is shown Show in interactive module;If it is not, then continuing to carry out gating test in sequence, and test result is included in interactive module in real time In.
In the present embodiment, by setting interactive module in the controller so that controller can according to the parameter of user configuring, The main frame species to be measured of test required for the USB device and each USB device of test needed for being dynamically selected, so as to improve The flexibility of test is improved while testing efficiency, Consumer's Experience is improved.
Note, above are only preferred embodiment of the present utility model and institute's application technology principle.Those skilled in the art's meeting Understand, the utility model is not limited to specific embodiment described here, can carried out for a person skilled in the art various bright Aobvious change, readjust and substitute without departing from protection domain of the present utility model.Therefore, although pass through above example The utility model is described in further detail, but the utility model is not limited only to above example, is not departing from In the case that the utility model is conceived, other more equivalent embodiments can also be included, and scope of the present utility model is by appended Right determine.

Claims (4)

1. a kind of USB device test system, it is characterised in that including controller and main frame to be measured;
The controller include switching circuit, for be connected with USB device the first USB interface, for the main frame to be measured Connected secondary USB interface and the communication interface for being connected with the main frame to be measured;
First USB interface, secondary USB interface and the communication interface are connected with the switching circuit, every time test Only one the first USB interface is connected by the switching circuit with a secondary USB interface;
The main frame to be measured is connected by the communication interface with the controller to be communicated.
2. USB device test system according to claim 1, it is characterised in that first USB interface, the 2nd USB connect The number of mouth, communication interface and main frame to be measured is multiple.
3. USB device test system according to claim 2, it is characterised in that the main frame to be measured includes various control The main frame to be measured of system.
4. the USB device test system according to claim any one of 1-3, it is characterised in that the controller also includes Interactive module, the interactive module is connected with the switching circuit.
CN201720135821.5U 2017-02-15 2017-02-15 A kind of USB device test system Expired - Fee Related CN206523872U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720135821.5U CN206523872U (en) 2017-02-15 2017-02-15 A kind of USB device test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720135821.5U CN206523872U (en) 2017-02-15 2017-02-15 A kind of USB device test system

Publications (1)

Publication Number Publication Date
CN206523872U true CN206523872U (en) 2017-09-26

Family

ID=59892495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720135821.5U Expired - Fee Related CN206523872U (en) 2017-02-15 2017-02-15 A kind of USB device test system

Country Status (1)

Country Link
CN (1) CN206523872U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844268A (en) * 2017-02-15 2017-06-13 深圳怡化电脑股份有限公司 A kind of USB device test system, method of testing and test device
CN107943634A (en) * 2017-11-29 2018-04-20 郑州云海信息技术有限公司 More USB Port Auto-Test Systems
CN108170623A (en) * 2017-12-29 2018-06-15 深圳市九洲电器有限公司 A kind of USB switching circuits and switching system
CN110489280A (en) * 2018-05-14 2019-11-22 技嘉科技股份有限公司 The method that usb connecting port test macro and dynamic test usb connecting port
TWI709851B (en) * 2018-05-14 2020-11-11 技嘉科技股份有限公司 Usb port test system and method for dynamically testing usb port

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844268A (en) * 2017-02-15 2017-06-13 深圳怡化电脑股份有限公司 A kind of USB device test system, method of testing and test device
CN107943634A (en) * 2017-11-29 2018-04-20 郑州云海信息技术有限公司 More USB Port Auto-Test Systems
CN108170623A (en) * 2017-12-29 2018-06-15 深圳市九洲电器有限公司 A kind of USB switching circuits and switching system
CN108170623B (en) * 2017-12-29 2020-03-27 深圳市九洲电器有限公司 USB switching circuit and switching system
CN110489280A (en) * 2018-05-14 2019-11-22 技嘉科技股份有限公司 The method that usb connecting port test macro and dynamic test usb connecting port
TWI709851B (en) * 2018-05-14 2020-11-11 技嘉科技股份有限公司 Usb port test system and method for dynamically testing usb port
CN110489280B (en) * 2018-05-14 2023-07-25 技嘉科技股份有限公司 USB connection port test system and method for dynamically testing USB connection port

Similar Documents

Publication Publication Date Title
CN206523872U (en) A kind of USB device test system
CN106844268A (en) A kind of USB device test system, method of testing and test device
CN206400286U (en) A kind of test system based on hardware in loop equipment
CN104536858B (en) For the method for 1553B bus communication remote terminal automatic tests
CN202770933U (en) High-precision multichannel analog quantity automatic test system
CN104483959A (en) Fault simulation and test system
CN110493079B (en) Production automation test method of industrial Ethernet switch
CN108983077B (en) Circuit board test system and test method based on JTAG link
CN103699122A (en) Finished car controller test platform and control method
CN102967815A (en) Chip testing method, automated testing equipment and system
CN104951421B (en) A kind of automatic numbering of serial bus communication equipment and kind identification method and device
CN103631688A (en) Method and system for testing interface signal
CN108459586A (en) Multiplexing automatic testing stand based on virtual instrument and test method
CN110673585B (en) Test method, test device and test system for train air conditioning system
CN102183737A (en) Multi-channel and multi-parameter automatic verification system and automatic verification method
CN106055443A (en) Multi-path DC loop test system
CN104468279A (en) Routing protocol interaction testing method and tool
WO2016184170A1 (en) Smi interface device debugging apparatus and method, and storage medium
CN104198788A (en) VNA (Vector Network Analyzer) multiplexing instrument and method
CN107632910A (en) A kind of method of testing and device
CN210016474U (en) Distribution network test control equipment and system
CN209673130U (en) A kind of automobile combination meter automated test device
CN115208807B (en) POE switch test system and method
CN111103495A (en) Automatic test system and method for field debugging of cross-interval relay protection equipment
CN214729788U (en) Large and medium-sized fixed wing unmanned aerial vehicle ground simulation fault injection equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170926

Termination date: 20220215

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