1. Technical Field
The present disclosure relates to testing technologies in relation to electronic devices, and more particularly to a testing device and method capable of automatically testing performance parameters of an electronic device.
2. Description of Related Art
During production of an electronic device, performance parameters of the electronic device are obtained to detect whether the electronic device is qualified or not. In a typical test method, a test project of the electronic device needs to be manually determined before the performance parameters corresponding to the test project are obtained. Then, the obtained parameters are manually compared with a predetermined specific value range to determine whether the parameters satisfy requirements. However, there may be a great number of test projects and performance parameters of the electronic device. Thus, the above mentioned manual method is inconvenient and wastes time.
Therefore, there is room for improvement in the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. Modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage system. Embodiments of the present disclosure will be described with reference to the drawings.
The electronic device 200 has a device identification (ID). The device ID can be a product serial number of the electronic device 200, or the chip barcode of the electronic device 200, for example. In this embodiment, the device ID is stored in a storage of the electronic device 200.
The testing device 100 comprises a storage 10, an inputting unit 20, a display 30, an editing module 40, a detecting module 50, an ID obtaining module 60, a parameter obtaining module 70, a determination module 80 and a controlling module 90.
The storage 10 stores a testing table. The testing table records at least one testing project and a test value of each parameter of the at least one testing project. Each parameter corresponding to a reference value range. In the present embodiment, the testing project can be a disc specification test project or a disc reading time test project. The disc specification includes size and thickness of a disc of the DVD player. The disc reading time is calculated as an average time for reading data from the innermost track of the disc to the outermost track. The test value of each parameter can be generated when the electronic device 200 executes preset program, and stored in the testing table.
The inputting unit 20 generates editing instructions in response to manual operations. The inputting unit 20 can be a keyboard, a mouse, a touch screen, a touch pad, a barcode scanner or the like.
The display 30 displays visual information. The display 30 can be an LCD display, an LED display, or other device the like.
The editing module 40 edits the test table in response to the edit instruction. For example, the editing module 40 inserts items of the test projects in the testing table, deletes items of the test projects from the testing table, and/or adjusts the order of the test projects in the test table, in response to the edit instruction.
The detecting module 50 detects whether the electronic device 200 is connected to the testing device 100. If the electronic device 200 is connected to the testing device 100, the detecting module 50 generates an obtaining instruction.
The ID obtaining module 60 obtains the device ID of the electronic device 200 from the storage of the electronic device 200. In other embodiments, the device ID can be manually inputted by a user.
The parameter obtaining module 70 obtains the test value of each parameter from the testing table. The test value of each parameter of the at least one test project recorded in the testing table can be obtained according to a predetermined order by the parameter obtaining module 70.
The determination module 80 compares the test value of each parameter with the corresponding reference value range to determine whether the test value of each parameter is within the corresponding reference value range. If the test value of each parameter of the at least one project is within the corresponding reference value range, the electronic device 200 is qualified. If the test value of at least one of the parameters is not within the corresponding reference value range, the electronic device 200 is not qualified.
The controlling module 90 controls the display 30 to display test information of each test project. When the electronic device 200 is qualified, the displayed test information includes the test value and the reference value range corresponding to each parameter of each test project, and a first prompt message indicating that the electronic device 200 is qualified. When the electronic device 200 is not qualified, the displayed information include the test value and the reference value range corresponding to each parameter of each test project, and a second prompt message indicating that the electronic device 200 is not qualified. In other embodiments, the displayed test information further includes the device ID of the electronic device 200.
In step S300, the storage 10 stores the testing table. The testing table records at least one testing project and a test value of each parameter of the at least one testing project. Each parameter corresponding to a reference value range. In the present embodiment, the testing project can be a disc specification test project or a disc reading time test project. The disc specification includes size and thickness of a disc of the DVD player. The disc reading is calculated as an average time for reading data from the innermost track of the disc to the outermost track. The test value of each parameter can be generated when electronic 200 executes preset program, and stored in the testing table.
In step S310, the detecting module 50 detects whether the electronic device 200 is connected to the testing device 100. If the electronic device 200 is connected to the testing device 100, step S320 is implemented. If no electronic device 200 is connected to the testing device 100, the process ends.
In step S320, the ID obtaining module 60 obtains the device ID of the electronic device 200 from the storage of the electronic device 200. In other embodiments, the device ID can be manually inputted by a user
In step S330, The parameter obtaining module 70 obtains the test value of each parameter from the testing table. The test value of each parameter of the at least one test project recorded in the testing table can be obtained according to a predetermined order by the parameter obtaining module 70.
In step S340, the determination module 80 compares the test value of each parameter with the corresponding reference value range to determines whether the test value of each parameter of the at least one test project is within the corresponding reference value range. If the test value of each parameter of the at least one test project is within the corresponding reference value range, step S350 is implemented. If the test value of at least one of the parameters of the at least one test project is not within the corresponding reference value range, step S360 is implemented.
In step S350, the controlling module 90 controls the display 30 to display the test value and the reference value range corresponding to each parameter of each test project, and a first prompt message indicating that the electronic device 200 is qualified.
In step S360, the controlling module 90 controls the display 30 to display the test value and the reference value range corresponding to each parameter of each test project, and a second prompt message indicating that the electronic device 200 is not qualified.
Although information as to, and advantages of, the present embodiments have been set forth in the foregoing description, together with details of the structures and functions of the present embodiments, the disclosure is illustrative only; and changes may be made in detail, especially in the matters of shape, size, and arrangement of parts within the principles of the present embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2013100962420 | Mar 2013 | CN | national |