The disclosure relates to a digital photo frame capable of searching media files and method employed by a digital photo frame to search for media files.
Digital photo frames are designed for displaying digital images without the need to print the digital pictures out and are in people's favors. As advances in microprocessor and other technologies continue to improve the performance of various electronic components, digital photo frames become compactor and more powerful, and are gradually replacing traditional picture frames. Therefore, digital photo frames have become increasingly popular in recent years.
As we known, a digital photo frame may store different types of media files, the media files can be pictures, songs, and so on. When a user wants to search for a desired media file, traditionally, he or she must know some characters of the desired media file, then inputs the characters to search for the desired media file, however, the user often does not remember the characters of media file, additionally, a digital photo frame normally only has some simple input unit, and makes it difficult to input the characters of the desired media file. Of course, the user can search for the desired media file by digital photo frame displaying media files normally, but it will take much time to find the desired media file, and it will waste the user energy, especially, when there is a large number of media files stored in the digital photo frame. Therefore, what is needed is a digital photo frame capable of searching media files quickly and method thereof.
A digital photo frame capable of searching media files is provided. The digital photo frame includes a timer, a memory, and a processor. The timer is configured for timing a duration of an input unit being pressed; the memory is configured for storing media files and a search table, wherein the search table records relationships between the duration and a search manner; the processor being connected with the memory, includes a reading module, a determining module, and a displaying module. The reading module configured for obtaining media files and the search table from the memory; the determining module configured for identifying a search manner according to the duration and the search table; and the displaying module is configured for searching the media files according to the identified search manner.
Other advantages and novel features will be drawn from the following detailed description of the preferred embodiment with reference to the attached drawings.
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of a digital photo frame. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
The timer 12 is configured for timing a duration T of the input unit 11 (e.g., a button) being pressed, and sending the duration T to the processor 14. The memory 13 is configured for storing media files and a search table (see
The processor 14 includes a reading module 141, a determining module 142, and a displaying module 143. The reading module 141 is configured for obtaining media files and the search table from the memory 13. The determining module 142 is configured for searching the search table for the search manner according to the duration T. The displaying module 143 is configured for searching the media files according to the searched search manner. For example, when the determining module 142 determines that the search manner is the first search manner, the displaying module 143 searches desired media files in the memory 13 according to the first search manner periodically. When the determining module 142 determines that the search manner is the second search manner, the displaying module 143 searches desired media file in the memory 13 according to the second search manner periodically. When the determining module 142 determines that the search manner is the third search manner, the displaying module 143 searches desired file according to the third search manner periodically.
In addition, when searching the memory for the media files according to the first or second search manner, the displaying module 143 displays a predetermined count of the searched media files on the screen 15 at every predetermined time period. For example, the displaying module 143 displays four media files on the screen 15 every three seconds. The predetermined time period is less than a time period need for the digital photo frame to display the media files when in a normal state. That means that the digital photo frame can display the media files at a faster speed when searching media files than a speed of displaying the media files in the normal state.
If the input unit 11 is pressed for the duration T<T1 when a desired media file appears on the screen 15 while the displaying module 143 is searching media files in the first search manner or the second search manner, the displaying module 143 switches a current search manner to the third search manner. When the displaying module 143 searches the media files in the third search manner, the displaying module 143 displays one of the media files on display in a thick-edged frame (see
The digital photo frame further provides a special key for activating the digital photo frame to search the media files in the searching manner. The digital photo frame can also provides a menu item for activating the digital photo frame to search the media files in the searching manner.
In step S201, the digital photo frame enters the search state in response to an operation on the special key or the menu item.
In step S202, the reading module 141 obtains the search table from the memory 13.
In step S203, the timer 12 times a duration T of the input unit 11 being pressed.
In step S204, the determining module 142 determines the search manner according to the duration T and the search table obtained from the memory 13.
In step S205, when the duration is T1≦T≦T2, the determining module 142 determines that the search manner is the first search manner, the displaying module 143 searches the desired media files in the first search manner, and the procedure goes to step S208 described below.
In step S206, when the duration is T>T2, the determining module 142 determines that the search manner is the second search manner, the displaying module 143 searches the desired media file in the second search manner, and the procedure goes to step S208 described below.
In step S207, when the duration is T<T1, the determining module 142 determines that the search manner is the third search manner, the displaying module 143 searches the desired media files in the third search manner, and the procedure goes to step S208 described below.
In step S208, the determining module 142 determines whether it receives a new operation information is generated from the input unit 11 in a predetermined time. If the determining module 142 does not receive the new operation information from the input unit 11, the procedure goes to step S209.
If the determining module 142 receives a new operation information from the input unit 11, the determining module 142 further determines whether the operation information is a double click. If the operation information is not the double click, the procedure goes to step S203.
If the operation information is the double click, in step S211, the displaying module 143 selects a desired media file.
In addition, in the search state, when a last media file is searched, the displaying module 143 further displays a prompt to remind the user that the media files in the memory 13 have been searched and whether to search media files again. If not receiving the operation information for searching media files, the digital photo frame switches to the normal state. If receiving the operation information for searching media files, the displaying module 143 searches the media files again.
In the search state, the user can search for a desired media file quickly though the search manner described above. Furthermore, the user can easily switch a search manner to another search manner though the input unit 11. For example, when the displaying module 143 searches media files in the first search manner, namely a current search manner is the first search manner, the user can press the input unit 11 for the duration T which is greater than T2, and thus to switch the current search manner to the second search manner, or press the input unit 11 for the duration T which is less than T1, and thus to switch the current search manner to the third search manner. When the desired media file is searched, the user can select the desired media file by a special operation, for example, pressing the input unit 11 with a double click.
Although the present invention has been specifically described on the basis of the exemplary embodiment thereof, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200810303306.9 | Aug 2008 | CN | national |