Abstract:
A testing device in communication with a disc player includes a storage device and a display device. The storage stores a start command, an end command, and a reference value range of each of several performance parameters of the disc player. The start command is sent to the disc player a predetermined numbers times to obtain performance readings as the disc player reads data. The value of each performance reading of the disc player obtained each time the start command is transmitted is compared with a range of values preset for several performance parameters and the display device shows information indicating whether or not the disc player is acceptable.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application claims priority to Chinese Patent Application No. 201310268344.6 filed on Jun. 28, 2014, in the China Intellectual Property Office, the contents of which are incorporated by reference herein. 
       FIELD 
       [0002]    The present disclosure relates to a testing device for an optical disc player. 
       BACKGROUND 
       [0003]    Disc players include a casing and an optical pick-up head attached on the inside of the casing. The disc player can read data from a disc by using the optical pick-up head. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0004]    Implementations of the present disclosure will now be described, by way of example only, with reference to the attached figures, wherein: 
           [0005]      FIG. 1  is a block diagram of an embodiment of a testing device. 
           [0006]      FIG. 2  is a flowchart of an embodiment of a testing method. 
       
    
    
     DETAILED DESCRIPTION 
       [0007]    It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein. 
         [0008]      FIG. 1  illustrates an embodiment of a testing device  10 . The testing device  10  can be configured to control a disc player  20  to execute a number of predetermined commands, for testing the disc player  20 . The testing device  10  can be an independent device or a component integrated into the disc player  20 . 
         [0009]    The testing device  10  can include a storage  11 , an inputting unit  12 , a display  13 , a first testing module  14 , a comparing module  16 , a second testing module  16 , a determination module  17 , and a controlling module  18 . 
         [0010]    The storage  11  can store a start command, an end command, and a reference value range of each of performance parameters of the disc player. 
         [0011]    The inputting unit  12  can be a keyboard, a mouse, a touch screen, a touch pad, or a barcode scanner, for example, for receiving instructions. 
         [0012]    The display  30  can be a liquid crystal display (LCD), a light emitting diode (LED) display, or other like display devices. 
         [0013]    The first testing module  14  transmits the start command to the disc player  20  for controlling the disc player  20  to read data from a disc in the disc player. When the start command is successfully executed by the disc player, the disc player gives a response signal. The first testing module  14  determines whether the response signal of the start command is given by the disc player  20  within a predetermined time period. When the response signal of the start command is given by the disc player  20  within a predetermined time period, a value of each performance parameter of the disc player  20  can be obtained by the first testing module  14 . When the response signal of the start command is not given by the disc player  20  within a predetermined time period, the controlling module  18  controls the display to display a first message indicating failure of an execution of the start command. 
         [0014]    The second testing module  15  transmits an end command to the disc player  20  for controlling the disc player  20  to stop reading data from the disc when each of the performance parameters of the disc player  20  has been obtained. When the end command is successfully executed by the disc player, the disc player gives a response signal. The second testing module  15  determines whether a response signal of the end command is given by the disc player  20  within a predetermined time period. When the response signal of the end command is given by the disc player  20  within a predetermined time period, the second testing module  15  generates a comparing signal to the comparing module  16 . When the response signal of the end command is not given by the disc player  20  within a predetermined time period, the controlling module  18  controls the display to display a second message indicating failure of an execution of the end command. 
         [0015]    In response to the comparing signal being received, the comparing module  16  determines whether the start command has been given to the disc player a predetermined number of times, and triggers the first testing module to transmit a start command to the disc player if the start command has not been given to the disc player for the predetermined number of times In detail, the predetermined number of times can be manually input through the inputting unit  12 . 
         [0016]    The determination module  17  determines whether or not the disc player is deemed acceptable by determining whether the obtained value of each performance reading of the disc player is within the reference value range of a performance parameter each time that the start command is given. When the obtained value of each performance reading is within the reference value range of a corresponding performance parameter, the controlling module controls the display of the testing device to display a third message indicating that the performance of the disc player is acceptable. When the obtained value of each performance reading is not within the reference value range of a corresponding performance parameter, the controlling module controls the display of the testing device to display a fourth message indicating that the disc player is not acceptable. 
         [0017]      FIG. 2  illustrates a testing method implemented by a testing device to test a disc player. The testing device includes a storage, an inputting unit, a display, a first testing module, a comparing module, a second testing module, a determination module, and a control unit. Depending on the embodiment, additional steps may be added, others removed, and the ordering of the steps may be changed. 
         [0018]    At block  201 , the storage stores a start command, an end command, and a reference value range of each performance parameter of the disc player. 
         [0019]    At block  203 , the first testing module transmits the start command to the disc player for controlling the disc player to read data from a disc in the disc player. 
         [0020]    At block  205 , the first testing module determines whether a response signal of the start command is received from the disc player  20  within a predetermined time period. When the response signal of the start command is received from the disc player  20  within a predetermined time period, procedure goes to block  207 . When the response signal of the start command is not received from the disc player  20  within a predetermined time period, procedure goes to block  209 . 
         [0021]    At block  207 , the first testing module obtains a value of each performance reading taken from the disc player. 
         [0022]    At block  209 , the controlling module controls the display to display a first message indicating failure of the execution of the start command. 
         [0023]    At block  211 , the second testing module transmits the end command to the disc player for controlling the disc player to stop reading data from the disc when each of the performance readings of the disc player is obtained. 
         [0024]    At block  213 , the second testing module determines whether a response signal of the end command is received from the disc player within a predetermined time period. When the response signal of the end command is not received from the disc player within a predetermined time period, procedure goes to block  215 . When the response signal of the end command is received from the disc player within a predetermined time period, procedure goes to block  217 . 
         [0025]    At block  215 , the controlling module controls the display to display a second message indicating failure of the execution of the end command. 
         [0026]    At block  217 , the comparing module determines whether the start command has been transmitted to the disc player a predetermined number of times. If the start command has not been transmitted to the disc player for the predetermined number of times the comparing module triggers the first testing module to transmit the start command to the disc player. In detail, the predetermined number of times can be manually input through the inputting unit. 
         [0027]    At block  219 , the determination module determines whether the disc player is deemed acceptable by determining whether the obtained value of each performance reading of the disc player is within the reference value range of a corresponding performance parameter, every time that the start command is transmitted. When the obtained value of each performance reading of the disc player is within the reference value range of a corresponding performance parameter, the procedure goes to block  221 . When the obtained value of each performance reading of the disc player is not within the reference value range of a corresponding performance parameter, procedure goes to block  223 . 
         [0028]    At block  221 , the controlling module controls the display of the testing device to display a third message indicating that the disc player is acceptable. 
         [0029]    At block  223 , the controlling module controls the display of the testing device to display a fourth message indicating that the disc player is not acceptable. 
         [0030]    The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims.