The present disclosure relates to testing technologies in relation to electronic devices, and more particularly to a testing device and a method capable of automatically obtaining performance parameters of a disc player.
During production of a disc player, performance parameters of the disc player are obtained to detect whether the disc player is qualified or not. In a typical test method, a number of different types of discs are used to test the disc player. Generally, when the disc player reads data from the different types of discs, the performance parameters of the disc player is different.
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 commands, written in a programming language, for example, Java, C, or assembly. One or more software commands 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 testing device 100 includes a storage 110, an inputting unit 120, a display 130, a detecting module 140, a type obtaining module 150, a parameter obtaining module 160, a determination module 170, and a control unit 1.
The storage 110 records a plurality of different types of discs, a plurality of testing commands each corresponding to a type of disc, and a reference value range of each of performance parameters of the disc player 200. Each testing command is configured to activate one or more testing operations. The disc player 200 can execute the testing operation. The reference value range of each performance parameter of the disc player 200 is associated with a type of disc. In the present embodiment, the disc can be a digital video disc (DVD), a compact disc (CD), or a blue-ray disc (BD).
The inputting unit 120 can be a keyboard, a mouse, a touch screen, a touch pad, or a barcode scanner, for example, to receive manual operations.
The display 30 displays can be a liquid crystal display (LCD), a light emitting diode (LED) display, or other like display devices.
The type obtaining module 140 detects a type of disc when the disc is put into the disc player 200 to be tested. In the present embodiment, the type obtaining module 140 reads data of the disc to detect the type of disc. In the other embodiments, the type of disc can be manually input from the inputting unit 120, and the type obtaining module 140 can obtain the type of disc from the inputting unit 120.
The detecting module 150 detects whether the disc player 200 is in a to-be-tested state or not. In the present embodiment, the disc player 200 generates a to-be-tested command when the disc player 200 is prepared to be tested. If the to-be-tested command is detected, the disc player 200 is determined to be in the to-be-tested state.
When the disc player 200 is in the to-be-tested state, the parameter obtaining module 160 obtains at least one testing command corresponding to the type of disc from the storage 110, and controls the disc player 200 to execute the at least one testing command. Then, the parameter obtaining module 160 obtains a value of each performance parameter of disc player 200.
The control module 170 controls the display 130 to display the value of each performance parameter of the disc player 200.
The determination module 180 determines whether the obtained value of each performance parameter of the disc player 200 is within the reference value range of the corresponding performance parameter. When the value of each performance parameter is within the reference value range, the control module 170 controls the display 130 to display a first prompt message indicating that the disc player 200 is qualified. When the value of at least one performance parameter is not within the reference value range, the control module 170 controls the display 130 to display a second prompt message indicating that the disc player 200 is not qualified.
In block 302, the storage 110 records a plurality of different types of discs, a plurality of testing commands corresponding to a different type of disc, and a reference value range of each performance parameter of the disc player. Each testing command is configured to activate one or more testing operations. The disc player 200 can execute the testing operation. The reference value range of each performance parameter of the disc player 200 is associated with a type of disc.
In block 304, the type obtaining module 140 detects a type of disc when the disc is put into the disc player 200. In the present embodiment, the type obtaining module 140 reads data of the disc in order to detect the type of disc.
In block 306, the detecting module 150 detects whether the disc player 200 is in a to-be-tested state or not. In present embodiment, the disc player 200 generates a to-be-tested command when the disc player 200 is prepared to be tested. If the to-be-tested command is detected, the disc player 200 is determined to be in the to-be-tested state, block 308 is implemented. If the to-be-tested command is not detected, the detecting module 150 repeats the to-be-tested command.
In block 308, the parameter obtaining module 160 obtains at least one testing command corresponding to the type of the disc, and controls the disc player 200 to execute the at least one testing command
In block 310, the parameter obtaining module 160 obtains a value of each performance parameter of disc player 200.
In block 312, the control module 170 controls a display 130 to display the value of each performance parameter of the disc player 200
In block 314, the determination module 180 determines whether the obtained value of each performance parameter of the disc player 200 is within the reference value range of the corresponding performance parameter. When the value of each performance parameter is within the reference value range of the corresponding performance parameter, block 316 is implemented. When the value of each performance parameter is not within the reference value range of the corresponding performance, block 318 is implemented.
In block 316, a first prompt message indicating that the disc player is qualified is displayed on the display
In block 318, a second prompt message indicating that the disc player is not qualified is displayed on the display.
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 |
---|---|---|---|
2013101831559 | May 2013 | CN | national |