TWI489281B - A storage device with automatic backup and synchronization - Google Patents

A storage device with automatic backup and synchronization Download PDF

Info

Publication number
TWI489281B
TWI489281B TW100112311A TW100112311A TWI489281B TW I489281 B TWI489281 B TW I489281B TW 100112311 A TW100112311 A TW 100112311A TW 100112311 A TW100112311 A TW 100112311A TW I489281 B TWI489281 B TW I489281B
Authority
TW
Taiwan
Prior art keywords
synchronization
program
computer
automatic backup
version
Prior art date
Application number
TW100112311A
Other languages
Chinese (zh)
Other versions
TW201241628A (en
Inventor
Pei Hu Lin
I Horng Jeng
Original Assignee
Farstone Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Farstone Technology Inc filed Critical Farstone Technology Inc
Priority to TW100112311A priority Critical patent/TWI489281B/en
Publication of TW201241628A publication Critical patent/TW201241628A/en
Application granted granted Critical
Publication of TWI489281B publication Critical patent/TWI489281B/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

具有自動備份暨同步功能的儲存設備Storage device with automatic backup and synchronization

本發明與備份暨檔案同步技術有關,尤其涉及一種具有自動備份暨同步功能的儲存設備。The invention relates to a backup and file synchronization technology, in particular to a storage device with automatic backup and synchronization functions.

目前,關於諸如USB快閃記憶裝置、USB硬碟盒等可攜式儲存設備已相當普遍,且其儲存空間也隨著科技的進步而愈來愈大,一些加值於可攜式儲存設備的額外功能也陸續被開發出來,諸如:美國US 6754725號專利案揭露一種可以自動安裝驅動程式於一電腦的USB儲存裝置。At present, portable storage devices such as USB flash memory devices and USB hard disk cartridges are quite common, and their storage space is increasing with the advancement of technology, and some are added to portable storage devices. Additional features have also been developed, such as: US Patent No. 6,754,725 discloses a USB storage device that can automatically install a driver on a computer.

台灣I 278747號專利案揭露一種具有一程式儲存單元及一資料儲存單元的USB可攜式設備。該程式儲存單元係為一非揮發性記憶體(如快閃式記憶體、電子抹除式記憶體),其儲存有供可攜式設備連接於一電腦時執行安裝所需的相關程式,即自動執行程式、驅動程式、備份程式及資料保護程式。該資料儲存單元係一外接式硬碟(External hard disk)供儲存資料。其中,當該USB可攜式被連接到該電腦時,該電腦即開始依序執行前述程式,當該備份程式被執行時,該電腦中特定的檔案目錄中的資料會被自動備份至該資料儲存單元。Taiwan Patent No. 278747 discloses a USB portable device having a program storage unit and a data storage unit. The program storage unit is a non-volatile memory (such as a flash memory or an electronic erase memory) that stores related programs required for the portable device to be connected to a computer, that is, Automatic execution of programs, drivers, backup programs and data protection programs. The data storage unit is an external hard disk for storing data. Wherein, when the USB portable device is connected to the computer, the computer starts to execute the foregoing program in sequence, and when the backup program is executed, the data in the specific file directory of the computer is automatically backed up to the data. Storage unit.

台灣M380536號專利案揭露一種自動備份與還原的USB記憶體裝置(USB memory device),其內部具有一快閃記憶體,該快閃記憶體中有供自動執行程式的光碟機(Auto Run CD-ROM)之第一部份及供可存放資料的可卸除式磁碟(remove disks)之第一部份。當該自動備份與還原的USB記憶體裝置與一個人電腦(PC)或一筆記型電腦(NB)的USB port連接之後,該供自動執行程式的光碟機之第一部份就會立即執行本身所攜帶之應用程式,並將該電腦中的重要文件資料備份到該第一部份,或者是將第一部份中先前所備份的資料還原到原先位置。該專利案還提及一自動備份與還原的程式,若使用者選擇備份功能,即依照參數規定搜尋要備份的檔案位置,並將要備份的檔案複製到指定位置。若使用者選擇還原功能,則讀取要還原檔案的原先位置,並還原檔案到指定位置。The Taiwanese M380536 patent discloses a USB memory device for automatic backup and restoration, which has a flash memory inside, and the flash memory has an optical drive for automatically executing the program (Auto Run CD- The first part of the ROM) and the first part of the removable disks for storing data. When the automatic backup and restore USB memory device is connected to a USB port of a personal computer (PC) or a notebook computer (NB), the first part of the CD player for automatically executing the program will immediately execute its own Carry the application and back up the important files in the computer to the first part, or restore the previously backed up data in the first part to the original location. The patent also mentions an automatic backup and restore program. If the user selects the backup function, the file location to be backed up is searched according to the parameter specification, and the file to be backed up is copied to the specified location. If the user selects the restore function, it reads the original location of the file to be restored and restores the file to the specified location.

雖然該M380536號專利案中的USB記憶體裝置已具備自動備份暨還原檔案的功能,然而,該專利案沒有提供自動更新版本的功能來更新其中的自動備份與還原程式。而上述其它各專利案中也同樣欠缺將檔案同步更新及程式自動更新版本的功能,使其其中的程式無法作更新。Although the USB memory device in the M380536 patent has the function of automatically backing up and restoring files, the patent does not provide an automatic update version to update the automatic backup and restore program. The other patents mentioned above also lack the function of synchronously updating the files and automatically updating the programs, so that the programs cannot be updated.

本發明係提供一種具有自動備份暨同步功能的儲存設備,其包括一殼、一硬碟及一自動備份暨同步程式。該殼有供連接一電腦的一連接器。該硬碟設於殼內,且電連接至該連接器,該硬碟具有一唯讀儲存空間及一可存取空間。該自動備份暨同步程式係儲存於該硬碟的唯讀儲存空間。當該連接器連接該電腦之後,該自動備份暨同步程式可被該電腦執行。該自動備份暨同步程式包括一同步模組,用以於該硬碟的可存取空間內建立一同步資料夾,並將該電腦中的同步檔案備份到該同步資料夾,或是將該同步資料夾中的同步檔案還原到該電腦中。The invention provides a storage device with automatic backup and synchronization function, which comprises a shell, a hard disk and an automatic backup and synchronization program. The housing has a connector for connecting to a computer. The hard disk is disposed in the casing and electrically connected to the connector, the hard disk having a read-only storage space and an accessible space. The automatic backup and synchronization program is stored in the read-only storage space of the hard disk. When the connector is connected to the computer, the automatic backup and synchronization program can be executed by the computer. The automatic backup and synchronization program includes a synchronization module for creating a synchronization folder in the accessible space of the hard disk, and backing up the synchronization file in the computer to the synchronization folder, or the synchronization The sync file in the folder is restored to this computer.

較佳地,該自動備份暨同步程式還包括一判斷模組,用以判斷該電腦的同步檔案及該同步資料夾中的同步檔案何者為新。若判斷該電腦的同步檔案較該同步資料夾中的同步檔案為新,將該電腦的新同步檔案備份至該同步資料夾中,並覆蓋掉該同步資料夾的舊同步檔案。若判斷該同步資料夾的同步檔案較該電腦的同步檔案為新,將該同步資料夾的新同步檔案備份至該電腦中,並覆蓋掉該電腦的舊同步檔案。Preferably, the automatic backup and synchronization program further includes a determination module for determining whether the synchronization file of the computer and the synchronization file in the synchronization folder are new. If it is determined that the synchronization file of the computer is newer than the synchronization file in the synchronization folder, the new synchronization file of the computer is backed up to the synchronization folder, and the old synchronization file of the synchronization folder is overwritten. If it is determined that the synchronization file of the synchronization folder is newer than the synchronization file of the computer, the new synchronization file of the synchronization folder is backed up to the computer, and the old synchronization file of the computer is overwritten.

較佳地,該自動備份暨同步程式還包括一備份模組及一還原模組。該備份模組用以根據該電腦的名稱於該硬碟的可存取空間內建立對應該電腦名稱的一備份資料夾,並將該電腦中的檔案備份到該備份資料夾。該還原模組用以將該備份資料夾中的檔案還原到該電腦中。Preferably, the automatic backup and synchronization program further includes a backup module and a restoration module. The backup module is configured to create a backup folder corresponding to the computer name in the accessible space of the hard disk according to the name of the computer, and back up the file in the computer to the backup folder. The restore module is used to restore the files in the backup folder to the computer.

較佳地,該自動備份暨同步程式還包括一更新模組,用以將一網路位置上的自動備份暨同步程式更新到該硬碟。Preferably, the automatic backup and synchronization program further includes an update module for updating an automatic backup and synchronization program on a network location to the hard disk.

本發明之儲存設備可以提供一使用者將個人的手機、電腦及筆記型電腦等電腦裝置內的檔案備份於該儲存設備內,並能讓使用者透過備份資料夾名稱就能辨別所屬之電腦裝置,更能將其中的或其他的檔案選定為同步檔案,可供每一電腦裝置選取與修改,以方便使用者使用。此外,該儲存設備的自動備份暨同步程式能透過網路進行更新並將更新的程式不會取代原有的自動備份暨同步程式,所以,即便更新時發生錯誤,也不會造成該儲存設備無該自動備份暨同步程式可用的窘境。The storage device of the present invention can provide a user to back up files in a personal computer device such as a mobile phone, a computer and a notebook computer to the storage device, and enable the user to identify the computer device to which the folder belongs by using the backup folder name. It is better to select one or the other files as a synchronized file, which can be selected and modified by each computer device for the convenience of the user. In addition, the automatic backup and synchronization program of the storage device can be updated through the network and the updated program will not replace the original automatic backup and synchronization program, so even if an error occurs during the update, the storage device will not be caused. The environment for this automatic backup and synchronization program is available.

更多的發明內容及其作用,將揭露於隨後的說明。Further invention and its effects will be disclosed in the following description.

第一圖顯示的方塊圖係用於表示本發明之具有自動備份暨同步功能的儲存設備1的一較佳實施例,該儲存設備1包括一殼10、一硬碟11、及一自動備份暨同步程式12。The block diagram shown in the first figure is used to indicate a preferred embodiment of the storage device 1 having the automatic backup and synchronization function of the present invention. The storage device 1 includes a casing 10, a hard disk 11, and an automatic backup cum. Synchronize program 12.

該殼10具有一連接器101供連接一電腦2。該連接器10係為支援USB傳輸規格的連接器,也可選用其它規格的連接器。The case 10 has a connector 101 for connecting to a computer 2. The connector 10 is a connector that supports USB transmission specifications, and other connectors are also available.

該硬碟11設於該殼10內,且電性連接至該連接器101。該硬碟11具有一唯讀儲存空間110及一可存取空間111,該唯讀儲存空間110可被該電腦2識別為一虛擬裝置,例如一虛擬光碟機或一外接USB硬碟,該可存取空間111可被該電腦2識別為一外接儲存裝置。The hard disk 11 is disposed in the casing 10 and electrically connected to the connector 101. The hard disk 11 has a read-only storage space 110 and an accessible space 111. The read-only storage space 110 can be recognized by the computer 2 as a virtual device, such as a virtual disk drive or an external USB hard disk. The access space 111 can be recognized by the computer 2 as an external storage device.

該自動備份暨同步程式12係儲存於該硬碟11的唯讀儲存空間110。當該連接器101連接該電腦2之後,該自動備份暨同步程式12可被該電腦2執行,執行方式可選用由該電腦2自動執行之方式(auto run),或是由使用者手動點擊該自動備份暨同步程式12來啟動及執行之。該自動備份暨同步程式12包括一同步模組。該同步模組用以於該硬碟11的可存取空間111內建立一同步資料夾114,並將該電腦2中的同步檔案備份到該同步資料夾114,或是將該同步資料夾114中的同步檔案還原到該電腦2中,以使該電腦2或該同步資料夾114中的同步資料一致。The automatic backup and synchronization program 12 is stored in the read-only storage space 110 of the hard disk 11. After the connector 101 is connected to the computer 2, the automatic backup and synchronization program 12 can be executed by the computer 2, and the execution mode can be automatically performed by the computer 2, or manually clicked by the user. The automatic backup and synchronization program 12 is launched and executed. The automatic backup and synchronization program 12 includes a synchronization module. The synchronization module is configured to establish a synchronization folder 114 in the accessible space 111 of the hard disk 11 and back up the synchronization file in the computer 2 to the synchronization folder 114, or to the synchronization folder 114. The synchronized file in the file is restored to the computer 2 so that the synchronized data in the computer 2 or the sync folder 114 is consistent.

該自動備份暨同步程式12包括一判斷模組,用以判斷該電腦2的同步檔案及該同步資料夾114中的同步檔案何者為新?若判斷該電腦2的同步檔案較該同步資料夾114中的同步檔案為新,將該電腦2的新同步檔案備份至該同步資料夾114中,並覆蓋掉該同步資料夾114的舊同步檔案;反之,若判斷該同步資料夾114的同步檔案較該電腦2的同步檔案為新,將該同步資料夾114的新同步檔案備份至該電腦2中,並覆蓋掉該電腦2的舊同步檔案,如此,無論該電腦2或該同步資料夾114中的同步檔案僅保留最新的同步檔案,且不會因為舊資料而占用該硬碟11的可存取空間111。The automatic backup and synchronization program 12 includes a determination module for determining whether the synchronization file of the computer 2 and the synchronization file in the synchronization folder 114 are new. If it is determined that the synchronization file of the computer 2 is newer than the synchronization file in the synchronization folder 114, the new synchronization file of the computer 2 is backed up to the synchronization folder 114, and the old synchronization file of the synchronization folder 114 is overwritten. On the other hand, if it is determined that the synchronization file of the synchronization folder 114 is newer than the synchronization file of the computer 2, the new synchronization file of the synchronization folder 114 is backed up to the computer 2, and the old synchronization file of the computer 2 is overwritten. In this way, the synchronized file in the computer 2 or the sync folder 114 only retains the latest sync file, and does not occupy the accessible space 111 of the hard disk 11 because of the old data.

該自動備份暨同步程式12還包括一同步提醒模組,用以於該同步資料夾114的同步檔案較該電腦2的同步檔案為新時,產生一同步提醒訊息,以供確認是否將該同步資料夾114的同步檔案備份至該電腦2中,並覆蓋掉該電腦2的舊同步檔案。該同步提醒訊息可以是一文字訊息於該電腦上顯示或一聲音訊息等。The automatic backup and synchronization program 12 further includes a synchronization reminder module for generating a synchronization reminder message when the synchronization file of the synchronization folder 114 is newer than the synchronization file of the computer 2, for confirming whether the synchronization is to be performed. The synchronized file of the folder 114 is backed up to the computer 2, and the old sync file of the computer 2 is overwritten. The synchronization reminder message can be a text message displayed on the computer or a voice message.

該同步程式還包括一同步記錄模組,用以記錄該同步檔案在該電腦2中的位置及該電腦2的名稱,以供該判斷模組運用。如此,該儲存設備1就能提供多台電腦(例如:個人電腦、筆記型電腦、個人數位助理(PDA)、智慧型手機及平板電腦等)進行檔案同步服務。更詳而言之,當有新電腦與該儲存設備1的連接器101連接時,使用者即可透過該自動備份暨同步程式12的同步記錄模組選擇將該新電腦加入上述的同步服務中,如此,該同步資料夾114內的同步檔案就會被備份至該新電腦中。一旦新電腦或該電腦2有修改過該同步檔案,且與該儲存設備1連接,則該修改後的同步檔案就會被同步至該同步資料夾114中,並發出上述的同步提醒訊息,以提醒是否接受同步更新修改後的該同步檔案。The synchronization program further includes a synchronization recording module for recording the location of the synchronization file in the computer 2 and the name of the computer 2 for use by the determination module. In this way, the storage device 1 can provide multiple computers (for example, personal computers, notebook computers, personal digital assistants (PDAs), smart phones, and tablets) for file synchronization services. More specifically, when a new computer is connected to the connector 101 of the storage device 1, the user can select the new computer to join the synchronization service through the synchronous recording module of the automatic backup and synchronization program 12. In this way, the synchronization file in the synchronization folder 114 is backed up to the new computer. Once the new computer or the computer 2 has modified the synchronization file and is connected to the storage device 1, the modified synchronization file is synchronized to the synchronization folder 114, and the above-mentioned synchronization reminder message is sent to Remind whether to accept the synced update of the sync file.

此外,若該儲存設備1連接於一路由器,這樣與該路由路連接的所有電腦,即可選擇是否加入同步服務中,使得每一電腦均能透過網路同步取得與該同步資料夾114相同的同步檔案,且該同步檔案為最新的。In addition, if the storage device 1 is connected to a router, all computers connected to the routing path can be selected to join the synchronization service, so that each computer can obtain the same synchronization with the synchronization folder 114 through the network synchronization. Synchronize the file and the sync file is up to date.

其中,該同步模組具有一同步選擇單元,該同步選擇單元提供多個同步選項供選取,每一同步選項係用以表示該電腦中2的每一同步檔案,該同步模組僅將那些被選取之同步選項的同步檔案備份到對應的該可存取空間的同步資料夾114中,如此該些電腦2中能分別選取多個同步選項(即多個同步檔案),來達成將檔案分享給其他電腦2的目的。The synchronization module has a synchronization selection unit, and the synchronization selection unit provides a plurality of synchronization options for selection. Each synchronization option is used to represent each synchronization file of the computer 2, and the synchronization module only those The synchronization file of the selected synchronization option is backed up to the corresponding synchronization folder 114 of the accessible space, so that the plurality of synchronization options (ie, multiple synchronization files) can be separately selected in the computer 2 to share the file. The purpose of other computers 2.

此外,該自動備份暨同步程式12還包括一備份模組及一同步模組。該備份模組用以根據該電腦2的名稱於該硬碟11的可存取空間111內建立對應該電腦2的一備份資料夾112,以使該備份資料夾112的名稱與該電腦2的名稱相同,並將該電腦2中的檔案備份到該可存取空間111的備份資料夾112,或是將該可存取空間111的備份資料夾112中的備份檔案還原到該電腦2中,這裡所述的檔案與上述同步檔案可以是相同的,差異在於,該可存取空間111內會存在兩個資料夾(即備份資料夾112與同步資料夾114)。該自動備份暨同步程式12較佳是包括一記錄模組,用以記錄該些檔案在該電腦2中的位置及該電腦2的名稱,以供該還原模組於執行還原處理之運用,其中該記錄模組與上述的同步記錄模組也可以被統合成同一個。如此,該儲存設備1就可以用來對多台電腦提供備份及還原服務,且每一電腦於該硬碟11的可存取空間111中均有與其名稱相同的備份資料夾112,且該備份資料夾112內的檔案結構式與原來電腦的檔案結構式(Native File Structure)相同。又該儲存設備1如上所述還可連接於一路由器,使得與該路由路連接的所有電腦,都可以使用到該儲存設備1所提供的備份暨同步功能,使得每一電腦可將自己的檔案備份到該儲存設備1,及從該儲存設備1中將該屬於自己的備份檔案還原到電腦中。In addition, the automatic backup and synchronization program 12 further includes a backup module and a synchronization module. The backup module is configured to establish a backup folder 112 corresponding to the computer 2 in the accessible space 111 of the hard disk 11 according to the name of the computer 2, so that the name of the backup folder 112 and the computer 2 are The names are the same, and the files in the computer 2 are backed up to the backup folder 112 of the accessible space 111, or the backup files in the backup folder 112 of the accessible space 111 are restored to the computer 2, The file described herein may be the same as the above-described synchronization file, with the difference that there are two folders (i.e., backup folder 112 and synchronization folder 114) in the accessible space 111. The automatic backup and synchronization program 12 preferably includes a recording module for recording the location of the files in the computer 2 and the name of the computer 2 for the restoration module to perform the restoration processing. The recording module and the synchronous recording module described above can also be combined into one. In this way, the storage device 1 can be used to provide backup and restore services to multiple computers, and each computer has a backup folder 112 with the same name in the accessible space 111 of the hard disk 11, and the backup The file structure in the folder 112 is the same as the original file structure of the original computer. In addition, the storage device 1 can also be connected to a router as described above, so that all the computers connected to the routing path can use the backup and synchronization functions provided by the storage device 1, so that each computer can have its own file. Backing up to the storage device 1, and restoring the backup file belonging to itself to the computer from the storage device 1.

此外,該備份模組較佳是具有一選擇單元,該選擇單元提供多個分類選項供選取,每一分類選項係用以表示某一類型檔案。在本實施例中,該些分類選項包括影片類型選項(泛指.3G2、.3PG2、.3GP、.AMC、...等格式的檔案)、文件類型選項(泛指.CDT、.CPT、.DBF、.DOCM、...等格式的檔案)、Email類型選項(泛指.DBX、.EML、.MSG、.OFT、...等格式的檔案)、音樂類型選項、圖片類型選項、桌面資料夾選項、我的文件資料夾選項、我的最愛資料夾選項....等等。該備份模組在進行備份處理時,僅將那些類型是屬於被選取之分類選項的檔案備份到該可存取空間111中。In addition, the backup module preferably has a selection unit that provides a plurality of classification options for selection, and each classification option is used to represent a certain type of file. In this embodiment, the classification options include a movie type option (referred to as a file in .3G2, .3PG2, .3GP, .AMC, ..., etc.), and a file type option (referred to as .CDT, .CPT, .DBF, .DOCM, ... format files), Email type options (referred to as .DBX, .EML, .MSG, .OFT, ... format files), music type options, image type options, Desktop folder options, my file folder options, my favorite folder options....etc. When the backup module performs backup processing, only those files whose types belong to the selected classification option are backed up into the accessible space 111.

較佳地,該自動備份暨同步程式12更包括一更新模組,用以將一網路位置上的新版自動備份暨同步程式3更新到該硬碟,使得該硬碟中的自動備份暨同步程式維持在最新版本。Preferably, the automatic backup and synchronization program 12 further includes an update module for updating a new version of the automatic backup and synchronization program 3 on a network location to the hard disk, so that the automatic backup and synchronization in the hard disk The program is maintained in the latest version.

為避免版本更新失敗而導致該儲存設備1無法使用的問題。該儲存設備1還包括額外的自動備份暨同步程式113儲存於該硬碟的第二空間112,該自動備份暨同步程式113的版本通常比該唯讀儲存空間111中的自動備份暨同步程式12還新,且一開始是從一網路位置下載得到的。而且該更新模組係被配置成用於實現一更新方法。如第二圖所示,該更新方法包括:如S1步驟所示,判斷該可存取空間111中是否有該額外的自動備份暨同步程式113;當判斷結果為「是」時,執行一第一版本判斷程序4,然而,當判斷結果為「否」時,則執行一第二版本判斷程序5。The problem that the storage device 1 cannot be used to avoid the version update failure. The storage device 1 further includes an additional automatic backup and synchronization program 113 stored in the second space 112 of the hard disk. The version of the automatic backup and synchronization program 113 is generally higher than the automatic backup and synchronization program 12 in the read-only storage space 111. It's still new, and it was originally downloaded from a network location. Moreover, the update module is configured to implement an update method. As shown in the second figure, the updating method includes: determining, according to the step S1, whether the additional automatic backup and synchronization program 113 is present in the accessible space 111; when the determination result is "Yes", executing a first A version judgment program 4, however, when the judgment result is "NO", a second version judgment program 5 is executed.

該第一版本判斷程序4包括:如S2步驟所示,判斷該網路位置上的自動備份暨同步程式3的版本是否比該可存取空間111的自動備份暨同步程式113還新;當判斷結果為「是」時,執行一更新程序(或下載程序),用以將該可存取空間111中的自動備份暨同步程式113更新成相同於該網路位置上的自動備份暨同步程式3,並執行該可存取空間111中更新後的自動備份暨同步程式113,這表示目前正在執行最新版的自動備份暨同步程式。The first version determining program 4 includes: determining, according to the step S2, whether the version of the automatic backup and synchronization program 3 on the network location is newer than the automatic backup and synchronization program 113 of the accessible space 111; When the result is "Yes", an update procedure (or download procedure) is executed to update the automatic backup and synchronization program 113 in the accessible space 111 to be the same as the automatic backup and synchronization program on the network location. And executing the updated automatic backup and synchronization program 113 in the accessible space 111, which means that the latest version of the automatic backup and synchronization program is currently being executed.

當判斷結果為「否」時,不執行該更新程序,並繼續執行原本在該可存取空間111的自動備份暨同步程式113,這表示目前正在原本的自動備份暨同步程式。When the judgment result is "No", the update program is not executed, and the automatic backup and synchronization program 113 originally in the accessible space 111 is continued, which indicates that the original automatic backup and synchronization program is currently being executed.

該第二版本判斷程序5包括:判斷該網路位置上的自動備份暨同步程式3的版本是否比該唯讀儲存空間110中的自動備份暨同步程式12還新;當判斷結果為「是」時,執行一下載程序,用以將該網路位置上的自動備份暨同步程式3下載到該可存取空間111並執行之,此時所下載的自動備份暨同步程式3就是上述一開始所說的自動備份暨同步程式113;當判斷結果為「否」時,不執行該下載程序,並繼續執行該唯讀儲存空間110中的自動備份暨同步程式12。The second version determining program 5 includes: determining whether the version of the automatic backup and synchronization program 3 on the network location is newer than the automatic backup and synchronization program 12 in the read-only storage space 110; when the determination result is "Yes" At this time, a downloading program is executed to download and execute the automatic backup and synchronization program 3 on the network location to the accessible space 111, and the downloaded automatic backup and synchronization program 3 is the above-mentioned beginning. The automatic backup and synchronization program 113 is said; when the determination result is "No", the downloading process is not executed, and the automatic backup and synchronization program 12 in the read-only storage space 110 is continued.

上述雖提及自動備份暨同步程式12、3及113,然而這三者其實是指同一支程式,只是版本可能有所不同而已。Although the above mentioned automatic backup and synchronization programs 12, 3 and 113, these three actually refer to the same program, but the version may be different.

從上述說明可知,只要該可存取空間111中存在該自動備份暨同步程式113,就會去使用該自動備份暨同步程式113來進行上述的備份、還原處理,而且在更新版本時,只對該該可存取空間111中的自動備份暨同步程式113進行更新,所以每次執行時都是最新版本的程式。萬一更新失敗,就會使得在該可存取空間111找不到該該自動備份暨同步程式113,此時,就會去執行該唯讀儲存空間110中的自動備份暨同步程式12,用以執行上述的備份、還原處理。如果該自動備份暨同步程式12需要更新就會自動下載新版的該自動備份暨同步程式113於該可存取空間111並執行之。這表示,該唯讀儲存空間110中的自動備份暨同步程式12相當於是備用的程式,它不會在更新時被異動到,使得它一直能夠保持正常運作。如此,即可確保該儲存設備1不會因為更新失敗而導致無法使用。As can be seen from the above description, as long as the automatic backup and synchronization program 113 exists in the accessible space 111, the automatic backup and synchronization program 113 is used to perform the above backup and restore processing, and when updating the version, only The automatic backup and synchronization program 113 in the accessible space 111 is updated, so that the latest version of the program is executed each time. In case the update fails, the automatic backup and synchronization program 113 can not be found in the accessible space 111. At this time, the automatic backup and synchronization program 12 in the read-only storage space 110 is executed. To perform the above backup and restore processing. If the automatic backup and synchronization program 12 needs to be updated, a new version of the automatic backup and synchronization program 113 is automatically downloaded to the accessible space 111 and executed. This means that the automatic backup and synchronization program 12 in the read-only storage space 110 is equivalent to a standby program, which is not changed when updating, so that it can always maintain normal operation. In this way, it can be ensured that the storage device 1 will not be unusable due to the update failure.

上述的更新模組,也可以運用在具有其它類型的程式的儲存設備,特別是可攜式儲存設備,該程式可以是一種用於提供某種特定功能的應用程式。如此,該儲存設備中的該程式就可以如上所述地進行版本更新,而且不用擔心因為更新失敗而導致該該儲存設備無法使用。The above update module can also be applied to a storage device having other types of programs, particularly a portable storage device, which can be an application for providing a specific function. In this way, the program in the storage device can be updated as described above, and there is no need to worry that the storage device cannot be used because of the update failure.

相對於先前技術,本發明之儲存設備不但可以在一連接到電腦時就將檔案備份至儲存設備中,並能在需要時提供還原服務給該電腦,更重要的是,該儲存設備的同步服務,可以提供多台電腦於儲存設備內的同步資料夾中共享檔案,及該儲存設備中的自動備份暨同步程式可一直更新版本來提昇使用效能,而且不用擔心更新失敗會導致該儲存設備不能使用。Compared with the prior art, the storage device of the present invention can not only back up files to a storage device when connected to a computer, but also provide a restore service to the computer when needed, and more importantly, a synchronization service of the storage device. It can provide multiple computers to share files in the synchronization folder in the storage device, and the automatic backup and synchronization program in the storage device can be updated to improve the performance, and there is no need to worry about the failure of the update, the storage device cannot be used. .

無論如何,任何人都可以從上述說明獲得足夠教導,並據而了解本發明內容確實不同於先前技術,且具有產業上之利用性,及足具進步性。是本發明確已符合專利要件,爰依法提出申請。In any event, anyone can obtain sufficient teaching from the above description, and it is understood that the present invention is indeed different from the prior art, and is industrially usable and progressive. It is the invention that has indeed met the patent requirements and has filed an application in accordance with the law.

第一圖,係本發明較佳實施例之一系統方塊圖。The first figure is a block diagram of a system in accordance with a preferred embodiment of the present invention.

第二圖,係本發明較佳實施例之更新模組的運作流程圖。The second figure is a flow chart of the operation of the update module of the preferred embodiment of the present invention.

Claims (10)

一種具有自動備份暨同步功能的儲存設備,包括:一殼,具有一連接器供連接一電腦;一硬碟,設於該殼內,且電性連接至該連接器,其中,該硬碟具有一唯讀儲存空間及一可存取空間;及一自動備份暨同步程式,係儲存於該硬碟的唯讀儲存空間,當該連接器連接該電腦之後,該自動備份暨同步程式可被該電腦執行,該自動備份暨同步程式包括一同步模組及一更新模組,該同步模組用以於該硬碟的可存取空間內建立一同步資料夾,並將該電腦中的同步檔案備份到該同步資料夾,或是將該同步資料夾中的同步檔案還原到該電腦中,該更新模組用於實現一更新方法,該更新方法包括:判斷該可存取空間中是否儲存有一額外的自動備份暨同步程式;當判斷結果為「是」時,執行一第一版本判斷程序;當判斷結果為「否」時,執行一第二版本判斷程序;其中,該第一版本判斷程序包括:判斷一網路位置上的自動備份暨同步程式的版本是否比該可存取空間的自動備份暨同步程式還新;當判斷結果為「是」時,執行一更新程序,用以將該可存取空間中的自動備份暨同步程式更新成相同於該網路位置上的自動備份暨同步程式,並執行該可存取空間中更新 後的自動備份暨同步程式;當判斷結果為「否」時,不執行該更新程序,並繼續執行原本在該可存取空間的自動備份暨同步程式;該第二版本判斷程序包括:判斷該網路位置上的自動備份暨同步程式的版本是否比該唯讀儲存空間中的自動備份暨同步程式還新;當判斷結果為「是」時,執行一下載程序,用以將該網路位置上的自動備份暨同步程式下載到該可存取空間並執行之;當判斷結果為「否」時,不執行該下載程序,並繼續執行該唯讀儲存空間中的自動備份暨同步程式。 A storage device with an automatic backup and synchronization function, comprising: a casing having a connector for connecting to a computer; a hard disk disposed in the casing and electrically connected to the connector, wherein the hard disk has a read-only storage space and an accessible space; and an automatic backup and synchronization program stored in the read-only storage space of the hard disk, the automatic backup and synchronization program can be used when the connector is connected to the computer Computer-implemented, the automatic backup and synchronization program includes a synchronization module and an update module, the synchronization module is configured to establish a synchronization folder in the accessible space of the hard disk, and synchronize files in the computer Backing up to the synchronization folder, or restoring the synchronization file in the synchronization folder to the computer, the update module is used to implement an update method, the update method includes: determining whether there is one stored in the accessible space An additional automatic backup and synchronization program; when the determination result is "Yes", a first version determination program is executed; when the determination result is "No", a second version determination program is executed; The first version determining program includes: determining whether the version of the automatic backup and synchronization program on a network location is newer than the automatic backup and synchronization program of the accessible space; when the determination result is "Yes", executing one An update program for updating the automatic backup and synchronization program in the accessible space to an automatic backup and synchronization program identical to the network location, and performing the update in the accessible space After the automatic backup and synchronization program; when the determination result is "No", the update program is not executed, and the automatic backup and synchronization program originally in the accessible space is continued; the second version determining program includes: determining the Whether the version of the automatic backup and synchronization program on the network location is newer than the automatic backup and synchronization program in the read-only storage space; when the determination result is "Yes", a download procedure is executed to use the network location The automatic backup and synchronization program is downloaded to the accessible space and executed; when the determination result is "No", the downloading process is not executed, and the automatic backup and synchronization program in the read-only storage space is continued. 如申請專利範圍第1項所述的具有自動備份暨同步功能的儲存設備,其中該自動備份暨同步程式還包括:一判斷模組,用以判斷該電腦的同步檔案及該同步資料夾中的同步檔案何者為新,若判斷該電腦的同步檔案較該同步資料夾中的同步檔案為新,將該電腦的新同步檔案備份至該同步資料夾中,並覆蓋掉該同步資料夾的舊同步檔案,若判斷該同步資料夾的同步檔案較該電腦的同步檔案為新,將該同步資料夾的新同步檔案備份至該電腦中,並覆蓋掉該電腦的舊同步檔案。 The storage device with automatic backup and synchronization function according to claim 1, wherein the automatic backup and synchronization program further comprises: a judgment module for determining a synchronization file of the computer and the synchronization folder The synchronization file is new. If it is determined that the synchronization file of the computer is newer than the synchronization file in the synchronization folder, the new synchronization file of the computer is backed up to the synchronization folder, and the old synchronization of the synchronization folder is overwritten. The file, if it is determined that the synchronization file of the synchronization folder is newer than the synchronization file of the computer, the new synchronization file of the synchronization folder is backed up to the computer, and the old synchronization file of the computer is overwritten. 如申請專利範圍第1或2項所述的具有自動備份暨同步功能的儲存設備,其中該自動備份暨同步程式還包括:一同步提醒模組,用以於該同步資料夾的同步檔案較該電腦的同步檔案為新時,產生一同步提醒訊息,以確認是否將該同步資料夾的同步檔案備份至該電腦中,並覆蓋掉該電腦的舊同步檔 案。 The storage device with the automatic backup and synchronization function described in claim 1 or 2, wherein the automatic backup and synchronization program further comprises: a synchronization reminding module, wherein the synchronization file of the synchronization folder is compared When the synchronization file of the computer is new, a synchronization reminder message is generated to confirm whether the synchronization file of the synchronization folder is backed up to the computer, and the old synchronization file of the computer is overwritten. case. 如申請專利範圍第1或2項所述的具有自動備份暨同步功能的儲存設備,其中該自動備份暨同步程式還包括:一同步記錄模組,用以記錄該同步檔案在該電腦中的位置及該電腦的名稱,以供該判斷模組運用。 The storage device with automatic backup and synchronization function according to claim 1 or 2, wherein the automatic backup and synchronization program further comprises: a synchronous recording module for recording the position of the synchronous file in the computer; And the name of the computer for use by the judgment module. 如申請專利範圍第1項所述的具有自動備份暨同步功能的儲存設備,其中該同步模組具有一同步選擇單元,該同步選擇單元提供多個同步選項供選取,每一同步選項係用以表示該電腦中的每一同步檔案,該同步模組僅將那些被選取之同步選項的同步檔案備份到該可存取空間的同步資料夾中。 The storage device with automatic backup and synchronization function according to claim 1, wherein the synchronization module has a synchronization selection unit, and the synchronization selection unit provides a plurality of synchronization options for selection, and each synchronization option is used. Representing each sync file in the computer, the sync module only backs up the sync files of the selected sync options to the sync folder of the accessible space. 如申請專利範圍第1項所述的具有自動備份暨同步功能的儲存設備,其中該自動備份暨同步程式還包括:一備份模組,用以根據該電腦的名稱於該硬碟的可存取空間內建立對應該電腦名稱的一備份資料夾,並將該電腦中的檔案備份到該備份資料夾;及一還原模組,用以將該備份資料夾中的檔案還原到該電腦中。 The storage device with automatic backup and synchronization function according to claim 1, wherein the automatic backup and synchronization program further comprises: a backup module for accessing the hard disk according to the name of the computer; A backup folder corresponding to the computer name is created in the space, and the file in the computer is backed up to the backup folder; and a restore module is used to restore the file in the backup folder to the computer. 如申請專利範圍第6項所述的具有自動備份暨同步功能的儲存設備,其中該自動備份暨同步程式還包括:一記錄模組,用以記錄該些檔案在該電腦中的位置及該電腦的名稱,以供該還原模組運用。 The storage device with automatic backup and synchronization function according to claim 6, wherein the automatic backup and synchronization program further comprises: a recording module for recording the location of the files in the computer and the computer The name is used by the restore module. 如申請專利範圍第6項所述的具有自動備份暨同步功能的儲存設備,其中該備份模組具有一選擇單元,該選擇單元提供多個分類選項供選取,每一分類選項係用以表示某一類型 檔案,該備份模組僅將那些類型是屬於被選取之分類選項的檔案備份到該可存取空間中。 The storage device with the automatic backup and synchronization function described in claim 6 wherein the backup module has a selection unit, the selection unit provides a plurality of classification options for selection, and each classification option is used to indicate a certain One type Archive, the backup module only backs up files whose type belongs to the selected classification option into the accessible space. 一種儲存設備,具有一唯讀儲存空間、一可存取空間及一程式儲存於該唯讀儲存空間,該儲存設備可連接到一電腦,該程式中的一更新模組係可經由該電腦予以執行,該更新模組係用於實現一更新方法,以將該程式的一個較新版本從一網路位置更新到該可存取空間並執行之,該更新方法包括:判斷該可存取空間中是否有該程式的較新版本;當判斷結果為「是」時,執行一第一版本判斷程序;當判斷結果為「否」時,執行一第二版本判斷程序;其中,該第一版本判斷程序包括:判斷該網路位置上的程式的版本是否比該可存取空間的程式的版本還新;當判斷結果為「是」時,執行一更新程序,用以將該可存取空間中的程式更新成相同於該網路位置上的程式,並執行該可存取空間中更新後的程式;當判斷結果為「否」時,不執行該更新程序,並繼續執行原本在該可存取空間的程式;該第二版本判斷程序包括:判斷該網路位置上的程式的版本是否比該唯讀儲存空間中的程式還新;當判斷結果為「是」時,執行一下載程序,用以 將該網路位置上的程式下載到該可存取空間並執行之;當判斷結果為「否」時,不執行該下載程序,並繼續執行該唯讀儲存空間中的程式。 A storage device having a read-only storage space, an accessible space, and a program stored in the read-only storage space, the storage device being connectable to a computer, wherein an update module in the program can be Executing, the update module is configured to implement an update method to update and execute a newer version of the program from a network location to the accessible space, the update method comprising: determining the accessible space Whether there is a newer version of the program; when the judgment result is "Yes", a first version judgment program is executed; when the judgment result is "No", a second version judgment program is executed; wherein the first version The determining program includes: determining whether the version of the program at the network location is newer than the version of the program of the accessible space; when the determination result is “Yes”, performing an update procedure for using the accessible space The program in the program is updated to be the same as the program on the network location, and the updated program in the accessible space is executed; when the judgment result is "No", the update program is not executed, and the execution is continued. The program in the accessible space; the second version determining program includes: determining whether the version of the program at the network location is newer than the program in the read-only storage space; when the determination result is "Yes", Execute a download procedure for Download the program on the network location to the accessible space and execute it; when the judgment result is No, the download program is not executed, and the program in the read-only storage space is continued. 一種更新方法,係透過一儲存設備執行,該儲存設備具有一唯讀儲存空間、一可存取空間及一程式儲存於該唯讀儲存空間,該儲存設備可連接到一電腦,該程式中的一更新模組係可經由該電腦予以執行,該更新模組用於實現該更新方法,以將該程式的一個較新版本從一網路位置更新到該可存取空間並執行之,該更新方法包括:判斷該可存取空間中是否有該程式的較新版本;當判斷結果為「是」時,執行一第一版本判斷程序;當判斷結果為「否」時,執行一第二版本判斷程序;其中,該第一版本判斷程序包括:判斷一網路位置上的程式的版本是否比該可存取空間的程式的版本還新;當判斷結果為「是」時,執行一更新程序,用以將該可存取空間中的程式更新成相同於該網路位置上的程式,並執行該可存取空間中更新後的程式;當判斷結果為「否」時,不執行該更新程序,並繼續執行原本在該可存取空間的程式;該第二版本判斷程序包括:判斷該網路位置上的程式的版本是否比該唯讀 儲存空間中的程式還新;當判斷結果為「是」時,執行一下載程序,用以將該網路位置上的程式下載到該可存取空間並執行之;當判斷結果為「否」時,不執行該下載程序,並繼續執行該唯讀儲存空間中的程式。An update method is performed by a storage device having a read-only storage space, an accessible space, and a program stored in the read-only storage space, the storage device being connectable to a computer, in the program An update module is executable by the computer, the update module for implementing the update method to update a newer version of the program from a network location to the accessible space and execute the update The method includes: determining whether there is a newer version of the program in the accessible space; when the determination result is “Yes”, executing a first version determining program; when the determining result is “No”, executing a second version a determining program; wherein the first version determining program comprises: determining whether a version of the program at a network location is newer than a version of the program of the accessible space; and when the determination result is "Yes", performing an update procedure For updating the program in the accessible space to a program identical to the network location and executing the updated program in the accessible space; when the determination result is "No" The update is not executed, and the program continues in the original space is accessible; the second version of the judgment program comprising: determining the version of the program on the web than the position is read-only The program in the storage space is new; when the judgment result is "Yes", a downloading program is executed to download the program at the network location to the accessible space and execute it; when the judgment result is "No" When the download process is not executed, the program in the read-only storage space is continued.
TW100112311A 2011-04-08 2011-04-08 A storage device with automatic backup and synchronization TWI489281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100112311A TWI489281B (en) 2011-04-08 2011-04-08 A storage device with automatic backup and synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100112311A TWI489281B (en) 2011-04-08 2011-04-08 A storage device with automatic backup and synchronization

Publications (2)

Publication Number Publication Date
TW201241628A TW201241628A (en) 2012-10-16
TWI489281B true TWI489281B (en) 2015-06-21

Family

ID=47600124

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100112311A TWI489281B (en) 2011-04-08 2011-04-08 A storage device with automatic backup and synchronization

Country Status (1)

Country Link
TW (1) TWI489281B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201421347A (en) * 2012-11-21 2014-06-01 Sheng-Yuan Shi Application software access recording system of portable electronic device and operating device thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754725B1 (en) * 2001-05-07 2004-06-22 Cypress Semiconductor Corp. USB peripheral containing its own device driver
TWI240168B (en) * 2003-06-06 2005-09-21 Mitac Int Corp Method for auto backup
TWI278747B (en) * 2005-03-29 2007-04-11 Synology Inc Portable facility and its automatic backup method
US7275050B2 (en) * 2001-05-25 2007-09-25 Hitachi, Ltd. Storage system, a method of file data backup and method of copying of file data
US7337289B2 (en) * 2001-03-30 2008-02-26 Emc Corporation Method and apparatus for computing file storage elements for backup and restore
TWI295437B (en) * 2005-07-11 2008-04-01 Asustek Comp Inc Electric device with an automatic backup function
TWM358391U (en) * 2008-11-20 2009-06-01 cheng-jun Zhang Portable data storage device capable of starting up the data backup function
TWI313821B (en) * 2006-02-24 2009-08-21 Mitac Int Corp
TW201020820A (en) * 2008-11-24 2010-06-01 Acer Inc System and method for data synchronization

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337289B2 (en) * 2001-03-30 2008-02-26 Emc Corporation Method and apparatus for computing file storage elements for backup and restore
US6754725B1 (en) * 2001-05-07 2004-06-22 Cypress Semiconductor Corp. USB peripheral containing its own device driver
US7275050B2 (en) * 2001-05-25 2007-09-25 Hitachi, Ltd. Storage system, a method of file data backup and method of copying of file data
TWI240168B (en) * 2003-06-06 2005-09-21 Mitac Int Corp Method for auto backup
TWI278747B (en) * 2005-03-29 2007-04-11 Synology Inc Portable facility and its automatic backup method
TWI295437B (en) * 2005-07-11 2008-04-01 Asustek Comp Inc Electric device with an automatic backup function
TWI313821B (en) * 2006-02-24 2009-08-21 Mitac Int Corp
TWM358391U (en) * 2008-11-20 2009-06-01 cheng-jun Zhang Portable data storage device capable of starting up the data backup function
TW201020820A (en) * 2008-11-24 2010-06-01 Acer Inc System and method for data synchronization

Also Published As

Publication number Publication date
TW201241628A (en) 2012-10-16

Similar Documents

Publication Publication Date Title
US10242045B2 (en) Filtering content using synchronization data
US8065691B2 (en) User customized portable desktop
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
TW201415365A (en) Method for updating operating system and handheld electronic apparatus
US20080034019A1 (en) System for multi-device electronic backup
US9384098B1 (en) Portable data archiving device
EP3025255A1 (en) Virtual synchronization with on-demand data delivery
BR112013031065B1 (en) method for restoring from multiple sources
JP2014526748A (en) Efficient data recovery
US9208034B2 (en) Determining security holes of a backup image
JP2011165032A (en) Computer program and data backup method
JP2010079440A (en) Device and method for updating firmware
US20100106685A1 (en) Method and system for data synchronization
KR20140121166A (en) Terminal and method providing application-related data
US20130198137A1 (en) Data backup and restoral apparatus, system, and methods
US9619340B1 (en) Disaster recovery on dissimilar hardware
JP5416834B2 (en) Capture and load operating system state
TWI489281B (en) A storage device with automatic backup and synchronization
US20080263532A1 (en) Data updating method and electric device using the same
US20130185260A1 (en) Data backup and restoral apparatus, system, and methods
US9753933B2 (en) Electronic device and method for mounting file system using virtual block device
TW201344574A (en) System and method for processing abnormity of downloading files stored in multiple nodes
KR100792786B1 (en) Method for os restoring of computer using backup image file
JP2008217202A (en) Disk array device and firmware update method
JP5974620B2 (en) Backup method, program, and backup device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees