Testing system using different operating systems to test electronic products

A testing system uses different operating systems to test electronic products. The testing system includes a master computer, a slave computer and a relay. A first operating system is installed in the master computer. A second operating system is installed in the slave computer. The master computer and the slave computer are connected with each other through RS-232 ports. The relay is connected with the master computer, the slave computer and an under-test product. By changing the voltage level state of specified pins of the RS-232 ports, the master computer notifies the slave computer to test the under-test product. Moreover, by controlling the relay, the connection between the master computer and the under-test product is switched to the connection between the slave computer and the under-test product. Consequently, the under-test product is tested by the slave computer.

FIELD OF THE INVENTION

The present invention relates to a testing system for testing electronic products, and more particularly to a testing system using different operating systems to test electronic products.

BACKGROUND OF THE INVENTION

In the fabricating process of a computer peripheral device, different operating systems are possibly used to test the products. For example, a Microsoft Windows operating system is used to update the firmware of the product, and an Apple Mac operating system is used to test other items.

These two different operating systems are installed in different computers. Conventionally, a USB switch is connected between the under-test product and two computers by the testing worker. Firstly, the USB switch is connected with a first computer of the two computers. Then, the testing worker visually judges whether the testing process is ended according to the testing procedures shown on a display screen of the first computer. After the testing process is ended, the product is connected with a second computer of the two computers through the USB switch. Then, the product is tested by the second computer.

In the conventional testing system, the timing of connecting the under-test product with the second computer to perform the subsequent testing process of is manually judged according to the testing progress. Moreover, the way of manually switching the USB switch to perform the testing process needs high labor cost and reduces the testing speed.

SUMMARY OF THE INVENTION

The present invention provides a testing system for testing electronic device at increased testing speed.

In accordance with an aspect of the present invention, there is provided a testing system using different operating systems to test electronic products. The testing system includes a first operating system and a second operating system different from the first operating system. The testing system includes a master computer, a slave computer and a switch device. The master computer includes a first switch connecting port and a first data connecting port. The first operating system is installed in the master computer. The slave computer includes a second switch connecting port and a second data connecting port. The second operating system is installed in the slave computer. The first switch connecting port and the second switch connecting port are connected with each other. The switch device is connected with the first switch connecting port of the master computer, the first data connecting port of the master computer, the second data connecting port of the slave computer and an under-test product. After the first data connecting port of the master computer is electrically connected with the under-test product through the switch device, the under-test product is tested by the master computer. After the under-test product is tested by the master computer, the master computer issues a first notification signal from the first switch connecting port and issues a first switching signal from the first switch connecting port to the switch device. In response to the first switching signal, an electric connection between the second data connecting port of the slave computer and the under-test product is established. After the second switch connecting port of the slave computer detects the first notification signal, the slave computer tests the under-test product.

In an embodiment, the switch device is a relay. The relay includes two normally closed terminals, two normally open terminals and two common terminals. The two normally closed terminals are connected with the first data connecting port of the master computer. The two normally open terminals are connected with the second data connecting port of the slave computer. The two common terminals are connected with the under-test product. Moreover, the relay further includes a driving circuit.

In an embodiment, the first switch connecting port and the second switch connecting port are RS-232 ports. A sixth pin of the first switch connecting port is connected with a fourth pin of the second switch connecting port. A fourth pin of the first switch connecting port is connected with a sixth pin of the second switch connecting port. A seventh pin of the first switch connecting port is connected with the driving circuit of the relay. After the under-test product is tested by the master computer, the fourth pin of the first switch connecting port is changed to a high voltage level state to result in the first notification signal by the master computer, and the seventh pin of the first switch connecting port is changed to a high voltage level state to result in the switching signal by the master computer. After the under-test product is tested by the slave computer, the slave computer issues a second notification signal from the second switch connecting port. After the second notification signal is detected by the master computer, the electric connection between the slave computer and the under-test product is interrupted by the master computer. When the fourth pin of the second switch connecting port is changed to a high voltage level state, the second notification signal is generated. After the master computer detects the high voltage level state through the sixth pin of the first switch connecting port, the seventh pin of the first switch connecting port is changed to a low voltage level state by the master computer. In response to the low voltage level state of the seventh pin of the first switch connecting port, the two normally closed terminals of the relay are connected with the two common terminals of the relay, and the electric connection between the slave computer and the under-test product is interrupted.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

FIG. 1is a schematic functional block diagram illustrating a testing system according to an embodiment of the present invention. As shown inFIG. 1, the testing system100comprises a master computer10, a slave computer20and a switch device30. In an embodiment, the switch device30is a relay. A first operating system11is installed in the master computer10. A second operating system21is installed in the slave computer20. The master computer10comprises a first switch connecting port12and a first data connecting port13. The slave computer20comprises a second switch connecting port22and a second data connecting port23. The relay30is connected with the first switch connecting port12and the first data connecting port13of the master computer10, the second data connecting port23of the slave computer20and a communication interface41of an under-test product40. For example, the communication interface41is a USB port. Moreover, the first switch connecting port12of the master computer10and the second switch connecting port22of the slave computer20are connected with each other.

In an embodiment, both of the first switch connecting port12and the second switch connecting port22are RS-232 ports, and both of the first data connecting port13and the second data connecting port23are USB ports.

FIG. 2is a circuit diagram illustrating the relationships between the relay, the RS-232 port of the master computer and the RS-232 port of the slave computer of the testing system according to the embodiment of the present invention. In this embodiment, the RS-232 port comprises nine pins. The sixth pin12-6of the RS-232 port12of the master computer10is connected with the fourth pin22-4of the RS-232 port of the slave computer20through a connecting wire for example. Moreover, the fourth pin12-4of the RS-232 port12is connected with the sixth pin22-6of the RS-232 port22. The other pins of the RS-232 port12and the other pins of the RS-232 port22are not connected with each other.

In an embodiment, the relay30is a double-pole-double-throw relay. That is, the relay30comprises two common terminals DUT−, DUT+, two normally closed terminals31D+,31D−, and two normally open terminals32D+,32D−. The relay30further comprises a driving circuit33. In this embodiment, the driving circuit33is an optical coupler circuit. In another embodiment, the driving circuit is a Darlington IC circuit. In case that the state of the relay30is not changed, the normally open terminals32D+ and32D− are connected with the common terminals DUT− and DUT+.

The two normally closed terminals31D+ and31D− of the relay30are connected with the first data connecting port13of the master computer10. The two normally open terminals32D+ and32D− of the relay30are connected with the second data connecting port23of the slave computer20. The two common terminals DUT+ and DUT− of the relay30are connected with the USB port41of the under-test product40.

The operations of the testing system of the present invention will be illustrated as follows. The master computer10and the slave computer20comprise respective application programs to execute associated control mechanisms. In this testing system, the master computer10is the computer that performs the testing process at first, and the slave computer20is the other computer. In an initial state, the master computer10is connected with the two normally closed terminals31D+ and31D− of the relay30. That is, the master computer10is electrically connected with the under-test product40. Meanwhile, the master computer10can test the under-test product40. After the under-test product40is tested by the master computer10, the master computer10issues a first notification signal to the slave computer20. For example, when the fourth pin12-4of the RS-232 port12of the master computer10is changed to a high voltage level state and the high voltage level state is maintained for a specified time period (e.g., 1000 ms), the first notification signal is generated. At the same time, the master computer10issues a first switching signal to the relay30. For example, when the seventh pin12-7of the RS-232 port12of the master computer10is changed to a high voltage level state, the first switching signal is generated. After the first switching signal in the high voltage level state is transmitted to the driving circuit33of the relay30, the driving circuit33is magnetized. Consequently, the common terminals DUT+ and DUT− of the relay30are connected with the normally open terminals32D+ and32D−. Meanwhile, the connection between the master computer10and the under-test product40is interrupted, and the connection between the slave computer20and the under-test product40is established. Since the sixth pin22-6of the RS-232 port22of the slave computer20is connected with the fourth pin12-4of the RS-232 port12of the master computer10, the slave computer20detects the high voltage level state of the fourth pin12-4of the RS-232 port12. According to the high voltage level state of the fourth pin12-4of the RS-232 port12, the slave computer20realizes that the connection between the master computer10and the under-test product40is switched to the connection between the slave computer20and the under-test product40. Then, the under-test product40is tested by the slave computer20.

After the under-test product40is tested by the slave computer20, the slave computer20issues a second notification signal to the master computer10. For example, when the fourth pin22-4of the RS-232 port22of the master computer10is changed to a high voltage level state, the second notification signal is generated. Since the sixth pin12-6of the RS-232 port12of the master computer10is connected with the fourth pin22-4of the RS-232 port of the slave computer20, the master computer10detects the high voltage level state of the sixth pin12-6of the RS-232 port12. Consequently, the master computer10realizes that the under-test product40has been tested by the slave computer20. Then, the seventh pin12-7of the RS-232 port12is changed to a low voltage level state by the master computer10. Consequently, the relay30is no longer magnetized. Meanwhile, the two normally closed terminals31D+ and31D− of the relay30are connected with the common terminals DUT+ and DUT− of the relay30again. Meanwhile, the connection between the slave computer20and the under-test product40is interrupted by the master computer10, and the electric connection between the master computer10and the under-test product40is established again.

From the above descriptions, the present invention provides a testing system. The testing system uses cost-effective RS-232 ports. According to the existing pin definitions, the corresponding pins of the RS-232 ports of the master computer and the slave computer are connected with each other. Consequently, the master computer and the slave computer are in communication with each other automatically. Moreover, a specified pin of the RS-232 port of the master computer10is connected with the relay30. By simply changing the high/low voltage level states of the associated pins, the electric connection between the master computer10and the under-test product40is switched to the electric connection between the slave computer20and the under-test product40. Since the computer to execute the testing process is automatically connected with the under-test product, the problem of the manual switching action eliminated. Consequently, the testing speed is enhanced.