Embodiments of the present disclosure relate generally to test technologies of electronic devices, and particularly to a test device and a test method for testing button functions of a remote control.
Remote controls are widely used to control various electronic devices, such as televisions, set top boxes (STB), and DVD players. A remote control may include a number of buttons to control the electronic device to perform different functions. During the manufacturing process of the remote control, it is very important to test the functions of the buttons. In a typical test method, the functions of the buttons are tested by manually pressing each button, and then a tester manually determining whether the electronic device performs corresponding functions. However, this manual test method is inconvenient and wastes time. Therefore, there is room for improvement in the art.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. 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”. The reference “a plurality of” means “at least two”.
IR remote control or a BLUETOOTH® remote control. The test device 100 communicates with the remote control 200 via a wired connection or a wireless connection.
The test device 100 can include a storage unit 10, a pressing apparatus 12, a processing unit 14, a receiving unit 16, and a notification unit 18. The storage unit 10 stores identification (ID) information of each of the buttons 202 and a predetermined code corresponding to each of the buttons 202. The ID information of each button 202 can be a button name of each button 202. In at least one example, the remote control 100 is a remote control of a DVD player. The buttons 202 of the remote control may include a volume up button, a volume down button, a pause/play button, a power button, a backspace button, and other kind of buttons.
In at least one embodiment, the pressing apparatus 12 couples with the remote control 100. The pressing apparatus 12 is configured to be positioned on the remote control 100 to press each of the buttons 202 in turn at regular intervals.
In at least one embodiment, the receiving unit 16 is configured to receive control signals emitted by the remote control 100 when the buttons 202 are pressed by the pressing apparatus 12.
In at least one embodiment, the processing unit 14 detects whether a control signal emitted by the remote control 100 is received by the receiving unit 14 within a predetermined time period (e.g., three seconds) after a button 202 is pressed. When the control signal is received from the remote control 100, the processing unit 14 decodes the control signal to obtain a code of the control signal and the ID information of the button 202, which is pressed. In this embodiment, the predetermined time period is less than a time interval in which two of the buttons 202 are continuously pressed.
In at least one embodiment, the processing unit 14 further obtains the predetermined code corresponding to the pressed button 202 from the storage unit 10 according to the ID information of the pressed button 202, and compares the code of the control signal with the obtained predetermined code to determine whether the pressed button 202 is malfunctional. In this embodiment, when the code of the control signal is the same to the obtained predetermined code, the pressed button 202 is determined to be normal. Otherwise, the pressed button 202 is determined to be malfunctional.
In at least one embodiment, when the pressed button 202 is malfunctional, the notification unit 18 outputs a notification message to notify a user. In this embodiment, the notification message includes the ID information of the pressed button, reasons that cause the button 202 to be malfunctional, and solutions for eliminating the malfunction of the pressed button 202 such as changing a battery. The reasons that the pressed button 202 is malfunctional and the solutions for eliminating the malfunction of the pressed button 202 can be pre-stored in the storage unit 10.
Further, if the processing unit 14 detects that the receiving unit 16 has not received the control from the remote control 200 within the predetermined time period after the button 202 is pressed, the notification message is output by the notification unit 18. In this embodiment, the notification unit 18 can be a display such as an LCD for displaying the notification message.
In at least one embodiment, the test device 100 further includes a updating unit 20 having a network function to connect to a network. The updating module 20 can be configured to acquire the other reasons which may cause the buttons 202 to be malfunction and other solutions corresponding to the other reasons from the network, and stores the acquired other reasons and corresponding solutions in the storage unit 10.
In 402, the storage unit 10 stores identification (ID) information of each of the buttons 202 and a predetermined code corresponding to each of the buttons 202.
In 404, the pressing apparatus 12 presses each of the buttons 202 in turn at regular intervals.
In 406, when a button 202 is pressed, the processing unit 14 detects whether a control signal is received by the receiving unit 16 from the remote control 200 within a predetermined time period after the button 202 is pressed. If the control signal is received by the receiving unit 16 within the predetermined period after the button 202 is pressed, 408 is implemented. Otherwise, 416 is implemented.
In 408, the processing unit 14 decodes the control signal to obtain a code of the control signal and the ID information of the pressed button 202.
In 410, the processing unit 14 obtains the predetermined code corresponding to the pressed button 202 from the storage unit 10 according to the ID information of the pressed button 202.
In 412, the processing unit 14 determines whether the code of the control signal is the same to the obtained predetermined code. If the code of the control signal is the same to the obtained predetermined code, 414 is implemented. Otherwise, 416 is implemented.
In 414, the processing unit 14 determines that the pressed button 202 is normal, the procedure goes to 420.
In 416, the notification unit 18 outputs a notification message notifying that the pressed button is malfunctional.
In 420, the pressing unit 12 determines whether each of the buttons 202 has been pressed. If each of the buttons 202 has been pressed, the procedure ends. Otherwise, the procedure returns to 406.
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope thereof. The embodiments described herein are illustrative only, and are not intended to limit the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2013101555224 | Apr 2013 | CN | national |