This Application claims priority of Taiwan Patent Application No. 97121862, filed on Jun. 12, 2008, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The invention relates to a media data transmission system, and more particularly to a media data transmission system between a computer host and an audio data storage device with increased audio data storage capacity.
2. Description of the Related Art
Recently, MP3 (MPEG Audio Layer-3) music files are being more commonly transmitted over the internet due to increased internet usage. Generally, MP3 files are stored to MP3 players by a computer host, such as personal computer. However, formats supported by media players are media player specific. Thus, user must transform audio file formats into a specific format via a computer, before storing the transformed audio data to the media player for operation. Or, user must use a specific transmission program to transmit the audio data to the media player. But, if the computer host does not have a corresponding format transformation program or file transmission program, users cannot store the audio file to the media player.
An embodiment of invention provides a media data transmission system. The system includes a media player and a computer. The media player includes a playing unit, a first connector and a file format transformation program. The computer includes a random access memory, a second connector, a second storage unit for storing media with a first format and a processor. The processor copies and transmits the file format transformation program to the random access memory, and transforms the format of the media data to a second format via the format transformation program.
Another embodiment of the invention provides a media data transmission method between a computer and a media player. The method comprises: detecting whether media data of a first format has been transmitted from the computer to the media player; acquiring a file format transformation program via the computer from the media player according to a control signal; the computer transforming the first format of the media data into a second format via the file format transformation program; transmitting the media data of the second format to the media player for operation.
Anther embodiment of the invention provides a method for storing a media data for a media player. The method comprises: receiving media data from a first connector of the media player; detecting the format of the received media data, wherein the format of the media data is a first format; determining whether the first format is a specific format of a configuration file; when the first format matches the specific format of the configuration file, accessing a file format transformation program corresponding to the first format; transforming the format of the media data from the first format into a second format via the file format transformation program; storing the media data with the second format.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In this embodiment, the file format transformation program is stored in the media player. When the media player is connected to the computer, the media player transmits the file format transformation program to the computer by a built-in firmware, and the firmware is then stored in the random access memory (RAM) of the computer. When the format of the media data has to be transformed, the processor of the computer executes the file format transformation program residing in the RAM. If the media player is connected to the computer via a USB port, the file format transformation program can be contained in the USB firmware of the media player. When the media player connects to the computer, the media player communicates with the computer via the USB firmware and transmits and stores the file format transformation program in the RAM of the computer. In another embodiment, a file, autorun.inf, is built into the media player and the file format transformation program is stored in the media player. When the computer connects to the media player, the operating system of the computer first searches the file, autorun.inf, and loads the file format transformation program according to the file, autorun.inf. When the format of the received media data has to be transformed, the processor of the computer executes the file format transformation program to transform the format of the received media data into the format supported by the media player.
In the step S17, if the format of the media data cannot be transformed via the file format transformation program, the media data is determined to be stored in the media player or not according to user settings. If the media data is stored to the media player according to user settings, the processor built into the media player records the format of the media data in a configuration file, and when the media player detects the data of the format of the media data in a configuration file, the media player directly stores the media data to the media player. In the embodiment, a user can use a button, a touch screen or any similar input device of the media player to input an external control signal to determine whether the format of the received media data has to be transformed into the format supported by the media player. Furthermore, the media player comprises a configuration file to record a user's use mode, format of the received data and corresponding control mechanisms. When the processor of the media player detects that the format of the media is not supported by the media player, the processor reads the configuration file and outputs a control signal to determine whether the format of the media data has to be transformed.
The media player 21 comprises a first storage unit 211, a first processor 212, a file format transformation program 213, a play unit 214 and a first connector 215. The computer 22 comprises a second storage unit 221, a second processor 222, a memory 223 and a second connector 224. When the media player 21 connects to the second connector 224 of the computer 22 via the first connector 215, the media player 21 detects whether the computer 22 connected to the media player 21 and the computer 22 has data to transmit to the computer 22 via a firmware. When the computer 22 transmits media data to the media player 21, the first processor 212 determines whether the format of the media data can be played via the media player 21. If yes, the media data is directly transmitted and stored in the first storage unit 211. In another embodiment, the format of the media data is a first format and when the first processor 212 detects that the format of the media data is a first format, the first processor 212 searches a configuration file and determines whether the first format is a specific input file transformation format. If yes, the first processor 212 calls the file format transformation program 213, transforms the format of the media data from the first format into the second format according to file format transformation program 213 and stores the transformed media data in the first storage unit 211. In another embodiment, the file format transformation program 21 is stored in RAM of read only memory (ROM).
In another embodiment, when detecting that the format of the media data cannot be supported by the play unit 213, a response signal is transmitted to the second processor 222. The second processor copies and stores the file format transformation program in the memory 223 according to the response signal. When the media data in the second storage unit 221 is transmitted to the media player 21, the second processor 222 transforms the format of the media data into a second format that can be played by the play unit 214 via the file format transformation program. Then, the first processor 212 stores the transformed data into the first storage 211.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
97121862 | Jun 2008 | TW | national |