1. Field of the Invention
The present invention relates to a file conversion system and a method used thereby and more particularly to a file conversion system and a method used thereby via a network.
2. Description of the Related Art
With advances in technology, several electronic devices that have been developed enable users to view audiovisual or text files via a network with devices such as computers, personal digital assistants (PDA), and mobile phones. With the strong transmission capabilities of the network, these audiovisual or text files may be transmitted from one electronic device to another electronic device easily.
However, when a file is transmitted from one electronic device to another electronic device, it may not be opened or viewed successfully in the latter one electronic device, mainly because of the inconsistent coding formats of the two electronic devices. For two different types of electronic devices, the problem mentioned above is even more serious. For example, a file in WMV format can be opened on a computer but may not be opened on many mobile phones. Accordingly, a codec conversion needs to be performed before the file can be opened in certain electronic devices. However, the codec conversion needs a large number of calculations and will inevitably use up a lot of system resource; thus, for electronic devices with limited operational capability or storage space, such as mobile phones, files cannot be transmitted without limits.
Therefore, there is a need to provide a novel file conversion system and a method used thereby to mitigate and/or obviate the aforementioned problems.
It is therefore an object of the present invention to provide a file conversion system and a method used thereby for transmitting via a network a file provided by a file providing end in a format supported by a file receiving end to the file receiving end.
The file conversion system of this invention comprises: a receiving module for receiving the file provided by the file providing end; a conversion module for converting the format of the file provided by the file providing end into a format supported by the file receiving end; a database module for recording a profile of the file receiving end, the profile comprising the format supported by the file receiving end; and a transmission module for transmitting the file to the file receiving end via the network, wherein if the format of the file is not supported by the file receiving end, the conversion module may, in accordance with the profile of the file receiving end, convert the format of the file into the format supported by the file receiving end so as to allow the transmission module to transmit the file to the file receiving end.
The file conversion method of this invention comprises: recording a profile of the file receiving end, the profile comprising a format supported by the file receiving end; receiving the file provided by the file providing end; determining whether the file provided by the file providing end is supported by the file receiving end; if not, converting in accordance with the format supported by the file receiving end the format of the file provided by the file providing end into the format supported by the file receiving end; and transmitting the converted file to the file receiving end via the network.
Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
The accompanying drawings, which are included in and constitute a part of this specification, illustrate the embodiments of the invention and, together with the description, explain the features and principles of the invention. In the drawings:
Please refer to
In one embodiment of this invention, the network 10 and the network 11 may be individually a wired network or a wireless network; for example, the network 10 and the network 11 may be but is not limited to the Internet, general packet radio service (GPRS), third generation (3G) mobile communication, wireless fidelity (Wi-Fi), worldwide interoperability for microwave access (WiMAX), or other networks. Furthermore, the network 10 and the network 11 may be the same type of network or not. For example, the network 10 may be the Internet, and the network 11 may be the 3G mobile communication network.
In one embodiment of this invention, the file providing end 20 may be a software program, a hardware device, firmware, or a combination thereof; the file providing end 20 may be without limitation equipped to a computer, a mobile phone, a personal digital assistant (PDA), a game console, or a set-top box. It should be noted that the file providing end 20 may be equipped to any device as long as the device can be connected to the network 10 and is capable of providing a file. In one embodiment of this invention, the file receiving end 30 may be a software program, a hardware device, firmware, or a combination thereof; similarly, the file receiving end 30 may be without limitation equipped to a computer, a mobile phone, a personal digital assistant (PDA), a game console, or a set-top box. It should be noted that the file receiving end 30 may be equipped to any device as long as the device can be connected to the network 11 and is capable of receiving a file. Furthermore, in one embodiment of this invention, the file conversion system 40 may be without limitation equipped to a computer, a mobile phone, a personal digital assistant (PDA), a game console, or a set-top box. The file conversion system 40 of this invention may be equipped to any device as long as the device can be connected to the network 10 and the network 11 and is capable of converting a file.
Moreover, in one embodiment of this invention, the file receiving end 30 is a client end, and the file providing end 20 is a server end; however, the present invention is not limited thereto. The client end (i.e. the file receiving end 30) may via the network 10 and the network 11 send a request to the server end (i.e. the file providing end 20) for downloading or viewing a file provided by the server end (i.e. the file providing end 20); the server end (i.e. the file providing end 20) may reply to the request and provide the client end (i.e. the file receiving end 30) with the file; however, the present invention is not limited thereto. In one embodiment of this invention, the server end (i.e. the file providing end 20) may also provide the client end (i.e. the file receiving end 30) with a file in response to a request not coming from the client end (i.e. the file receiving end 30).
Please refer to
In addition, in one embodiment of this invention, the database module 43 may without limitation utilize the model type of the file receiving end 30 as an index. The transmission module 44 may transmit the file to the file receiving end 30 via the network 11. In one embodiment of this invention, the transmission module 44 comprises a file register module 441; furthermore, when the transmission module 44 transmits the file to the file receiving end 30 via the network 11, it may transmit not only the real file to be downloaded by the file receiving end 30 but also a stream file to be viewed by the file receiving end 30.
For example, the transmission module 44 may in accordance with the profile recorded in the database module 43 determine whether the file receiving end 30 supports real-time transport protocol (RTP) and other real-time transmission protocols; if yes, the transmission module 44 may choose to transmit the stream file to the file receiving end 30. In one embodiment of this invention, when the stream file is transmitted to the file receiving end 30, the file register module 441 may keep temporarily storing the part of the file that has been gradually converted by the conversion module 42 so as to enable the transmission module 44 to transmit the part of the file to a network address.
In one embodiment of this invention, the aforementioned modules may individually be configured as a software program, a hardware device, firmware, a combination thereof, an electric circuit, or other proper configuration; in addition, each module may be in the form of individual configuration or combined configuration.
Refer to
It should be noted that, however, as shown in
Moreover, as shown in
In summary, this invention may solve several problems existing in the prior art and provide the advantages as follows:
Moreover, this invention also provides a file conversion method for transmitting via a network a file provided by a file providing end in a format supported by a file receiving end to the file receiving end. Now, refer to
As shown in
First, this invention conducts step S71: recording a profile of the file receiving end.
In step S71, this invention records a profile of the file receiving end. In one embodiment of this invention, step S71 may comprise the following steps:
receiving from the file receiving end a request to record a profile;
determining whether the profile of the file receiving end has been recorded; and
if not, recording the profile of the file receiving end.
In one embodiment of this invention, the profile comprises without limitation the format supported by the file receiving end; for example, it may include the size of the screen, the speed of the CPU, the capacity of the memory, and other types of data for determining the most appropriate format to be received by the file receiving end. Moreover, in one embodiment of this invention, the model type of the file receiving end is used as the index of the profile, but this invention is not limited thereto.
Then this invention proceeds with step S72: receiving from the file receiving end a request to download or view the file.
In step S72, this invention receives from the file receiving end a request to download or view the file. In one embodiment of this invention, without limitation, the file receiving end is the client end, and the file providing end is the server end. The client end may via the network request to download or view a file provided by the server end.
After that is step S73: determining the file providing end which provides the file.
In one embodiment of this invention, the file providing end may be equipped to one of the computers, mobile phones, personal digital assistants, game consoles, or set-top boxes located in the same web space. Accordingly, in step S73, the present invention may search for and find the file providing end which provides the file in accordance with the file requested by the file receiving end.
After finding the file providing end which provides the file, this invention proceeds with step S74: sending to the file providing end the request to download or view the file.
After the file providing end replies the request of step S74, the present invention proceeds with step S75: receiving the file provided by the file providing end.
Then the present invention proceeds with step S76: determining whether the file provided by the file providing end is supported by the file receiving end.
In step S76, the present invention may, in accordance with the recorded data of the format supported by the file receiving end, determine whether the file provided by the file providing end is supported by the file receiving end.
If yes, then the present invention proceeds with step S78: transmitting the file to the file receiving end. If not, then the present invention proceeds with step S77: converting the format of the file into the format supported by the receiving end.
In step S77, the recorded data of the format supported by the file receiving end, such as the size of the screen, the speed of the CPU, the capacity of the memory, and other types of data for determining the most appropriate format to be received by the file receiving end, may be used by the present invention to convert the format of the file into the format supported by the receiving end. After that, step S78 is conducted to transmit the file to the file receiving end. In one embodiment of this invention, this invention is capable of distributing the file conversion process to each device so as to accelerate the conversion of a file that requires a large number of calculations.
In one embodiment of this invention, in addition to the transmission of a real file to the file receiving end, this invention may also transmit a network address thereto so that the file receiving end may receive a stream file from the network address. As shown in
Although the present invention has been explained in relation to its preferred embodiments, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.
Number | Date | Country | Kind |
---|---|---|---|
096144851 | Nov 2007 | TW | national |