TW201810089A - System and method for segment backup - Google Patents

System and method for segment backup Download PDF

Info

Publication number
TW201810089A
TW201810089A TW105116341A TW105116341A TW201810089A TW 201810089 A TW201810089 A TW 201810089A TW 105116341 A TW105116341 A TW 105116341A TW 105116341 A TW105116341 A TW 105116341A TW 201810089 A TW201810089 A TW 201810089A
Authority
TW
Taiwan
Prior art keywords
wake
backup
mode
module
electronic device
Prior art date
Application number
TW105116341A
Other languages
Chinese (zh)
Other versions
TWI588670B (en
Inventor
黃文昌
黃毓道
Original Assignee
精品科技股份有限公司
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 精品科技股份有限公司 filed Critical 精品科技股份有限公司
Priority to TW105116341A priority Critical patent/TWI588670B/en
Priority to CN201610520874.9A priority patent/CN107436824B/en
Application granted granted Critical
Publication of TWI588670B publication Critical patent/TWI588670B/en
Publication of TW201810089A publication Critical patent/TW201810089A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Power Sources (AREA)

Abstract

The present invention provides a method for segment backup. The method includes: a segmenting step, a backup step, a compressing step and an encrypting step. Files of a computer are divided by the segmenting step to form plurality of data, then copied and backup by the backup step. Plurality of data are compressed and encrypted by the compressing step and the encrypting step to form an encrypted file.

Description

分段備份之系統及其方法 System and method for segmented backup

本發明係關於一種備份系統及其方法,特別係關於分段備份之系統及其方法。 The invention relates to a backup system and a method thereof, and more particularly to a system and a method for segmented backup.

網路科技日新月異,電腦周邊裝置不勝枚舉,無疑地,大幅改變生活型態,增加生活便利性,提高工作效率。以企業而言,多仰賴電子設備以完成電子資料,並將電子資料儲存於內部伺服器或特定電腦,利於高階主管掌控工作進度,更重要地,避免機密文件外流。 With the rapid development of Internet technology, the number of peripheral devices is endless. There is no doubt that it has drastically changed the lifestyle, increased the convenience of life, and improved work efficiency. For enterprises, relying on electronic equipment to complete electronic data and storing the electronic data on internal servers or specific computers helps senior executives to control the progress of work and, more importantly, to prevent the leakage of confidential documents.

然而,駭客或不肖人士無所不在,防不勝防,專盜取電子資料,舉例而言,「勒索軟體」乃現有猖獗之病毒軟體,除了盜取電子資料,亦向用戶端索取解密費用,導致企業財產和名聲遭受損害。 However, hackers or unscrupulous people are ubiquitous, and they are extremely vulnerable to stealing electronic data. For example, "ransomware" is existing rampant virus software. In addition to stealing electronic data, it also asks the client for decryption fees, which results in corporate property and Damaged reputation.

大多企業利用「遠端備份」相關軟體以達備份、監控及同步之目的。習知備份技術,須定期或不定期地藉助人為操控,自伺服端透過網路,傳送魔法封包(Magic Packet)至複數個指定電腦,而電腦接收來自伺服端之封包後,開始執行備份,經備份完畢後之資料,得儲存於原始電腦中,抑或是透過網路傳送至伺服端,然而,其缺點在於:提高人事成本、備份完畢後之資料為非密文、區域網路可能限制檔案大小等諸多因素。 Most companies use "remote backup" related software for backup, monitoring and synchronization purposes. Knowing the backup technology, it is necessary to use manual control on a regular or irregular basis. From the server through the network, send Magic Packets to a number of designated computers. After receiving the packets from the server, the computer starts the backup. The data after backup can be stored in the original computer or transmitted to the server through the network. However, the disadvantages are: the personnel cost is increased, the data after backup is non-ciphertext, and the local network may limit the file size And many other factors.

綜上所陳,為改善習知技術之缺失,本發明提出一種分段備份之系統及其方法,指定電腦依內部排程指令進行喚醒備份,省略習知遠端備份之人為操控。 To sum up, in order to improve the lack of conventional technology, the present invention proposes a system and method for segmented backup. The computer is designated to perform wake-up backup according to internal scheduling instructions, and the manual control of conventional remote backup is omitted.

有鑑於上述習知技術之缺點,本發明之主要目的在於提供一種分段備份之方法,運用於一電子裝置,至少包含下列步驟:執行一喚醒步驟,一喚醒模組喚醒該電子裝置;執行一分段步驟,該電子裝置之檔案資料予以分段化為複數個片段;執行一備份步驟,分別複製複數個片段;執行一壓縮加密步 驟,將該複數個片段壓縮加密為複數個密文片段。 In view of the shortcomings of the above-mentioned conventional technologies, the main object of the present invention is to provide a segmented backup method for an electronic device, which at least includes the following steps: performing a wake-up step, a wake-up module to wake up the electronic device; Segmentation step, the file data of the electronic device is segmented into a plurality of segments; a backup step is performed to copy the plurality of segments respectively; a compression and encryption step is performed In step, the plurality of fragments are compressed and encrypted into a plurality of ciphertext fragments.

為達上述之目的,更包含下列步驟:執行一偵測步驟,以偵測該電子裝置之初始狀態,對應至一設定模組之一開啟條件;執行一喚醒步驟,一喚醒模組喚醒該電子裝置;執行一整合步驟整合該複數個密文片段為一密文資料;執行一終止步驟,該設定模組之一終止條件終止該喚醒步驟。該分段步驟包含該電子裝置之檔案資料予以分段化為複數個片段,其以64K位元為一單位。該喚醒步驟包含:一近端喚醒模式及一遠端喚醒模式,其中該遠端喚醒模式包含一第一喚醒模式、一第二喚醒模式及一第三喚醒模式。該備份步驟包含一完全備份模式、一差異備份模式以及一增量備份模式。 In order to achieve the above purpose, the method further includes the following steps: performing a detection step to detect an initial state of the electronic device, corresponding to an open condition of a setting module; performing a wake-up step, and a wake-up module to wake up the electronic Device; performing an integration step to integrate the plurality of ciphertext segments into ciphertext data; performing a termination step, and a termination condition of the setting module to terminate the wake-up step. The segmentation step includes segmenting the file data of the electronic device into a plurality of segments, which takes 64K bits as a unit. The wake-up step includes a near-end wake-up mode and a remote wake-up mode, wherein the remote wake-up mode includes a first wake-up mode, a second wake-up mode, and a third wake-up mode. The backup step includes a full backup mode, a differential backup mode, and an incremental backup mode.

本發明之另一目的係提供一種分段備份系統,運用於任一電子裝置,該系統包含一喚醒模組、一分段模組、一備份模組、一壓縮模組及一加密模組。該喚醒模組用以喚醒該電子裝置之運作。該分段模組以將該電子裝置之檔案資料予以分段化為複數個片段。該備份模組分別複製複數個片段。該壓縮/加密模組用以加密及壓縮該複數個片段,為複數個密文片段。 Another object of the present invention is to provide a segmented backup system for any electronic device. The system includes a wake-up module, a segmented module, a backup module, a compression module, and an encryption module. The wake-up module is used to wake up the operation of the electronic device. The segmentation module segments the file data of the electronic device into a plurality of segments. The backup module copies a plurality of segments, respectively. The compression / encryption module is used for encrypting and compressing the plurality of fragments, which are a plurality of ciphertext fragments.

為達上述之另一目的,該系統更包含一設定模組及一偵測模組。 該設定模組包含複數個開啟條件和終止條件,該偵測模組以偵測該電子裝置之初始狀態。該喚醒模組包含一近端喚醒模式及一遠端喚醒模式,其中該遠端喚醒模式包含一第一喚醒模式、一第二喚醒模式及一第三喚醒模式。該備份模組包含一完全備份模式、一差異備份模式以及一增量備份模式。 To achieve the above-mentioned another purpose, the system further includes a setting module and a detection module. The setting module includes a plurality of open conditions and termination conditions, and the detection module detects an initial state of the electronic device. The wake-up module includes a near-end wake-up mode and a remote wake-up mode, wherein the remote wake-up mode includes a first wake-up mode, a second wake-up mode, and a third wake-up mode. The backup module includes a full backup mode, a differential backup mode, and an incremental backup mode.

100‧‧‧系統 100‧‧‧ system

102‧‧‧設定模組 102‧‧‧setting module

1022‧‧‧啟動條件 1022‧‧‧Starting conditions

1024‧‧‧終止條件 1024‧‧‧ Termination Conditions

104‧‧‧喚醒模組 104‧‧‧ wake up module

1042‧‧‧近端模組 1042‧‧‧Near-end module

1044‧‧‧遠端模組 1044‧‧‧Remote module

106‧‧‧備份模組 106‧‧‧Backup Module

108‧‧‧壓縮模組 108‧‧‧ Compression Module

110‧‧‧加密模組 110‧‧‧Encryption Module

112‧‧‧處理單元 112‧‧‧Processing unit

114‧‧‧記憶單元 114‧‧‧Memory unit

1044a‧‧‧第一喚醒模式 1044a‧‧‧First wakeup mode

1044b‧‧‧第二喚醒模式 1044b‧‧‧Second wake-up mode

1044c‧‧‧第三喚醒模式 1044c‧‧‧Third wake-up mode

1062‧‧‧完全備份模式 1062‧‧‧Full backup mode

1064‧‧‧差異備份模式 1064‧‧‧ Differential backup mode

1066‧‧‧增量備份模式 1066‧‧‧Incremental backup mode

1068‧‧‧每日備份模式 1068‧‧‧Daily backup mode

1069‧‧‧標準備份模式 1069‧‧‧Standard backup mode

300‧‧‧方法 300‧‧‧ Method

302‧‧‧步驟 302‧‧‧step

304‧‧‧步驟 304‧‧‧step

306‧‧‧步驟 306‧‧‧step

308‧‧‧步驟 308‧‧‧step

310‧‧‧步驟 310‧‧‧step

312‧‧‧步驟 312‧‧‧step

307‧‧‧步驟 307‧‧‧step

202‧‧‧分段模組 202‧‧‧ Segmented Module

311‧‧‧步驟 311‧‧‧step

301‧‧‧步驟 301‧‧‧step

103‧‧‧偵測模組 103‧‧‧ Detection Module

第一圖係顯示本發明實施例之系統架構圖。 The first diagram is a system architecture diagram of an embodiment of the present invention.

第二圖係顯示本發明實施例之方塊示意圖。 The second figure is a block diagram showing an embodiment of the present invention.

第三圖係顯示本發明實施例之方塊示意圖。 The third figure is a block diagram showing an embodiment of the present invention.

第四圖係顯示本發明實施例之步驟流程圖。 The fourth figure is a flow chart showing the steps of the embodiment of the present invention.

第五A圖係顯示本發明實施例之步驟流程圖。 FIG. 5A is a flowchart showing steps of an embodiment of the present invention.

第五B圖係顯示本發明實施例之步驟流程圖。 FIG. 5B is a flowchart showing steps of the embodiment of the present invention.

藉由參考下列詳細敘述,將可以更快地瞭解上述觀點以及本發明之優點,並且藉由下面的描述以及附加圖式,更容易了解本發明之精神。 By referring to the following detailed description, the above viewpoints and advantages of the present invention will be understood more quickly, and the spirit of the present invention will be more easily understood by the following description and attached drawings.

本發明將以較佳之實施例及觀點加以詳細敘述。下列描述提供本 發明特定的施行細節,俾使閱者徹底瞭解這些實施例之實行方式。然該領域之熟習技藝者須瞭解本發明亦可在不具備這些細節之條件下實行。此外,文中不會對一些已熟知之結構或功能或是作細節描述,以避免各種實施例間不必要相關描述之混淆,以下描述中使用之術語將以最廣義的合理方式解釋,即使其與本發明某特定實施例之細節描述一起使用。 The present invention will be described in detail with preferred embodiments and viewpoints. The following description provides this Specific implementation details are invented to give readers a thorough understanding of how these embodiments are implemented. However, those skilled in the art must understand that the present invention can also be practiced without these details. In addition, some well-known structures or functions or detailed descriptions will not be described in this article to avoid unnecessary confusion between the various embodiments. The terms used in the following description will be explained in the broadest reasonable manner, even The details of a particular embodiment of the invention are used together.

參閱第一圖,該圖係顯示本發明實施例之系統架構圖,自動排程備份之系統(以下簡稱系統100)包含一設定模組102、偵測模組103、一喚醒模組104、一分段模組202、一備份模組106、一壓縮模組108及一加密模組110。該系統100得由任一計算裝置執行之。以下模組、習知元件及步驟皆由處理單元112以執行。 Refer to the first figure, which is a system architecture diagram showing an embodiment of the present invention. A system for automatically scheduling backup (hereinafter referred to as system 100) includes a setting module 102, a detection module 103, a wake-up module 104, a The segmentation module 202, a backup module 106, a compression module 108, and an encryption module 110. The system 100 must be executed by any computing device. The following modules, conventional components and steps are executed by the processing unit 112.

設定模組102目的在於:供使用者設定開啟及終止電子裝置(未顯示於圖中)運作之條件。於一實施例中,設定模組102包含複數個開啟條件1022,例如:電子裝置處於低功耗狀態(即為睡眠Sleep狀態)、CPU使用率小於一特定值(螢幕保護程式運作中)、電子裝置省電模式等,當電子裝置狀態符合複數個開啟條件1022之任一者,將選定符合之開啟條件1022作為觸發喚醒模組104之指示,以下將詳細描述喚醒模組104之細節。 The purpose of the setting module 102 is for the user to set the conditions for opening and stopping the operation of the electronic device (not shown in the figure). In one embodiment, the setting module 102 includes a plurality of enabling conditions 1022, such as: the electronic device is in a low power consumption state (that is, the Sleep state), the CPU usage is less than a specific value (the screen saver is running), the electronic In the device power saving mode and the like, when the state of the electronic device meets any one of the plurality of enabling conditions 1022, the matching enabling condition 1022 is selected as an instruction for triggering the wake-up module 104. Details of the wake-up module 104 will be described in detail below.

於另一實施例中,設定模組102更包含複數個終止條件1024,例如:使用周邊裝置、CPU使用率大於一特定值、休眠狀態等,當電子裝置狀態符合複數個終止條件1024之任一者,將選定符合之終止條件1024作為停止喚醒之指示。換言之,開啟條件1022及終止條件1024兩者間之目的相反,藉由開啟條件1022以觸發喚醒模組1024,進行後續備份步驟;俟備份畢,由終止條件1024以停止喚醒模組104,並使電子裝置回復原狀。 In another embodiment, the setting module 102 further includes a plurality of termination conditions 1024, such as: using peripheral devices, CPU usage greater than a specific value, hibernation status, etc., when the state of the electronic device meets any one of the plurality of termination conditions 1024 Or, the termination condition 1024 that meets the selection is used as an instruction to stop waking. In other words, the purpose of the open condition 1022 and the termination condition 1024 is opposite. By turning on the condition 1022 to trigger the wake-up module 1024, the subsequent backup steps are performed. 俟 After the backup is completed, the termination condition 1024 is used to stop the wake-up module 104, The electronic device returns to its original state.

於一實施例中,用戶端得於內嵌該系統100之電子裝置上,設定開啟條件1022和終止條件1024;於另一實施例中,用戶端得透過遠端主機伺服器,設定內嵌該系統100之電子裝置之開啟條件1022和終止條件1024,但並不以此為限。 In one embodiment, the client can set the open condition 1022 and the termination condition 1024 on the electronic device embedded with the system 100. In another embodiment, the client can set the embedded condition through the remote host server. The opening condition 1022 and the ending condition 1024 of the electronic device of the system 100 are not limited thereto.

於一實施例中,偵測模組103耦接於設定模組102和喚醒模組104,偵測模組103定期偵測電子裝置之電源狀態,倘若所偵測到之狀態符合開啟條件1022之其中一者,將選定其開啟條件1022作為後續操作指令;相反地,倘若所偵測到之狀態符合終止條件1024之其中一者,將選定其終止條件1024 作為後續操作指令。 In one embodiment, the detection module 103 is coupled to the setting module 102 and the wake-up module 104. The detection module 103 periodically detects the power state of the electronic device. If the detected state meets the opening condition 1022, One of them will select its open condition 1022 as a subsequent operation instruction; on the contrary, if the detected state meets one of the termination conditions 1024, its termination condition 1024 will be selected As a subsequent operation instruction.

自複數個開啟條件1022中選定一者,作為觸發喚醒模組104之指示,喚醒模組104之目的在於:透過喚醒模組104,啟動電子裝置之運作,利於自動備份。於一實施例中,喚醒模組104包含近端喚醒1042及遠端喚醒1044,如第二圖所示,所述近端喚醒1042意旨藉由周邊裝置(如滑鼠或鍵盤等)以達喚醒目的,所述遠端喚醒1044乃係遠端系統管理員傳送Magic封包,經網路傳送至電子裝置,使電子裝置正常運作。 One of the plurality of opening conditions 1022 is selected as an instruction to trigger the wake-up module 104. The purpose of the wake-up module 104 is to start the operation of the electronic device through the wake-up module 104 and facilitate automatic backup. In one embodiment, the wake-up module 104 includes a near-end wake-up 1042 and a remote-end wake-up 1044. As shown in the second figure, the near-end wake-up 1042 is intended to be awakened by a peripheral device (such as a mouse or a keyboard). Purpose, the remote wake-up 1044 is a remote system administrator sending a Magic packet to the electronic device via the network to make the electronic device operate normally.

參閱第二圖,於一實施例中,遠端喚醒1044包含一第一喚醒模式1044a及一第二喚醒模式1044b。於一實施例中,第一喚醒模式1044a須由遠端伺服器發出指令,電子裝置接收具有指令之網路封包,並研判網路封包,經確認後,電子裝置立即執行開機程序,此第一喚醒模式1044a即為網路喚醒(Wake-on-LAN,WoL)。於另一實施例中,第二喚醒模式1044b改良第一喚醒模式,藉由遠端伺服器及電子裝置須裝載特定處理器,內嵌特定系統,遠端管理人員透過網路,以操控複數個電子裝置及其內部文件資料,此第二喚醒模式1044b即為intel vPro技術。於最佳實施例中,遠端喚醒1044更包含一第三喚醒模式1044c,基於第一、二喚醒模式1044a、1044b之改良,提升資料安全性,以vPro為種子電腦,其另耦接複數電子裝置,如桌上型電腦、筆記型電腦或平板電腦等,管理人員於種子電腦進行條件設定,如開啟條件1022或終止條件1024等,種子電腦透過網路喚醒以操控複數個電子裝置,換言之,僅需一部種子電腦,即可同時操控多台電子裝置之備份,進一步地,得針對不同電子裝置進行不同指令之備份。 Referring to the second figure, in one embodiment, the remote wake-up 1044 includes a first wake-up mode 1044a and a second wake-up mode 1044b. In an embodiment, the first wake-up mode 1044a must be issued by a remote server. The electronic device receives the network packet with the instruction and judges the network packet. After confirmation, the electronic device immediately executes the boot process. This first Wake-up mode 1044a is Wake-on-LAN (WoL). In another embodiment, the second wake-up mode 1044b improves the first wake-up mode. The remote server and the electronic device must be loaded with a specific processor and a specific system is embedded. The remote management personnel can control a plurality of networks through the network. For the electronic device and its internal files, the second wake-up mode 1044b is the Intel vPro technology. In the preferred embodiment, the remote wake-up 1044 further includes a third wake-up mode 1044c. Based on the improvements of the first and second wake-up modes 1044a and 1044b, data security is improved. VPro is used as a seed computer, which is further coupled to a plurality of electronic devices. For devices such as desktop computers, notebook computers, or tablet computers, managers set conditions on the seed computer, such as turning on the condition 1022 or terminating the condition 1024. The seed computer wakes up through the network to control multiple electronic devices. In other words, Only one seed computer is needed to control the backup of multiple electronic devices at the same time. Furthermore, different instructions can be performed for different electronic devices.

於一實施例中,分段模組202耦接於喚醒模組104與備份模組106之間,喚醒電子裝置之電源狀態後,分段模組202將所欲備份資料進行分段,將大檔案分割為小檔案,例如:以64K的倍數為一單位,但並不以此限。 In one embodiment, the segmentation module 202 is coupled between the wake-up module 104 and the backup module 106. After the power state of the electronic device is awakened, the segmentation module 202 segments the backup data to be large. The file is divided into small files, for example, a multiple of 64K is taken as a unit, but it is not limited to this.

參閱第三圖,於一實施例中,備份模組106耦接於分段模組202,備份模組106依據喚醒模式之不同,而有不同備份模式,備份模組106包含完全備份模式(Copy backup)1062、差異備份模式(Differential backup)1064及增量備份模式(Incremental backup)1066。於最佳實施例中,完全備份模式1062適用於第一次資料備份,對所有文件資料全面備份,甚至備份作業系統,倘若,所欲備份之資料檔案大於一特定值,例如512MB,則併行分割備份,將大檔案分割 為數片段之小檔案,接續,各自備份,以利後續壓縮加密。於另一最佳實施例中,差異備份模式1064基於完全備份模式1062,僅針對部分變更之檔案進行備份,如修改或增加,差異備份模式1064得依據檔案變更名稱、時間或大小等,舉凡與初始備份狀態不同者,將執行差異備份模式1064。總言之,完全備份模式1062僅執行一次,而差異備份模式1064必須以完全備份資料作為基準,方能執行之,差異備份模式1064得執行複數次。又於另一實施例中增量備份式1066係以前一次備份資料相比,僅備份增加及/或被修改之部分。熟知該項技術領域之通常知識者應當理解,本發明所述之完全備份模式1062、差異備份模式1064及增量備份模式1066不侷限於上述實施例中之次數,得視用戶端之需求而有所變更。於一實施例中,備份模組106更包含每日備份模式(Daily backup)1068及標準備份模式(Normal backup)1069,如第三圖所示。具體而言,差異備份模式1064依照原資料檔案多寡,可細分為兩種模式:第一模式適用於一大檔案,僅備份大檔案中之部分差異,例如Outlook備份(.PST檔);第二模式適用於眾多檔案,僅備份眾多檔案中之部分差異,而未變更之部分不參與備份。 Referring to the third figure, in one embodiment, the backup module 106 is coupled to the segmentation module 202. The backup module 106 has different backup modes according to different wake-up modes. The backup module 106 includes a full backup mode (Copy backup) 1062, differential backup mode (Differential backup) 1064 and incremental backup mode (Incremental backup) 1066. In the preferred embodiment, the full backup mode 1062 is suitable for the first time data backup. It fully backs up all files and even backs up the operating system. If the data file to be backed up is larger than a specific value, such as 512MB, it is divided in parallel. Backup, split large files A number of small files are continually backed up to facilitate subsequent compression and encryption. In another preferred embodiment, the differential backup mode 1064 is based on the full backup mode 1062, and only backs up partially changed files. If it is modified or added, the differential backup mode 1064 may change the name, time, or size of the file. If the initial backup status is different, the differential backup mode 1064 will be executed. In short, the full backup mode 1062 is executed only once, and the differential backup mode 1064 must be based on the full backup data before it can be executed. The differential backup mode 1064 must be executed multiple times. In another embodiment, compared with the previous backup data of the incremental backup type 1066, only the added and / or modified part is backed up. Those who are familiar with this technical field should understand that the full backup mode 1062, the differential backup mode 1064, and the incremental backup mode 1066 described in the present invention are not limited to the number of times in the above embodiment, and may vary depending on the needs of the client. Changed. In an embodiment, the backup module 106 further includes a daily backup mode (Daily backup) 1068 and a normal backup mode (Normal backup) 1069, as shown in the third figure. Specifically, the differential backup mode 1064 can be subdivided into two modes according to the number of original data files: the first mode is suitable for a large file and only backs up some differences in the large file, such as Outlook backup (.PST file); the second The mode is applicable to many files. Only some differences among the many files are backed up, and the unchanged ones do not participate in the backup.

本發明因應用戶端之使用時機,可採取不同喚醒模式及備份模式,亦可分為:日間喚醒備份模式及夜間喚醒備份模式,兩者最大差異在於喚醒方式不同。一般而言,用戶端多以日間操作電腦,據此,須採用日間喚醒備份模式,偵測模組103偵測用戶端電腦之電源狀態,對應/選定啟動條件1022,以觸發喚醒模組104之近端喚醒1042及備份模組106。舉例而言,若用戶端電腦處於螢幕保護程式運作之時,系統100將選定符合螢幕保護程式之開啟條件,產生相關指令,觸發備份模組106開啟運作,而備份模組106會先判斷是否須執行第一次完全備份,亦得依照檔案容量大小而選定全備份或差異備份之一者。於夜間時,電腦多為關機或休眠狀態,此時,必須採用夜間喚醒備份模式,偵測模組103偵測用戶端電腦狀態,如休眠或關機,以選定開啟條件1022,觸發喚醒模組104,令喚醒模組104傳送喚醒封包至用戶端電腦,所採用之喚醒模式乃依據實際電路配置狀態以決定之,用戶端電腦接收喚醒封包後將會觸發喚醒模組104之遠端喚醒1044,接續,觸發備份模組106,亦得依照檔案容量大小而選定全備份1062或差異備份1064之一者,俟備份畢,終止條件1024停止喚醒模組104,其後續備份模組106亦將終止,用戶端電腦回復至原狀。於最佳實施例中,日間喚醒備份模式與夜間喚醒備份模式得相互交替使用。 The present invention can adopt different wake-up modes and backup modes according to the use timing of the user terminal, and can also be divided into: day-wake backup mode and night-wake backup mode. The biggest difference between the two lies in the different wake-up modes. Generally speaking, the client mostly operates the computer during the day. Therefore, the day wake-up backup mode is required. The detection module 103 detects the power state of the client computer and corresponds to / selects the startup condition 1022 to trigger the wake-up of the module 104. The near-end wakes up 1042 and the backup module 106. For example, if the client computer is in the operation of the screen saver, the system 100 will choose to meet the screen saver's opening conditions, generate relevant instructions, and trigger the backup module 106 to start operation. The backup module 106 will first determine whether For the first full backup, one of full backup or differential backup must be selected according to the file size. At night, the computer is mostly in the shutdown or hibernation state. At this time, the night wake-up backup mode must be used. The detection module 103 detects the client computer status. For example, the hibernation or shutdown is selected to select the on condition 1022 to trigger the wake module 104. The wake-up module 104 sends a wake-up packet to the client computer. The wake-up mode used is determined based on the actual circuit configuration status. After the client computer receives the wake-up packet, the remote wake-up 1044 of the wake-up module 104 will be triggered. To trigger the backup module 106, one of full backup 1062 or differential backup 1064 may be selected according to the file capacity. After the backup is completed, the termination condition 1024 stops the wake-up module 104, and its subsequent backup module 106 will also terminate. The client computer returns to its original state. In the preferred embodiment, the day wake-up backup mode and the night wake-up backup mode are used alternately.

壓縮模組108及加密模組110共同耦接於備份模組106,壓縮模組108和加密模組110得同時執行,亦得先後執行。於一實施例中,壓縮模組108和加密模組110得整合為一壓縮加密模組,其將未分段資料、已分段資料壓縮加密為密文資料。於一實施例中,壓縮模組108包含複數個轉化矩陣,透過非破壞性之特定編碼機制,以達到減少檔案容量大小之目的,於此實施例中,得採用現有壓縮軟體,如ZIP、7z或RAR等,但並不以此為限。加密模組110係透過加密演算法進行加密(例如:高階加密標準AES,Advanced Encryption Standard、DES、3DES、Blowfish),以AES高階加密標準為例,但不限定於AES高階加密標準,其鑰匙長度分別為128bits、192bits、256bits、並利用透明式加解密的格式。熟知該項技術領域之通常知識者應當理解,上述之壓縮模組108及加密模組110得以現有技術實現之,故在此不加以贅述其原理。 The compression module 108 and the encryption module 110 are commonly coupled to the backup module 106. The compression module 108 and the encryption module 110 may be executed simultaneously or sequentially. In one embodiment, the compression module 108 and the encryption module 110 may be integrated into a compression encryption module, which compresses and encrypts unsegmented data and segmented data into ciphertext data. In one embodiment, the compression module 108 includes a plurality of transformation matrices. Through the non-destructive specific encoding mechanism, the purpose of reducing the size of the file is achieved. In this embodiment, existing compression software such as ZIP, 7z may be used. Or RAR, but not limited to this. The encryption module 110 is encrypted by an encryption algorithm (for example: AES, Advanced Encryption Standard, DES, 3DES, Blowfish). Taking the AES high-level encryption standard as an example, it is not limited to the AES high-level encryption standard, and its key length Formats are 128bits, 192bits, 256bits, and use transparent encryption and decryption. Those who are familiar with this technical field should understand that the compression module 108 and encryption module 110 described above can be implemented in the prior art, so the principle will not be repeated here.

於一實施例中,系統100包含記憶單元114,又於另一實施例中,記憶單元114耦接於系統100。記憶單元114用以儲存所有資料數據,包含指令、條件、備份資料、未備份資料等。記憶單元114包含揮發性記憶體(volatile memory)、非揮發性記憶體(non-volatile memory,NVRAM),其中揮發性記憶體得包含隨機存取記憶體(Random Access Memory,RAM)、動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)、靜態隨機存取記憶體(Static Random Access Memory,SRAM)或諸如此類等,但並不以此為限;非揮發性記憶體得包含唯讀記憶體(Read-only memory,ROM)、可編程唯讀記憶體(Programmable read-only memory)、電子可改寫唯讀記憶體(Electrically alterable read only memory,EAROM)、可抹除可編程唯讀記憶體(Erasable programmable read only memory,EPROM)、電子可抹除可編程唯讀記憶體(Electrically erasable programmable read only memory,EEPROM)、快閃記憶體(Flash memory)或諸如此類等,但並不以此為限。本發明依據實際需求以選取所需記憶體種及數量,於最佳實施例中,記憶單元114包含一個動態隨機存取記憶體及兩個快閃記憶體,但並不以此為限。 In one embodiment, the system 100 includes a memory unit 114, and in another embodiment, the memory unit 114 is coupled to the system 100. The memory unit 114 is used to store all data and data, including instructions, conditions, backup data, and non-backup data. The memory unit 114 includes a volatile memory and a non-volatile memory (NVRAM). The volatile memory may include a random access memory (Random Access Memory, RAM), and a dynamic random access memory. Take memory (Dynamic Random Access Memory, DRAM), Static Random Access Memory (SRAM), or the like, but not limited to this; non-volatile memory may include read-only memory ( Read-only memory (ROM), Programmable read-only memory, Electronically alterable read-only memory (EAROM), Erasable programmable read-only memory (programmable read only memory (EPROM)), electronic erasable programmable read only memory (EEPROM), flash memory (Flash memory) or the like, but not limited to this. The present invention selects the required memory type and quantity according to actual needs. In the preferred embodiment, the memory unit 114 includes a dynamic random access memory and two flash memories, but is not limited thereto.

於一實施例中,該系統100更提供一使用者介面UI(未顯示於圖中),其設有自動切換日間喚醒備份及夜間喚醒備份之開關,以及設有喚醒模組104及備份模組106之圖像Icon。 In an embodiment, the system 100 further provides a user interface UI (not shown in the figure), which is provided with a switch for automatically switching between day wakeup backup and night wakeup backup, and a wakeup module 104 and a backup module Image 106.

參閱第四圖,該圖係顯示本發明實施例實現自動排程備份之步驟流程圖。本文所述之流程提供不同步驟之示例。雖揭示特定順序及序列,除非 另外指定,可更動流程之步驟順序。因此,所述之流程僅為示例性,且該流程得由不同順序步驟以執行之,甚至一些步驟可同時併行。除此之外,並非每一執行包含相同步驟,故本文所述之實施例可能忽略一或多個步驟。本發明亦包含其他步驟流程。方法300係由上述系統100以實現之,以下說明主要係藉由系統100以操作下列步驟,必要時,得搭配其他習知步驟和元件以執行,該方法300不侷限於由同一電子計算裝置實現步驟,得依照實際需求配置不同電子計算裝置以實現步驟流程。 Refer to the fourth figure, which is a flowchart showing the steps of implementing the automatic schedule backup according to the embodiment of the present invention. The process described in this article provides examples of different steps. Although revealing a particular order and sequence, unless If you specify otherwise, you can change the sequence of steps. Therefore, the process described is only exemplary, and the process may be performed by different sequential steps, and even some steps may be performed in parallel at the same time. In addition, not every execution includes the same steps, so the embodiments described herein may omit one or more steps. The invention also includes other steps. The method 300 is implemented by the above-mentioned system 100. The following description mainly uses the system 100 to operate the following steps. If necessary, it may be performed with other conventional steps and components. The method 300 is not limited to be implemented by the same electronic computing device. In the steps, different electronic computing devices must be configured according to actual needs to implement the steps.

步驟301:用戶端設定電子裝置之開啟條件1022和終止條件1024。於一實施例中,設定模組102包含複數個開啟條件1022及終止條件1024,開啟條件1022包含電子裝置處於低功耗狀態(即為睡眠Sleep狀態)、CPU使用率小於一特定值(螢幕保護程式運作中)、電子裝置省電模式等。終止條件1024包含使用周邊裝置、CPU使用率大於一特定值、休眠狀態等。換言之,開啟條件1022及終止條件1024兩者間之目的相反,藉由開啟條件1022以觸發喚醒模組1024,進行後續備份步驟;俟備份畢,由終止條件1024以停止喚醒模組104,並使電子裝置回復原狀。 Step 301: The client sets the opening condition 1022 and the termination condition 1024 of the electronic device. In an embodiment, the setting module 102 includes a plurality of on conditions 1022 and a termination condition 1024. The on condition 1022 includes that the electronic device is in a low power state (ie, the Sleep state), and the CPU usage is less than a specific value (screen saver). Program is running), electronic device power saving mode, etc. Termination conditions 1024 include the use of peripheral devices, CPU usage greater than a certain value, hibernation status, and the like. In other words, the purpose of the open condition 1022 and the termination condition 1024 is opposite. By turning on the condition 1022 to trigger the wake-up module 1024, the subsequent backup steps are performed. 俟 After the backup is completed, the termination condition 1024 is used to stop the wake-up module 104 and make The electronic device returns to its original state.

步驟302:偵測及確認一電子裝置之初始狀態。電子裝置運作時間與用戶端工作時間一致,日出而作,日落而息,一般而言,電子裝置之日間運作量大於夜間運作量,電子裝置日間狀態為CPU使用率大於一特定值,電子裝置夜間狀態包含休眠(即待機)或關機狀態等省電模式。於日間狀態實施例中,偵測模組103偵測電子裝置狀態,當電子裝置處於下列狀態:開啟螢幕保護程式、CPU使用率低於某一特定值等,則對應至設定模組102之開啟條件1022。於夜間狀態實施例中,得由遠端伺服端自動確認電子裝置處於休眠狀態或關機狀態。 Step 302: Detect and confirm the initial state of an electronic device. The operating time of the electronic device is the same as the working time of the client. It works at sunrise and sunset. Generally speaking, the electronic device ’s daytime operation is greater than the nighttime operation. The electronic device ’s daytime status is that the CPU usage is greater than a specific value. The night state includes power saving modes such as hibernation (ie, standby) or off state. In the embodiment of the day state, the detection module 103 detects the state of the electronic device. When the electronic device is in the following states: the screen saver is turned on, the CPU usage is lower than a certain value, etc., it corresponds to the opening of the setting module 102 Condition 1022. In the embodiment of the night state, the remote server may automatically confirm that the electronic device is in a sleep state or a shutdown state.

步驟304:偵測到的初始狀態對應至設定模組102之開啟條件1022之一。於上述日間狀態實施例中,當電子裝置之初始狀態為開啟螢幕保護程式、CPU使用率低於某一特定值等之一者,其視為設定模組102內之開啟條件1022之指令。同樣地,於上述夜間狀態實施例中,當電子裝置之初始狀態為休眠或關機者,其視為設定模組102內之開啟條件1022之指令。 Step 304: The detected initial state corresponds to one of the opening conditions 1022 of the setting module 102. In the embodiment of the daytime state described above, when the initial state of the electronic device is one of turning on the screen saver, the CPU usage rate being lower than a certain value, etc., it is regarded as an instruction to set the turning-on condition 1022 in the module 102. Similarly, in the above-mentioned embodiment of the night state, when the initial state of the electronic device is sleep or shutdown, it is regarded as an instruction to set the open condition 1022 in the module 102.

步驟306:開啟條件1022觸發喚醒模組102。須說明的是,此步驟306於上述日間狀態實施例中為可選的。於上述夜間實施例中,經偵測模組 103確認電子裝置之初始狀態、選定啟動條件1022後,所選定之啟動條件1022觸發喚醒模組104,喚醒模組104包含近端喚醒1042及遠端喚醒1044,所述遠端喚醒1044乃係遠端系統管理員傳送Magic封包,經網路傳送至電子裝置,使電子裝置正常運作。 Step 306: The enabling condition 1022 triggers the wake-up module 102. It should be noted that this step 306 is optional in the above-mentioned daytime state embodiment. In the above night embodiment, the detection module 103 After confirming the initial state of the electronic device and selecting the startup condition 1022, the selected startup condition 1022 triggers the wake-up module 104. The wake-up module 104 includes a local wake-up 1042 and a remote wake-up 1044. The remote wake-up 1044 is a remote The end system administrator sends Magic packets to the electronic device via the network, so that the electronic device can work normally.

參閱第二圖,於一實施例中,遠端喚醒1044包含一第一喚醒模式1044a及一第二喚醒模式1044b。於一實施例中,第一喚醒模式1044a須由遠端伺服器發出指令,電子裝置接收具有指令之網路封包,並研判網路封包,經確認後,電子裝置立即執行開機程序,此第一喚醒模式1044a即為網路喚醒(Wake-on-LAN,WoL)。於另一實施例中,第二喚醒模式1044b改良第一喚醒模式,藉由遠端伺服器及電子裝置須裝載特定處理器,內嵌特定系統,遠端管理人員透過網路,以操控複數個電子裝置及其內部文件資料,此第二喚醒模式1044b即為intel vPro技術。於最佳實施例中,遠端喚醒1044更包含一第三喚醒模式1044c,基於第一、二喚醒模式1044a、1044b之改良,提升資料安全性,以vPro為種子電腦,其另耦接複數電子裝置,如桌上型電腦、筆記型電腦或平板電腦等,管理人員於種子電腦進行條件設定,如開啟條件1022或終止條件1024等,種子電腦透過網路喚醒以操控複數個電子裝置,換言之,僅需一部種子電腦,即可同時操控多台電子裝置之備份,進一步地,得針對不同電子裝置進行不同指令之備份。 Referring to the second figure, in one embodiment, the remote wake-up 1044 includes a first wake-up mode 1044a and a second wake-up mode 1044b. In an embodiment, the first wake-up mode 1044a must be issued by a remote server. The electronic device receives the network packet with the instruction and judges the network packet. After confirmation, the electronic device immediately executes the boot process. This first Wake-up mode 1044a is Wake-on-LAN (WoL). In another embodiment, the second wake-up mode 1044b improves the first wake-up mode. The remote server and the electronic device must be loaded with a specific processor and a specific system is embedded. The remote management personnel can control a plurality of networks through the network. For the electronic device and its internal files, the second wake-up mode 1044b is the Intel vPro technology. In the preferred embodiment, the remote wake-up 1044 further includes a third wake-up mode 1044c. Based on the improvements of the first and second wake-up modes 1044a and 1044b, data security is improved. VPro is used as a seed computer, which is further coupled to a plurality of electronic devices. For devices such as desktop computers, notebook computers, or tablet computers, managers set conditions on the seed computer, such as turning on the condition 1022 or terminating the condition 1024. The seed computer wakes up through the network to control multiple electronic devices. In other words, Only one seed computer is needed to control the backup of multiple electronic devices at the same time. Furthermore, different instructions can be performed for different electronic devices.

步驟307:執行資料分割。分段模組202耦接於喚醒模組104與備份模組106之間,喚醒電子裝置之電源狀態後,分段模組202將所欲備份資料進行分段,將大檔案分割為小檔案,例如:以64K為一單位,但並不以此限。 Step 307: Perform data segmentation. The segmentation module 202 is coupled between the wake-up module 104 and the backup module 106. After the power state of the electronic device is awakened, the segmentation module 202 segments the desired backup data and divides the large files into small files. For example: 64K as a unit, but not limited to this.

步驟308:執行備份。備份模組106接收喚醒模組104之指令後,開始執行備份資料文件。備份模組106包含完全備份模式1062及差異備份模式1064。於最佳實施例中,完全備份模式1062適用於第一次資料備份,對所有文件資料全面備份,倘若,所欲備份之資料檔案大於一特定值,則併行分割備份,將大檔案分割為數片段之小檔案,接續,各自備份,以利後續壓縮加密。於另一最佳實施例中,差異備份模式1064基於完全備份模式1062,僅針對部分變更之檔案進行備份,差異備份模式1064得依據檔案變更名稱、時間或大小等,舉凡與初始備份狀態不同者,將執行差異備份模式1064。總言之,完全備份模式1062僅執行一次,而差異備份模式1064必須基於前次備份資料,方能執行之, 差異備份模式1064得執行複數次。熟知該項技術領域之通常知識者應當理解,本發明所述之完全備份模式1062與差異備份模式1064不侷限於上述實施例中之次數,得視用戶端之需求而有所變更。 Step 308: Perform a backup. After the backup module 106 receives the command to wake up the module 104, it starts to execute the backup data file. The backup module 106 includes a full backup mode 1062 and a differential backup mode 1064. In the preferred embodiment, the full backup mode 1062 is suitable for the first time data backup, which comprehensively backs up all documents. If the data file to be backed up is larger than a specific value, the backup is divided in parallel to divide the large file into several pieces. The small files are continually backed up to facilitate subsequent compression and encryption. In another preferred embodiment, the differential backup mode 1064 is based on the full backup mode 1062, and only backs up partially changed files. The differential backup mode 1064 may change the name, time, or size of the file according to the file. , Will execute differential backup mode 1064. In short, the full backup mode 1062 is only executed once, and the differential backup mode 1064 must be based on the previous backup data before it can be executed. Differential backup mode 1064 has to be executed multiple times. Those skilled in the art who are familiar with this technical field should understand that the full backup mode 1062 and the differential backup mode 1064 described in the present invention are not limited to the number of times in the above embodiment, and may be changed according to the needs of the client.

步驟307和步驟308得同時併行,抑或是,各自獨立執行,無先後順序限制,步驟307得於步驟308後發生,亦即先備份後分割。 Step 307 and step 308 may be performed in parallel at the same time, or they may be executed independently without any sequence restrictions. Step 307 may occur after step 308, that is, backup first and then partition.

步驟310:壓縮或/及加密備份資料,此步驟為可選,壓縮步驟及加密步驟得併行,抑或是各自獨立執行,惟無先後順序限制。於步驟307或308所完成之備份資料,經壓縮模組108和加密模組110以成為密文片段,本文所述之備份資料及密文資料得儲存於原電子裝置之記憶單元114內,亦得透過網路傳送至遠端伺服器,抑或是兩者之組合,藉此達到同步之效果。 Step 310: compress or / and encrypt the backup data. This step is optional. The compression step and the encryption step must be performed in parallel, or they can be performed independently, but there is no restriction on the sequence. The backup data completed in step 307 or 308 is compressed into a ciphertext fragment by the compression module 108 and the encryption module 110. The backup data and ciphertext data described in this article can be stored in the memory unit 114 of the original electronic device. It can be sent to a remote server or a combination of the two through the network to achieve the effect of synchronization.

步驟311:執行一整合步驟,整合該複數個密文片段為密文資料,此步驟為可選步驟,取決於是否有預先執行步驟307之資料分割。於步驟307所完成分割之複數個片段,以及步驟308所完成壓縮加密之加密片段,得藉由整合模組(未顯示於圖中)將其整合為密文資料,其儲存於原電子裝置之記憶單元114內,亦得透過網路傳送至遠端伺服器,抑或是兩者之組合。於一實施例中,此整合步驟得由壓縮模組108實現,整合步驟(步驟311)與壓縮加密步驟(步驟310)得同時併行。 Step 311: Perform an integration step to integrate the plurality of ciphertext fragments into ciphertext data. This step is optional and depends on whether the data segmentation of step 307 is performed in advance. The plurality of fragments divided in step 307 and the compressed encrypted encrypted fragments completed in step 308 can be integrated into ciphertext data by an integration module (not shown in the figure), which is stored in the original electronic device. The memory unit 114 may also be transmitted to a remote server through the network, or a combination of the two. In one embodiment, this integration step may be implemented by the compression module 108, and the integration step (step 311) and the compression encryption step (step 310) may be performed in parallel.

步驟312:終止條件1024終止喚醒模組104。於一實施例中,俟備份畢,終止條件暫停或/及停止喚醒模組104,使電子裝置回復至初始狀態。於另一實施例中,終止條件1024包含:周邊裝置(如滑鼠或鍵盤)之運作,用戶端於備份過程中使用周邊裝置時,終止條件1024將停止或/及暫停備份模組106及喚醒模組104,並使電子裝置回復至初始狀態。 Step 312: The termination condition 1024 terminates the wake-up module 104. In one embodiment, after the backup is completed, the termination condition is suspended or / and the wake-up module 104 is stopped, so that the electronic device returns to the initial state. In another embodiment, the termination condition 1024 includes the operation of a peripheral device (such as a mouse or a keyboard). When the client uses the peripheral device during the backup process, the termination condition 1024 will stop or / and suspend the backup module 106 and wake up. The module 104 returns the electronic device to the initial state.

於另一最佳實施例中,本發明因應用戶端之使用時機,可採取不同喚醒模式及備份模式,亦可分為:日間喚醒備份模式及夜間喚醒備份模式,兩者最大差異在於喚醒方式不同,參閱第五A圖及第五B圖,第五A圖係顯示日間喚醒備份模式之步驟流程圖,第五B圖係顯示夜間喚醒備份模式之步驟流程圖。參閱第五A圖,一般而言,用戶端多於日間操作電腦,據此,須採用日間喚醒備份模式,偵測模組103偵測用戶端電腦之電源狀態,對應/選定啟動條件1022,以觸發喚醒模組104之近端喚醒1042,使電子裝置為開機狀態,接續,備份模組106會先判斷是否須執行第一次完全備份,倘若無須執行第一次完全 備份者,得逕行差異備份或增量備份等。舉例而言,若用戶端電腦處於螢幕保護程式運作之時,系統100將選定符合螢幕保護程式之開啟條件1022,產生相關指令,觸發備份模組106開啟運作,而備份模組106得依照檔案容量大小而選定全備份1062或差異備份1064之一者。參閱第五B圖,於夜間時,電腦多為關機或休眠狀態,此時,必須採用夜間喚醒備份模式,偵測模組103偵測用戶端電腦狀態,如休眠或關機,以對應/選定開啟條件1022,觸發喚醒模組104,令喚醒模組104傳送喚醒封包至用戶端電腦,所採用之喚醒模式乃依據實際電路配置狀態以決定之,用戶端電腦接收喚醒封包後以觸發喚醒模組104之遠端喚醒1044,使電子裝置為開機狀態,接續,觸發備份模組106,其會先判斷是否須執行第一次完全備份,倘若無須執行第一次完全備份者,得逕行差異備份或增量備份等,備份模組106亦得照檔案容量大小而選定全備份1062或差異備份1064之一者,俟備份畢,終止條件1024停止喚醒模組104,其後續備份模組106亦將終止,用戶端電腦回復至原狀。於最佳實施例中,日間喚醒備份模式與夜間喚醒備份模式得相互交替使用。 In another preferred embodiment, the present invention may adopt different wake-up modes and backup modes according to the use timing of the client. It can also be divided into: day wake-up backup mode and night wake-up backup mode. The biggest difference between the two lies in the different wake-up methods. Refer to the fifth chart A and the fifth chart B. The fifth chart A shows a flowchart of the steps in the daytime wake-up backup mode, and the fifth chart B shows the flowchart of the steps in the nighttime wake-up backup mode. Refer to Figure 5A. Generally speaking, more clients operate the computer than during the day. Based on this, the day wake-up backup mode must be used. The detection module 103 detects the power state of the client computer and corresponds to / selects the startup condition 1022. The near-end wake-up 1042 of the wake-up module 104 is triggered, so that the electronic device is turned on. Then, the backup module 106 first determines whether a first full backup is required. If the first full backup is not required, The backup person must perform differential backup or incremental backup. For example, if the client computer is in the operation of the screen saver, the system 100 will choose to meet the screen saver's opening condition 1022, generate relevant instructions, and trigger the backup module 106 to start the operation, and the backup module 106 may be based on the file capacity. The size is either one of full backup 1062 or differential backup 1064. Refer to Figure 5B. At night, the computer is mostly shut down or hibernation. At this time, the night wake-up mode must be adopted. The detection module 103 detects the client computer status, such as hibernation or shutdown, to correspond to / select to turn on. Condition 1022, the wake-up module 104 is triggered, so that the wake-up module 104 transmits a wake-up packet to the client computer. The wake-up mode used is determined according to the actual circuit configuration state. The client-side computer triggers the wake-up module 104 after receiving the wake-up packet. The remote wake-up 1044 enables the electronic device to be turned on. Then, the backup module 106 is triggered. It will first determine whether it is necessary to perform the first full backup. If it is not necessary to perform the first full backup, it is necessary to perform a differential backup or increase. Volume backup, etc., the backup module 106 may also select one of the full backup 1062 or the differential backup 1064 according to the size of the file. After the backup is completed, the termination condition 1024 stops the wake-up module 104, and its subsequent backup module 106 will also terminate. The client computer returns to its original state. In the preferred embodiment, the day wake-up backup mode and the night wake-up backup mode are used alternately.

本文所述之電子裝置包含桌上型電腦、筆記型電腦、平板電腦等具網路傳輸之計算機,但並不以此為限。本發明不侷限於以同一電子裝置實現之,得由複數個電子裝置實現本發明,進一步地,可由相異操作系統之電子裝置以完成本發明,操作系統包含IOS、Windows、Android等,但並不以此為限。本文所欲備份之資料可包含文件、圖檔、音訊檔、視訊檔、應用程式及操作系統等。 The electronic devices described in this article include desktop computers, notebook computers, tablet computers and other computers with network transmission, but not limited to this. The present invention is not limited to being implemented by the same electronic device. The present invention may be implemented by a plurality of electronic devices. Further, the present invention may be implemented by electronic devices of different operating systems. The operating system includes IOS, Windows, Android, etc. Not limited to this. The data to be backed up in this article can include documents, image files, audio files, video files, applications and operating systems.

綜上所述,本發明提供一種分段備份之系統及其方法,依據電子裝置之狀態而有不同喚醒條件,其後,更依據資料檔案大小以決定是否分割備份,以及依據先前備份資料以執行差異備份模式或增量備份模式。本發明系統在不影響用戶端使用電子裝置之情況下進行資料自動備份,如此一來,有效縮減人事成本,較佳的是,本發明喚醒及備份兩者間之協同,致使備份資料不因驟然終止喚醒而刪除或消失,俟下一次喚醒啟動後,延用前次已備份資料,以進行差異備份或增量備份等。本發明廣泛適用於本地備份(local backup)、遠端備份(remote backup)及異地備份(off-site backup)。 In summary, the present invention provides a system and method for segmented backup, which have different wake-up conditions depending on the state of the electronic device. Thereafter, it further decides whether to divide the backup based on the size of the data file, and executes it based on the previous backup data. Differential or incremental backup mode. The system of the present invention automatically backs up the data without affecting the use of the electronic device by the client. In this way, it effectively reduces personnel costs. Preferably, the collaboration between the wake-up and backup of the present invention makes the backup data not sudden. Terminate wake-up and delete or disappear. After the next wake-up is started, the previously backed up data will be used for differential or incremental backup. The invention is widely applicable to local backup, remote backup, and off-site backup.

上述之目的在於解釋,各種特定細節係為了提供對於本發明之徹底理解。熟知本發明領域之通常知識者應可實施本發明,而無需其中某些特定 細節。在其他實施例中,習知的結構及裝置並未顯示於方塊圖中。在圖式元件之間可能包含中間結構。所述的元件可能包含額外的輸入和輸出,其並未詳細描繪於附圖中。 The purpose of the foregoing is to explain that various specific details are provided to provide a thorough understanding of the present invention. Those of ordinary skill in the art of the invention should be able to practice the invention without the need for some specific ones detail. In other embodiments, the conventional structures and devices are not shown in the block diagram. Intermediate structures may be included between the graphic elements. The described elements may contain additional inputs and outputs, which are not depicted in detail in the drawings.

於不同實施例所提之元件係為單獨電路,惟亦可將部分或全部元件整合於單一電路中,因而,所附之申請專利範圍中所述之不同元件可能對應一或多了電路之部分功能。 The components mentioned in the different embodiments are separate circuits, but some or all of the components can be integrated into a single circuit. Therefore, the different components described in the scope of the attached patent application may correspond to one or more circuits. Features.

本發明包含各種處理程序,該處理程序得以硬碟元件加以執行,或內嵌於電腦可讀取指令中,其可形成一般或特殊目的且具有編程指令的處理器或邏輯電路,以執行程序,除此之外,該程序亦得由硬體及軟體之組合加以執行。 The invention includes various processing programs, which can be executed by hard disk components or embedded in computer-readable instructions, which can form general or special purpose processors or logic circuits with programming instructions to execute the programs, In addition, the procedure must be performed by a combination of hardware and software.

用基本形式來描述方法,在未脫離本發明範疇下,任一方法或訊息得自程序中增加或刪除,熟知該項技術領域之通常知識者應可進一步改良或修正本發明,特定實施方式僅用以說明,非限制本發明。 The method is described in basic form. Without departing from the scope of the present invention, any method or information can be added or deleted from the program. Those skilled in the art should be able to further improve or modify the present invention. Specific embodiments are only It is used to illustrate, not limit the present invention.

若文中有一元件“A”耦接(或耦合)至元件“B”,元件A可能直接耦接(或耦合)至B,亦或是經元件C間接地耦接(或耦合)至B。若說明書載明一元件、特徵、結構、程序或特性A會導致一元件、特徵、結構、程序或特性B,其表示A至少為B之一部分原因,亦或是表示有其他元件、特徵、結構、程序或特性協助造成B。在說明書中所提到的“可能”一詞,其元件、特徵、程序或特性不受限於說明書中;說明書中所提到的數量不受限於“一”或“一個”等詞。 If a component "A" is coupled (or coupled) to component "B" in the text, component A may be directly coupled (or coupled) to B, or indirectly coupled (or coupled) to B via component C. If the description states that an element, feature, structure, procedure, or characteristic A will cause an element, feature, structure, procedure, or characteristic B, it means that A is at least part of the reason for B, or it means that there are other elements, characteristics, structures , Procedures, or features assist in causing B. In the description, the word "may", its elements, features, procedures or characteristics are not limited to the description; the quantity mentioned in the description is not limited to the words "a" or "an".

本發明並未侷限在此處所描述之特定細節特徵。在本發明之精神與範疇下,與先前描述與圖式相關之許多不同的發明變更是可被允許的。因此,本發明將由下述之專利申請範圍來包含其所可能之修改變更,而非由上方描述來界定本發明之範疇。 The invention is not limited to the specific details features described herein. Within the spirit and scope of the present invention, many different inventive changes related to the previously described drawings are permissible. Therefore, the scope of the present invention will be covered by the scope of the following patent applications, and the scope of the present invention will not be defined by the above description.

100‧‧‧系統 100‧‧‧ system

102‧‧‧設定模組 102‧‧‧setting module

1022‧‧‧啟動條件 1022‧‧‧Starting conditions

1024‧‧‧終止條件 1024‧‧‧ Termination Conditions

104‧‧‧喚醒模組 104‧‧‧ wake up module

1042‧‧‧近端模組 1042‧‧‧Near-end module

1044‧‧‧遠端模組 1044‧‧‧Remote module

106‧‧‧備份模組 106‧‧‧Backup Module

108‧‧‧壓縮模組 108‧‧‧ Compression Module

110‧‧‧加密模組 110‧‧‧Encryption Module

112‧‧‧處理單元 112‧‧‧Processing unit

114‧‧‧記憶單元 114‧‧‧Memory unit

1062‧‧‧完全備份模式 1062‧‧‧Full backup mode

1066‧‧‧增量備份模式 1066‧‧‧Incremental backup mode

1064‧‧‧差異備份模式 1064‧‧‧ Differential backup mode

202‧‧‧分段模組 202‧‧‧ Segmented Module

103‧‧‧偵測模組 103‧‧‧ Detection Module

Claims (9)

一種分段備份之方法,運用於一電子裝置,至少包含下列步驟:執行一分段步驟,將該電子裝置之檔案資料予以分段化,為複數個片段;執行一備份步驟,分別複製複數個片段;以及執行一壓縮加密步驟,將該複數個片段壓縮加密為複數個密文片段。 A method for segmented backup, applied to an electronic device, includes at least the following steps: performing a segmenting step, segmenting the file data of the electronic device into a plurality of fragments; performing a backup step, and copying a plurality of pieces respectively Fragments; and performing a compression and encryption step to compress and encrypt the plurality of fragments into a plurality of ciphertext fragments. 如申請專利範圍第1項所述之分段備份之方法,更包含:執行一偵測步驟,以偵測該電子裝置之初始狀態,對應至一設定模組之一開啟條件;執行一喚醒步驟,一喚醒模組喚醒該電子裝置;執行一整合步驟,整合該複數個密文片段為一密文資料;以及執行一終止步驟,該設定模組之一終止條件終止該喚醒步驟。 The segmented backup method described in item 1 of the scope of patent application, further includes: performing a detection step to detect an initial state of the electronic device, corresponding to an open condition of a set module; and performing a wake-up step A wake-up module wakes up the electronic device; executes an integration step to integrate the plurality of ciphertext segments into a ciphertext data; and executes a termination step, which terminates the wake-up step by a termination condition of the setting module. 如申請專利範圍第1項所述之分段備份之方法,該分段步驟包含:該電子裝置之檔案資料予以分段化為複數個片段,其以64K位元為一單位。 According to the method for segmented backup as described in item 1 of the scope of the patent application, the segmentation step includes: segmenting the file data of the electronic device into a plurality of segments, which takes 64K bits as a unit. 如申請專利範圍第2項所述之分段備份之方法,其中該喚醒步驟包含:一近端喚醒模式及一遠端喚醒模式,其中該遠端喚醒模式包含:一第一喚醒模式,為網路喚醒;一第二喚醒模式,為intel vPro喚醒;以及一第三喚醒模式,為該第一喚醒模式及該第二喚醒模式之結合。 The method for segmented backup as described in item 2 of the scope of patent application, wherein the wakeup step includes: a near-end wakeup mode and a remote wakeup mode, wherein the remote wakeup mode includes: a first wakeup mode, which is a network Wake-up mode; a second wake-up mode, intel vPro wake-up; and a third wake-up mode, a combination of the first wake-up mode and the second wake-up mode. 如申請專利範圍第1項所述之分段備份之方法,該備份步驟包含:一完全備份模式、一差異備份模式以及一增量備份模式。 According to the method of segmented backup described in the first scope of the patent application, the backup step includes a full backup mode, a differential backup mode, and an incremental backup mode. 一種分段備份之系統,運用於一電子裝置,該系統包含:一分段模組,將該電子裝置之檔案資料予以分段化為複數個片段;一備份模組,分別複製複數個片段;以及一壓縮加密模組,將該複數個片段壓縮加密為複數個密文片段。 A segmented backup system is applied to an electronic device. The system includes: a segmented module that segments the file data of the electronic device into a plurality of fragments; a backup module that copies a plurality of fragments respectively; And a compression encryption module, which compresses and encrypts the plurality of fragments into a plurality of ciphertext fragments. 如申請專利範圍第6項所述之分段備份之系統,更包含:一設定模組,包含複數個開啟條件和終止條件;一偵測模組,對應至該設定模組之該開啟條件;以及一喚醒模組,以喚醒該電子裝置之運作。 The segmented backup system described in item 6 of the scope of patent application, further includes: a setting module including a plurality of opening conditions and termination conditions; a detection module corresponding to the opening conditions of the setting module; And a wake-up module to wake up the operation of the electronic device. 如申請專利範圍第6項所述之分段備份之系統,其中該喚醒模組包含:一近端喚醒模式及一遠端喚醒模式,其中該遠端喚醒模式包含:一第一喚醒模式,為網路喚醒;一第二喚醒模式,為intel vPro喚醒;以及一第三喚醒模式,為該第一喚醒模式及該第二喚醒模式之結合。 The segmented backup system according to item 6 of the patent application scope, wherein the wake-up module includes: a near-end wake-up mode and a remote wake-up mode, wherein the remote wake-up mode includes: a first wake-up mode, which is Wake-on-LAN; a second wake-up mode, intel vPro wake-up; and a third wake-up mode, a combination of the first wake-up mode and the second wake-up mode. 如申請專利範圍第6項所述之分段備份之系統,該備份模組包含:一完全備份模式、一差異備份模式以及一增量備份模式。 According to the system for segmented backup as described in item 6 of the scope of patent application, the backup module includes: a full backup mode, a differential backup mode, and an incremental backup mode.
TW105116341A 2016-05-25 2016-05-25 System and method for segment backup TWI588670B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW105116341A TWI588670B (en) 2016-05-25 2016-05-25 System and method for segment backup
CN201610520874.9A CN107436824B (en) 2016-05-25 2016-07-05 System and method for sectional backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105116341A TWI588670B (en) 2016-05-25 2016-05-25 System and method for segment backup

Publications (2)

Publication Number Publication Date
TWI588670B TWI588670B (en) 2017-06-21
TW201810089A true TW201810089A (en) 2018-03-16

Family

ID=59688299

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105116341A TWI588670B (en) 2016-05-25 2016-05-25 System and method for segment backup

Country Status (2)

Country Link
CN (1) CN107436824B (en)
TW (1) TWI588670B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263564A (en) * 2019-06-24 2019-09-20 爱驰汽车有限公司 Automatic running data processing method, system, equipment and the medium of vehicle black box

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665395B1 (en) * 1998-12-11 2003-12-16 Avaya Technology Corp. Automatic call distribution system using computer network-based communication
CN1567298A (en) * 2003-06-10 2005-01-19 鸿富锦精密工业(深圳)有限公司 Arrangement procedure of database copy and reduction, named system and method
CN1642085A (en) * 2004-01-17 2005-07-20 威达电股份有限公司 Real-time remote back-up system and method
TW200540702A (en) * 2004-06-03 2005-12-16 Power Whale Information Ltd Control system and method for timely starting computer multiple times
CN100489798C (en) * 2005-06-03 2009-05-20 广达电脑股份有限公司 Portable computer, and data back up method
TW200805084A (en) * 2006-07-14 2008-01-16 Mitac Int Corp A data backup device, system and method thereof
US9632875B2 (en) * 2010-10-06 2017-04-25 International Business Machines Corporation Automated and self-adjusting data protection driven by business and data activity events
CN101989929B (en) * 2010-11-17 2014-07-02 中兴通讯股份有限公司 Disaster recovery data backup method and system
CN102281321A (en) * 2011-04-25 2011-12-14 程旭 Data cloud storage partitioning and backup method and device
TWI475402B (en) * 2013-01-09 2015-03-01 Giga Byte Tech Co Ltd Remote backup system and remote backup method thereof
CN103986588B (en) * 2013-02-07 2017-05-24 宏碁股份有限公司 Computer system and far-end remote control method of computer device
TW201617871A (en) * 2014-11-14 2016-05-16 積躍股份有限公司 Data backup restoring system and method thereof

Also Published As

Publication number Publication date
CN107436824A (en) 2017-12-05
TWI588670B (en) 2017-06-21
CN107436824B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US7210045B2 (en) Storing encrypted and/or compressed system context information when entering a low-power state
US8375440B2 (en) Secure bait and switch resume
KR101565223B1 (en) System and method for in-place encryption
US8984316B2 (en) Fast platform hibernation and resumption of computing systems providing secure storage of context data
US8327171B2 (en) Method and apparatus for facilitating device hibernation
US7844788B2 (en) Mirroring system memory in non-volatile random access memory (NVRAM) for fast power on/off cycling
TW200405963A (en) Sleep protection
WO2008063384A2 (en) Systems and methods for document control using public key encryption
US7296050B2 (en) Distributed computing system and method
US20170147363A1 (en) System and method for reducing hibernate and resume time
US7107487B2 (en) Fault tolerant sleep mode of operation
US11868495B2 (en) Cybersecurity active defense in a data storage system
TWI649666B (en) Automatic scheduling backup system and method thereof
US20220269807A1 (en) Detecting unauthorized encryptions in data storage systems
KR101431712B1 (en) Apparatus and method for informing the PC user of the status of Wake On Lan
US20030149866A1 (en) Data processing system and method
US6990515B2 (en) Secure method and system to prevent internal unauthorized remotely initiated power up events in computer systems
TWI588670B (en) System and method for segment backup
US10591980B2 (en) Power management with hardware virtualization
CN112020843A (en) Temporary area in non-volatile memory device
JPH0822424A (en) Client server system and its control method
CN105573860A (en) STD (Suspend to disk) management method and STD management system used in computer system
US8498622B2 (en) Data processing system with synchronization policy
WO2018058717A1 (en) Non-volatile storage device, method, computer system, and standby or hibernate implementation method
WO2017157147A1 (en) Method for encrypting and protecting computer and monitor thereof