TWI475408B - Method and system for file synchronization, a computer program product using the method, and a recording medium thereof - Google Patents
Method and system for file synchronization, a computer program product using the method, and a recording medium thereof Download PDFInfo
- Publication number
- TWI475408B TWI475408B TW097150323A TW97150323A TWI475408B TW I475408 B TWI475408 B TW I475408B TW 097150323 A TW097150323 A TW 097150323A TW 97150323 A TW97150323 A TW 97150323A TW I475408 B TWI475408 B TW I475408B
- Authority
- TW
- Taiwan
- Prior art keywords
- file
- multimedia file
- remote
- local
- electronic device
- Prior art date
Links
Description
本發明是有關於一種檔案同步的方法,且特別是有關於一種透過通訊網路與儲存空間中的多媒體檔案進行同步的方法、系統、電腦程式產品以及電腦可讀取之記錄媒體。The present invention relates to a method for file synchronization, and more particularly to a method, system, computer program product, and computer readable recording medium for synchronizing a multimedia file in a storage space through a communication network.
市面上有許多檔案同步軟體,可以幫助使用者將電腦系統中的電子郵件或會議資訊等資料同步至手機等行動電子裝置的微軟Outlook軟體中。詳細地說,使用者可透過通用匯流排介面(Universal Serial Bus,USB)傳輸線將手機連接至電腦系統,並透過檔案同步軟體來檢查電腦系統中的特定資料夾,進而將電腦系統之Outlook軟體中的資料傳送到手機當中,使得手機的資料可與電腦系統的資料同步。There are many file synchronization software on the market that can help users to synchronize e-mail or meeting information in the computer system to Microsoft Outlook software such as mobile phones. In detail, the user can connect the mobile phone to the computer system through the Universal Serial Bus (USB) transmission line, and check the specific folder in the computer system through the file synchronization software, and then in the Outlook software of the computer system. The data is transferred to the mobile phone so that the data of the mobile phone can be synchronized with the data of the computer system.
然而上述檔案同步軟體必須透過USB傳輸線來連接需要同步的手機以及電腦系統,在使用者不慎忘記攜帶USB傳輸線時便無法完成檔案同步的動作,使得檔案同步的便利性受到限制。However, the above file synchronization software must connect the mobile phone and the computer system that need to be synchronized through the USB transmission line. When the user accidentally forgets to carry the USB transmission line, the file synchronization operation cannot be completed, and the convenience of file synchronization is limited.
從另一方面來看,隨著網路科技的發展,使用者可以利用的儲存空間種類也越來越多。一般來說,使用者會希望在可儲存多媒體檔的電子裝置中備份各個儲存空間中的資料,以防止因為儲存空間損毀而遺失檔案的情況。但不難想見,以人工的方式去比對及檢查儲存空間的多媒體檔案與電子裝置中的多媒體檔案是否一致需要耗費相當多的 時間與精力,對使用者來說並不方便。On the other hand, with the development of network technology, there are more and more types of storage space that users can use. In general, users may wish to back up data in each storage space in an electronic device that can store multimedia files to prevent loss of files due to storage space damage. However, it is not difficult to imagine that it takes a lot of time to manually compare and check whether the multimedia files in the storage space are consistent with the multimedia files in the electronic device. Time and effort are not convenient for the user.
基於手機的可攜性與普及化,在未來十分有可能以手機來取代電腦系統來使用軟體或瀏覽儲存空間中的檔案。據此,在手機與儲存空間之間達到資料同步之目的的演算法便顯得十分重要。Based on the portability and popularity of mobile phones, it is very likely that in the future, mobile phones will be used instead of computer systems to use software or browse files in storage space. Accordingly, the algorithm for achieving data synchronization between the mobile phone and the storage space is very important.
有鑑於此,本發明提供一種檔案同步方法,將儲存空間中相異的多媒體檔案下載至電子裝置。In view of this, the present invention provides a file synchronization method for downloading different multimedia files in a storage space to an electronic device.
本發明提供一種檔案同步系統,將儲存在各種儲存空間的多媒體檔案整合到電子裝置,以方便使用者瀏覽上述多媒體檔案。The invention provides a file synchronization system, which integrates multimedia files stored in various storage spaces into an electronic device, so as to facilitate the user to browse the multimedia files.
本發明提供一種電腦程式產品,可藉由將電腦程式載入電子裝置執行,以達到在電子裝置以及數個儲存空間之間,同步多媒體檔案的目的。The invention provides a computer program product, which can be executed by loading a computer program into an electronic device to synchronize the multimedia file between the electronic device and a plurality of storage spaces.
本發明提供一種電腦可讀取之記錄媒體,執行所儲存的電腦程式後,可透過電子裝置瀏覽儲存在各個儲存空間中的多媒體檔案。The present invention provides a computer readable recording medium. After executing the stored computer program, the multimedia file stored in each storage space can be browsed through the electronic device.
為達到上述及其他目的,本發明提出一種檔案同步方法,用於電子裝置。其中,電子裝置儲存至少一個本地多媒體檔案,並可透過通訊網路存取至少一個儲存空間。此方法首先在符合特定時間點時,將電子裝置連接上述儲存空間。其中,上述儲存空間之一儲存有至少一個遠端多媒體檔案。接著判斷是否存在任何相異於本地多媒體檔案的遠端多媒體檔案,以及將相異於本地多媒體檔案的遠端多 媒體檔案下載至電子裝置或是將相異於遠端多媒體檔案的本地多媒體檔案上傳至儲存空間。To achieve the above and other objects, the present invention provides a file synchronization method for an electronic device. The electronic device stores at least one local multimedia file and can access at least one storage space through the communication network. The method first connects the electronic device to the storage space when a certain time point is met. The one of the storage spaces stores at least one remote multimedia file. Then determine if there are any remote multimedia files that are different from the local multimedia files, and how many remotes will be different from the local multimedia files. The media file is downloaded to the electronic device or a local multimedia file different from the remote multimedia file is uploaded to the storage space.
在本發明之一實施例中,其中特定時間點包括使用者所設定的預設時間、電子裝置每次與通訊網路連線時,使用者執行某特定指令時,或是電子裝置處於不被操作的閒置狀態時。In an embodiment of the present invention, the specific time point includes a preset time set by the user, and each time the electronic device is connected to the communication network, when the user executes a specific instruction, or the electronic device is not operated. When idle.
在本發明之一實施例中,其中連接儲存空間的步驟包括取得預設在電子裝置中,對應於每個儲存空間的網路位址、使用者名稱與使用者密碼。接著透過通訊網路分別連接上述網路位址,以及完成對應之使用者名稱與使用者密碼驗證,以登入儲存空間。In an embodiment of the invention, the step of connecting the storage space includes obtaining a network address, a user name and a user password preset in the electronic device corresponding to each storage space. Then, the above network address is respectively connected through the communication network, and the corresponding user name and user password verification are completed to log in to the storage space.
在本發明之一實施例中,其中判斷是否存在任何相異於本地多媒體檔案之遠端多媒體檔案的步驟,包括比較遠端多媒體檔案與本地多媒體檔案的檔案名稱。若遠端多媒體檔案的檔案名稱不符合所有本地多媒體檔案的檔案名稱,則判斷遠端多媒體檔案相異於本地多媒體檔案。In an embodiment of the invention, the step of determining whether there is any remote multimedia file different from the local multimedia file comprises comparing the file names of the remote multimedia file with the local multimedia file. If the file name of the remote multimedia file does not match the file name of all local multimedia files, it is determined that the remote multimedia file is different from the local multimedia file.
在本發明之一實施例中,其中判斷是否存在任何相異於本地多媒體檔案之遠端多媒體檔案的步驟,包括取得遠端多媒體檔案與本地多媒體檔案的檔案內容。若遠端多媒體檔案的檔案內容不符合每個本地多媒體檔案的檔案內容,則判斷遠端多媒體檔案相異於本地多媒體檔案。In an embodiment of the invention, the step of determining whether there is any remote multimedia file different from the local multimedia file comprises obtaining the archive content of the remote multimedia file and the local multimedia file. If the file content of the remote multimedia file does not match the file content of each local multimedia file, it is determined that the remote multimedia file is different from the local multimedia file.
在本發明之一實施例中,其中每個儲存空間儲存有各個遠端多媒體檔案的縮圖檔案。而在判斷是否存在任何相異於本地多媒體檔案之遠端多媒體檔案的步驟之後,更包 括將相異於上述本地多媒體檔案之每個遠端多媒體檔案的縮圖檔案下載至電子裝置,以及顯示上述縮圖檔案。In an embodiment of the invention, each storage space stores a thumbnail file of each remote multimedia file. After judging whether there are any remote multimedia files that are different from the local multimedia files, The thumbnail file of each remote multimedia file different from the local multimedia file is downloaded to the electronic device, and the thumbnail file is displayed.
在本發明之一實施例中,其中在顯示上述縮圖檔案的步驟之後,更包括接收對應縮圖檔案的選取指令。接著自儲存空間下載檔案選取指令所相對應的遠端多媒體檔案,並且刪除電子裝置中的縮圖檔案。In an embodiment of the present invention, after the step of displaying the thumbnail file, the method further includes receiving a selection instruction corresponding to the thumbnail file. Then, the remote multimedia file corresponding to the file selection instruction is downloaded from the storage space, and the thumbnail file in the electronic device is deleted.
在本發明之一實施例中,其中下載相異於本地多媒體檔案之遠端多媒體檔案的步驟包括調整遠端多媒體檔案的檔案大小,以及將經過調整的遠端多媒體檔案儲存至電子裝置。In an embodiment of the invention, the step of downloading the remote multimedia file different from the local multimedia file includes adjusting the file size of the remote multimedia file and storing the adjusted remote multimedia file to the electronic device.
在本發明之一實施例中,其中下載相異於本地多媒體檔案之遠端多媒體檔案的步驟包括轉換遠端多媒體檔案的檔案格式,以及將經過轉換的遠端多媒體檔案儲存至電子裝置。In an embodiment of the invention, the step of downloading the remote multimedia file different from the local multimedia file includes converting the file format of the remote multimedia file and storing the converted remote multimedia file to the electronic device.
在本發明之一實施例中,其中在符合特定時間點時連接儲存空間的步驟之後,更包括判斷是否存在任何相異於遠端多媒體檔案的本地多媒體檔案,以及將相異於遠端多媒體檔案的本地多媒體檔案上傳至儲存空間。In an embodiment of the present invention, after the step of connecting the storage space at a specific time point, it further comprises determining whether there is any local multimedia file different from the remote multimedia file, and is different from the remote multimedia file. Upload the local multimedia file to the storage space.
在本發明之一實施例中,其中在下載相異於本地多媒體檔案之遠端多媒體檔案的步驟之後,更包括顯示包括複數個區塊的顯示畫面,其中一個區塊顯示本地多媒體檔案,其他的區塊係個別顯示下載自不同儲存空間的遠端多媒體檔案。In an embodiment of the present invention, after the step of downloading the remote multimedia file different from the local multimedia file, the method further includes displaying a display screen including a plurality of blocks, wherein one of the blocks displays the local multimedia file, and the other The block displays individual remote multimedia files downloaded from different storage spaces.
在本發明之一實施例中,其中本地多媒體檔案與遠端 多媒體檔案包括圖片(image)檔案、音樂(audio)檔案,或影片(video)檔案。In an embodiment of the invention, wherein the local multimedia file and the remote end Multimedia files include image files, audio files, or video files.
從另一觀點來看,本發明提出一種檔案同步系統,此系統包括儲存空間連接模組、判斷模組,以及上下載模組。其中,儲存空間連接模組適於在符合特定時間點時,透過通訊網路將電子裝置連接至少一個儲存空間。其中,電子裝置儲存至少一個本地多媒體檔案,而上述儲存空間之一儲存至少一個遠端多媒體檔案。判斷模組適於判斷是否存在任何相異於本地多媒體檔案的遠端多媒體檔案。上下載模組則適於將相異於本地多媒體檔案的遠端多媒體檔案下載至電子裝置或是將相異於遠端多媒體檔案的本地多媒體檔案上傳至儲存空間。From another point of view, the present invention provides a file synchronization system, which includes a storage space connection module, a determination module, and an upper download module. The storage space connection module is adapted to connect the electronic device to the at least one storage space through the communication network when the specific time point is met. The electronic device stores at least one local multimedia file, and one of the storage spaces stores at least one remote multimedia file. The judging module is adapted to determine whether there is any remote multimedia file that is different from the local multimedia file. The download module is adapted to download a remote multimedia file different from the local multimedia file to the electronic device or upload a local multimedia file different from the remote multimedia file to the storage space.
在本發明之一實施例中,其中特定時間點包括使用者所設定的預設時間、電子裝置每次與通訊網路連線時,使用者執行某特定指令時,或是在電子裝置處於不被操作的閒置狀態時。In an embodiment of the present invention, the specific time point includes a preset time set by the user, the electronic device is connected to the communication network, the user executes a certain instruction, or the electronic device is not When the operation is idle.
在本發明之一實施例中,其中儲存空間連接模組取得預設在電子裝置中,對應於各儲存空間的網路位址、使用者名稱與使用者密碼,並透過通訊網路分別連接上述網路位址,以及完成對應之使用者名稱與使用者密碼驗證,以登入各儲存空間。In an embodiment of the present invention, the storage space connection module is preset in the electronic device, corresponding to the network address, the user name and the user password of each storage space, and is respectively connected to the network through a communication network. The location of the road, as well as the completion of the corresponding user name and user password verification, to log in to each storage space.
在本發明之一實施例中,其中判斷模組比較遠端多媒體檔案與本地多媒體檔案的檔案名稱,若遠端多媒體檔案的檔案名稱不符合各本地多媒體檔案的檔案名稱,則判斷 遠端多媒體檔案相異於本地多媒體檔案。In an embodiment of the present invention, the determining module compares the file names of the remote multimedia file with the local multimedia file, and if the file name of the remote multimedia file does not match the file name of each local multimedia file, The remote multimedia file is different from the local multimedia file.
在本發明之一實施例中,其中判斷模組取得遠端多媒體檔案與本地多媒體檔案的檔案內容,若遠端多媒體檔案的檔案內容不符合各本地多媒體檔案的檔案內容,則判斷遠端多媒體檔案相異於本地多媒體檔案。In an embodiment of the present invention, the determining module obtains the file content of the remote multimedia file and the local multimedia file, and if the file content of the remote multimedia file does not conform to the file content of each local multimedia file, the remote multimedia file is determined. Different from local multimedia files.
在本發明之一實施例中,其中各儲存空間儲存遠端多媒體檔案的縮圖檔案,而上下載模組將相異於本地多媒體檔案之每個遠端多媒體檔案的縮圖檔案下載至電子裝置,以由電子裝置顯示縮圖檔案。In an embodiment of the present invention, each storage space stores a thumbnail file of the remote multimedia file, and the upper download module downloads the thumbnail file of each remote multimedia file different from the local multimedia file to the electronic device. To display a thumbnail file by an electronic device.
在本發明之一實施例中,其中上下載模組接收對應於縮圖檔案的選取指令,並且自儲存空間下載檔案選取指令所相對應的遠端多媒體檔案,以及刪除電子裝置中的縮圖檔案。In an embodiment of the present invention, the upper download module receives the selection instruction corresponding to the thumbnail file, and downloads the remote multimedia file corresponding to the file selection instruction from the storage space, and deletes the thumbnail file in the electronic device. .
在本發明之一實施例中,更包括檔案瀏覽模組,適於將包括複數區塊的顯示畫面顯示於電子裝置,其中一個區塊顯示本地多媒體檔案,其他的區塊係個別顯示下載自不同儲存空間的遠端多媒體檔案。In an embodiment of the present invention, the file browsing module is further configured to display the display screen including the plurality of blocks on the electronic device, wherein one of the blocks displays the local multimedia file, and the other blocks are displayed separately from each other. Remote multimedia file of storage space.
在本發明之一實施例中,其中上下載模組調整遠端多媒體檔案的檔案大小,並將經過調整的遠端多媒體檔案儲存至電子裝置。In an embodiment of the invention, the upper download module adjusts the file size of the remote multimedia file, and stores the adjusted remote multimedia file to the electronic device.
在本發明之一實施例中,其中上下載模組轉換遠端多媒體檔案的檔案格式,並將經過轉換的遠端多媒體檔案儲存至電子裝置。In an embodiment of the invention, the upper download module converts the file format of the remote multimedia file, and stores the converted remote multimedia file to the electronic device.
在本發明之一實施例中,其中判斷模組判斷是否存在 任何相異於遠端多媒體檔案的本地多媒體檔案,而上下載模組將相異於遠端多媒體檔案的本地多媒體檔案上傳至儲存空間。In an embodiment of the invention, wherein the determining module determines whether the existence exists Any local multimedia file that is different from the remote multimedia file, and the upper download module uploads the local multimedia file different from the remote multimedia file to the storage space.
在本發明之一實施例中,本地多媒體檔案與遠端多媒體檔案包括圖片檔案、音樂檔案,以及影片檔案。In an embodiment of the invention, the local multimedia file and the remote multimedia file include a picture file, a music file, and a movie file.
從又一觀點來看,本發明提出一種電腦程式產品,所包括之程式可經由電子裝置載入以執行下列步驟:在符合特定時間點時,透過通訊網路將電子裝置連接至少一個儲存空間。其中,電子裝置儲存至少一個本地多媒體檔案,且各儲存空間儲存至少一個遠端多媒體檔案。接著,判斷是否存在任何相異於本地多媒體檔案的遠端多媒體檔案。最後,將相異於本地多媒體檔案的遠端多媒體檔案下載至電子裝置。From another point of view, the present invention provides a computer program product, the program included being loadable via an electronic device to perform the steps of connecting an electronic device to at least one storage space through a communication network when a particular point in time is met. The electronic device stores at least one local multimedia file, and each storage space stores at least one remote multimedia file. Next, it is determined whether there is any remote multimedia file that is different from the local multimedia file. Finally, the remote multimedia file different from the local multimedia file is downloaded to the electronic device.
從再一觀點來看,本發明提出一種電腦可讀取之記錄媒體,用以儲存電腦程式。上述電腦程式包括複數程式碼,可載入至電子裝置並且使得電子裝置執行上述檔案同步方法。From another point of view, the present invention provides a computer readable recording medium for storing computer programs. The computer program includes a plurality of code codes that can be loaded into an electronic device and cause the electronic device to execute the above file synchronization method.
本發明透過通訊網路連接數個儲存空間,在判斷儲存空間中有新的多媒體檔案後,轉換其檔案大小與檔案格式並將其下載至電子裝置。如此一來,使用者可以透過電子裝置來瀏覽儲存在不同儲存空間的多媒體檔案,進而大幅提升瀏覽多媒體檔案的便利性。The invention connects several storage spaces through a communication network, and after determining that there is a new multimedia file in the storage space, converts the file size and file format and downloads the file to the electronic device. In this way, the user can browse the multimedia files stored in different storage spaces through the electronic device, thereby greatly improving the convenience of browsing the multimedia files.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.
對一個可儲存多媒體檔案的電子裝置來說,若能對數個儲存空間進行檔案同步動作,以將不同的多媒體檔案下載並儲存於電子裝置,便能讓使用者有效率地透過電子裝置本身來瀏覽原本儲存在不同儲存裝置的多媒體檔案。本發明便是基於上述觀點進而發展出的一種檔案同步方法、系統、使用此方法的電腦程式產品,以及電腦可讀取記錄媒體。為了使本發明之內容更為明瞭,以下特舉實施例做為本發明確實能夠據以實施的範例。For an electronic device capable of storing multimedia files, if a plurality of storage spaces can be synchronized to download and store different multimedia files on the electronic device, the user can efficiently browse through the electronic device itself. A multimedia file originally stored in a different storage device. The present invention is a file synchronization method and system developed based on the above viewpoints, a computer program product using the same, and a computer readable recording medium. In order to make the content of the present invention clearer, the following specific embodiments are examples of the invention that can be implemented.
圖1是依照本發明之一實施例所繪示之檔案同步系統的方塊圖。請參閱圖1,在本實施例中,檔案同步系統100可配置在例如手機、個人數位助理手機(PDA phone)、智慧型手機(Smartphone),或行動電腦(Mobile computer)等各種可以用來儲存多媒體檔案的電子裝置中,用以在電子裝置以及數個儲存空間之間達到多媒體檔案同步的目的。其中,儲存空間例如是網路相簿伺服器。檔案同步系統100包括儲存空間連接模組110、判斷模組120、上下載模組130,以及檔案瀏覽模組140。以下將對各模組的功能進行說明。1 is a block diagram of a file synchronization system in accordance with an embodiment of the present invention. Referring to FIG. 1, in the embodiment, the file synchronization system 100 can be configured, for example, in a mobile phone, a personal PDA phone, a smart phone, or a mobile computer, and can be stored. In the electronic device of the multimedia file, the purpose of synchronizing the multimedia files between the electronic device and the plurality of storage spaces is achieved. The storage space is, for example, a web album server. The file synchronization system 100 includes a storage space connection module 110, a determination module 120, an upper download module 130, and an archive browsing module 140. The function of each module will be described below.
儲存空間連接模組110在電子裝置啟動之後,在每次符合特定時間點時,透過通訊網路將電子裝置連接至少一個儲存空間。在上述儲存空間之一儲存有一個以上的多媒體檔案。為了方便說明,在以下將儲存在電子裝置中的多媒體檔案稱之為本地多媒體檔案,而將儲存在儲存空間中 的多媒體檔案稱之為遠端多媒體檔案。而本地多媒體檔案以及遠端多媒體檔案例如是圖片(image)檔案、音樂(audio)檔案,或影片(video)檔案,在此並不限制其範圍。The storage space connection module 110 connects the electronic device to the at least one storage space through the communication network each time the electronic device is activated. More than one multimedia file is stored in one of the above storage spaces. For convenience of description, the multimedia file stored in the electronic device is referred to as a local multimedia file, and will be stored in the storage space. The multimedia file is called a remote multimedia file. The local multimedia file and the remote multimedia file are, for example, an image file, an audio file, or a video file, and the scope is not limited herein.
判斷模組120的功用在於判斷是否有任何相異於本地多媒體檔案的遠端多媒體檔案。在本實施例中,判斷模組120係透過檔案名稱或檔案內容的比對來判斷遠端多媒體檔案是否相異於所有本地多媒體檔案。The function of the determining module 120 is to determine whether there is any remote multimedia file that is different from the local multimedia file. In this embodiment, the determining module 120 determines whether the remote multimedia file is different from all the local multimedia files by comparing the file name or the file content.
上下載模組130在判斷模組120進行判斷動作之後,將相異於本地多媒體檔案的遠端多媒體檔案下載至電子裝置。而檔案瀏覽模組140則是用來在電子裝置上顯示一個包括了數個區塊的顯示畫面,並且在顯示畫面中顯示所有本地多媒體檔案以及下載自儲存空間的遠端多媒體檔案。The upper download module 130 downloads the remote multimedia file different from the local multimedia file to the electronic device after the determining module 120 performs the determining operation. The file browsing module 140 is configured to display a display screen including a plurality of blocks on the electronic device, and display all local multimedia files in the display screen and remote multimedia files downloaded from the storage space.
以下將以檔案同步系統100的運作流程來對本發明進行更進一步的說明,以說明透過檔案同步系統100達到在電子裝置以及數個儲存空間之間同步多媒體檔案的步驟。圖2是依照本發明之一實施例所繪示之檔案同步方法的流程圖。請同時參閱圖1與圖2,如步驟210所示,電子裝置在啟動之後將不斷地判斷目前是否符合特定時間點。在本實施例中,特定時間點可以是使用者事先所設定的預設時間,或是在電子裝置每次與通訊網路連線時。此外,特定時間點也可以是當電子裝置處於不被操作的閒置狀態時,亦或以使用者執行某特定指令的時間點視為特定時間點。The present invention will be further described below with the operational flow of the file synchronization system 100 to illustrate the steps of synchronizing the multimedia files between the electronic device and the plurality of storage spaces through the file synchronization system 100. 2 is a flow chart of a file synchronization method according to an embodiment of the invention. Please refer to FIG. 1 and FIG. 2 at the same time. As shown in step 210, after the electronic device is started, it will continuously judge whether the current time point is met. In this embodiment, the specific time point may be a preset time set by the user in advance, or each time the electronic device is connected to the communication network. In addition, the specific time point may also be regarded as a specific time point when the electronic device is in an idle state that is not operated, or when a user executes a certain instruction.
在符合特定時間點時,由儲存空間連接模組110將電子裝置連接至數個儲存空間。在本實施例中,在電子裝置預設有各個儲存空間的網路位址、使用者名稱,以及使用者密碼。儲存空間連接模組110在取得上述網路位址、使用者名稱與使用者密碼之後,透過通訊網路分別連接至上述網路位址,並完成對應的使用者名稱與使用者密碼驗證,進而登入各儲存空間。When the specific time point is met, the electronic device is connected to the plurality of storage spaces by the storage space connection module 110. In this embodiment, the network address, the user name, and the user password of each storage space are pre-configured in the electronic device. After obtaining the network address, the user name and the user password, the storage space connection module 110 is respectively connected to the network address through the communication network, and completes the corresponding user name and user password verification, and then logs in. Each storage space.
接下來,如步驟230所示,由判斷模組120判斷在各個儲存空間中,是否存在任何相異於本地多媒體檔案的遠端多媒體檔案。在一實施例中,判斷模組120比較各個遠端多媒體檔案與各個本地多媒體檔案的檔案名稱。倘若有任何的遠端多媒體檔案其檔案名稱不符合所有本地多媒體檔案的檔案名稱,則判斷檔案名稱不符的遠端多媒體檔案相異於本地多媒體檔案。在另一實施例中,判斷模組120將取得各個遠端多媒體檔案與本地多媒體檔案的檔案內容。任何遠端多媒體檔案的檔案內容不符合本地多媒體檔案的檔案內容時,則會被判斷模組120判斷為相異於本地多媒體檔案。進一步來說,當多媒體檔案為圖片檔案時,便可透過比對圖片中的各個像素來判斷是否是屬於同一張圖片。Next, as shown in step 230, the determining module 120 determines whether there are any remote multimedia files different from the local multimedia file in the respective storage spaces. In one embodiment, the determination module 120 compares the file names of the respective remote multimedia files with the respective local multimedia files. If any of the remote multimedia files whose file names do not match the file names of all local multimedia files, then the remote multimedia files whose file names do not match are judged to be different from the local multimedia files. In another embodiment, the determining module 120 will obtain the archive content of each remote multimedia file and the local multimedia file. When the file content of any remote multimedia file does not conform to the file content of the local multimedia file, it is determined by the determining module 120 to be different from the local multimedia file. Further, when the multimedia file is a picture file, it can be judged whether it belongs to the same picture by comparing each pixel in the picture.
倘若在所有的儲存空間中,不存在相異於本地多媒體檔案的遠端多媒體檔案,則回到步驟210,繼續判斷是否到達特定時間點。然而,倘若有不同的遠端多媒體檔案,則如步驟240所示,由上下載模組130將不同於本地多媒 體檔案的所有遠端多媒體檔案下載置電子裝置。其中,上下載模組130例如將調整遠端多媒體檔案的檔案大小,並將經過調整的遠端多媒體檔案儲存至電子裝置。而為了讓電子裝置能順利播放或呈現遠端多媒體檔案,上下載模組130更會在儲存遠端多媒體檔案之前,將遠端多媒體檔案的檔案格式轉換為電子裝置所支援的格式。If there is no remote multimedia file different from the local multimedia file in all the storage spaces, then return to step 210 to continue to determine whether a specific time point has been reached. However, if there are different remote multimedia files, as shown in step 240, the upper download module 130 will be different from the local multimedia. All remote multimedia files of the file are downloaded to the electronic device. The upper download module 130, for example, will adjust the file size of the remote multimedia file, and store the adjusted remote multimedia file to the electronic device. In order to enable the electronic device to smoothly play or present the remote multimedia file, the upper download module 130 converts the file format of the remote multimedia file into a format supported by the electronic device before storing the remote multimedia file.
由圖2所示之各步驟可以發現,透過檔案同步系100的運作,在到達特定時間點時,儲存空間中相異於本地多媒體檔案相異的遠端多媒體檔案將被下載至電子裝置,以達到檔案同步的目的。如此一來,使用者便不再需要判斷想要瀏覽的多媒體檔案係儲存在何處,同時也不需要額外輸入密碼或選擇開啟多媒體檔案的瀏覽程式,便能直接在電子裝置中瀏覽各個儲存空間裡的多媒體檔案,進而提升瀏覽上的便利性。It can be found from the steps shown in FIG. 2 that, through the operation of the file synchronization system 100, when a specific time point is reached, the remote multimedia file in the storage space that is different from the local multimedia file will be downloaded to the electronic device. Achieve the purpose of file synchronization. In this way, the user no longer needs to judge where the multimedia file to be browsed is stored, and at the same time, without having to input a password or select a browser to open the multimedia file, the storage space can be directly viewed in the electronic device. The multimedia files in the library, thus improving the convenience of browsing.
在以下的實施例中,在每個儲存空間裡除了儲存遠端多媒體檔案之外,還儲存有對應的縮圖檔案。而當判斷模組120判斷有相異於本地多媒體檔案的遠端多媒體檔案時,並不會直接將上述遠端多媒體檔案下載置電子裝置,取而代之的是下載對應的縮圖檔案。圖3是依照此一實施例所繪示之檔案同步方法的流程圖。請參閱圖3,由於步驟310至步驟330與圖2之步驟210至步驟230相同或相似,故在此不再贅述。In the following embodiments, in addition to storing the remote multimedia file in each storage space, a corresponding thumbnail file is stored. When the judging module 120 judges that there is a remote multimedia file different from the local multimedia file, the remote multimedia file is not directly downloaded to the electronic device, and the corresponding thumbnail file is downloaded instead. FIG. 3 is a flowchart of a file synchronization method according to this embodiment. Referring to FIG. 3, since steps 310 to 330 are the same as or similar to steps 210 to 230 of FIG. 2, they are not described herein again.
請見圖3之步驟340,若判斷模組120判斷儲存空間中有相異於本地多媒體檔案的遠端多媒體檔案,上下載模 組130會將相異於本地多媒體檔案之每個遠端多媒體檔案的縮圖檔案下載至電子裝置,接著在步驟350中,由電子裝置顯示上述縮圖檔案以供使用者在空閒時進行選擇。Please refer to step 340 of FIG. 3, if the determining module 120 determines that there is a remote multimedia file in the storage space that is different from the local multimedia file, the download mode is downloaded. The group 130 downloads the thumbnail file of each remote multimedia file different from the local multimedia file to the electronic device, and then in step 350, the thumbnail file is displayed by the electronic device for the user to select when idle.
使用者在檢視縮圖檔案之後,可以選取想要下載的遠端多媒體檔案。如步驟360所示,上下載模組130判斷是否接收到任何對應縮圖檔案的選取指令。倘若接收到選取指令,表示使用者希望下載縮圖檔案所對應的遠端多媒體檔案。因而在步驟370中,上下載模組130自儲存空間下載檔案選取指令所相對應的遠端多媒體檔案。在本實施例中,上下載模組130在將遠端多媒體檔案儲存在電子裝置之前,亦會將檔案大小與檔案格式調整為電子裝置所支援的形式。待下載完畢之後,如步驟380所示,將原先儲存在電子裝置中的縮圖檔案刪除。然而,倘若上下載模組130並未接收到任何選取指令,表示使用者不想下載這些遠端多媒體檔案,因此直接執行步驟380,將電子裝置中的縮圖檔案刪除。After viewing the thumbnail file, the user can select the remote multimedia file that he wants to download. As shown in step 360, the upper download module 130 determines whether any selection instruction corresponding to the thumbnail file is received. If the selection instruction is received, it indicates that the user wants to download the remote multimedia file corresponding to the thumbnail file. Therefore, in step 370, the upper download module 130 downloads the remote multimedia file corresponding to the file selection instruction from the storage space. In this embodiment, the upper download module 130 also adjusts the file size and file format to a form supported by the electronic device before storing the remote multimedia file in the electronic device. After the download is completed, as shown in step 380, the thumbnail file originally stored in the electronic device is deleted. However, if the download module 130 does not receive any selection command, indicating that the user does not want to download the remote multimedia files, step 380 is directly executed to delete the thumbnail file in the electronic device.
以下載縮圖檔案來取代直接下載遠端多媒體檔案,可以讓使用者根據縮圖檔案選取真正想要下載的多媒體檔案,避免下載過多非必要的多媒體檔案而佔據電子裝置的儲存空間,使得在電子裝置以及儲存空間之間進行檔案同步的動作變的更富有彈性。By downloading the thumbnail file instead of directly downloading the remote multimedia file, the user can select the multimedia file that is actually desired to be downloaded according to the thumbnail file, avoiding downloading too many unnecessary multimedia files and occupying the storage space of the electronic device, so that the electronic device The action of synchronizing files between the device and the storage space becomes more flexible.
值得一提的是,在上下載模組130將遠端多媒體檔案下載並儲存至電子裝置之後,檔案同步系統100中的檔案瀏覽模組140例如會在電子裝置的螢幕顯示一個包括數個 區塊的顯示畫面。使用者可以透過此一顯示畫面來撿視所有的本地多媒體檔案以及下載的遠端多媒體檔案。圖4是依照本發明之一實施例所繪示之顯示畫面的示意圖。在本實施例中,顯示畫面400共包括四個區塊。其中區塊410用來顯示原本便儲存在電子裝置中的所有本地多媒體檔案410。而區塊420、區塊430,以及區塊440則分別對應至不同的儲存空間(例如不同的網路相簿)。如圖4所示,在區塊420、區塊430,以及區塊440中顯示的是下載自對應之網路相簿的遠端多媒體檔案(即多媒體檔案421、多媒體檔案431,以及多媒體檔案441)。透過分區顯示的方式可以讓使用者更方便地檢視來自相同儲存空間的多媒體檔案,進而讓檔案管理變的更為便利。進一步來說,在使用者擁有數個網路相簿的同時,透過本發明所述之檔案同步系統100的運作將只需要一個電子裝置便可以同時瀏覽所有網路相簿中的照片。It is worth mentioning that after the download module 130 downloads and stores the remote multimedia file to the electronic device, the file browsing module 140 in the file synchronization system 100 displays, for example, several on the screen of the electronic device. The display of the block. Users can view all local multimedia files and downloaded remote multimedia files through this display. 4 is a schematic diagram of a display screen according to an embodiment of the invention. In the present embodiment, the display screen 400 includes a total of four blocks. The block 410 is used to display all the local multimedia files 410 that are originally stored in the electronic device. Block 420, block 430, and block 440 correspond to different storage spaces (eg, different network albums). As shown in FIG. 4, displayed in block 420, block 430, and block 440 are remote multimedia files (ie, multimedia file 421, multimedia file 431, and multimedia file 441) downloaded from the corresponding network album. ). The partition display method makes it easier for users to view multimedia files from the same storage space, which makes file management more convenient. Further, while the user has several web albums, the operation of the file synchronization system 100 of the present invention will require only one electronic device to simultaneously view photos in all network albums.
本發明所述之檔案同步系統100在進行檔案同步的動作時,將相異於本地多媒體檔案的遠端多媒體檔案下載至電子裝置,以使電子裝置與儲存空間的檔案同步之外,更包括將本地多媒體檔案上傳至儲存空間。圖5是依照本發明之又一實施例所繪示之檔案同步方法的流程圖。請參閱圖5,由於圖5之步驟510與520與圖2之步驟210與220相同或相似,故在此不再贅述。The file synchronization system 100 of the present invention downloads a remote multimedia file different from the local multimedia file to the electronic device during the file synchronization operation, so as to synchronize the electronic device with the file of the storage space, Upload the local multimedia file to the storage space. FIG. 5 is a flow chart of a file synchronization method according to still another embodiment of the present invention. Referring to FIG. 5, since steps 510 and 520 of FIG. 5 are the same as or similar to steps 210 and 220 of FIG. 2, they are not described herein again.
在儲存空間連接模組110將電子裝置連接至儲存空間之後,如步驟530所示,判斷模組120判斷在電子裝置中 是否存在任何相異於遠端多媒體檔案的本地多媒體檔案。其中,判斷模組120例如係透過比較遠端多媒體檔案以及本地多媒體檔案的檔案名稱或檔案內容來判斷兩者是否相同。After the storage space connection module 110 connects the electronic device to the storage space, as shown in step 530, the determination module 120 determines that the electronic device is in the electronic device. Is there any local multimedia file that is different from the remote multimedia file? The judging module 120 determines whether the two are the same by comparing the file name or the file content of the remote multimedia file and the local multimedia file.
倘若存在相異於遠端多媒體檔案的本地多媒體檔案,則如步驟540所示,由上下載模組130將上述本地多媒體檔案上傳至儲存空間。據此,讓儲存空間可與電子裝置中的檔案同步。If there is a local multimedia file that is different from the remote multimedia file, the local multimedia file is uploaded to the storage space by the upper download module 130 as shown in step 540. Accordingly, the storage space can be synchronized with the files in the electronic device.
本發明另提供一種電腦程式產品,其係用以執行上述的檔案同步方法,此電腦程式產品基本上是由多數個程式碼片段所組成的(例如設定程式碼片段、以及部署程式碼片段),並且這些程式碼片段在載入電子裝置中並執行之後,即可完成上述檔案同步方法的步驟與上述檔案同步系統的功能。The present invention further provides a computer program product for performing the above file synchronization method. The computer program product is basically composed of a plurality of code segments (for example, setting a code segment and deploying a code segment). And after the code segments are loaded into the electronic device and executed, the steps of the file synchronization method and the functions of the file synchronization system can be completed.
值得一提的是,上述檔案同步方法可於任何具有處理器的電子裝置上來執行。換言之,將上述實施例設計為包括複數程式碼的電腦程式,並利用電腦可讀取之儲存媒體(例如光碟片、磁碟片與抽取式硬碟等等)來儲存此電腦程式,在將電腦程式載入至電子裝置之後,便可在電子裝置上執行上述實施例所述之檔案同步方法。It is worth mentioning that the above file synchronization method can be executed on any electronic device having a processor. In other words, the above embodiment is designed as a computer program including a plurality of code codes, and the computer readable storage medium (for example, a CD, a floppy disk and a removable hard disk, etc.) is used to store the computer program. After the program is loaded into the electronic device, the file synchronization method described in the above embodiment can be executed on the electronic device.
綜上所述,本發明所述之檔案同步方法、系統、使用此方法的電腦程式產品與其電腦可讀取記錄媒體係在啟動電子裝置並到達特定時間點時,比對電子裝置中的本地多媒體檔案與儲存在儲存空間中的遠端多媒體檔案。若有任 何相異於本地多媒體檔案的遠端多媒體檔案,則將其下載至電子裝置。如此一來,將可以達到令電子裝置與儲存空間之間檔案同步的目的,進而方便使用者透過電子裝置來瀏覽各個儲存空間中的多媒體檔案,以提升瀏覽多媒體檔案的效率。In summary, the file synchronization method and system, the computer program product using the same, and the computer readable recording medium thereof are compared with the local multimedia in the electronic device when the electronic device is activated and reaches a specific time point. Files and remote multimedia files stored in storage. If there is any How to different from the remote multimedia file of the local multimedia file, download it to the electronic device. In this way, the purpose of synchronizing the files between the electronic device and the storage space can be achieved, thereby facilitating the user to browse the multimedia files in the respective storage spaces through the electronic device, so as to improve the efficiency of browsing the multimedia files.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
100‧‧‧檔案同步系統100‧‧‧File Synchronization System
110‧‧‧儲存空間連接模組110‧‧‧Storage space connection module
120‧‧‧判斷模組120‧‧‧Judgement module
130‧‧‧上下載模組130‧‧‧Download module
140‧‧‧檔案瀏覽模組140‧‧‧File browsing module
210~240‧‧‧本發明之一實施例所述之檔案同步方法的各步驟210~240‧‧‧ steps of the file synchronization method according to an embodiment of the present invention
310~380‧‧‧本發明之另一實施例所述之檔案同步方法的各步驟310-380‧‧‧ steps of the file synchronization method according to another embodiment of the present invention
400‧‧‧顯示畫面400‧‧‧Display screen
410、420、430、440‧‧‧區塊410, 420, 430, 440‧‧‧ blocks
411‧‧‧本地多媒體檔案411‧‧‧Local Multimedia Archives
421、431、441‧‧‧遠端多媒體檔案421, 431, 441‧‧‧ remote multimedia files
510~540‧‧‧本發明之又一實施例所述之檔案同步方法的各步驟510~540‧‧‧ steps of the file synchronization method according to still another embodiment of the present invention
圖1是依照本發明之一實施例所繪示之檔案同步系統的方塊圖。1 is a block diagram of a file synchronization system in accordance with an embodiment of the present invention.
圖2是依照本發明之一實施例所繪示之檔案同步方法的流程圖。2 is a flow chart of a file synchronization method according to an embodiment of the invention.
圖3是依照本發明之另一實施例所繪示之檔案同步方法的流程圖。FIG. 3 is a flow chart of a file synchronization method according to another embodiment of the present invention.
圖4是依照本發明之一實施例所繪示之顯示畫面的示意圖。4 is a schematic diagram of a display screen according to an embodiment of the invention.
圖5是依照本發明之又一實施例所繪示之檔案同步方法的流程圖。FIG. 5 is a flow chart of a file synchronization method according to still another embodiment of the present invention.
210~240‧‧‧本發明之一實施例所述之檔案同步方法的各步驟210~240‧‧‧ steps of the file synchronization method according to an embodiment of the present invention
Claims (56)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW097150323A TWI475408B (en) | 2008-12-23 | 2008-12-23 | Method and system for file synchronization, a computer program product using the method, and a recording medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW097150323A TWI475408B (en) | 2008-12-23 | 2008-12-23 | Method and system for file synchronization, a computer program product using the method, and a recording medium thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201025042A TW201025042A (en) | 2010-07-01 |
TWI475408B true TWI475408B (en) | 2015-03-01 |
Family
ID=44852416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW097150323A TWI475408B (en) | 2008-12-23 | 2008-12-23 | Method and system for file synchronization, a computer program product using the method, and a recording medium thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI475408B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5928329A (en) * | 1992-12-02 | 1999-07-27 | Compaq Computer Corporation | System for automatic synchronization of common file between portable computer and host computer via communication channel selected from a plurality of usable channels therebetween |
TW200413923A (en) * | 2003-01-17 | 2004-08-01 | Yu-De Wu | Method of remote redundancy |
US7403769B2 (en) * | 2004-03-23 | 2008-07-22 | Nokia Corporation | System and method for music synchronization in a mobile device |
-
2008
- 2008-12-23 TW TW097150323A patent/TWI475408B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5928329A (en) * | 1992-12-02 | 1999-07-27 | Compaq Computer Corporation | System for automatic synchronization of common file between portable computer and host computer via communication channel selected from a plurality of usable channels therebetween |
TW200413923A (en) * | 2003-01-17 | 2004-08-01 | Yu-De Wu | Method of remote redundancy |
US7403769B2 (en) * | 2004-03-23 | 2008-07-22 | Nokia Corporation | System and method for music synchronization in a mobile device |
Also Published As
Publication number | Publication date |
---|---|
TW201025042A (en) | 2010-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7990809B2 (en) | Music data transfer method, information processing apparatus and information recording/playback system | |
US7680849B2 (en) | Multiple media type synchronization between host computer and media device | |
AU2007300022B2 (en) | Host configured for interoperation with coupled portable media player device | |
EP1800465B1 (en) | Methods and systems for managing images | |
US7523869B2 (en) | Portable electronic device memory availability | |
US20130036135A1 (en) | Cloud data storage | |
JP2009530702A (en) | Data storage management method and device | |
EA024302B1 (en) | Method and apparatus for wireless digital content management | |
US8255545B1 (en) | Dual-phase content synchronization | |
US20090292838A1 (en) | Simplified data transfer using intermediary | |
WO2014194591A1 (en) | Setting method for display mode and configuration system for display mode | |
JP5110541B2 (en) | Content selection system, providing device, transfer device, content selection method, and content selection program | |
US20090313263A1 (en) | Multi-Media Server | |
TWI475408B (en) | Method and system for file synchronization, a computer program product using the method, and a recording medium thereof | |
EP2423832B1 (en) | System and method for providing virtualized file system management for a memory card in a digital environment | |
JP6020586B2 (en) | Information terminal device, storage service use method, and storage service use program | |
US20090292826A1 (en) | Active port selection and data storage or transfer queueing | |
US20110173240A1 (en) | Media collection management | |
JP4072345B2 (en) | File recording control device, file management system, file management method, recording medium, and program | |
CN101770465A (en) | Document synchronizing method and system thereof | |
JP5994373B2 (en) | Cooperation program and information processing apparatus | |
JP6375839B2 (en) | Terminal device, information processing system, information transmission method, and program | |
JP5421094B2 (en) | Movie creation system and movie creation method | |
KR20090048795A (en) | File transmission system and file management method thereof | |
US20090287748A1 (en) | Simplified data transfer using segmented memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |