CN107436824A - System and method for sectional backup - Google Patents
System and method for sectional backup Download PDFInfo
- Publication number
- CN107436824A CN107436824A CN201610520874.9A CN201610520874A CN107436824A CN 107436824 A CN107436824 A CN 107436824A CN 201610520874 A CN201610520874 A CN 201610520874A CN 107436824 A CN107436824 A CN 107436824A
- Authority
- CN
- China
- Prior art keywords
- backup
- module
- wake
- mode
- electronic installation
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000007906 compression Methods 0.000 claims abstract description 22
- 230000006835 compression Effects 0.000 claims abstract description 22
- 230000011218 segmentation Effects 0.000 claims abstract description 19
- 238000009434 installation Methods 0.000 claims description 67
- 239000012634 fragment Substances 0.000 claims description 20
- 230000010354 integration Effects 0.000 claims description 6
- 206010027590 Middle insomnia Diseases 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 6
- 238000005859 coupling reaction Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000005059 dormancy Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000002618 waking effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 3
- 230000000284 resting effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000007958 sleep Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 241001441724 Tetraodontidae Species 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management 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
Technical field
The present invention is a kind of standby system and its method, especially with regard to the system and method for staging backup.
Background technology
The network technology is maked rapid progress, and computer peripheral apparatus is too numerous to enumerate, far and away, significantly changes lifestyle, increase
Life convenient, improve operating efficiency.For enterprise, it is dependent on electronic equipment to complete electronic data more, and by electronic data
Internal server or certain computer are stored in, is responsible for beneficial to high-order and controls job schedule, more importantly, avoided outside classified papers
Stream.
However, hacker or unworthy personage are omnipresent, and it is hard to guard against, electronic data is specially stolen, for example, " is extorted soft
Part " is existing rampant bogusware, except stealing electronic data, also asks for decryption expense to client, causes business property
Sustained damage with reputation.
Most enterprise utilize " remote backup " related software with up to backup, monitoring and synchronization purpose.Existing redundancy technique,
Periodically or non-periodically with artificial manipulation network, transmission magic package (Magic Packet) to number must be passed through from server-side
Individual designated computer, and after computer receives the package from server-side, start to perform backup, the data after being backed up,
It must be stored in primitive compuer, or be to be sent to server-side through network, however, its shortcoming is:Raising personnel costs,
Data after backup are non-ciphertext, LAN may limit the factors such as archives size.
To sum up institute is old, and to improve the missing of prior art, the present invention proposes system and its side of a kind of automatic arrangement program backup
Method, designated computer are backed up according to internal scheduling instruction, omit the artificial manipulation of existing remote backup.
The content of the invention
Present invention is primarily aimed at a kind of method of staging backup is provided, apply to an electronic installation, comprise at least down
Row step:A wake-up step is performed, a wake module wakes up the electronic installation;Perform a division step, the electronic installation
File data give segmentation and turn to several fragments;A backup-step is performed, replicates several fragments respectively;Perform a compression encryption
Step, several fragment compressions are encrypted as several ciphertext fragments.
Preferably, also comprise the following steps:A detecting step is performed, it is right to detect the original state of the electronic installation
Should be to a unlocking condition of a setting module;A wake-up step is performed, a wake module wakes up the electronic installation;It is whole to perform one
It is a ciphertext data to close step and integrate several ciphertext fragments;Perform one and terminate step, the one of the setting module terminates bar
Part terminates the wake-up step.File data of the division step including the electronic installation gives segmentation and turns to several
Section, it is using 64K positions as a unit.The wake-up step includes:One near-end awakening mode and a Remote Wake Up pattern, wherein described
Remote Wake Up pattern includes one first awakening mode, one second awakening mode and one the 3rd awakening mode.The backup-step bag
Include a complete backup mode, a differential backup pattern and an incremental backup pattern.
Another object of the present invention system provides a kind of staging backup system, applies to any electronic installation, the system bag
Include a wake module, a segmentation module, a backup module, a compression module and an encrypting module.The wake module is calling out
The running of the awake electronic installation.The segmentation module turns to several so that the file data of the electronic installation is given into segmentation
Section.The backup module replicates several fragments respectively.The compression/encryption module to encrypt and compress several fragments,
For several ciphertext fragments.
Preferably, the system also includes a setting module and a detecting module.The setting module includes several unlatchings
Condition and end condition, the detecting module is to detect the original state of the electronic installation.It is near that the wake module includes one
Awakening mode and a Remote Wake Up pattern are held, wherein the Remote Wake Up pattern includes one first awakening mode, one second wake-up
Pattern and one the 3rd awakening mode.The backup module includes a complete backup mode, a differential backup pattern and an increment
Backup mode.
Brief description of the drawings
Fig. 1 is the system architecture diagram for showing the embodiment of the present invention;
Fig. 2 is the block diagram for showing the embodiment of the present invention;
Fig. 3 is the block diagram for showing the embodiment of the present invention;
Fig. 4 is the step flow chart for showing the embodiment of the present invention;
Fig. 5 A are the step flow charts for showing the embodiment of the present invention;
Fig. 5 B are the step flow charts for showing the embodiment of the present invention.
Critical piece reference:
The setting module of 100 system 102
The end condition of 1022 entry condition 1024
The local module of 104 wake module 1042
The backup module of 1044 far module 106
The encrypting module of 108 compression module 110
The mnemon of 112 processing unit 114
1044a the first awakening mode the second awakening modes of 1044b
1062 complete backup mode of the 3rd awakening modes of 1044c
The incremental backup pattern of 1064 differential backup pattern 1066
The 1068 daily standard backups patterns of backup mode 1069
The step of 300 method 302
304 step 306 steps
308 step 310 steps
312 step 103 detecting modules
301 steps.
Embodiment
Embodiments now different to the present invention illustrate.Description below provides the specific execution details of the present invention, makes
Reader thoroughly understands the practising way of these embodiments.Right those skilled in the art are not it is understood that the present invention can also possess these
Carried out under conditions of details.In addition, will not make detailed description to some well known structure or functions in text, it is each to avoid causing
Unnecessary between kind of embodiment to obscure, the term used in describing below will be explained with broadest rational method, though its with
The detailed description of certain specific embodiment of the invention is used together.In addition, accompanying drawing does not describe each feature of practical embodiments, institute
It is all relative size that the schema components of description, which are, rather than is drawn to scale.
Refering to Fig. 1, the figure shows the system architecture diagram of the embodiment of the present invention, system (the following letter of automatic arrangement program backup
Title system 100) include a setting module 102, a detecting module 103, a wake module 104, a backup module 106, one compression
The encrypting module 110 of module 108 and one.The system 100 obtains what is performed by any computing device.With lower module, known component and
Step is all by processing unit 112 with execution.
The purpose of setting module 102 is:Set for user and open and terminate electronic installation running (not shown in the figures)
Condition.In an embodiment, setting module 102 includes several unlocking conditions 1022, such as:Electronic installation is in low power consumpting state
(Sleep states of as sleeping), CPU usage are less than a particular value (in screen protection program running), electronic installation power saving mould
Formula etc., when electronic device state meets any one of several unlocking conditions 1022, using the selected unlocking condition 1022 met as
Trigger the instruction of wake module 104, the details of wake module 104 described in detail below.
In another embodiment, setting module 102 also includes several end conditions 1024, such as:Using peripheral device,
CPU usage is more than a particular value, resting state etc., when electronic device state meets any one of several end conditions 1024,
Using the selected end condition 1024 met as the instruction for stopping waking up.In other words, unlocking condition 1022 and end condition 1024
Purpose between the two carries out subsequent backup step on the contrary, by unlocking condition 1022 to trigger wake module 104;Backup of waiting is finished,
By end condition 1024 to stop wake module 104, and restore electronic installation.
In an embodiment, client is obtained on the electronic installation for embedding the system 100, sets the He of unlocking condition 1022
End condition 1024;In another embodiment, client must pass through distance host server, set and embed the system 100
The unlocking condition 1022 and end condition 1024 of electronic installation, but be not limited thereto.
In an embodiment, detecting module 103 is coupled between setting module 102 and wake module 104, detecting module
103 periodically detect the power supply status of electronic installation, will if the state symbol detected closes the one of which of unlocking condition 1022
Its unlocking condition 1022 is selected to instruct as subsequent operation;If on the contrary, the state detected meets end condition 1024
One of which, using its selected end condition 1024 as subsequent operation instruct.
From in several unlocking conditions 1022 select one, as triggering wake module 104 instruction, wake module 104
Purpose is:Through wake module 104, start the running of electronic installation, beneficial to automated back-up.In an embodiment, mould is waken up
Block 104 includes near-end and wakes up 1042 and Remote Wake Up 1044, is filled as shown in Fig. 2 the near-end wakes up 1042 intentions by periphery
(such as mouse or keyboard) is put so that up to purpose is waken up, it is remote administrator transmission Magic packages that the Remote Wake Up 1044, which is, is passed through
Network is sent to electronic installation, makes electronic installation normal operation.
Refering to Fig. 2, in an embodiment, Remote Wake Up 1044 includes one first awakening mode 1044a and one second and waken up
Pattern 1044b.In an embodiment, the first awakening mode 1044a must be sent instruction by remote server, and electronic installation receives tool
There is the network package of instruction, and analyze network package, after confirmed, electronic installation is immediately performed boot program, this first wake-up
Pattern 1044a is WOL (Wake-on-LAN, WoL).In another embodiment, the second awakening mode 1044b improvement
First awakening mode, par-ticular processor must be loaded by remote server and electronic installation, embed particular system, remote management people
Member passes through network, and to manipulate several electronic installations and its internal file data, this second awakening mode 1044b is intel
VPro technologies (Intel wins sharp).In most preferred embodiment, Remote Wake Up 1044 also includes one the 3rd awakening mode 1044c, base
In first and second awakening mode 1044a, 1044b improvement, Information Security is lifted, using vPro as seed computer, its another coupling
Plural electronic installation, such as desktop computer, notebook computer or tablet PC, administrative staff carry out bar in seed computer
Part is set, such as unlocking condition 1022 or end condition 1024, and seed computer is filled through WOL with manipulating several electronics
Put, in other words, it is only necessary to a seed computer, you can while the backup of more electronic installations is manipulated, further, obtain for not
The backup of different instruction is carried out with electronic installation.
In an embodiment, segmentation module 202 is coupled between wake module 104 and backup module 106, wakes up electronics dress
After the power supply status put, be intended to Backup Data is segmented by segmentation module 202, and big archives are divided into small archives, such as:With
64K multiple is a unit, but is not limited with this.
Refering to Fig. 3, in an embodiment, backup module 106 is coupled to wake module 104 and setting module 102, backup mould
Difference of the block 106 according to awakening mode, and have different backup modes, backup module 106 includes complete backup mode (Copy
Backup) 1062, differential backup pattern (Differential backup) 1064 and incremental backup pattern (Incremental
backup)1066.In most preferred embodiment, complete backup mode 1062 is applied to first time data backup, to All Files number
According to Overall Backup, or even backup operation system, if the data file to be backed up is more than a particular value, such as 512 MB, then
Parallel segmentation is backed up, and big archives are divided into the small archives of several pieces sections, continued, each backup, is encrypted with sharp subsequent compression.In another
In one most preferred embodiment, differential backup pattern 1064 is based on complete backup mode 1062, is carried out only for the archives of part change
Backup, is such as changed or increase, differential backup pattern 1064 according to the archives changes of title, time or size etc., such as with initially
Status of Backups difference person, differential backup pattern 1064 will be performed.Always say, complete backup mode 1062 is only performed once, and poor
Different backup mode 1064 must can be performed using complete Backup Data as benchmark, and differential backup pattern 1064 must perform multiple
For several times.A Backup Data is compared before the system of incremental backup formula 1066 in another embodiment again, and only backup increases and/or repaiied
The part changed.The usual skill of the known item technical field should be appreciated that backup mode, difference completely of the present invention
Backup mode and incremental backup pattern are not limited to the number in above-described embodiment, obtain depending on the demand of client and have some change.
In an embodiment, backup module 106 also includes daily backup mode (Daily backup) 1068 and standard backups pattern
(Normal backup) 1069, as shown in Figure 3.Specifically, differential backup pattern 1064, can according to former data file number
It is subdivided into both of which:First mode is applied to a big archives, only backs up the part variation in big archives, such as Outlook standby
Part (.PST File);Second mode is applied to numerous archives, only backs up the part variation in numerous archives, and the part do not changed is not
Participate in backup.
The present invention uses opportunity in response to client, can take different awakening modes and backup mode, can also be divided into:In the daytime
Backup mode and nocturnal awakenings backup mode are waken up, both maximum differences are wake-up mode difference.In general, client is more
, accordingly, must be using backup mode be waken up in the daytime with daytime operation computer, detecting module 103 detects the electricity of client computer
Source state, corresponding/selected entry condition 1022,1042 and backup module 106 are waken up to trigger the near-end of wake module 104.Lift
Example for, if client computer be in screen protection program running when, system 100 will select meet screen protection program
Unlocking condition, dependent instruction is produced, triggering backup module 106 opens running, and backup module 106 can first judge whether to perform
Backup completely for the first time, is also obtained according to archives amount of capacity and selected one of full backup or differential backup.When night, calculate
Machine is mostly shutdown or resting state, now it is necessary to which using nocturnal awakenings backup mode, detecting module 103 is detected client and calculated
Machine state, such as dormancy or shutdown, to select unlocking condition 1022, wake module 104 is triggered, makes the transmission of wake module 104 wake up
Package is to client computer, and used awakening mode is to determine according to actual circuit configuration status, and client calculates
Machine receives wake up package after will trigger the Remote Wake Up 1044 of wake module 104, continue, trigger backup module 106, also according to
One of full backup 1062 or differential backup 1064 are selected according to archives amount of capacity, backup of waiting is finished, and end condition 1024 stops
Wake module 104, its follow-up backup module 106 will also terminate, and client computer returns back to original state.In most preferred embodiment,
In the daytime use must be alternateed by waking up backup mode and nocturnal awakenings backup mode.
Compression module 108 and encrypting module 110 are coupled together at backup module 106, compression module 108 and encrypting module
110 must perform simultaneously, also obtain and successively perform.In an embodiment, compression module 108 and encrypting module 110 must be integrated into a pressure
Contracting encrypting module (not shown in the figures), unsegmented data, segment data compression are encrypted as ciphertext data by it.Implement in one
In example, compression module 108 includes multiple transformed matrixs, and through nondestructive specific coding mechanism, archives appearance is reduced to reach
Measure the purpose of size.The system of encrypting module 110 be encrypted through AES (such as:High-order Encryption Standard AES, Advanced
Encryption Standard, DES, 3DES, Blowfish), by taking AES high-order encryption standards as an example, but it is not limited to AES height
Rank encryption standard, its key length are respectively 128bits, 192 bits, 256 bits and utilize the lattice of transparent mode encryption and decryption
Formula.The usual skill of the known item technical field should be appreciated that above-mentioned compression module 108 and encrypting module 110 are able to
What prior art was realized, therefore not in this to go forth its principle.
In an embodiment, system 100 includes mnemon 114, and in another embodiment, mnemon 114 couples
In system 100.Mnemon 114 is storing all Data Datas, including instruction, condition, Backup Data, is not backed up data
Deng.Mnemon 114 includes volatile memory (volatile memory), non-voltile memory (non-volatile
Memory, NVRAM), wherein volatile memory must include random access memory (Random Access Memory, RAM), move
State random access memory (Dynamic Random Access Memory, DRAM), static random access memory (Static
Random Access Memory, SRAM) or the like etc., but be not limited thereto;Non-voltile memory must include read-only
Memory (Read-only memory, ROM), programmable read only memory (Programmable read-only
Memory), electronic, rewritable read-only storage (Electrically alterable read only memory, EAROM),
EPROM (Erasable programmable read only memory, EPROM), electronics can
Erase programmable read only memory (Electrically erasable programmable read only memory,
EEPROM), flash memory (Flash memory) or the like etc., but be not limited thereto.The present invention is according to actual demand to select
Internal memory kind and quantity needed for taking, in most preferred embodiment, mnemon 114 includes a DRAM and two sudden strains of a muscle
Deposit, but be not limited thereto.
In an embodiment, the system 100 also provides a user interface UI (not shown in the figures), and it is provided with and cut automatically
Change the switch for waking up backup and nocturnal awakenings backup in the daytime, and the image provided with wake module 104 and backup module 106
Icon。
Refering to Fig. 4, the figure shows that the embodiment of the present invention realizes the step flow chart of automatic arrangement program backup.It is as described herein
Flow provides the example of different step.Though particular order and sequence are disclosed, unless otherwise, the step of changing flow is suitable
Sequence.Therefore, described flow is merely illustrative, and the flow by different order step to perform, or even some steps
Can be simultaneously parallel.In addition, not each execution includes same steps, thus embodiment as described herein may ignore it is one or more
Individual step.The present invention also includes other steps flow charts.By said system 100 with realization, explanation is main below is the system of method 300
By system 100 to operate the following steps, if necessary, other conventional procedures that must arrange in pairs or groups and component are to perform, and methods described 300 is not
It is confined to realize step by same computing electronics, obtains and configure different computing electronics according to actual demand to realize step
Flow.
Step 301:Client sets the unlocking condition 1022 and end condition 1024 of electronic installation.In an embodiment,
Setting module 102 includes several unlocking conditions 1022 and end condition 1024, and unlocking condition 1022 includes electronic installation and is in low
Power consumption state (Sleep states of as sleeping), CPU usage are less than a particular value (in screen protection program running), electronics dress
Put battery saving mode etc..End condition 1024 is more than a particular value, resting state etc. including the use of peripheral device, CPU usage.Change
Yan Zhi, unlocking condition 1022 and end condition 1024 purpose between the two are on the contrary, by unlocking condition 1022 to trigger wake-up mould
Block 1024, carry out subsequent backup step;Backup of waiting is finished, and by end condition 1024 to stop wake module 104, and makes electronic installation
Restore.
Step 302:Detecting and the original state for confirming an electronic installation.When electronic installation operates the time with client operation
Between it is consistent, begin work at sunrise, ending at sunset, it is however generally that, the amount of running in the daytime of electronic installation is more than night running amount, electronic installation
In the daytime state is that CPU usage is more than a particular value, and electronic installation night status includes dormancy (i.e. standby) or off-mode etc.
Battery saving mode.In state embodiment in the daytime, detecting module 103 detects electronic device state, when electronic installation is in lower column-shaped
State:Screen protection program, CPU usage are opened less than a certain particular value etc., then is corresponded to the unlocking condition of setting module 102
1022.In night status embodiment, obtain and automatically confirm that electronic installation in a dormant state or off-mode by remote servo end.
Step 304:The one of the corresponding unlocking condition 1022 to setting module 102 of original state detected.In above-mentioned day
Between in state embodiment, when electronic installation original state to open screen protection program, CPU usage is less than a certain particular value
One of Deng, it is considered as the instruction of the unlocking condition 1022 in setting module 102.Similarly, in above-mentioned night status embodiment
In, when the original state of electronic installation is dormancy or shutdown person, it is considered as the finger of the unlocking condition 1022 in setting module 102
Order.
Step 306:Unlocking condition 1022 triggers wake module 102.It should be noted that this step 306 is in above-mentioned shape in the daytime
It is optional in state embodiment.In above-mentioned night embodiment, original state, the choosing of electronic installation are confirmed through detecting module 103
After determining entry condition 1022, the entry condition 1022 selected triggers wake module 104, and wake module 104 wakes up including near-end
1042 and Remote Wake Up 1044, it is remote administrator transmission Magic packages that the Remote Wake Up 1044, which is, and electricity is sent to through network
Sub-device, make electronic installation normal operation.
Refering to Fig. 2, in an embodiment, Remote Wake Up 1044 includes one first awakening mode 1044a and one second and waken up
Pattern 1044b.In an embodiment, the first awakening mode 1044a must be sent instruction by remote server, and electronic installation receives tool
There is the network package of instruction, and analyze network package, after confirmed, electronic installation is immediately performed boot program, this first wake-up
Pattern 1044a is WOL (Wake-on-LAN, WoL).In another embodiment, the second awakening mode 1044b improvement
First awakening mode, par-ticular processor must be loaded by remote server and electronic installation, embed particular system, remote management people
Member passes through network, and to manipulate several electronic installations and its internal file data, this second awakening mode 1044b is intel
VPro technologies (Intel wins sharp).In most preferred embodiment, Remote Wake Up 1044 also includes one the 3rd awakening mode 1044c, base
In first and second awakening mode 1044a, 1044b improvement, Information Security is lifted, using vPro as seed computer, its another coupling
Plural electronic installation, such as desktop computer, notebook computer or tablet PC, administrative staff carry out bar in seed computer
Part is set, such as unlocking condition 1022 or end condition 1024, and seed computer is filled through WOL with manipulating several electronics
Put, in other words, it is only necessary to a seed computer, you can while the backup of more electronic installations is manipulated, further, obtain for not
The backup of different instruction is carried out with electronic installation.
Step 307:Perform data segmentation.Segmentation module 202 is coupled between wake module 104 and backup module 106, is called out
Wake up after the power supply status of electronic installation, be intended to Backup Data is segmented by segmentation module 202, and big archives are divided into small shelves
Case, such as:Using 64K as a unit, but do not limited with this.
Step 308:Perform backup.After backup module 106 receives the instruction of wake module 104, start to perform Backup Data
File.Backup module 106 includes complete backup mode 1062 and differential backup pattern 1064.It is completely standby in most preferred embodiment
Part pattern 1062 is applied to first time data backup, to All Files data Overall Backup, if, the data file to be backed up
More than a particular value, then Parallel segmentation backup, big archives is divided into the small archives of several pieces sections, continued, each backup, after profit
Continuous compression encryption.In another most preferred embodiment, differential backup pattern 1064 is based on complete backup mode 1062, only for part
The archives of change are backed up, differential backup pattern 1064 according to the archives changes of title, time or size etc., such as with initially
Status of Backups difference person, differential backup pattern 1064 will be performed.Always say, complete backup mode 1062 is only performed once, and poor
Different backup mode 1064 must be based on previous Backup Data, can perform, and differential backup pattern 1064 must perform plural time.It is ripe
Know that the usual skill of the item technical field should be appreciated that backup mode 1062 completely and differential backup mould of the present invention
Formula 1064 is not limited to the number in above-described embodiment, obtains depending on the demand of client and has some change.
Step 307 and step 308 obtain simultaneously parallel, or be each to independently execute, no sequencing limitation, step 307
Obtain and occur after step 308, that is, first back up and split afterwards.
Step 310:Backup Data compresses and/or encryption, this step are optional, and compression step and encrypting step obtain parallel,
Or it is independent each execution, is only limited without sequencing.Backup Data as described herein must be stored in the note of primary electron device
Recall in unit 114, also must be sent to remote server through network, or be both combinations, thereby reach synchronous effect.
Step 311:An integration step is performed, it is ciphertext data to integrate several ciphertext fragments, and this step is optional step,
Depend on whether the pre- data segmentation for first carrying out step 307.Several fragments of segmentation, and step are completed in step 307
308 complete the encrypted segments of compression encryption, obtain and are integrated into ciphertext data by integration module (not shown in the figures), its
It is stored in the mnemon 114 of primary electron device, also must be sent to remote server through network, or be both groups
Close.In an embodiment, this integration step is obtained and realized by compression module 108, integration step (step 311) and compression encrypting step
(step 310) obtains simultaneously parallel.
Step 312:End condition 1024 terminates wake module 104.In an embodiment, backup of waiting is finished, and end condition is temporary
Stop and/or stop wake module 104, electronic installation is returned back to original state.In another embodiment, end condition 1024 wraps
Include:The running of peripheral device (such as mouse or keyboard), when client uses peripheral device in backup procedure, end condition 1024
It will stop and/or suspend backup module 106 and wake module 104, and electronic installation is returned back to original state.
In another most preferred embodiment, the present invention uses opportunity in response to client, can take different awakening modes and standby
Part pattern, can also be divided into:In the daytime wake up backup mode and nocturnal awakenings backup mode, both maximum differences are wake-up mode not
Together, the step flow chart for waking up backup mode in the daytime is shown refering to Fig. 5 A and Fig. 5 B, Fig. 5 A, Fig. 5 B show nocturnal awakenings backup mould
The step flow chart of formula.Refering to Fig. 5 A, it is however generally that, client is more than daytime operation computer, accordingly, must use and wake up in the daytime
Backup mode, detecting module 103 are detected the power supply status of client computer, corresponding/selected entry condition 1022, called out with triggering
The near-end for module 104 of waking up wakes up 1042, and it is open state to make electronic installation, is continued, and backup module 106 can first judge whether to hold
Row backup completely for the first time, if without backup person completely is performed for the first time, obtains footpath row differential backup or incremental backup etc..Citing
For, if client computer be in screen protection program running when, system 100 selected will meet opening for screen protection program
Open condition 1022, produce dependent instruction, triggering backup module 106 opens running, and backup module 106 it is big according to archives capacity
One of small and selected full backup 1062 or differential backup 1064.Refering to Fig. 5 B, when night, computer is mostly shutdown or dormancy
State, now it is necessary to using nocturnal awakenings backup mode, detecting module 103 detects client computer state, such as dormancy or pass
Machine, with corresponding/selected unlocking condition 1022, wake module 104 is triggered, makes the transmission of wake module 104 wake up package to client
Computer, used awakening mode are that client computer, which receives, wakes up envelope according to actual circuit configuration status to determine
To trigger the Remote Wake Up 1044 of wake module 104 after bag, it is open state to make electronic installation, is continued, and triggers backup module
106, it can first judge whether to perform complete backup for the first time, if complete backup person for the first time need not be performed, it is poor to obtain footpath row
Different backup or incremental backup etc., backup module 106 must also shine archives amount of capacity and selected full backup 1062 or differential backup
One of 1064, backup of waiting is finished, and end condition 1024 stops wake module 104, and its follow-up backup module 106 will also terminate, visitor
Family end computer returns back to original state.In most preferred embodiment, backup mode is waken up in the daytime and is obtained mutually with nocturnal awakenings backup mode
It is used alternatingly.
Electronic installation as described herein includes desktop computer, notebook computer, tablet PC etc. and has network transmission
Calculator, but be not limited thereto.The present invention is not limited to what is realized with same electronic installation, obtains and is realized by several electronic installations
The present invention, further, the present invention can be completed by the electronic installation of alien operating system, operating system include IOS,
Windows, Android etc., but be not limited thereto.The data to be backed up may include file, map file, audio text herein
Part, video files, application program and operating system etc..
In summary, the present invention provides a kind of system and method for automatic arrangement program backup, the state according to electronic installation
And have different wake-up conditions, thereafter, backed up more according to data file size with deciding whether segmentation, and according to previous backup number
Differential backup pattern or incremental backup pattern are performed according to this.Present system uses the situation of electronic installation not influenceing client
Lower carry out automatic duplicating of data, consequently, it is possible to effectively reduce personnel costs, it is preferable that the present invention wakes up and backed up between the two
Collaboration, cause Backup Data not wake up because terminating suddenly and deletes or disappears, after wake-up startup next time of waiting, adopt it is previous
Backup Data, to carry out differential backup or incremental backup etc..The present invention is widely used in local backup (local backup), remote
Journey backs up (remote backup) and remote backup (off-site backup).
Above-mentioned purpose is to explain, various specific details are to provide for the thorough understanding for the present invention.Known sheet
The usual skill of invention field should can implement the present invention, without some of which specific detail.In other embodiments, it is known
Structure and device be not depicted in block diagram.Intermediate structure may be included between schema components.Described component may
Including extra input and output, it is not depicted in accompanying drawing in detail.
In the component described in different embodiments be independent circuit, only also can be by part or all of component integration in single circuit
In, thus, the different components described in claims may correspond to the partial function of one or more circuits.
The present invention includes various processing routines, and the processing routine is able to Hard disc module and performed, or is embedded in calculating
In the readable instruction fetch of machine, it can form general or specific purposes and processor or logic circuit with programming instruction, to perform
Program, in addition, described program are also obtained and performed by the combination of hardware and software.
Method is described with citation form, under without departing from scope, either method or message are derived from and increased in program
Add or delete, the usual skill of the known item technical field further should can improve or correct the present invention, particular implementation side
Formula is only to illustrate, the unrestricted present invention.
If having a component " A " coupling (or coupling) in text to component " B ", component A may directly couple (or coupling) extremely
B, (or coupling) also or through component C is coupled indirectly to B.If specification states clearly a component, feature, structure, program or spy
Property A can cause a component, feature, structure, program or characteristic B, it represents that A is at least B a part of reason, also or indicates
Other assemblies, feature, structure, program or characteristic assist to cause B." possibility " one word being previously mentioned in the description, its component, spy
Sign, program or characteristic are not only restricted in specification;Quantity noted in the disclosure is not only restricted to the words such as "a" or "an".
The present invention is not confined to specific detail feature described herein.Under the spirit and scope of the present invention, with elder generation
It is even more what can be allowed to that the preceding description many different inventions related from schema, which become,.Therefore, the present invention will be wrapped by claim
Modification change possible to it is included, rather than scope of the invention is defined by top description.
Claims (10)
1. a kind of method of staging backup, applies to an electronic installation, it is characterised in that including at least the following steps:
A division step is performed, the file data of the electronic installation is given into section, is several fragments;
A backup-step is performed, replicates several fragments respectively;And
A compression encrypting step is performed, several fragment compressions are encrypted as several ciphertext fragments.
2. the method for staging backup as claimed in claim 1, it is characterised in that also include:
A detecting step is performed, to detect the original state of the electronic installation, a corresponding unlocking condition to a setting module;
A wake-up step is performed, a wake module wakes up the electronic installation;
An integration step is performed, it is a ciphertext data to integrate several ciphertext fragments;And
Perform one and terminate step, an end condition of the setting module terminates the wake-up step.
3. the method for staging backup as claimed in claim 1, it is characterised in that the division step includes:
The file data of the electronic installation gives segmentation and turns to several fragments, and it is using 64K positions as a unit.
4. the method for staging backup as claimed in claim 2, it is characterised in that wherein described wake-up step includes:One near-end
Awakening mode and a Remote Wake Up pattern, wherein the Remote Wake Up pattern includes:
One first awakening mode, it is WOL;
One second awakening mode, including Intel win it is sharp;And
One the 3rd awakening mode, it is the combination of first awakening mode and second awakening mode.
5. the method for staging backup as claimed in claim 1, it is characterised in that the backup-step includes:One backup completely
Pattern, a differential backup pattern and an incremental backup pattern.
6. the method for staging backup as claimed in claim 4, it is characterised in that the wake-up step also includes:
Backup mode is waken up between one day, the unlocking condition triggers the near-end and waken up;And
Backup mode is waken up in one night, and the unlocking condition triggers the Remote Wake Up.
7. a kind of system of staging backup, applies to an electronic installation, it is characterised in that the system includes:
One segmentation module, the file data of the electronic installation is given into segmentation and turns to several fragments;
One backup module, several fragments are replicated respectively;And
One compression encrypting module, several fragment compressions are encrypted as several ciphertext fragments.
8. the system of staging backup as claimed in claim 7, it is characterised in that also include:
One setting module, including several unlocking conditions and end condition;
One detecting module, the corresponding unlocking condition to the setting module;And
One wake module, to wake up the running of the electronic installation.
9. the system of staging backup as claimed in claim 8, it is characterised in that wherein described wake module includes:One near-end
Awakening mode and a Remote Wake Up pattern, wherein the Remote Wake Up pattern includes:
One first awakening mode, it is WOL;
One second awakening mode, including Intel win it is sharp;And
One the 3rd awakening mode, it is the combination of first awakening mode and second awakening mode.
10. the system of staging backup as claimed in claim 9, it is characterised in that
The backup module includes:One complete backup mode, a differential backup pattern and an incremental backup pattern;
The wake module also includes:
Backup mode is waken up between one day, the unlocking condition triggers the near-end and waken up;And
Backup mode is waken up in one night, and the unlocking condition triggers the Remote Wake Up.
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 true CN107436824A (en) | 2017-12-05 |
CN107436824B 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) |
Cited By (1)
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 (10)
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 |
US20060188086A1 (en) * | 1998-12-11 | 2006-08-24 | Acuity Software | Automatic call distribution system using computer network-based communication |
CN1873620A (en) * | 2005-06-03 | 2006-12-06 | 广达电脑股份有限公司 | 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 |
CN102281321A (en) * | 2011-04-25 | 2011-12-14 | 程旭 | Data cloud storage partitioning and backup method and device |
US20120089572A1 (en) * | 2010-10-06 | 2012-04-12 | International Business Machines Corporation | Automated and self-adjusting data protection driven by business and data activity events |
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 |
TW201617871A (en) * | 2014-11-14 | 2016-05-16 | 積躍股份有限公司 | Data backup restoring system and method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200540702A (en) * | 2004-06-03 | 2005-12-16 | Power Whale Information Ltd | Control system and method for timely starting computer multiple times |
CN101989929B (en) * | 2010-11-17 | 2014-07-02 | 中兴通讯股份有限公司 | Disaster recovery data backup method and system |
-
2016
- 2016-05-25 TW TW105116341A patent/TWI588670B/en active
- 2016-07-05 CN CN201610520874.9A patent/CN107436824B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060188086A1 (en) * | 1998-12-11 | 2006-08-24 | Acuity Software | 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 |
CN1873620A (en) * | 2005-06-03 | 2006-12-06 | 广达电脑股份有限公司 | 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 |
US20120089572A1 (en) * | 2010-10-06 | 2012-04-12 | International Business Machines Corporation | Automated and self-adjusting data protection driven by business and data activity events |
CN102281321A (en) * | 2011-04-25 | 2011-12-14 | 程旭 | Data cloud storage partitioning and backup method and device |
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 |
TW201617871A (en) * | 2014-11-14 | 2016-05-16 | 積躍股份有限公司 | Data backup restoring system and method thereof |
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
TWI588670B (en) | 2017-06-21 |
TW201810089A (en) | 2018-03-16 |
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 | |
CN103582868B (en) | Operator state checkpoints | |
CN106649406A (en) | Method and device for storing file in self-adaption mode | |
CN106775609A (en) | System and method for reducing dormancy and recovery time | |
CN107329806A (en) | A kind of development environment construction method and device | |
CN106249840A (en) | Power saving non-volatile microprocessor | |
CN107436823A (en) | System and method for automatic scheduling backup | |
CN101446915B (en) | Method and device for recording BIOS level logs | |
CN103744751B (en) | Storage device configuration information continuous optimization backup system and application method thereof | |
CN107436824A (en) | System and method for sectional backup | |
CN104484289A (en) | Sector-based embedded system write protection device and method | |
CN103049705B (en) | A kind of based on virtualized method for secure storing, terminal and system | |
CN105573860A (en) | STD (Suspend to disk) management method and STD management system used in computer system | |
TWI587309B (en) | Systems and methods for managing data in a device for hibernation states | |
CN107844859B (en) | Large medical equipment energy consumption prediction method based on artificial intelligence and terminal equipment | |
CN107577474A (en) | The processing method and processing device of upgrade file, electronic equipment | |
Wang et al. | Algorithms and Architectures for Parallel Processing: 15th International Conference, ICA3PP 2015, Zhangjiajie, China, November 18-20, 2015, Proceedings, Part IV | |
CN106919863A (en) | A kind of self-destruction hard disk unit | |
CN106815005A (en) | The method and device of data processing model and data processing is built based on framework | |
CN206601706U (en) | A kind of information protection device | |
Liu et al. | HVF: An optimized data backup and recovery system for hard disk based consumer electronics | |
CN100451992C (en) | Hardware cipher accessing method | |
CN101286244A (en) | Method for combining encryption to lower computer based on schoolyard card entrance guard system | |
CN111931895A (en) | Intelligent memory card embedded with CPU IC and application thereof | |
CN103778073A (en) | Data protection method, mobile communication device and storage storing device |
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 |