CN100458725C - Link detecting device and its method for general serial bus port - Google Patents
Link detecting device and its method for general serial bus port Download PDFInfo
- Publication number
- CN100458725C CN100458725C CNB2005101323970A CN200510132397A CN100458725C CN 100458725 C CN100458725 C CN 100458725C CN B2005101323970 A CNB2005101323970 A CN B2005101323970A CN 200510132397 A CN200510132397 A CN 200510132397A CN 100458725 C CN100458725 C CN 100458725C
- Authority
- CN
- China
- Prior art keywords
- port
- serial bus
- universal serial
- usb
- upstream usb
- 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
Links
Images
Abstract
This invention relates to a detection device and method of general serial main lines port connection, the first and second USB port separately connect the first and second upper USB port of the ready detection equipment. The two USB ports can transmit the data bag between the two upper USB ports by the data connection line of the two USB ports and the USB port transfer clips on the data transmit lines. It can transmit the measuring data bag between the two upper USB ports by the connection measuring device to detect whether the work of the two USB port is normal.
Description
Technical field
The present invention relates to a kind of USB port of utilizing and connect the method that proving installation is tested, particularly relate to the method for testing that can detect two upstream USB port simultaneously, therefore in the test of same data volume, the USB port that efficient is doubled connects proving installation and method of testing thereof.
Background technology
USB (universal serial bus) (Universal Serial Bus, English abbreviation: USB) be a kind of new interface technology that is applied in personal computer (PC) field.As far back as nineteen ninety-five, just have PC to have USB interface, but owing to lack the support of software and computer hardware, the USB interface of these PCs is all left unused and is not used.After 1998, along with Microsoft's built-in support module to USB interface in Windows 98 operating systems, add day by day increasing of the equipment that has USB port, the USB interface technology has just progressively been come into the practical stage.
These several years, along with popularizing of the personal computer of a large amount of support USB port, the standard interface that USB interface progressively becomes PC was trend of the times.In host side, the PC of up-to-date release almost 100% is supported USB interface; And at the peripheral hardware end, the electronic equipment of use USB interface also grows with each passing day, for example digital camera, scanner, rocking bar, tape and floppy drive, image processing equipment, printer, keyboard, mouse or the like.
Utilize its standard of USB interface transmission data to be the USB1.0/1.1 standard in early days.USB port 1.0/1.1 standard can reach 1.5Mbps for the low-speed device transfer rate; For full speed equipment, the transfer rate maximum can reach 12Mbps.Because USB1.0/1.1 standard transmission speed ratio is lower, if need transferring large number of data then to expend time in more.So uniting, this 7 tame manufacturer of COMPAQ, Hewlett Packard, Intel, Lucent, Microsoft, NEC and PHILIPS formulated the USB2.0 interface standard.The USB2.0 interface standard has been increased to 480Mbps with data transfer between devices speed, than USB1.1 standard fast about 40 times, the raising of transfer rate means exactly that for user's largest benefit the user can use external unit more efficiently, and the interfacing equipment with multiple speed can be connected on the circuit that uses the USB2.0 interface standard, and ink-bottle effect takes place when need not the concern of data transmission.The USB2.0 standard can be supported data transmission rate up to 480Mbps for high-speed equipment, and it mainly is applicable to the high performance external equipment of camera, high-resolution scanner and the jumbo portable internal memory and so on of high image quality.And, the USB2.0 interface standard is also backward compatible old USB1.0/1.1 software and equipment, therefore, the problem of user with regard to having avoided causing owing to compatible.
Support USB interface in Windows operating system, WINDOWS XP operating system can be supported USB2.0 equipment fully.It is with the unified specification of specifying of peripheral communications port of personal computer, and USB interface is supported plug and play and hot plug (hot plug), has powerful extensibility, for peripherals provides standard data delivery form cheaply.No matter be the simple input equipment of keyboard, mouse, recreation rocking bar and so on for example, still the senior external unit as printer, scanner, storage facilities, camera and so on can adopt USB interface, has almost comprised all peripherals.On a PC, often have a plurality of upstreams USB port, can connect several downstreams USB device simultaneously.
Present employed USB port method of testing is to use the USB hard disk as testing tool, yet this way of prior art still has many defectives, particularly each USB port will be inserted a USB hard disk and tests, if tested machine has a plurality of USB port just to need polylith USB hard disk, if tested machine is produced in batches, then need polylith USB hard disk to test on a large scale, so must increase testing cost greatly; In addition, in the time of will testing a plurality of USB port in that a USB hard disk is only arranged, can only respectively each USB port be tested, thereby testing efficiency is low.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of USB port of utilizing to connect the method that proving installation is tested, performance in order to the USB port of test electronic, can save cost greatly, can detect two upstream USB port simultaneously, therefore in the test of same data volume, the efficient of using this USB port connection proving installation to test can double.
The invention provides a kind of USB (universal serial bus) port of utilizing and connect the method that proving installation is tested, utilizing this USB (universal serial bus) port to connect proving installation tests first upstream USB (universal serial bus) port on the electronic installation and one second upstream USB (universal serial bus) port, this USB (universal serial bus) port connects proving installation and includes one first USB (universal serial bus) port, one second USB (universal serial bus) port, one data line and that connects above-mentioned first USB (universal serial bus) port and second USB (universal serial bus) port is positioned at the USB (universal serial bus) port connect chip on this data line, its characteristics are that this is surveyed the method for establishing and comprises following steps:
(1) in this electronic installation the driver that this USB (universal serial bus) port connects proving installation is installed, and is started one first upstream USB (universal serial bus) port and one second upstream USB (universal serial bus) port simultaneously;
(2) connect proving installation by this USB (universal serial bus) port this first upstream USB (universal serial bus) port is connected with this second upstream USB (universal serial bus) port, and start the driver that this USB (universal serial bus) port connects proving installation;
(3) open this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port;
(4) connect proving installation by this first upstream USB (universal serial bus) port by this USB (universal serial bus) port and send test packet to this second upstream USB (universal serial bus) port, and the data recording of the test packet that this first upstream USB (universal serial bus) port is sent is to the journal file of this first upstream USB (universal serial bus) port, and the data recording of the test packet that this second upstream USB (universal serial bus) port is received is to the journal file of this second upstream USB (universal serial bus) port;
(5) read the reception data of the journal file record of the transmission data of journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port, and the reception data of the journal file record of the transmission data of the journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port are compared with the data of this test packet respectively;
(6) relatively the first upstream USB (universal serial bus) port journal file record writes down the operating state that decides this first upstream USB (universal serial bus) port with the second upstream USB (universal serial bus) port journal file;
(7) send test packet to this first upstream USB (universal serial bus) port by this second upstream USB (universal serial bus) port, and the data recording of the test packet that this second upstream USB (universal serial bus) port is sent is to the journal file of this second upstream USB (universal serial bus) port, and the data recording of the test packet that this first upstream USB (universal serial bus) port is received is to the journal file of this first upstream USB (universal serial bus) port;
(8) read the reception data of the journal file record of the transmission data of journal file record of this second upstream USB (universal serial bus) port and this first upstream USB (universal serial bus) port, and the reception data of the journal file record of the transmission data of the journal file record of this second upstream USB (universal serial bus) port and this first upstream USB (universal serial bus) port are compared with the data of this test packet respectively;
(9) relatively the first upstream USB (universal serial bus) port journal file record writes down the operating state that decides this second upstream USB (universal serial bus) port with the second upstream USB (universal serial bus) port journal file; And
(10) finish test.
The above-mentioned USB (universal serial bus) port of utilizing connects the method that proving installation is tested, and wherein step (6) also comprises following steps:
(a) when the data of the transmission data of the journal file of this first upstream USB (universal serial bus) port record and this test packet not simultaneously, then these first upstream USB (universal serial bus) port transmission data of decidable are surrounded by problem; And
(b) data of the reception data of the journal file record of and this second upstream USB (universal serial bus) port identical and this test packet when the data of the transmission data of the journal file of this first upstream USB (universal serial bus) port record and this test packet not simultaneously, then these second upstream USB (universal serial bus) port reception data of decidable are surrounded by problem.
The above-mentioned USB (universal serial bus) port of utilizing connects the method that proving installation is tested, and wherein step (9) also comprises following steps:
(a) when the data of the transmission data of the journal file of this second upstream USB (universal serial bus) port record and this test packet not simultaneously, then these second upstream USB (universal serial bus) port transmission data of decidable are surrounded by problem;
(b) data of the reception data of the journal file record of and this first upstream USB (universal serial bus) port identical and this test packet when the data of the transmission data of the journal file of this second upstream USB (universal serial bus) port record and this test packet not simultaneously, then these first upstream USB (universal serial bus) port reception data of decidable are surrounded by problem; And
(c) when the transmission data of the journal file record of the reception data of the data of this test packet and the journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port are all identical, then decidable this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port of testing is all working properly.
The invention has the advantages that:
1, owing to use USB port to connect proving installation, its cost is lower, and the cost of a USB port connection proving installation will be significantly less than the cost of a USB testing hard disk, can save cost greatly.
When 2, using USB port connection proving installation to test, this USB port connects proving installation can connect two upstream USB port, detect two upstream USB port simultaneously, therefore in the test of same data volume, the efficient of using this USB port connection proving installation to test can double.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the structural drawing that USB port of the present invention connects proving installation; And
Fig. 2 to Fig. 4 is the process flow diagram of the method for testing USB port of the present invention.
Wherein, Reference numeral:
10 first upstream USB port, 20 second upstream USB port
The 30USB port connects proving installation 31 first USB port
32 second USB port, 33 data lines
34USB port connect chip 40 has the electronic equipment of USB port
Step 104 reads the reception data of the journal file record of the transmission data of journal file record of the first upstream USB port and the second upstream USB port, and two data are compared with the data of test packet respectively;
The transmission data of the journal file record of the step 105 first upstream USB port are identical with the data of test packet;
The step 106 first upstream USB port sends data and is surrounded by problem;
The reception data of the journal file record of the step 107 second upstream USB port are identical with the data of test packet;
The step 108 second upstream USB port sends data and is surrounded by problem;
The step 109 first upstream USB port sends packet and the second upstream USB port sends packet by test;
The transmission data of the journal file record of the step 111 second upstream USB port are identical with the data of test packet;
The step 112 second upstream USB port sends data and is surrounded by problem;
The reception data of the journal file record of the step 113 first upstream USB port are identical with the data of test packet;
The step 114 first upstream USB port sends data and is surrounded by problem; And
The step 115 first upstream USB port receives packet and the second upstream USB port sends packet by test.
Embodiment
Please refer to Fig. 1, represented among the figure that a kind of USB port of the present invention connects proving installation 30, utilize USB port to connect proving installation 30 and connect two the upstream USB port 10,20 that are positioned at the electronic equipment 40 that has USB port, between two upstream USB port 10,20, to carry out data packet transmission, this connects proving installation 30 and comprises: one first USB port 31, in order to connect the first upstream USB port 10; One second USB port 32 is in order to connect the second upstream USB port 20; A data line 33 is in order to connect first USB port 31 and second USB port 32; And a USB port connect chip 34 that is positioned on the data line 33, between the first upstream USB port 10 and the second upstream USB port 20, to carry out data packet transmission.
USB port equipment is divided into upstream USB port equipment and downstream USB port equipment, when downstream USB port equipment is connected with upstream USB port equipment, could transmit data, usually between the USB port equipment of upstream or can not transmit data between the USB port equipment of downstream, even also to be the generic USB port connect proving installation connects the reason that two USB port also can't be tested two USB port for this.USB port of the present invention has a connect chip 34 in the middle of connecting proving installation 30, be forwarded to another upstream USB port in order to USB port of the present invention is connected the packet that a upstream USB port that proving installation 30 connects sends, just not only can set up between such two upstream USB port equipment and connect and Data transmission mutually.Meet the standard of USB port according to this connect chip 34, can test the USB port that meets various criterion.Such as, USB port equipment mostly meets USB port 2.0 standards at present, in one embodiment of this invention, the first upstream USB port 10 and the second upstream USB20 port all meet USB port 2.0 standards, so provide the connect chip that meets USB port 2.0 standards in the USB port connection proving installation 30 of present embodiment.
Please refer to Fig. 2 to Fig. 4 now, Fig. 2 to Fig. 4 utilizes USB port of the present invention to connect proving installation two upstream USB port are carried out the process flow diagram of method of testing for a kind of, and as shown in the figure, method of the present invention comprises following steps:
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.
Claims (3)
1, a kind of USB (universal serial bus) port of utilizing connects the method that proving installation is tested, utilizing this USB (universal serial bus) port to connect proving installation tests first upstream USB (universal serial bus) port on the electronic installation and one second upstream USB (universal serial bus) port, this USB (universal serial bus) port connects proving installation and includes one first USB (universal serial bus) port, one second USB (universal serial bus) port, one data line and that connects above-mentioned first USB (universal serial bus) port and second USB (universal serial bus) port is positioned at the USB (universal serial bus) port connect chip on this data line, it is characterized in that this is surveyed the method for establishing and comprises following steps:
(1) in this electronic installation the driver that this USB (universal serial bus) port connects proving installation is installed, and is started one first upstream USB (universal serial bus) port and one second upstream USB (universal serial bus) port simultaneously;
(2) connect proving installation by this USB (universal serial bus) port this first upstream USB (universal serial bus) port is connected with this second upstream USB (universal serial bus) port, and start the driver that this USB (universal serial bus) port connects proving installation;
(3) open this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port;
(4) connect proving installation by this first upstream USB (universal serial bus) port by this USB (universal serial bus) port and send test packet to this second upstream USB (universal serial bus) port, and the data recording of the test packet that this first upstream USB (universal serial bus) port is sent is to the journal file of this first upstream USB (universal serial bus) port, and the data recording of the test packet that this second upstream USB (universal serial bus) port is received is to the journal file of this second upstream USB (universal serial bus) port;
(5) read the reception data of the journal file record of the transmission data of journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port, and the reception data of the journal file record of the transmission data of the journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port are compared with the data of this test packet respectively;
(6) relatively the first upstream USB (universal serial bus) port journal file record writes down the operating state that decides this first upstream USB (universal serial bus) port with the second upstream USB (universal serial bus) port journal file;
(7) send test packet to this first upstream USB (universal serial bus) port by this second upstream USB (universal serial bus) port, and the data recording of the test packet that this second upstream USB (universal serial bus) port is sent is to the journal file of this second upstream USB (universal serial bus) port, and the data recording of the test packet that this first upstream USB (universal serial bus) port is received is to the journal file of this first upstream USB (universal serial bus) port;
(8) read the reception data of the journal file record of the transmission data of journal file record of this second upstream USB (universal serial bus) port and this first upstream USB (universal serial bus) port, and the reception data of the journal file record of the transmission data of the journal file record of this second upstream USB (universal serial bus) port and this first upstream USB (universal serial bus) port are compared with the data of this test packet respectively;
(9) relatively the first upstream USB (universal serial bus) port journal file record writes down the operating state that decides this second upstream USB (universal serial bus) port with the second upstream USB (universal serial bus) port journal file; And
(10) finish test.
2, the USB (universal serial bus) port of utilizing according to claim 1 connects the method that proving installation is tested, and wherein step (6) also comprises following steps:
(a) when the data of the transmission data of the journal file of this first upstream USB (universal serial bus) port record and this test packet not simultaneously, then these first upstream USB (universal serial bus) port transmission data of decidable are surrounded by problem; And
(b) data of the reception data of the journal file record of and this second upstream USB (universal serial bus) port identical and this test packet when the data of the transmission data of the journal file of this first upstream USB (universal serial bus) port record and this test packet not simultaneously, then these second upstream USB (universal serial bus) port reception data of decidable are surrounded by problem.
3, the method for utilizing USB (universal serial bus) port to connect proving installation test all-purpose serial bus port according to claim 1, wherein step (9) also comprises following steps:
(a) when the data of the transmission data of the journal file of this second upstream USB (universal serial bus) port record and this test packet not simultaneously, then these second upstream USB (universal serial bus) port transmission data of decidable are surrounded by problem;
(b) data of the reception data of the journal file record of and this first upstream USB (universal serial bus) port identical and this test packet when the data of the transmission data of the journal file of this second upstream USB (universal serial bus) port record and this test packet not simultaneously, then these first upstream USB (universal serial bus) port reception data of decidable are surrounded by problem; And
(c) when the transmission data of the journal file record of the reception data of the data of this test packet and the journal file record of this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port are all identical, then decidable this first upstream USB (universal serial bus) port and this second upstream USB (universal serial bus) port of testing is all working properly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101323970A CN100458725C (en) | 2005-12-23 | 2005-12-23 | Link detecting device and its method for general serial bus port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101323970A CN100458725C (en) | 2005-12-23 | 2005-12-23 | Link detecting device and its method for general serial bus port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1987808A CN1987808A (en) | 2007-06-27 |
CN100458725C true CN100458725C (en) | 2009-02-04 |
Family
ID=38184612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101323970A Expired - Fee Related CN100458725C (en) | 2005-12-23 | 2005-12-23 | Link detecting device and its method for general serial bus port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100458725C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855168A (en) * | 2011-06-27 | 2013-01-02 | 鸿富锦精密工业(深圳)有限公司 | Enhanced small form-factor pluggable (SFP+) interface test system |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201789539U (en) * | 2010-09-09 | 2011-04-06 | 中兴通讯股份有限公司 | Mobile terminal |
CN102495779B (en) * | 2011-11-22 | 2014-04-16 | 华南理工大学 | Integrated sensor RFID (radio frequency identification device) system and mixed-mode interface performance test method thereof |
CN104965166A (en) * | 2015-07-16 | 2015-10-07 | 四川和芯微电子股份有限公司 | Test method of USB chip and system thereof |
CN106918771A (en) * | 2015-12-24 | 2017-07-04 | 英业达科技有限公司 | Suitable for the test circuit plate of universal serial bus connector |
US20170373881A1 (en) * | 2016-06-27 | 2017-12-28 | Qualcomm Incorporated | Systems and methods for controlling isochronous data streams |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1369792A (en) * | 2000-07-14 | 2002-09-18 | 英业达股份有限公司 | Method and device for testing USB port |
CN1504887A (en) * | 2002-12-02 | 2004-06-16 | 英业达股份有限公司 | Testing device and method for universal serial bus port |
CN2689346Y (en) * | 2004-04-05 | 2005-03-30 | 联想(北京)有限公司 | Universal series bus interface testers |
US20050216811A1 (en) * | 2004-03-23 | 2005-09-29 | Mirae Corporation | Apparatus for testing USB memory and method thereof |
-
2005
- 2005-12-23 CN CNB2005101323970A patent/CN100458725C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1369792A (en) * | 2000-07-14 | 2002-09-18 | 英业达股份有限公司 | Method and device for testing USB port |
CN1504887A (en) * | 2002-12-02 | 2004-06-16 | 英业达股份有限公司 | Testing device and method for universal serial bus port |
US20050216811A1 (en) * | 2004-03-23 | 2005-09-29 | Mirae Corporation | Apparatus for testing USB memory and method thereof |
CN2689346Y (en) * | 2004-04-05 | 2005-03-30 | 联想(北京)有限公司 | Universal series bus interface testers |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855168A (en) * | 2011-06-27 | 2013-01-02 | 鸿富锦精密工业(深圳)有限公司 | Enhanced small form-factor pluggable (SFP+) interface test system |
Also Published As
Publication number | Publication date |
---|---|
CN1987808A (en) | 2007-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7765344B2 (en) | Apparatus and method for dynamically providing hub or host operations | |
CN100458725C (en) | Link detecting device and its method for general serial bus port | |
CN108885601B (en) | USB multi-host endpoint reflector hub | |
Anderson | USB system architecture | |
CN100507867C (en) | System for automatic testing USB compatibility | |
US7769914B2 (en) | Electronic device having USB interface capable of supporting multiple USB interface standards and methods of operating same | |
US20020156952A1 (en) | Communication control apparatus, communication system and communication control method | |
US20070028046A1 (en) | Flash device to external storage adapter | |
CN100573466C (en) | The test macro of host interface and method | |
CN101907683B (en) | Automatic circuit testing structure of I2C module in digital baseband chip and method thereof | |
CN111124985A (en) | Read-only control method and device for mobile terminal | |
US20040243755A1 (en) | USB apparatus having dual-function of host and hub, and control method thereof | |
TWI338788B (en) | An apparatus and method for testing sas channels | |
CN100414526C (en) | Method and device for automatically adjusting bus width | |
CN100517256C (en) | IEEE1394 interface function detection device and method | |
US20140075063A1 (en) | Smart device with no AP | |
US6801541B1 (en) | Method and apparatus for data transmission over an AC-97 protocol link | |
KR20080000559A (en) | Low-power solid state storage controller for cell phones and other portable appliances | |
CN116126613A (en) | Position detection method and device of PCIe (peripheral component interconnect express) equipment, electronic equipment and storage medium | |
CN113904970B (en) | Transmission system and method of semiconductor test equipment | |
CN213365381U (en) | Main board | |
CN204189089U (en) | A kind of server | |
CN101452415B (en) | Auxiliary device and method for testing embedded system | |
CN100409165C (en) | Device and method for providing intelligent card interface by large scale storage equipment | |
CN112416447A (en) | Method for realizing multiple composite function devices by one USB port and composite 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20191220 Address after: No. 99, University Road, high tech Zone, Xuzhou City, Jiangsu Province Patentee after: XUZHOU LIFANG ELECTROMECHANICAL EQUIPMENT MANUFACTURING CO., LTD. Address before: Taipei City, Taiwan, China Patentee before: Yingda Co., Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090204 Termination date: 20191223 |
|
CF01 | Termination of patent right due to non-payment of annual fee |