CN103885868A - Testing system and device for simulating USB hot plugging process - Google Patents

Testing system and device for simulating USB hot plugging process Download PDF

Info

Publication number
CN103885868A
CN103885868A CN201410153282.9A CN201410153282A CN103885868A CN 103885868 A CN103885868 A CN 103885868A CN 201410153282 A CN201410153282 A CN 201410153282A CN 103885868 A CN103885868 A CN 103885868A
Authority
CN
China
Prior art keywords
usb
converting interface
speed
sensitive switch
interface
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.)
Granted
Application number
CN201410153282.9A
Other languages
Chinese (zh)
Other versions
CN103885868B (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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201410153282.9A priority Critical patent/CN103885868B/en
Publication of CN103885868A publication Critical patent/CN103885868A/en
Application granted granted Critical
Publication of CN103885868B publication Critical patent/CN103885868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a testing system and device for simulating a USB hot plugging process. The testing device comprises a first USB DEVICE switchover port, a second USB DEVICE switchover port, a first USB HOST switchover port, a second USB HOST switchover port, a first high-speed switch, a second high-speed switch, an input module and a control module. A model machine and external connection equipment are connected with the first USB HOST switchover port and the second USB HOST switchover port respectively; the model machine and a computer are connected with the first USB DEVICE switchover port and the second USB DEVICE switchover port respectively; the control module is connected with the first high-speed switch and the second high-speed switch and controls the on-off state of the first high-speed switch or the second high-speed switch according to testing frequency set by the input module so as to control connection or disconnection of the first USB HOST switchover port and the second USB HOST switchover port and connection or disconnection of the first USB DEVICE switchover port and the second USB DEVICE switchover port. The invention further provides a testing method. By the adoption of the device and method, on-off control of the high-speed switches, operations of manually connecting or pulling out USB lines or OTG lines are simulated, and therefore USB HOST testing efficiency and USB DEVICE testing efficiency are improved.

Description

Test macro and the device of simulation USB hot plug process
Technical field
The present invention relates to electronic equipment quality test technical field, relate in particular to a kind of test macro and device of the USB of simulation hot plug process.
Background technology
At present, with USB (universal serial bus) (universal serial bus, USB) electronic equipment of port (for example computer) is more and more, USB device is also more and more universal, for ensureing that USB HOST and USB DEVICE can normally work, often in the time of electronic equipment factory inspection and daily servicing, need the quality of test USB HOST and USB DEVICE.
USB HOST test refers to that model machine passes through OTG line circumscribed USB device equipment (as USB flash disk, USB keyboard/mouse, USB portable hard drive etc.), and by being connected and operating with the USB HOST interface of model machine.USB DEVICE test refers to that model machine connects computer equipment, and model machine is operated the data of model machine internal storage region by computer equipment as USB DEVICE.
Generally, USB HOST test is connected or is pulled out OTG connecting line and carry out by craft, and USB DEVICE connects by craft or pulls out usb line and carry out.But, when the USB HOST testing when needs and the quantity of USB DEVICE are more, even need manually to carry out the connections of up to ten thousand times or pull out the operation of usb line, the dull like this operation of frequent repetition again makes the test duration longer, and efficiency is lower.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of test macro and device of the USB of simulation hot plug process is provided, and improves the efficiency of USB DEVICE and USB HOST test.
For solving the problems of the technologies described above, the invention provides a kind of test macro of the USB of simulation hot plug process, comprise USB external equipment, model machine and computing machine, this test macro also comprises proving installation, and this proving installation comprises a USB DEVICE converting interface, the 2nd USB DEVICE converting interface, a USB HOST converting interface, the 2nd USB HOST converting interface, the first speed-sensitive switch, the second speed-sensitive switch, load module and control module.The 2nd USB HOST converting interface is connected with this USB external equipment, and is connected with this first speed-sensitive switch, the 2nd USB HOST converting interface successively.The 2nd USB HOST converting interface is connected with the USB HOST interface of this model machine.The 2nd USB DEVICE converting interface is connected with the USB interface of this computing machine, and is connected with this second speed-sensitive switch, a USB DEVICE converting interface successively.The one USB DEVICE converting interface is also connected with the USB DEVICE interface of this model machine, and this load module is connected with control module, and this control module is also connected with this first speed-sensitive switch and the second speed-sensitive switch respectively.
This load module carries out the setting of testing time for operation response personnel's setting.
Testing time control this first speed-sensitive switch or the second speed-sensitive switch break-make of this control module for setting according to this load module, to control being connected or disconnection or control being connected or disconnection of a USB DEVICE converting interface and the 2nd USB DEVICE converting interface of a USB HOST converting interface and the 2nd USB HOST converting interface.
The present invention also provides a kind of proving installation of the USB of simulation hot plug process, and this proving installation comprises a USB DEVICE converting interface, the 2nd USB DEVICE converting interface, a USB HOST converting interface, the 2nd USB HOST converting interface, the first speed-sensitive switch, the second speed-sensitive switch, load module and control module.The 2nd USB HOST converting interface is used for being connected with a USB external equipment, and is connected with this first speed-sensitive switch, the 2nd USB HOST converting interface successively.The 2nd USB HOST converting interface is for being connected with the USB HOST interface of a model machine.The 2nd USB DEVICE converting interface is used for being connected with the USB interface of a computing machine, and is connected with this second speed-sensitive switch, a USB DEVICE converting interface successively.The one USB DEVICE converting interface is also connected with the USB DEVICE interface of this model machine, and this load module is connected with control module, and this control module is also connected with this first speed-sensitive switch and the second speed-sensitive switch respectively.
This load module carries out the setting of testing time for operation response personnel's setting.
Testing time control this first speed-sensitive switch or the second speed-sensitive switch break-make of this control module for setting according to this load module, to control being connected or disconnection or control being connected or disconnection of a USB DEVICE converting interface and the 2nd USB DEVICE converting interface of a USB HOST converting interface and the 2nd USB HOST converting interface.
A kind of test macro and device of simulating USB hot plug process provided by the invention, by the break-make of a pair of speed-sensitive switch being controlled to realize the control of the connection/disconnection of USB HOST converting interface and the connection/port of USB DEVICE converting interface, thus simulation USB HOST test and USB DEVICE test.Utilize the present invention, by the manual operation that connects or extract USB line or OTG line of break-make control simulation of speed-sensitive switch, thereby improve the efficiency of USB HOST and USB DEVICE test.
Brief description of the drawings
Fig. 1 is the structural representation of a kind of test macro of simulating USB hot plug process in embodiment of the present invention.
Label declaration
Test macro 1
Proving installation 10
The one USB DEVICE converting interface 11
The 2nd USB DEVICE converting interface 12
The one USB HOST converting interface 13
The 2nd USB HOST converting interface 14
The first speed-sensitive switch 15
The second speed-sensitive switch 16
Load module 17
Control module 18
Display module 19
USB external equipment 20
Model machine 30
USB HOST interface 31
USB DEVICE interface 32
Computing machine 40
USB interface 41
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Please refer to Fig. 1, is the structural representation of a kind of test macro of simulating USB hot plug process in embodiment of the present invention, and this system 1 comprises proving installation 10, USB external equipment 20, model machine 30 and computing machine 40.Wherein, this proving installation 10 comprises a USB DEVICE converting interface 11, the 2nd USB DEVICE converting interface 12, a USB HOST converting interface 13, the 2nd USB HOST converting interface 14, the first speed-sensitive switch 15, the second speed-sensitive switch 16, load module 17, control module 18 and display module 19.In the present embodiment, this display module 19 is LCD MODULE, and this control module 18 is the microcontroller of a MUC, and this load module 17 can be keyboard.
Wherein, the 2nd USB HOST converting interface 14 is connected with this USB external equipment 20, and be connected with the first speed-sensitive switch 15, the 2nd USB HOST converting interface 14 successively, the 2nd USB HOST converting interface 14 is connected with the USB HOST interface 31 of a model machine 30 by USB extended line.The 2nd USB DEVICE converting interface 12 is connected with the PC end USB interface 41 of this computing machine 40 by USB extended line, and be connected with the second speed-sensitive switch 16, a USB DEVICE converting interface 11 successively, a USB DEVICE converting interface 11 is also connected with the USB DEVICE interface 32 of this model machine 30 by USB extended line.This load module 17 is connected successively with control module 18 and display module 19, and this control module 18 is also connected with this first speed-sensitive switch 15 and the second speed-sensitive switch 16 respectively.
It is as described below that the test macro 1 of this simulation USB hot plug process carries out the principle of work of USB HOST and USB DEVICE test.
In the time that needs are tested USB HOST, tester sets by load module 17 number of times that needs test, this the first speed-sensitive switch 15 of the testing time control that this control module 18 is set according to load module 17 break-make rapidly, to control being connected or disconnection of a USB HOST converting interface 13 and the 2nd USB HOST converting interface 14, and then the operation that connects or disconnect in simulation USB HOST test.
In the time that needs are tested USB DEVICE, tester sets by load module 17 number of times that needs test, this the second speed-sensitive switch 16 of the testing time control that this control module 18 is set according to load module 17 break-make rapidly, to control being connected or disconnection of a USB DEVICE converting interface 11 and the 2nd USB DEVICE converting interface 12, and then the operation that connects or disconnect in simulation USB DEVICE test.
In the present embodiment, this display module 19 passes through the number of times of the needs test that load module 17 sets for showing tester.
And, utilize the test macro 1 of the process of this USB simulation hot plug can carry out the test of USB DEVICE and USB HOST simultaneously, be independent of each other.
A kind of test macro and device of simulating USB hot plug process provided by the invention, by the break-make of a pair of speed-sensitive switch being controlled to realize the control of the connection/disconnection of USB HOST converting interface and the connection/port of USB DEVICE converting interface, thus simulation USB HOST test and USB DEVICE test.Utilize the present invention, by the manual operation that connects or extract USB line or OTG line of break-make control simulation of speed-sensitive switch, thereby improve the efficiency of USB HOST and USB DEVICE test.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (6)

1. simulate the test macro of USB hot plug process for one kind, comprise USB external equipment, model machine and computing machine, it is characterized in that, described test macro also comprises proving installation, and described proving installation comprises a USB DEVICE converting interface, the 2nd USB DEVICE converting interface, a USB HOST converting interface, the 2nd USB HOST converting interface, the first speed-sensitive switch, the second speed-sensitive switch, load module and control module; Described the 2nd USB HOST converting interface is connected with described USB external equipment, and is connected with described the first speed-sensitive switch, the 2nd USB HOST converting interface successively; Described the 2nd USB HOST converting interface is connected with the USB HOST interface of described model machine; Described the 2nd USB DEVICE converting interface is connected with the USB interface of described computing machine, and is connected with described the second speed-sensitive switch, a USB DEVICE converting interface successively; A described USB DEVICE converting interface is also connected with the USB DEVICE interface of described model machine, and described load module is connected with control module, and described control module is also connected with described the first speed-sensitive switch and the second speed-sensitive switch respectively;
Described load module carries out the setting of testing time for operation response personnel's setting;
Described control module is for the first speed-sensitive switch or the second speed-sensitive switch break-make described in the testing time control of setting according to described load module, to control being connected or disconnection or control being connected or disconnection of a described USB DEVICE converting interface and the 2nd USB DEVICE converting interface of a described USB HOST converting interface and the 2nd USB HOST converting interface.
2. the test macro of simulation USB hot plug process as claimed in claim 1, is characterized in that, described proving installation also comprises display module, for the testing time that shows that described load module is set.
3. the test macro of simulation USB hot plug process as claimed in claim 1 or 2, is characterized in that the microcontroller that described control module is MUC.
4. simulate the proving installation of USB hot plug process for one kind, it is characterized in that, described proving installation comprises a USB DEVICE converting interface, the 2nd USB DEVICE converting interface, a USB HOST converting interface, the 2nd USB HOST converting interface, the first speed-sensitive switch, the second speed-sensitive switch, load module and control module; Described the 2nd USB HOST converting interface is used for being connected with a USB external equipment, and is connected with described the first speed-sensitive switch, the 2nd USB HOST converting interface successively; Described the 2nd USB HOST converting interface is for being connected with the USB HOST interface of a model machine; Described the 2nd USB DEVICE converting interface is used for being connected with the USB interface of a computing machine, and is connected with described the second speed-sensitive switch, a USB DEVICE converting interface successively; A described USB DEVICE converting interface is also connected with the USB DEVICE interface of described model machine, and described load module is connected with control module, and described control module is also connected with described the first speed-sensitive switch and the second speed-sensitive switch respectively;
Described load module carries out the setting of testing time for operation response personnel's setting;
Described control module is for the first speed-sensitive switch or the second speed-sensitive switch break-make described in the testing time control of setting according to described load module, to control being connected or disconnection or control being connected or disconnection of a described USB DEVICE converting interface and the 2nd USB DEVICE converting interface of a described USB HOST converting interface and the 2nd USB HOST converting interface.
5. the proving installation of simulation USB hot plug process as claimed in claim 4, is characterized in that, described proving installation also comprises display module, for the testing time that shows that described load module is set.
6. the proving installation of the simulation USB hot plug process as described in claim 4 or 5, is characterized in that the microcontroller that described control module is MUC.
CN201410153282.9A 2014-04-16 2014-04-16 The test macro of simulation USB hot plug process and device Active CN103885868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410153282.9A CN103885868B (en) 2014-04-16 2014-04-16 The test macro of simulation USB hot plug process and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410153282.9A CN103885868B (en) 2014-04-16 2014-04-16 The test macro of simulation USB hot plug process and device

Publications (2)

Publication Number Publication Date
CN103885868A true CN103885868A (en) 2014-06-25
CN103885868B CN103885868B (en) 2015-08-26

Family

ID=50954776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410153282.9A Active CN103885868B (en) 2014-04-16 2014-04-16 The test macro of simulation USB hot plug process and device

Country Status (1)

Country Link
CN (1) CN103885868B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
CN105589781A (en) * 2014-10-24 2016-05-18 惠州市德赛西威汽车电子股份有限公司 Automated testing method of simulating inserting and pulling of USB of car audio
CN105868065A (en) * 2016-04-25 2016-08-17 浪潮电子信息产业股份有限公司 Method for testing hot plugging parts of whole SmartRack
TWI580968B (en) * 2015-12-09 2017-05-01 英業達股份有限公司 Testing Tool and Testing Method of Connection of Universal Serial Bus Type C (USB Type C) Port
CN107423182A (en) * 2017-04-25 2017-12-01 广州御融通电子设备开发有限公司 One kind simulation USB hot drawing plug devices
CN107656882A (en) * 2016-07-25 2018-02-02 深圳市中兴微电子技术有限公司 A kind of USB controller verification method, system and equipment
CN108387793A (en) * 2017-12-29 2018-08-10 惠州市德赛西威汽车电子股份有限公司 A kind of automatization test system and method for external equipment hot plug
CN109359079A (en) * 2018-10-16 2019-02-19 福建实达电脑设备有限公司 A kind of the simulation pull-plug device and method of automatic maintenance USB connection
TWI744692B (en) * 2019-09-11 2021-11-01 英業達股份有限公司 Hard disk examination method and system of the same
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 USB OTG test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001048613A2 (en) * 1999-12-24 2001-07-05 Koninklijke Philips Electronics N.V. Emulation of a disconnect of a device
TW469367B (en) * 1998-11-16 2001-12-21 Winbond Electronics Corp Testing of USB hub
US20120054378A1 (en) * 2010-08-30 2012-03-01 Qualcomm Incorporated Virtual USB Compound Device for Discharged Battery Recovery
CN202394228U (en) * 2011-12-21 2012-08-22 北京握奇数据系统有限公司 USB (Universal Serial Bus) equipment
CN103092733A (en) * 2011-10-31 2013-05-08 鸿富锦精密工业(深圳)有限公司 Testing device and testing method for simulating plugging and unplugging actions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW469367B (en) * 1998-11-16 2001-12-21 Winbond Electronics Corp Testing of USB hub
WO2001048613A2 (en) * 1999-12-24 2001-07-05 Koninklijke Philips Electronics N.V. Emulation of a disconnect of a device
US20120054378A1 (en) * 2010-08-30 2012-03-01 Qualcomm Incorporated Virtual USB Compound Device for Discharged Battery Recovery
CN103092733A (en) * 2011-10-31 2013-05-08 鸿富锦精密工业(深圳)有限公司 Testing device and testing method for simulating plugging and unplugging actions
CN202394228U (en) * 2011-12-21 2012-08-22 北京握奇数据系统有限公司 USB (Universal Serial Bus) equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589781A (en) * 2014-10-24 2016-05-18 惠州市德赛西威汽车电子股份有限公司 Automated testing method of simulating inserting and pulling of USB of car audio
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
TWI580968B (en) * 2015-12-09 2017-05-01 英業達股份有限公司 Testing Tool and Testing Method of Connection of Universal Serial Bus Type C (USB Type C) Port
CN105868065A (en) * 2016-04-25 2016-08-17 浪潮电子信息产业股份有限公司 Method for testing hot plugging parts of whole SmartRack
CN107656882A (en) * 2016-07-25 2018-02-02 深圳市中兴微电子技术有限公司 A kind of USB controller verification method, system and equipment
CN107423182A (en) * 2017-04-25 2017-12-01 广州御融通电子设备开发有限公司 One kind simulation USB hot drawing plug devices
CN108387793A (en) * 2017-12-29 2018-08-10 惠州市德赛西威汽车电子股份有限公司 A kind of automatization test system and method for external equipment hot plug
CN109359079A (en) * 2018-10-16 2019-02-19 福建实达电脑设备有限公司 A kind of the simulation pull-plug device and method of automatic maintenance USB connection
TWI744692B (en) * 2019-09-11 2021-11-01 英業達股份有限公司 Hard disk examination method and system of the same
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 USB OTG test method
CN113820583B (en) * 2020-06-19 2024-02-27 北京君正集成电路股份有限公司 USB OTG test method

Also Published As

Publication number Publication date
CN103885868B (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN103885868B (en) The test macro of simulation USB hot plug process and device
CN105095132B (en) The electronic installation and its operating method for the USB master-slave equipment pattern that can automatically switch
CN104199569A (en) Keyboard and mouse switching and using method based on USB interfaces in KVM equipment
CN105487955A (en) Test jig and test method for universal serial bus type C port
CN101604275A (en) BIOS test macro and method of testing thereof
CN104730933A (en) Traction control semi-physical simulation system
CN202939275U (en) Wafer IC test equipment
CN108153624B (en) Test circuit board suitable for NGFF slot
CN204808311U (en) Keyboard and mouse analog system based on PCI
CN102854417A (en) Master test board and testing method thereof
CN101858947A (en) Virtual instrument bus type multifunctional maintenance test device
CN103837842A (en) Power supply automatic test device and system
CN203166959U (en) Machine cabinet type 1553B cable network test system
CN204203764U (en) Vehicle Controller automatic test device
CN202075919U (en) Serial bus experimental device
CN205301484U (en) Many testboards system of pencil conduction testing
CN103970706A (en) External expansion system of mobile device based on FT311D interface chip
CN204695300U (en) A kind of computer software testing device
CN202503487U (en) Signal generator used in experimental teaching of electrical automation specialty
CN202383571U (en) FPC (flexible printed circuit board) output interface based main board
CN202771697U (en) Experimental platform
CN204557469U (en) The USB switch of chip controls
CN110647431A (en) Test box for board card and complete machine diagnosis test
CN104599569A (en) Demonstrating experiment device for NAND gate circuit
CN204667732U (en) A kind of NAND gate circuit demonstrating experiment device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee before: Fuzhou Rockchip Semiconductor Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.