CN107436824B - System and method for sectional backup - Google Patents

System and method for sectional backup Download PDF

Info

Publication number
CN107436824B
CN107436824B CN201610520874.9A CN201610520874A CN107436824B CN 107436824 B CN107436824 B CN 107436824B CN 201610520874 A CN201610520874 A CN 201610520874A CN 107436824 B CN107436824 B CN 107436824B
Authority
CN
China
Prior art keywords
backup
wake
mode
module
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610520874.9A
Other languages
Chinese (zh)
Other versions
CN107436824A (en
Inventor
黃文昌
黃毓道
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fineart Technology Co Ltd
Original Assignee
Fineart Technology Co Ltd
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 Fineart Technology Co Ltd filed Critical Fineart Technology Co Ltd
Publication of CN107436824A publication Critical patent/CN107436824A/en
Application granted granted Critical
Publication of CN107436824B publication Critical patent/CN107436824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 invention provides a system and a method for sectional backup, wherein the method comprises the following steps: executing a wake-up step, wherein a wake-up module wakes up the electronic device; executing a segmentation step, wherein the file data of the electronic device is segmented into a plurality of segments; executing a backup step, and respectively copying the plurality of segments into a plurality of backup data; executing a compression step to compress the plurality of backup data into a plurality of compressed data; and executing an encryption step to encrypt the plurality of compressed data into a plurality of encrypted data.

Description

System and method for sectional backup
Technical Field
The present invention relates to a backup system and method, and more particularly, to a system and method for segment backup.
Background
Network science and technology are changing day by day, and computer peripheral device is countless, undoubtedly, changes the life form by a wide margin, increases life convenience, improves work efficiency. In terms of enterprises, electronic equipment is mostly relied on to complete electronic data, and the electronic data is stored in an internal server or a specific computer, so that a high-level supervisor can control the working progress conveniently, and more importantly, confidential documents are prevented from flowing outwards.
However, hackers or victims are ubiquitous and have a great defense and dedicated theft of electronic data, for example, "stranger software" is rampant virus software in the prior art, and not only steals electronic data, but also asks clients for decryption cost, resulting in damage to enterprise property and reputation.
Most enterprises utilize "remote backup" related software for backup, monitoring and synchronization purposes. In the prior art, a Magic Packet (Magic Packet) is transmitted from a server to a plurality of designated computers through a network by means of manual operation periodically or aperiodically, the computers start to perform backup after receiving the Packet from the server, and the data after the backup is finished is stored in an original computer or transmitted to the server through the network, however, the prior art has the disadvantages that: personnel cost is increased, data after backup is finished is non-ciphertext, and a local area network may limit the size of a file.
In summary, in order to improve the deficiency of the prior art, the present invention provides a system and a method for automatic scheduling backup, wherein a designated computer performs backup according to an internal scheduling instruction, thereby omitting the manual operation of the existing remote backup.
Disclosure of Invention
The invention mainly aims to provide a sectional backup method which is applied to an electronic device and at least comprises the following steps: executing a wake-up step, wherein a wake-up module wakes up the electronic device; executing a segmentation step, wherein the file data of the electronic device is segmented into a plurality of segments; executing a backup step to respectively copy a plurality of segments; and executing a compression and encryption step to compress and encrypt the plurality of segments into a plurality of ciphertext segments.
Preferably, the method further comprises the following steps: executing a detection step to detect the initial state of the electronic device, wherein the detection step corresponds to a starting condition of a set module; executing a wake-up step, wherein a wake-up module wakes up the electronic device; executing an integration step to integrate the plurality of ciphertext fragments into ciphertext data; executing a termination step, wherein a termination condition of the setting module terminates the awakening step. The segmenting step includes segmenting the archive data of the electronic device into a plurality of segments, which take 64K bits as a unit. The awakening step comprises: the remote wake-up mode comprises a near-end wake-up mode and a remote wake-up mode, wherein the remote wake-up mode comprises 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 objective of the present invention is to provide a segment backup system for any electronic device, the system includes a wake-up module, a segment module, a backup module, a compression module and an encryption module. The wake-up module is used for waking up the operation of the electronic device. The segmentation module is used for segmenting the archive 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 segments into a plurality of ciphertext segments.
Preferably, the system further comprises a setting module and a detecting module. The setting module comprises a plurality of starting conditions and ending conditions, and the detecting module is used for detecting the initial state of the electronic device. The wake-up module comprises a near-end wake-up mode and a remote wake-up mode, wherein the remote wake-up mode comprises a first wake-up mode, a second wake-up mode and a third wake-up mode. The backup module comprises a full backup mode, a differential backup mode and an incremental backup mode.
Drawings
FIG. 1 is a system architecture diagram illustrating an embodiment of the present invention;
FIG. 2 is a block diagram illustrating an embodiment of the present invention;
FIG. 3 is a block diagram illustrating an embodiment of the present invention;
FIG. 4 is a flow chart showing steps of an embodiment of the present invention;
FIG. 5A is a flow chart showing steps of an embodiment of the present invention;
FIG. 5B is a flowchart illustrating steps of an embodiment of the present invention.
The main part reference numbers:
100 system 102 setup module
1022 Start Condition 1024 end Condition
104 wake-up module 1042 near end module
1044 remote module 106 backup module
108 compression module 110 encryption module
112 processing unit 114 memory unit
1044a first awake mode 1044b a second awake mode
1044c third Wake-Up mode 1062 full backup mode
1064 differential backup mode 1066 incremental backup mode
1068 daily backup mode 1069 Standard backup mode
300 method 302 step
304 step 306 step
308 step 310 step
312 step 103 detecting module
And 301, performing step.
Detailed Description
Various embodiments of the present invention will now be described. The following description provides specific implementation details of the invention to provide a thorough understanding of the manner in which the embodiments are implemented. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. Furthermore, no attempt is made to show structural or functional details of some known embodiments in order not to unnecessarily obscure the various embodiments, and the terminology used in the description that follows is intended to be interpreted in its broadest reasonable manner, even though it is being used in conjunction with a detailed description of certain specific embodiments of the invention. Moreover, the drawings do not depict every feature of actual embodiments, and the components of the depictions are relative sizes and are not drawn to scale.
Referring to fig. 1, which shows a system architecture diagram of an embodiment of the present invention, a system for automatically scheduling backup (hereinafter referred to as system 100) includes a setting module 102, a detecting module 103, a waking module 104, a backup module 106, a compressing module 108, and an encrypting module 110. The system 100 may be implemented by any computing device. The following modules, conventional components, and steps are executed by the processing unit 112.
The setup module 102 is intended to: for the user to set the conditions for starting and stopping the operation of the electronic device (not shown). In one embodiment, the setting module 102 includes a plurality of turn-on conditions 1022, such as: when the state of the electronic device meets any one of the plurality of turn-on conditions 1022, the turn-on condition 1022 that is met is selected as an indication for triggering the wake-up module 104, and details of the wake-up module 104 will be described in detail below.
In another embodiment, the setting module 102 further includes a plurality of termination conditions 1024, such as: when the state of the electronic device meets any one of a plurality of termination conditions 1024, the selected termination condition 1024 is used as an indication to stop waking up. In other words, the purpose of the start condition 1022 and the end condition 1024 is opposite, and the wake-up module 104 is triggered by the start condition 1022 to perform the subsequent backup step; after the backup is completed, the wake-up module 104 is stopped by the end condition 1024, and the electronic device is returned to the original state.
In one embodiment, the client is on an electronic device embedded with the system 100, and sets the start condition 1022 and the end condition 1024; in another embodiment, the client can set the start condition 1022 and the end condition 1024 of the electronic device embedded in the system 100 through a remote host server, but not limited thereto.
In an embodiment, the detecting module 103 is coupled between the setting module 102 and the waking module 104, the detecting module 103 periodically detects a power state of the electronic device, and selects the turn-on condition 1022 as a subsequent operation instruction if the detected state meets one of the turn-on conditions 1022; conversely, if the detected state matches one of the termination criteria 1024, the termination criteria 1024 is selected as a subsequent operation instruction.
The wake-up module 104 is triggered by a selected one of a plurality of turn-on conditions 1022, and the purpose of the wake-up module 104 is to: the operation of the electronic device is started through the wake-up module 104, which is beneficial to automatic backup. In one embodiment, the wake-up module 104 includes a near-end wake-up 1042 and a remote wake-up 1044, as shown in fig. 2, the near-end wake-up 1042 is intended to be wakened up by a peripheral device (e.g. a mouse or a keyboard), and the remote wake-up 1044 is a map packet transmitted by a remote administrator to the electronic device via a network, so that the electronic device operates normally.
Referring to fig. 2, in an embodiment, the remote wake-up 1044 includes a first wake-up mode 1044a and a second wake-up mode 1044 b. In one embodiment, the remote server issues a command to the first Wake-up mode 1044a, the electronic device receives the network packet with the command and analyzes the network packet, and after confirmation, the electronic device immediately executes the boot program, where the first Wake-up mode 1044a is Wake-on-LAN (WoL). In another embodiment, the second wake-up mode 1044b is an improved first wake-up mode, in which a specific processor is loaded by a remote server and an electronic device, a specific system is embedded, and a remote administrator controls a plurality of electronic devices and their internal document data through a network, and the second wake-up mode 1044b is intel vPro technology (intel botle). In the preferred embodiment, the remote wake-up 1044 further includes a third wake-up mode 1044c, which improves data security based on the improvement of the first and second wake-up modes 1044a and 1044b, wherein vPro is used as a seed computer, which is further coupled to a plurality of electronic devices, such as a desktop computer, a notebook computer or a tablet computer, and a manager performs condition setting on the seed computer, such as an on condition 1022 or an off condition 1024, and the seed computer wakes up through a network to control the plurality of electronic devices, i.e., only one seed computer is needed to simultaneously control the backup of the plurality of electronic devices, and further, the backup of different instructions can be performed for different electronic devices.
In one embodiment, the segmenting module 202 is coupled between the wake module 104 and the backup module 106, and after the power state of the electronic device is woken up, the segmenting module 202 segments the data to be backed up into segments, which are divided into small files, for example: the unit is a multiple of 64K, but not limited thereto.
Referring to fig. 3, in an embodiment, the backup module 106 is coupled to the wake-up module 104 and the setting module 102, the backup module 106 has different backup modes according to different wake modes, and the backup module 106 includes a full backup mode (Copy backup)1062, a Differential backup mode (Differential backup)1064, and an Incremental backup mode (Incremental backup) 1066. In the preferred embodiment, the full backup mode 1062 is suitable for the first data backup, a full backup of all file data, even a backup of the operating system, and if the data file to be backed up is larger than a specific value, for example, 512 MB, the backup is divided in parallel, the large file is divided into several small files, and then the small files are sequentially and individually backed up, so as to facilitate the subsequent compression and encryption. In another preferred embodiment, the differential backup mode 1064 is based on the full backup mode 1062, and only partially changed files are backed up, such as modified or added, and the differential backup mode 1064 is executed according to the name, time or size of the file change, for example, when it is different from the initial backup state. In summary, the full backup mode 1062 is executed only once, and the differential backup mode 1064 must be executed several times with the full backup data as a reference. In yet another embodiment, incremental backup 1066 backs up only the added and/or modified portions of the data as compared to the previous backup. It should be understood by those skilled in the art that the full backup mode, the differential backup mode and the incremental backup mode are not limited to the above embodiments, and may be changed according to the requirement of the client. In one 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 FIG. 3. Specifically, the differential backup mode 1064 can be subdivided into two modes according to how many original data files are: the first mode is applicable to a large file, only partial differences in the large file are backed up, such as Outlook backup (. PST profile); the second mode is applicable to a plurality of files, only partial differences among the plurality of files are backed up, and unchanged portions do not participate in the backup.
The present invention can adopt different wake-up modes and backup modes according to the using time of the client, and can also be divided into: the main difference between the daytime wake-up backup mode and the nighttime wake-up backup mode is that the wake-up modes are different. Generally, the client operates the computer in the daytime, and accordingly, the detection module 103 detects the power state of the client computer and selects/responds to the start condition 1022 to trigger the near-end wake-up 1042 of the wake-up module 104 and the backup module 106. For example, if the client computer is running in the screen saver, the system 100 selects the start condition meeting the screen saver, generates a related instruction, and triggers the backup module 106 to start running, and the backup module 106 will first determine whether to execute the first full backup or select one of the full backup or the differential backup according to the file capacity. At night, the computer is mostly in a power-off or sleep state, at this time, a night wake-up backup mode is needed, the detection module 103 detects the state of the client computer, such as sleep or power-off, to select the power-on condition 1022, to trigger the wake-up module 104, and to make the wake-up module 104 transmit the wake-up packet to the client computer, the wake-up mode is determined according to the actual circuit configuration state, the client computer will trigger the remote wake-up 1044 of the wake-up module 104 after receiving the wake-up packet, and then trigger the backup module 106, and also select one of the full backup 1062 or the differential backup 1064 according to the file capacity, after the backup is finished, the termination condition 1024 stops the wake-up module 104, and the subsequent backup module 106 will also terminate, and the client computer returns to its original state. In the preferred embodiment, the daytime wakeup backup mode and the nighttime wakeup backup mode are used alternately.
The compression module 108 and the encryption module 110 are coupled to the backup module 106, and the compression module 108 and the encryption module 110 are executed simultaneously or sequentially. In one embodiment, the compression module 108 and the encryption module 110 are integrated into a compression encryption module (not shown), which compresses and encrypts the unsegmented data and the segmented data into the ciphertext data. In one embodiment, the compression module 108 includes a plurality of transformation matrices, and achieves the purpose of reducing the size of the file volume through a non-destructive specific encoding scheme. The Encryption module 110 performs Encryption through an Encryption algorithm (e.g., Advanced Encryption Standard (AES), DES, 3DES, Blowfish), for example, but not limited to, the AES high-order Encryption Standard, and the keys thereof are 128bits, 192 bits, 256 bits, respectively, and utilize a transparent Encryption/decryption format. Those skilled in the art will appreciate that the compression module 108 and the encryption module 110 are implemented in the prior art, and therefore the description of the principles thereof is omitted.
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 for storing all data, including instructions, conditions, backup data, non-backup data, and the like. The Memory unit 114 includes a volatile Memory (NVRAM), a non-volatile Memory (NVRAM), wherein the volatile Memory includes a Random Access Memory (RAM), a Dynamic Random Access Memory (DRAM), a Static Random Access Memory (SRAM), or the like, but is not limited thereto; non-volatile memory can include, but is not limited to, Read-only memory (ROM), Programmable Read-only memory (prom), Electrically alterable Read-only memory (EAROM), Erasable Programmable Read-only memory (EPROM), Electrically Erasable Programmable Read-only memory (EEPROM), Flash memory (Flash memory), or the like. The present invention selects the required memory type and amount according to the actual requirement, and in the preferred embodiment, the memory unit 114 includes a dynamic random access memory and two flash memories, but not limited thereto.
In one embodiment, the system 100 further provides a user interface UI (not shown) having a switch for automatically switching between the daytime wakeup backup and the nighttime wakeup backup, and an image Icon having a wakeup module 104 and a backup module 106.
Referring to FIG. 4, a flowchart illustrating steps for implementing automatic scheduling of backups according to an embodiment of the present invention is shown. The flow described herein provides examples of the different steps. Although a particular order and sequence is disclosed, the order of the steps of the flowchart may be altered unless otherwise specified. Thus, the flows described are exemplary only, and the flows may be performed by different sequential steps, even though some of the steps may be concurrent. In addition, not every execution includes the same steps, so one or more steps may be omitted from the embodiments described herein. The invention also includes other steps. The method 300 is implemented by the system 100, and the following description is mainly performed by the system 100 to operate the following steps, if necessary, with other conventional steps and components, and the method 300 is not limited to the steps implemented by the same electronic computing device, but different electronic computing devices can be configured to implement the step flow according to actual requirements.
Step 301: the client sets the start condition 1022 and the end condition 1024 of the electronic device. In one embodiment, the setting module 102 includes a plurality of start conditions 1022 and end conditions 1024, where the start conditions 1022 include that the electronic device is in a low power consumption state (i.e., a Sleep state), the CPU utilization is less than a specific value (during the operation of the screen saver), and the electronic device is in a power saving mode. The termination conditions 1024 include the use of peripheral devices, CPU usage greater than a specified value, sleep state, etc. In other words, the purpose of the start condition 1022 and the end condition 1024 is opposite, and the wake-up module 1024 is triggered by the start condition 1022 to perform the subsequent backup step; after the backup is completed, the wake-up module 104 is stopped by the end condition 1024, and the electronic device is returned to the original state.
Step 302: detecting and confirming an initial state of an electronic device. Generally speaking, the daytime running amount of the electronic device is greater than the nighttime running amount, the daytime state of the electronic device is that the CPU utilization rate is greater than a specific value, and the nighttime state of the electronic device comprises power saving modes such as a dormant (standby) state or a power-off state. In the daytime state embodiment, the detecting module 103 detects the state of the electronic device when the electronic device is in the following states: if the screen saver is turned on, the CPU utilization is lower than a certain value, and the like, the on condition 1022 of the setting module 102 is corresponded to. In the night state embodiment, the remote server automatically confirms that the electronic device is in the sleep state or the power-off state.
Step 304: the detected initial state corresponds to one of the enabling conditions 1022 of the configuration module 102. In the daytime state embodiment, when the initial state of the electronic device is one of the screen saver being turned on, the CPU utilization being lower than a certain value, etc., it is regarded as an instruction to set the on condition 1022 in the module 102. Similarly, in the night state embodiment, when the initial state of the electronic device is a sleep or power off state, it is regarded as an instruction for setting the on condition 1022 in the module 102.
Step 306: the on condition 1022 triggers the wake-up module 102. It should be noted that this step 306 is optional in the daytime state embodiment described above. In the above night embodiment, after the detection module 103 confirms the initial state of the electronic device and selects the start condition 1022, the selected start condition 1022 triggers the wake-up module 104, the wake-up module 104 includes a near-end wake-up 1042 and a remote wake-up 1044, where the remote wake-up 1044 is a map packet transmitted by a remote administrator to the electronic device through a network, so that the electronic device operates normally.
Referring to fig. 2, in an embodiment, the remote wake-up 1044 includes a first wake-up mode 1044a and a second wake-up mode 1044 b. In one embodiment, the remote server issues a command to the first Wake-up mode 1044a, the electronic device receives the network packet with the command and analyzes the network packet, and after confirmation, the electronic device immediately executes the boot program, where the first Wake-up mode 1044a is Wake-on-LAN (WoL). In another embodiment, the second wake-up mode 1044b is an improved first wake-up mode, in which a specific processor is loaded by a remote server and an electronic device, a specific system is embedded, and a remote administrator controls a plurality of electronic devices and their internal document data through a network, and the second wake-up mode 1044b is intel vPro technology (intel botle). In the preferred embodiment, the remote wake-up 1044 further includes a third wake-up mode 1044c, which improves data security based on the improvement of the first and second wake-up modes 1044a and 1044b, wherein vPro is used as a seed computer, which is further coupled to a plurality of electronic devices, such as a desktop computer, a notebook computer or a tablet computer, and a manager performs condition setting on the seed computer, such as an on condition 1022 or an off condition 1024, and the seed computer wakes up through a network to control the plurality of electronic devices, i.e., only one seed computer is needed to simultaneously control the backup of the plurality of electronic devices, and further, the backup of different instructions can be performed for different electronic devices.
Step 307: data segmentation is performed. The segmenting module 202 is coupled between the wake-up module 104 and the backup module 106, and after the power state of the electronic device is woken up, the segmenting module 202 segments the data to be backed up, so as to segment the large file into small files, for example: the unit is 64K, but not limited thereto.
Step 308: a backup is performed. The backup module 106 receives the instruction from the wakeup module 104 and then 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 data backup, and is used for fully backing up all file data, and if the data file to be backed up is greater than a specific value, the backup is divided in parallel, the large file is divided into several small files, and then the small files are sequentially backed up and backed up respectively, so as to facilitate the subsequent compression and encryption. In another preferred embodiment, the differential backup mode 1064 is based on the full backup mode 1062, and only partially changed files are backed up, and the differential backup mode 1064 is executed according to the name, time or size of the file change, for example, different from the initial backup state. In general, the full backup mode 1062 is performed only once, and the differential backup mode 1064 must be performed several times based on the previous backup data. Those skilled in the art will appreciate that the full backup mode 1062 and the differential backup mode 1064 are not limited to the above embodiments, and may be changed according to the requirement of the client.
Step 307 and step 308 may be performed concurrently, or may be performed independently, without any restriction on the order of execution, and step 307 may occur after step 308, i.e., backup followed by segmentation.
Step 310: the backup data is compressed or/and encrypted, the step is optional, and the compression step and the encryption step can be executed in parallel or independently without sequence limitation. The backup data described herein can be stored in the memory unit 114 of the original electronic device, transmitted to a remote server via a network, or a combination thereof, thereby achieving the synchronization effect.
Step 311: an optional step is performed to integrate the plurality of ciphertext fragments into ciphertext data, depending on whether there is any data partitioning performed in advance in step 307. The plurality of segments segmented in step 307 and the encrypted segments compressed and encrypted in step 308 are integrated into ciphertext data by an integration module (not shown), which is stored in the memory unit 114 of the original electronic device, transmitted to a remote server via a network, or a combination thereof. In one embodiment, the integration step is implemented by the compression module 108, and the integration step (step 311) and the compression encryption step (step 310) are performed simultaneously.
Step 312: the terminate condition 1024 terminates the wake-up module 104. In one embodiment, after the backup is completed, the termination condition suspends or/and stops the wake-up module 104 to return the electronic device to the initial state. In another embodiment, the termination conditions 1024 include: when the client uses the peripheral device during the backup process, the termination condition 1024 stops or/and suspends the backup module 106 and the wake-up module 104, and returns the electronic device to the initial state.
In another preferred embodiment, the present invention can adopt different wake-up modes and backup modes according to the use time of the client, and can be divided into: referring to fig. 5A and 5B, fig. 5A shows a flowchart of steps of the day wake-up backup mode, and fig. 5B shows a flowchart of steps of the night wake-up backup mode. Referring to fig. 5A, generally speaking, more clients operate the computer during the daytime, and accordingly, the detection module 103 needs to detect the power state of the client computer and corresponds to/selects the start condition 1022 to trigger the near-end wake-up 1042 of the wake-up module 104, so that the electronic device is in a power-on state, and then the backup module 106 will first determine whether a first full backup needs to be performed, and if the first full backup does not need to be performed, obtain a differential backup or an incremental backup. For example, if the client computer is running in the screen saver, the system 100 selects the on condition 1022 that matches the screen saver, generates a related command to trigger the backup module 106 to start running, and the backup module 106 can select one of the full backup 1062 and the differential backup 1064 according to the file capacity. Referring to fig. 5B, at night, the computer is mostly in a power-off or sleep state, at this time, a night wake-up backup mode is required, the detecting module 103 detects the state of the client computer, such as sleep or power-off, and corresponds/selects the power-on condition 1022, triggers the wake-up module 104, and enables the wake-up module 104 to transmit a wake-up packet to the client computer, the wake-up mode is determined according to the actual circuit configuration state, the client computer receives the wake-up packet and triggers the remote wake-up 1044 of the wake-up module 104, so that the electronic device is in a power-on state, and then triggers the backup module 106, which first determines whether to perform a first full backup or not, and if the first full backup is not needed, obtains a path differential backup or an incremental backup, and the backup module 106 also obtains the file capacity to select one of a full backup 1062 or a differential backup 1064, after the backup is completed, the stop condition 1024 stops the wakeup module 104, the subsequent backup module 106 also stops, and the client computer returns to the original state. In the preferred embodiment, the daytime wakeup backup mode and the nighttime wakeup backup mode are used alternately.
The electronic devices described herein include, but are not limited to, desktop computers, notebook computers, tablet computers, and the like with network transmission. The present invention is not limited to be implemented by the same electronic device, but can be implemented by a plurality of electronic devices, and further, the present invention can be implemented by electronic devices with different operating systems, including but not limited to IOS, Windows, Android, and the like. Data to be backed up herein may include files, graphics files, audio files, video files, applications, operating systems, and the like.
In summary, the present invention provides a system and method for automatically scheduling backup, which have different wake-up conditions according to the status of an electronic device, and then determine whether to partition backup according to the size of a data file, and execute a differential backup mode or an incremental backup mode according to the previous backup data. The system automatically backs up the data under the condition of not influencing the use of the electronic device by the client, so that the personnel cost is effectively reduced, and preferably, the cooperation between the awakening and the back-up of the system ensures that the back-up data is not deleted or disappeared because of the sudden termination of the awakening, and after the next awakening and starting, the previous back-up data is used for differential back-up or incremental back-up and the like. The invention is widely suitable for local backup, remote backup and off-site backup.
The foregoing is for the purpose of explanation and numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are not shown in block diagram form. Intermediate structures may be included between the components of the drawings. The components described may include additional inputs and outputs that are not depicted in detail in the figures.
Although elements may be described in the context of separate circuits in different embodiments, some or all of the elements may be integrated in a single circuit, and thus the various elements described in a claim may correspond to portions of one or more circuits.
The present invention includes various processing programs that may be executed on a hard disk assembly or embedded in computer readable instructions, which may form a general or special purpose processor or logic circuits with programmed instructions to execute the programs, which may be executed by a combination of hardware and software.
The methods are described in a basic form, and any methods or messages obtained from a process can be added or deleted without departing from the scope of the invention, and it should be understood that the invention can be further modified or modified by those skilled in the art, and that the specific embodiments are provided by way of illustration and not limitation.
If a component "a" is coupled (or coupled) to a component "B," the component a may be directly coupled (or coupled) to B or indirectly coupled (or coupled) to B via a component C. If the specification states a component, feature, structure, process, or characteristic a to result in a component, feature, structure, process, or characteristic B, it is intended that a at least a portion of B be attributed to a component, feature, structure, process, or characteristic, or that B be attributed to another component, feature, structure, process, or characteristic. Where the specification recites "a possible" or "an alternative," the components, features, procedures, or characteristics thereof are not limited to those described in the specification; the numbers referred to in the specification are not limited to "a" or "an" etc.
The invention is not limited to the specific details described herein. Many variations of the invention may be made in relation to the foregoing description and drawings within the spirit and scope of the invention. Accordingly, it is intended that the appended claims cover all such modifications as fall within the true scope of the invention.

Claims (8)

1. A method for segment backup of an electronic device, comprising:
executing a wake-up step, wherein a wake-up module wakes up the electronic device, the wake-up step comprises a near-end wake-up mode and a remote wake-up mode, and the remote wake-up mode comprises a first wake-up mode, a second wake-up mode and a third wake-up mode so as to be beneficial to automatic backup; wherein the content of the first and second substances,
the first wake-up mode is that the server sends out an instruction, the electronic device receives a network packet with the instruction and analyzes the network packet, and after confirmation, the electronic device immediately executes a starting program;
the second wake-up mode is used for controlling a plurality of electronic devices and internal file data thereof by a server through a network;
the third wake-up mode is that the seed computer wakes up through the network to control the backups of a plurality of electronic devices and obtains the backups of different instructions aiming at different electronic devices;
executing a segmentation step to segment the file data of the electronic device into a plurality of segments;
executing a backup step to respectively copy a plurality of segments; and
and executing a compression encryption step to compress and encrypt the plurality of fragments into a plurality of ciphertext fragments in a non-destructive manner, wherein the segmented backup method is suitable for local backup, remote backup and remote backup.
2. The method for segment backup of an electronic device according to claim 1, further comprising:
executing a detection step to detect the initial state of the electronic device, wherein the detection step corresponds to a starting condition of a set module;
executing an integration step to integrate the plurality of ciphertext fragments into ciphertext data; and
executing a termination step, wherein a termination condition of the setting module terminates the awakening step.
3. The method for segment backup of an electronic device according to claim 1, wherein the segmenting step comprises:
the file data of the electronic device is segmented into a plurality of segments, which take 64K bits as a unit.
4. The method for segment backup of an electronic device according to claim 1, wherein the step of backing up comprises: a full backup mode, a differential backup mode, and an incremental backup mode.
5. The method for segment backup of an electronic device according to claim 1, wherein the waking step further comprises:
a daytime wake-up backup mode, wherein a starting condition triggers the near-end wake-up; and
and waking up a backup mode at night, wherein the starting condition triggers the remote wake-up.
6. A system for segment backup of an electronic device, the system comprising:
the remote wake-up module comprises a first wake-up mode, a second wake-up mode and a third wake-up mode so as to be beneficial to automatic backup; wherein the content of the first and second substances,
the first wake-up mode is that the server sends out an instruction, the electronic device receives a network packet with the instruction and analyzes the network packet, and after confirmation, the electronic device immediately executes a starting program;
the second wake-up mode is used for controlling a plurality of electronic devices and internal file data thereof by a server through a network;
the third wake-up mode is that the seed computer wakes up through the network to control the backups of a plurality of electronic devices and obtains the backups of different instructions aiming at different electronic devices;
a segmentation module, segmenting the archive data of the electronic device into a plurality of segments;
a backup module for copying a plurality of segments respectively; and
and the compressed encryption module is used for compressing and encrypting the fragments into a plurality of ciphertext fragments and storing the ciphertext fragments at the near end or the remote end, wherein the encryption algorithm of the compressed encryption module is AES, DES, 3DES or Blowfish.
7. The system for segment backup of an electronic device according to claim 6, further comprising:
a setting module, including several starting conditions and terminating conditions, in which several starting conditions include that the electronic device is in low power consumption state, CPU utilization rate is less than a specific value and electronic device power saving mode, several terminating conditions include that the peripheral device is used, CPU utilization rate is greater than a specific value and dormant state, the starting conditions are used as indication for triggering the awakening module to make backup, and the terminating conditions are used as indication for stopping the awakening module to terminate backup;
the detection module is used for periodically detecting the power state of the electronic device.
8. The system for segment backup of an electronic device according to claim 6,
the backup module includes: a full backup mode, a differential backup mode, and an incremental backup mode;
the wake-up module further comprises:
a daytime wake-up backup mode, wherein a starting condition triggers the near-end wake-up; and
and waking up a backup mode at night, wherein the starting condition triggers the remote wake-up.
CN201610520874.9A 2016-05-25 2016-07-05 System and method for sectional backup Active CN107436824B (en)

Applications Claiming Priority (2)

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

Publications (2)

Publication Number Publication Date
CN107436824A CN107436824A (en) 2017-12-05
CN107436824B true CN107436824B (en) 2021-10-22

Family

ID=59688299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610520874.9A Active CN107436824B (en) 2016-05-25 2016-07-05 System and method for sectional 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103916449A (en) * 2013-01-09 2014-07-09 技嘉科技股份有限公司 Remote backup system and remote backup method thereof
CN103986588A (en) * 2013-02-07 2014-08-13 宏碁股份有限公司 Computer system and far-end remote control method of computer device

Family Cites Families (8)

* 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
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
TW201617871A (en) * 2014-11-14 2016-05-16 積躍股份有限公司 Data backup restoring system and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103916449A (en) * 2013-01-09 2014-07-09 技嘉科技股份有限公司 Remote backup system and remote backup method thereof
CN103986588A (en) * 2013-02-07 2014-08-13 宏碁股份有限公司 Computer system and far-end remote control method of computer device

Also Published As

Publication number Publication date
CN107436824A (en) 2017-12-05
TWI588670B (en) 2017-06-21
TW201810089A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
US7210045B2 (en) Storing encrypted and/or compressed system context information when entering a low-power state
US8327171B2 (en) Method and apparatus for facilitating device hibernation
US7519808B2 (en) Method and apparatus for quickly reanimating devices from hibernation
US7900074B2 (en) Method and apparatus for quickly reanimating devices from hibernation
KR101182222B1 (en) Computer system and control method thereof
US20050044241A1 (en) Computer system power policy adjustment in response to an affirmative indication from a user
US20110239019A1 (en) Method and system for managing power consumption of a computing device
US20170147363A1 (en) System and method for reducing hibernate and resume time
US20030217299A1 (en) Power management system and method
US7240189B2 (en) Fast resume to normal operation of a computer in a power saving mode
CN107436823B (en) System and method for automatic scheduling backup
WO2014008653A1 (en) Method for switching a device between hibernat mode and wake-up
KR101431712B1 (en) Apparatus and method for informing the PC user of the status of Wake On Lan
US20030149866A1 (en) Data processing system and method
CN107436824B (en) System and method for sectional backup
US10591980B2 (en) Power management with hardware virtualization
EP3777017B1 (en) Ephemeral regions within non-volatile memory devices
US20040123057A1 (en) Method for backing up data
US20140281627A1 (en) Device Sleep Partitioning and Keys
US20120185713A1 (en) Server, storage medium, and method for controlling sleep and wakeup function of the server
EP1229430B1 (en) Power management system and method
WO2023019691A1 (en) Storage device and data recovery method therefor, control device, and readable storage medium
DE102008049584B4 (en) Procedures and arrangements for carrying out additional mail transmission or administration
CN105224399A (en) The method of electronic installation and switching operating system thereof
EP1127723A2 (en) Van-type vehicle with at least one openable side

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant