1. Field of the Invention
The present invention relates to an electronic device and a method for quickly playing through media files.
2. General Background
Electronic devices capable of playing media files are widely used as entertainment tools by users to enjoy music and songs. With the development of the electronic technology, the capacity of a storage unit applied in the electronic device is large enough to store hundreds of media files such as music files and song files and the like. Each media file has a duration time. When there is a need to play through the huge number of media files stored in the storage unit, it will take enormous time. If a user has to play through all the media files to find his favorites, it will inevitably be a waste of time for the user.
Therefore, it is necessary to provide an electronic device and method which can resolve the above-mentioned problem.
An electronic device capable of quickly playing through media files is provided, the electronic device includes an inputting unit is configured for inputting operational signals in response to users' operations to the electronic device; a storage unit is configured for storing a plurality of media files; a quickly playing through controlling module is configured for controlling quickly playing through of media files according to operational signals inputted by the inputting unit, and obtaining a playing time interval confined by a playing start time and a playing termination time; a media file accessing module is configured for accessing the storage unit and obtaining sections of the media files according to the playing time interval; a media file processing module is configured for processing sections of the media files transmitted from the media file accessing module; a sound outputting unit is configured for converting the sections of the media files processed by the media file processing module into audible sounds.
Referring to
The processing unit 14 includes a quickly playing through controlling module 141, a media file accessing module 142, a media file processing module 143 and a favorite media file setting module 144. The quickly playing through controlling module 141 is configured for receiving an operational signal inputted by users through the inputting unit 11, initiating and controlling the quickly playing through of the media files. The media file accessing module 142 is configured for accessing the media files stored in the storage unit 13 according to operational signals inputted by the users. The media file accessing module 142 is further configured for accessing the media files under the control of the quickly playing through controlling module 141 after the quickly playing through of the media files is actuated. The media file processing module 143 is configured for processing the media files accessed by the media file accessing module 142. The processing includes, but is not limited to, decoding the media files. The favorite media file setting module 144 is configured for setting a media file to be a favorite of the users. The setting includes storing the media file in a particular folder which is created to contain favorite media files or just marking the media file with a favorite symbol.
After the quickly playing through of media files is actuated, in a exemplary embodiment, the quickly playing through controlling module 141 further prompts the user to input a playing time interval through a display (not shown). The electronic device 1 receives the playing time interval inputted by the user through the inputting unit 11 and stores the playing time interval in the storage unit 13. Shown as
In an alternative exemplary embodiment, the storage unit 13 stores a predetermined playing time interval. After the quickly playing through of media files is actuated, the quickly playing through controlling module 141 reads the predetermined playing time interval from the storage unit 13 and controls the media file accessing module 142 to obtain sections of the media files corresponding to the predetermined playing time interval.
The media file accessing module 142 firstly accesses a first media file under a folder (or a playlist) of the storage unit 13, and obtains a section of the first media file in accordance with the playing time interval. The section of the first media file is transmitted to the media file processing module 143 to be processed and then is outputted by the sound outputting unit 12. The media file accessing module 142 secondly accesses a second media file and obtains a section of the second media file in accordance with the playing time interval. The section of the second media file is transmitted to the media file processing module 143 to be processed and then is outputted by the sound outputting unit 12. In the same manner, the electronic device 1 can quickly play through all of the media files under the same folder (or playlist).
In an exemplary embodiment, the electronic device 1 will further automatically continue to play through another folder (or playlist) in the storage after a folder (or playlist) is completed.
In an alternative embodiment, the electronic device 1 will ask the users to choose whether to continue with another folders (or playlists) when a folder (or playlist) is completed, and continues with the another folder (or playlist) when confirmed by the users.
During the course of quickly playing through the media files stored in a folder, if a terminating or a cancelling signal is received, the electronic device 1 stops the quickly playing through of the media files.
During the course of quickly playing through the media files, if the user makes a selection through the input unit 11 when a media file is being played through, the favorite media file setting module 144 sets the media file as a favorite of the user. In an exemplary embodiment, the favorite media file setting module 144 stores the media file in a particular folder which is created to contain favorite media files. In an alterative embodiment, the favorite media file setting module 144 marks the media file with a favorite symbol. The quickly playing through continues and when all of the media files stored in the folder are completed, or in an alternative embodiment all of the media files in the storage unit 13 are completed, the electronic device 1 automatically plays the media files selected by the users to be favorites. Each favorite media file lasts for its normally playing time.
In an alternative exemplary embodiment, during the course of quickly playing through the media files, if the user makes a selection through the input unit 11 when a media file is being played, the favorite media file setting module 144 informs the media file accessing module 142 to obtain the whole content of the media file. The whole content of the media file is transmitted to the media file processing module 143 to be processed and then is output by the sound outputting unit 12. After the whole content of the media file is played, the electronic device 1 continues the quickly playing through with a next media file.
If no selection is made according to step 205, after the section of the media file is quickly played through, the procedure goes from step 205 directly to step 207.
In an alternative exemplary embodiment, if a selection is made according to step 206, the electronic device 1 stops the quickly playing through of media files. The media file accessing module 142 obtains the whole content of the media file from the storage unit 13 (or under a folder of the storage unit 13), thereby the electronic device 1 playing the whole media file. After the whole content of the media file is completed, the electronic device 1 continues the quickly playing through with a next media file. When all of the media files stored in the storage unit 13 (or in the folder) have been played through, the electronic device 1 exits from the quickly playing through of media files.
Based on the preferred embodiments disclosed above, an advantage of the present invention over the prior art becomes clear. The advantage is that the electronic device can quickly play through hundreds of media files and facilitate the users to finds their favorites among the hundreds of media files.
Although the present invention has been specifically described on the basis of an exemplary embodiment thereof, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200710203335.3 | Dec 2007 | CN | national |