The storage unit 13 is configured for storing connection data and search fields. The connection data can be an Internet protocol (IP) address, a uniform resource locator (URL), or any other type of addressable connection that specifies the external device. The search fields are used as download conditions for downloading files from the externally connected device. The search fields (see
The MCU 12 includes a connection module 121, a download module 122, a comparing module 123, a converting module 124, and a setting module 125. When a predetermined event is triggered, for example, the apparatus 1 is powered on or a system time of the apparatus 1 reaches a predetermined time, etc., the connection module 121 automatically reads the connection data from the storage unit 13, and controls the apparatus 1 to connect to the external device through the interface 11 according to the connection data.
After the apparatus 1 connects to the external device, the download module 122 reads the search fields from the storage unit 13, and searches the external device for files that match the search fields. For example, if the filename, the author, and the file format search fields are “car”, “Bill”, and “all image file format” respectively, the download module 122 searches the external device for all image files named “car”, and created by “Bill”. If the download module 122 finds any matched files, the download module 122 further downloads the matched files to the cache memory 14.
The storage unit 13 further stores destination file properties (see
If the properties of the downloaded file match the destination file properties, the download module 122 stores the downloaded file into the storage unit 13. If the properties of the downloaded file do not match the destination file properties, the converting module 124 converts the properties of the downloaded file to the destination file properties, so as to have the properties of the download file matched the destination file properties.
For example, if the destination file properties is configured to be “JPG” file format and a “800×600” pixel resolution, and corresponding properties of the downloaded file are a “BMP” file format and a “1024×768” pixel resolution, the converting module 124 converts the file format and the pixel resolution properties of the downloaded file to “JPG” and “800×600”, thereby converting the properties of the downloaded file to match the destination file properties.
The setting module 125 is configured for modifying the connection data, the search fields, and the destination file properties according to user inputs through the input unit 15.
In step S101, the connection module 121 reads the connection data from the storage unit 13, and controls the apparatus 1 to connect to the external device through the interface 11 according to the connection data.
In step S102, the download module 122 reads the search fields from the storage unit 13, and searches the external device connected thereto for the files that match the search fields.
In step S103, the download module 122 downloads the matched files to the cache memory 14.
In step S104, the comparing module 123 reads the destination file properties and the corresponding properties of the downloaded files.
In step S105, the comparing module 123 determines whether the corresponding properties of the downloaded files match the destination file properties.
If the corresponding properties of the downloaded files match the destination file properties, the procedure goes to step S107 described below.
If the corresponding properties of the downloaded files do not match the destination file properties, in step S106, the converting module 124 converts the corresponding properties of the downloaded files to the destination file properties.
In step S107, the download module 122 stores the downloaded files into the storage unit 13.
Thus, by utilizing the apparatus 1 shown in
Although the present invention has been specifically described on the basis of a preferred embodiment including a preferred method thereof, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment including the method without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200610063158.9 | Oct 2006 | CN | national |