US20110126057A1 - Automatic testing system and method for judging whether universal serial bus device is configured to computer - Google Patents
Automatic testing system and method for judging whether universal serial bus device is configured to computer Download PDFInfo
- Publication number
- US20110126057A1 US20110126057A1 US12/699,422 US69942210A US2011126057A1 US 20110126057 A1 US20110126057 A1 US 20110126057A1 US 69942210 A US69942210 A US 69942210A US 2011126057 A1 US2011126057 A1 US 2011126057A1
- Authority
- US
- United States
- Prior art keywords
- computer
- descriptor
- waiting time
- serial bus
- universal serial
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012956 testing procedure Methods 0.000 abstract description 15
- 238000004891 communication Methods 0.000 description 3
- 241000699666 Mus <mouse, genus> Species 0.000 description 2
- 230000000994 depressogenic effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000881 depressing effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
Definitions
- the present invention relates to an automatic testing system, and more particularly to an automatic testing system for automatically testing a universal serial bus device.
- USB Universal Serial Bus
- USB devices Since the USB has plug-and-play capability, USB devices have been used in many applications.
- the common USB devices are for example USB video players, USB storage devices, USB mice, USB keyboards, and the like. During or after a USB device is fabricated, a testing procedure is usually performed to assure normal functions of the USB device.
- USB keyboard Take a USB keyboard for example.
- the USB keyboard is firstly connected with a computer. Then, all keys of the USB keyboard are manually and successively depressed by the tester. After the keys are depressed, the functions corresponding respective keys are observed to judge whether any defects are present.
- the manual testing procedure is time-consuming and labor-intensive. In addition, since too many keys need to be manually tested, the tester is readily suffered from fatigue after a long testing time period. Under this circumstance, the possibility of erroneously depressing the keys is increased.
- Taiwanese Patent Publication No. 00325905 The operating principles of this patent are known in the art, and are not redundantly described herein.
- USB device Before the USB device is tested, the USB device needs to be connected with a computer or a testing device. During the process of connecting the USB device with the computer or the testing device, a message indicating a device change is generated. At the same time, USB protocol descriptions are transmitted from the USB device to the computer. By reading the USB protocol descriptions, the computer may identify the function of the USB device.
- the USB protocol descriptions are also referred as descriptors.
- a USB device has several descriptors, including a device descriptor, a configuration descriptor, an interface descriptor, an endpoint descriptor, and the like.
- Another USB device further includes a string descriptor, a class descriptor and a report descriptor.
- the number of descriptors is increased or decreased.
- the descriptors of the USB device are stored in a device registry. From now on, after the USB device is connected with the computer again, the USB device will be detected by the computer. Via the device registry, the USB device is identified by the computer in order to enable the configuration of the USB device.
- the computer of the testing device is operated under a Microsoft Windows operating system.
- the USB device When the USB device is connected with the computer (or the testing device) to transmit the descriptors, all USB ports of the computer will be detected by the Microsoft Windows operating system. Under this circumstance, the descriptors of the USB device are repeatedly detected by the computer. After the procedure of detecting all USB ports of the computer is completed, the procedure of enabling configuration of the USB device is done and then the procedure of automatically testing the USB device is performed.
- the computer is able to detect all USB ports, the computer fails to judge whether the configuration of the USB device is enabled. In other words, the computer fails to determine the timing of performing the automatic testing procedure. It is necessary to judge whether the USB device is configured to the computer by manpower. After the USB device is configured, the automatic testing device is activated to perform the automatic testing procedure. Since the manpower is indispensable, the conventional automatic testing procedure is ineffective.
- It is an object of the present invention provides an automatic testing system for determining the timing of performing an automatic testing procedure on a USB device.
- Another object of the present invention provides a method for judging whether a universal serial bus device is configured to a computer, so that the automatic testing system is able to determine the timing of performing an automatic testing procedure on a USB device.
- an automatic testing system for automatically testing a universal serial bus device.
- the automatic testing system includes a computer, a testing device, a connecting management program and an automatic testing program.
- the testing device is connected to the computer and the universal serial bus device for testing the universal serial bus device.
- plural descriptors are transmitted from the universal serial bus device to the computer.
- the connecting management program is installed in the computer for judging whether a target descriptor of the plural descriptors is transmitted to the computer. After the target descriptor is transmitted to the computer and the connecting management program detects that the target descriptor is transmitted to the computer again within a waiting time, the waiting time is zeroed and recounted by the connecting management program.
- an enabling signal is generated.
- the automatic testing program is installed in the computer for enabling the testing device according to the enabling signal, thereby automatically testing the universal serial bus device.
- the connecting management program further comprises a timer for counting the waiting time.
- the waiting time is zeroed and recounted by the connecting management program again.
- the connecting management program does not detect that the target descriptor is transmitted to the computer within the recounted waiting time
- the target descriptor is a device descriptor.
- the device descriptor includes a product ID (PID) and a vendor ID (VID).
- the target descriptor includes a device descriptor, an interface descriptor and a report descriptor.
- the device descriptor further includes a product ID (PID) and a vendor ID (VID).
- PID product ID
- VIP vendor ID
- the universal serial bus device is a USB mouse or a USB keyboard.
- a method for judging whether a universal serial bus device is configured to a computer includes steps of receiving plural descriptors generated from the universal serial bus device, and judging whether a target descriptor of the plural descriptors is received. After the target descriptor is received and the target descriptor is received again within a waiting time, the waiting time is zeroed and recounted. Whereas, after the target descriptor is received and the target descriptor is not received again within the waiting time, the universal serial bus device is determined to be configured to the computer.
- the waiting time is zeroed and recounted again.
- the universal serial bus device is determined to be configured to the computer
- the target descriptor is a device descriptor.
- the device descriptor includes a product ID (PID) and a vendor ID (VID).
- the target descriptor includes a device descriptor, an interface descriptor and a report descriptor.
- the device descriptor further includes a product ID (PID) and a vendor ID (VID).
- PID product ID
- VIP vendor ID
- the universal serial bus device is a USB mouse or a USB keyboard.
- FIG. 1 is a flowchart illustrating a method for judging whether a USB device is configured to a computer according to an embodiment of the present invention
- FIG. 2 is a schematic block diagram illustrating an automatic testing system according to an embodiment of the present invention.
- the present invention provides a method for judging whether a USB device is configured to the computer.
- FIG. 1 is a flowchart illustrating a method for judging whether a USB device is configured to a computer according to an embodiment of the present invention.
- a testing device is connected with a computer, and a USB device is connected with the testing device such that the USB device is in communication with the computer.
- plural descriptors are transmitted from the USB device to the computer.
- the method judges whether a target descriptor from the USB device is received.
- a timer is started, and method judges whether the target descriptor is received again within a waiting time.
- the waiting time is zeroed and the waiting time is recounted.
- the step S 6 it is determined that the USB device is configured to the computer.
- an automatic testing procedure of the USB device is performed.
- the step S 3 will be repeatedly done.
- the step S 4 is done.
- the step S 5 is done.
- the step S 6 is done. After the step S 5 is done, the step S 4 will be performed.
- FIG. 2 is a schematic block diagram illustrating an automatic testing system according to an embodiment of the present invention.
- the automatic testing system 1 is used for automatically testing a USB device 12 .
- the automatic testing system 1 comprises a computer 10 and a testing device 11 .
- the testing device 11 is connected to the computer 10 and the USB device 12 for testing the USB device 12 .
- the structures and operating principles of the testing device 11 are similar to those illustrated in Taiwanese Patent Publication No. 00325905, and are not redundantly described herein.
- the computer 10 has a connecting management program 101 and an automatic testing program 102 for executing automatic testing program procedure.
- the connecting management program 101 has a timer 1011 .
- the USB device 12 has a USB interface to be connected. In this embodiment, the USB device 12 is a USB keyboard.
- the computer 10 may identify the function of the USB keyboard 12 .
- the plural descriptors D are stored in a registry editor of the computer 10 .
- the last one of the plural descriptors D is defined as a target descriptor.
- the method of the present invention may judge whether the USB keyboard 12 is configured to the computer 10 .
- the connecting management program 101 is employed to judge whether the target descriptor of the plural descriptors D is transmitted to the computer 10 .
- the target descriptor is a device descriptor, which includes a product ID (PID) and a vendor ID (VID).
- the target descriptor includes a device descriptor, an interface descriptor and a report descriptor.
- the target descriptor includes a device descriptor, an interface descriptor and a report descriptor, and the target descriptor is stored in the registry editor of the Windows operating system of the computer.
- the target descriptor has a format of Vid — 1234Pid — 5678MI — 05Col — 09.
- the testing device 11 When the automatic testing system 1 is activated, the testing device 11 is connected with the computer 10 and the USB keyboard 12 is connected with the testing device 11 , so that the USB keyboard 12 is in communication with the computer 10 (see step S 1 ). Then, plural descriptors D are transmitted from the USB keyboard 12 to the computer 10 (see step s 2 ). Then, the connecting management program 101 of the computer will judge whether a target descriptor from the USB keyboard 12 is received (see step S 3 ). Once the connecting management program 101 detects that no target descriptor is received by the computer 10 , the step of receiving the target descriptor will be continuously performed until the target descriptor is received. Once the connecting management program 101 detects that a target descriptor is received by the computer 10 , the timer 1011 is started and the connecting management program 101 judges whether the target descriptor is received again by the computer 10 within a waiting time (see step S 4 ).
- step S 4 once the connecting management program 101 detects that the target descriptor is received by the computer 10 again within the waiting time, the waiting time is zeroed and the waiting time is recounted (see step S 5 ) and the step S 4 is repeatedly performed.
- the USB keyboard 12 is determined to be configured to the computer 10 (see step S 6 ) and an enabling signal E is generated. According to the enabling signal E, the testing device 11 is enabled by the automatic testing program 102 , and thus the USB keyboard 12 is tested by the testing device 11 (see step S 7 ).
- the operating principles of the automatic testing procedure are not redundantly described herein.
- the waiting time is counted by the timer 1011 .
- the automatic testing system detects whether the descriptors D are repeatedly transmitted.
- the target descriptor may indicate all of the descriptors D.
- the target descriptor is transmitted within the waiting time, it is meant that the USB ports have not been completely detected by the computer 10 .
- the target descriptor is not received within the waiting time, it is meant that the USB keyboard 12 is configured to the computer 10 and the further automatic testing procedure could be performed. It is important to determine the waiting time. If the waiting time is too short, the target descriptor that should be detected will be neglected. That is, the connecting management program 101 will be possibly subject to erroneous judgment. Under this circumstance, the further automatic testing procedure fails to be successfully performed.
- the waiting time is variable. By undue experiments, the proper waiting time is determined.
- the present invention provides an automatic testing system and a method for judging whether a universal serial bus device is configured to a computer. Once the connecting management program detects that the target descriptor is not received by the computer again within the waiting time, the USB device is determined to be configured to the computer. After the USB device is configured to the computer, the automatic testing procedure will be performed. Since the automatic testing system and the judging method of the present invention are capable of automatically implemented, the present invention is more efficient and labor-saving.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
- The present invention relates to an automatic testing system, and more particularly to an automatic testing system for automatically testing a universal serial bus device.
- USB (Universal Serial Bus) is a specification to establish communication between a device and a host controller. Since the USB has plug-and-play capability, USB devices have been used in many applications. The common USB devices are for example USB video players, USB storage devices, USB mice, USB keyboards, and the like. During or after a USB device is fabricated, a testing procedure is usually performed to assure normal functions of the USB device.
- Take a USB keyboard for example. According to a simple testing procedure, the USB keyboard is firstly connected with a computer. Then, all keys of the USB keyboard are manually and successively depressed by the tester. After the keys are depressed, the functions corresponding respective keys are observed to judge whether any defects are present. The manual testing procedure is time-consuming and labor-intensive. In addition, since too many keys need to be manually tested, the tester is readily suffered from fatigue after a long testing time period. Under this circumstance, the possibility of erroneously depressing the keys is increased. For solving these problems, a commercially available automatic keyboard testing device for testing keyboard is disclosed in for example Taiwanese Patent Publication No. 00325905. The operating principles of this patent are known in the art, and are not redundantly described herein.
- Before the USB device is tested, the USB device needs to be connected with a computer or a testing device. During the process of connecting the USB device with the computer or the testing device, a message indicating a device change is generated. At the same time, USB protocol descriptions are transmitted from the USB device to the computer. By reading the USB protocol descriptions, the computer may identify the function of the USB device. The USB protocol descriptions are also referred as descriptors. A USB device has several descriptors, including a device descriptor, a configuration descriptor, an interface descriptor, an endpoint descriptor, and the like. Another USB device further includes a string descriptor, a class descriptor and a report descriptor. According to the practical requirement of the USB device, the number of descriptors is increased or decreased. After the descriptors are received by the computer, the descriptors of the USB device are stored in a device registry. From now on, after the USB device is connected with the computer again, the USB device will be detected by the computer. Via the device registry, the USB device is identified by the computer in order to enable the configuration of the USB device.
- For example, the computer of the testing device is operated under a Microsoft Windows operating system. When the USB device is connected with the computer (or the testing device) to transmit the descriptors, all USB ports of the computer will be detected by the Microsoft Windows operating system. Under this circumstance, the descriptors of the USB device are repeatedly detected by the computer. After the procedure of detecting all USB ports of the computer is completed, the procedure of enabling configuration of the USB device is done and then the procedure of automatically testing the USB device is performed. Although the computer is able to detect all USB ports, the computer fails to judge whether the configuration of the USB device is enabled. In other words, the computer fails to determine the timing of performing the automatic testing procedure. It is necessary to judge whether the USB device is configured to the computer by manpower. After the USB device is configured, the automatic testing device is activated to perform the automatic testing procedure. Since the manpower is indispensable, the conventional automatic testing procedure is ineffective.
- It is an object of the present invention provides an automatic testing system for determining the timing of performing an automatic testing procedure on a USB device.
- Another object of the present invention provides a method for judging whether a universal serial bus device is configured to a computer, so that the automatic testing system is able to determine the timing of performing an automatic testing procedure on a USB device.
- In accordance with an aspect of the present invention, there is provided an automatic testing system for automatically testing a universal serial bus device. The automatic testing system includes a computer, a testing device, a connecting management program and an automatic testing program. The testing device is connected to the computer and the universal serial bus device for testing the universal serial bus device. When the universal serial bus device is connected with the testing device, plural descriptors are transmitted from the universal serial bus device to the computer. The connecting management program is installed in the computer for judging whether a target descriptor of the plural descriptors is transmitted to the computer. After the target descriptor is transmitted to the computer and the connecting management program detects that the target descriptor is transmitted to the computer again within a waiting time, the waiting time is zeroed and recounted by the connecting management program. Whereas, after the target descriptor is transmitted to the computer and the connecting management program does not detect that the target descriptor is transmitted to the computer again within the waiting time, an enabling signal is generated. The automatic testing program is installed in the computer for enabling the testing device according to the enabling signal, thereby automatically testing the universal serial bus device.
- In an embodiment of the automatic testing system, the connecting management program further comprises a timer for counting the waiting time.
- In an embodiment of the automatic testing system, after the waiting time is recounted by the connecting management program and the connecting management program detects that the target descriptor is transmitted to the computer again within the recounted waiting time, the waiting time is zeroed and recounted by the connecting management program again. Whereas, after the target descriptor is transmitted to the computer again and the connecting management program does not detect that the target descriptor is transmitted to the computer within the recounted waiting time, the enabling signal is generated
- In an embodiment of the automatic testing system, the target descriptor is a device descriptor.
- In an embodiment of the automatic testing system, the device descriptor includes a product ID (PID) and a vendor ID (VID).
- In an embodiment of the automatic testing system, the target descriptor includes a device descriptor, an interface descriptor and a report descriptor.
- In an embodiment of the automatic testing system, the device descriptor further includes a product ID (PID) and a vendor ID (VID).
- In an embodiment of the automatic testing system, the universal serial bus device is a USB mouse or a USB keyboard.
- In accordance with another aspect of the present invention, there is provided a method for judging whether a universal serial bus device is configured to a computer. The method includes steps of receiving plural descriptors generated from the universal serial bus device, and judging whether a target descriptor of the plural descriptors is received. After the target descriptor is received and the target descriptor is received again within a waiting time, the waiting time is zeroed and recounted. Whereas, after the target descriptor is received and the target descriptor is not received again within the waiting time, the universal serial bus device is determined to be configured to the computer.
- In an embodiment of the method, after the waiting time is recounted and the target descriptor is received again within the recounted waiting time, the waiting time is zeroed and recounted again. Whereas, once the target descriptor is not received within the recounted waiting time, the universal serial bus device is determined to be configured to the computer
- In an embodiment of the method, the target descriptor is a device descriptor.
- In an embodiment of the method, the device descriptor includes a product ID (PID) and a vendor ID (VID).
- In an embodiment of the method, the target descriptor includes a device descriptor, an interface descriptor and a report descriptor.
- In an embodiment of the method, the device descriptor further includes a product ID (PID) and a vendor ID (VID).
- In an embodiment of the method, the universal serial bus device is a USB mouse or a USB keyboard.
- The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
-
FIG. 1 is a flowchart illustrating a method for judging whether a USB device is configured to a computer according to an embodiment of the present invention; and -
FIG. 2 is a schematic block diagram illustrating an automatic testing system according to an embodiment of the present invention. - For allowing the computer to realize the timing of initiating the automatic testing procedure, the present invention provides a method for judging whether a USB device is configured to the computer.
-
FIG. 1 is a flowchart illustrating a method for judging whether a USB device is configured to a computer according to an embodiment of the present invention. In the step S1, a testing device is connected with a computer, and a USB device is connected with the testing device such that the USB device is in communication with the computer. In the step S2, plural descriptors are transmitted from the USB device to the computer. In the step S3, the method judges whether a target descriptor from the USB device is received. In the step S4, a timer is started, and method judges whether the target descriptor is received again within a waiting time. In the step S5, the waiting time is zeroed and the waiting time is recounted. In the step S6, it is determined that the USB device is configured to the computer. In the step S7, an automatic testing procedure of the USB device is performed. - In addition, once the target descriptor from the USB device is not received in the step S3, the step S3 will be repeatedly done. Whereas, once the target descriptor from the USB device is received in the step S3, the step S4 is done. Once the target descriptor is received again within the waiting time in the step S4, the step S5 is done. Whereas, once the target descriptor is not received again within the waiting time, the step S6 is done. After the step S5 is done, the step S4 will be performed.
- Hereinafter, the method for judging whether the USB device is configured to the computer will be illustrated in more details with reference to an automatic testing system.
FIG. 2 is a schematic block diagram illustrating an automatic testing system according to an embodiment of the present invention. As shown inFIG. 2 , theautomatic testing system 1 is used for automatically testing aUSB device 12. Theautomatic testing system 1 comprises acomputer 10 and atesting device 11. Thetesting device 11 is connected to thecomputer 10 and theUSB device 12 for testing theUSB device 12. The structures and operating principles of thetesting device 11 are similar to those illustrated in Taiwanese Patent Publication No. 00325905, and are not redundantly described herein. - Furthermore, the
computer 10 has a connectingmanagement program 101 and anautomatic testing program 102 for executing automatic testing program procedure. The connectingmanagement program 101 has atimer 1011. TheUSB device 12 has a USB interface to be connected. In this embodiment, theUSB device 12 is a USB keyboard. - As previously described in the prior art, after the
USB keyboard 12 is connected to thecomputer 10 or thetesting device 11, plural descriptors D will be transmitted from theUSB keyboard 12 to thecomputer 10. By reading the plural descriptors D, thecomputer 10 may identify the function of theUSB keyboard 12. The plural descriptors D are stored in a registry editor of thecomputer 10. For assuring that theUSB keyboard 12 is configured to thecomputer 10, the last one of the plural descriptors D is defined as a target descriptor. According to the target descriptor, the method of the present invention may judge whether theUSB keyboard 12 is configured to thecomputer 10. Moreover, the connectingmanagement program 101 is employed to judge whether the target descriptor of the plural descriptors D is transmitted to thecomputer 10. - In this embodiment, the target descriptor is a device descriptor, which includes a product ID (PID) and a vendor ID (VID). Alternatively, the target descriptor includes a device descriptor, an interface descriptor and a report descriptor. In a preferred embodiment, the target descriptor includes a device descriptor, an interface descriptor and a report descriptor, and the target descriptor is stored in the registry editor of the Windows operating system of the computer. For example, the target descriptor has a format of Vid—1234Pid—5678MI—05Col—09.
- When the
automatic testing system 1 is activated, thetesting device 11 is connected with thecomputer 10 and theUSB keyboard 12 is connected with thetesting device 11, so that theUSB keyboard 12 is in communication with the computer 10 (see step S1). Then, plural descriptors D are transmitted from theUSB keyboard 12 to the computer 10 (see step s2). Then, the connectingmanagement program 101 of the computer will judge whether a target descriptor from theUSB keyboard 12 is received (see step S3). Once the connectingmanagement program 101 detects that no target descriptor is received by thecomputer 10, the step of receiving the target descriptor will be continuously performed until the target descriptor is received. Once the connectingmanagement program 101 detects that a target descriptor is received by thecomputer 10, thetimer 1011 is started and the connectingmanagement program 101 judges whether the target descriptor is received again by thecomputer 10 within a waiting time (see step S4). - In the step S4, once the connecting
management program 101 detects that the target descriptor is received by thecomputer 10 again within the waiting time, the waiting time is zeroed and the waiting time is recounted (see step S5) and the step S4 is repeatedly performed. Once the connectingmanagement program 101 detects that the target descriptor is not received by thecomputer 10 again within the waiting time, theUSB keyboard 12 is determined to be configured to the computer 10 (see step S6) and an enabling signal E is generated. According to the enabling signal E, thetesting device 11 is enabled by theautomatic testing program 102, and thus theUSB keyboard 12 is tested by the testing device 11 (see step S7). The operating principles of the automatic testing procedure are not redundantly described herein. - In the above embodiments, the waiting time is counted by the
timer 1011. According to the waiting time, the automatic testing system detects whether the descriptors D are repeatedly transmitted. In this context, the target descriptor may indicate all of the descriptors D. Once the automatic testing system detects that the target descriptor is transmitted within the waiting time, it is meant that the USB ports have not been completely detected by thecomputer 10. On the other hand, once the target descriptor is not received within the waiting time, it is meant that theUSB keyboard 12 is configured to thecomputer 10 and the further automatic testing procedure could be performed. It is important to determine the waiting time. If the waiting time is too short, the target descriptor that should be detected will be neglected. That is, the connectingmanagement program 101 will be possibly subject to erroneous judgment. Under this circumstance, the further automatic testing procedure fails to be successfully performed. Depending to the types of USB devices, the waiting time is variable. By undue experiments, the proper waiting time is determined. - From the above description, the present invention provides an automatic testing system and a method for judging whether a universal serial bus device is configured to a computer. Once the connecting management program detects that the target descriptor is not received by the computer again within the waiting time, the USB device is determined to be configured to the computer. After the USB device is configured to the computer, the automatic testing procedure will be performed. Since the automatic testing system and the judging method of the present invention are capable of automatically implemented, the present invention is more efficient and labor-saving.
- While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Claims (15)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098139437A TWI382307B (en) | 2009-11-20 | 2009-11-20 | Automatic testing system and method for judging whether universal series bus device is configured to computer |
TW98139437A | 2009-11-20 | ||
TW098139437 | 2009-11-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20110126057A1 true US20110126057A1 (en) | 2011-05-26 |
US7958405B1 US7958405B1 (en) | 2011-06-07 |
Family
ID=44062982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/699,422 Expired - Fee Related US7958405B1 (en) | 2009-11-20 | 2010-02-03 | Automatic testing system and method for judging whether universal serial bus device is configured to computer |
Country Status (2)
Country | Link |
---|---|
US (1) | US7958405B1 (en) |
TW (1) | TWI382307B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110173502A1 (en) * | 2010-01-08 | 2011-07-14 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd | Universal serial bus system and method |
CN108549011A (en) * | 2018-02-10 | 2018-09-18 | 东莞市联洲知识产权运营管理有限公司 | A kind of tenesmus formula test machine of computor-keyboard rubber key |
US20190114242A1 (en) * | 2017-10-12 | 2019-04-18 | Getac Technology Corporation | Usb-testing method and testing fixture board for usb device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101922109B1 (en) | 2012-07-18 | 2018-11-26 | 삼성전자주식회사 | Storage device test system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030051192A1 (en) * | 2001-03-30 | 2003-03-13 | Pillay Sanjay Ramakrishna | Circuits and methods for debugging an embedded processor and systems using the same |
US20030056036A1 (en) * | 2001-09-14 | 2003-03-20 | Carlton Gary Don | Apparatus and method for testing universal serial bus communication |
US6804727B1 (en) * | 2001-02-23 | 2004-10-12 | Lexmark International, Inc. | Method for communication from a host computer to a peripheral device |
US20070299650A1 (en) * | 2006-06-23 | 2007-12-27 | Tamayo Paolo A | Method to change USB device descriptors from host to emulate a new device |
US20090055560A1 (en) * | 2007-08-22 | 2009-02-26 | Mimaki Engineering Co., Ltd. | Data transfer apparatus, method for manufacturing the data transfer apparatus, method for conducting connection test, and method for testing connection in the data transfer apparatus |
US7702984B1 (en) * | 2000-01-06 | 2010-04-20 | Super Talent Electronics, Inc. | High volume testing for USB electronic data flash cards |
US7788553B2 (en) * | 2000-01-06 | 2010-08-31 | Super Talent Electronics, Inc. | Mass production testing of USB flash cards with various flash memory cells |
US7797398B2 (en) * | 2005-09-20 | 2010-09-14 | Brother Kogyo Kabushiki Kaisha | Communication system, and peripheral device having trigger generating device and computer program product that monitors whether a trigger has been generated |
US7865773B2 (en) * | 2006-12-19 | 2011-01-04 | Dell Products, Lp | System, method, and device including built-in self tests for communication bus device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI233124B (en) * | 2004-02-26 | 2005-05-21 | Genesys Logic Inc | Method for self-diagnosis and programming flash memory, and device and system of same |
-
2009
- 2009-11-20 TW TW098139437A patent/TWI382307B/en not_active IP Right Cessation
-
2010
- 2010-02-03 US US12/699,422 patent/US7958405B1/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7702984B1 (en) * | 2000-01-06 | 2010-04-20 | Super Talent Electronics, Inc. | High volume testing for USB electronic data flash cards |
US7788553B2 (en) * | 2000-01-06 | 2010-08-31 | Super Talent Electronics, Inc. | Mass production testing of USB flash cards with various flash memory cells |
US6804727B1 (en) * | 2001-02-23 | 2004-10-12 | Lexmark International, Inc. | Method for communication from a host computer to a peripheral device |
US20030051192A1 (en) * | 2001-03-30 | 2003-03-13 | Pillay Sanjay Ramakrishna | Circuits and methods for debugging an embedded processor and systems using the same |
US20030056036A1 (en) * | 2001-09-14 | 2003-03-20 | Carlton Gary Don | Apparatus and method for testing universal serial bus communication |
US7797398B2 (en) * | 2005-09-20 | 2010-09-14 | Brother Kogyo Kabushiki Kaisha | Communication system, and peripheral device having trigger generating device and computer program product that monitors whether a trigger has been generated |
US20070299650A1 (en) * | 2006-06-23 | 2007-12-27 | Tamayo Paolo A | Method to change USB device descriptors from host to emulate a new device |
US7865773B2 (en) * | 2006-12-19 | 2011-01-04 | Dell Products, Lp | System, method, and device including built-in self tests for communication bus device |
US20090055560A1 (en) * | 2007-08-22 | 2009-02-26 | Mimaki Engineering Co., Ltd. | Data transfer apparatus, method for manufacturing the data transfer apparatus, method for conducting connection test, and method for testing connection in the data transfer apparatus |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110173502A1 (en) * | 2010-01-08 | 2011-07-14 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd | Universal serial bus system and method |
US8352800B2 (en) * | 2010-01-08 | 2013-01-08 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Universal serial bus system and method |
US20190114242A1 (en) * | 2017-10-12 | 2019-04-18 | Getac Technology Corporation | Usb-testing method and testing fixture board for usb device |
US10402288B2 (en) * | 2017-10-12 | 2019-09-03 | Getac Technology Corporation | USB-testing method and testing fixture board for USB device |
CN108549011A (en) * | 2018-02-10 | 2018-09-18 | 东莞市联洲知识产权运营管理有限公司 | A kind of tenesmus formula test machine of computor-keyboard rubber key |
Also Published As
Publication number | Publication date |
---|---|
US7958405B1 (en) | 2011-06-07 |
TW201118560A (en) | 2011-06-01 |
TWI382307B (en) | 2013-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109558282B (en) | PCIE link detection method, system, electronic equipment and storage medium | |
TWI358665B (en) | ||
US8074000B2 (en) | Hotkey processing method and computer system | |
US20150256552A1 (en) | Imalicious code detection apparatus and method | |
US7958405B1 (en) | Automatic testing system and method for judging whether universal serial bus device is configured to computer | |
US7921230B2 (en) | USB devices pre-configuration for KVM switch | |
US10366226B2 (en) | Malicious code analysis device and method based on external device connected via USB cable | |
CN104571670A (en) | Detection method and system of touch device | |
TWI476587B (en) | Testing method and testing apparatus for testing function of electronic apparatus | |
CN103886258A (en) | Method and device for detecting viruses | |
US7366890B2 (en) | Method for switching to a service mode of operation in response to detecting a device connected to an I/O port of the system | |
US7624217B2 (en) | Adaptive boot sequence | |
WO2018227475A1 (en) | Fingerprint chip detection method, device and system | |
US20120259591A1 (en) | Keyboard testing method | |
US20090265580A1 (en) | Error detection method for a computer system, and electronic device | |
JP2017010174A (en) | Device safety detector, device safety detection method, and program | |
US7844858B2 (en) | Method for analyzing program errors | |
US20040177288A1 (en) | Apparatus and method for capturing the program counter address associated with a trigger signal in a target processor | |
US8214896B2 (en) | Method of securing USB keyboard | |
JP2009015639A (en) | Method for installing driver of printer | |
TWI512303B (en) | Hot plugging device for establishing and testing data channel by switching protocol automatically and method thereof | |
US6772329B1 (en) | SCSI phase specific bus reset generator | |
TWI472783B (en) | Data capture and detection method | |
US20040117487A1 (en) | Apparatus and method for capturing an event or combination of events resulting in a trigger signal in a target processor | |
JP2005078122A (en) | Lock status detection device and lock status detection method and its program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: PRIMAX ELECTRONICS LTD., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHANG, PEI-MING;REEL/FRAME:023893/0169 Effective date: 20100203 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20190607 |