CN106294003A - Data back up method, data backup system and terminal - Google Patents
Data back up method, data backup system and terminal Download PDFInfo
- Publication number
- CN106294003A CN106294003A CN201610602268.1A CN201610602268A CN106294003A CN 106294003 A CN106294003 A CN 106294003A CN 201610602268 A CN201610602268 A CN 201610602268A CN 106294003 A CN106294003 A CN 106294003A
- Authority
- CN
- China
- Prior art keywords
- data
- backup
- abnormal
- data block
- target data
- 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.)
- Pending
Links
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/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)
Abstract
The present invention relates to a kind of data back up method, data backup system and terminal, its method includes: each data block in the target data of scanning needs backup;In described scanning process, determine the abnormal data block in described target data;Start described target data is backed up, described target data is being carried out in backup procedure, if running into described abnormal data block, then skip this abnormal data block and proceed the backup of subsequent data blocks.Use the present invention program, can will not cause backup failure because abnormal data block interrupts backup process when backing up, improve backup efficiency.
Description
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of data back up method and system, and one includes
The terminal of this data backup system.
Background technology
Widely available along with the mobile terminal such as smart mobile phone, panel computer, the data that user preserves in terminal are more come
The most, in order to preserve data, prevent data from causing loss because accidentalia is lost, user it is frequently necessary to the data in terminal
Back up.
Current backup mode is when user chooses (such as choosing) Backup options on data backup interface, in selected backup
After option, directly the data that selected Backup options is corresponding are backed up, when the data of selected backup exist abnormal,
Backup process can be terminated or stop, and causes backup failure, this backup mode, and generally requiring the waste more time could
Complete backup, back up inefficient.
Summary of the invention
The present invention is to provide a kind of data back up method and system, and a kind of end including this data backup system
End, can promote the backup efficiency of data backup.
The purpose of the present invention is achieved through the following technical solutions:
A kind of data back up method, including:
Scanning needs each data block in the target data of backup;
In described scanning process, determine the abnormal data block in described target data;
Start described target data is backed up, described target data is being carried out in backup procedure, if running into described
Abnormal data block, then skip this abnormal data block and proceed the backup of subsequent data blocks.
A kind of data backup system, including:
Scanning element, for scanning each data block in the target data needing backup;
Processing unit, in described scanning process, determines the abnormal data block in described target data;
Backup units, is used for starting to back up described target data, described target data is being carried out backup procedure
In, if running into described abnormal data block, then skip this abnormal data block and proceed the backup of subsequent data blocks.
A kind of terminal, it includes data backup system as above.
According to the scheme of the invention described above, it is each data block that scanning needs in the target data of backup, sweeps described
During retouching, determine the abnormal data block in described target data, start described target data is backed up, to described mesh
Mark data are carried out in backup procedure, if running into described abnormal data block, then skip this abnormal data block and proceed follow-up data
The backup of block, owing to each data block during first scanning needs the target data of backup before backing up is to determine described number of targets
Abnormal data block according to, and owing to described target data is being carried out in backup procedure, if running into described abnormal data block, then
Skip this abnormal data block and proceed the backup of subsequent data blocks, will not can interrupt because of abnormal data block when backing up
Backup process and cause backup failure, improve backup efficiency.
Accompanying drawing explanation
Fig. 1 be the data back up method of the embodiment of the present invention one realize schematic flow sheet;
Fig. 2 be the data back up method of the embodiment of the present invention two realize schematic flow sheet;
Fig. 3 is the composition structural representation one of the data backup system of the embodiment of the present invention three;
Fig. 4 is the composition structural representation two of the data backup system of the embodiment of the present invention three.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, to this
Invention is described in further detail.Should be appreciated that detailed description of the invention described herein only in order to explain the present invention,
Do not limit protection scope of the present invention.
Embodiment one
The embodiment of the present invention one provides a kind of data back up method, and Fig. 1 is the data back up method of the embodiment of the present invention one
Realize schematic flow sheet, as it is shown in figure 1, the data back up method in this embodiment one includes:
Step S101: scanning needs each data block in the target data of backup;
Here, each data block in the mainly detection target data of each data block during scanning needs the target data of backup
Whether is abnormal data block, wherein, abnormal data block can be unlawful data block, bad data block, harmful data block, or its
His data block being not suitable for backup, such as, the data block etc. that store path is long.
Specifically, can be when receiving data backup command, the first each data in the target data of scanning needs backup
Whether block, be abnormal data block to detect each data block in target data respectively, adopt in this way, can back up
Each data block in the target data of front first scanning needs backup;Can also sweep when the target data needing backup is selected
Retouch each data block in the target data needing backup, whether to detect each data block in target data respectively as abnormal data
Block, due to each data block being scanned in target data when being selected in the target data needing backup, it is possible to achieve sweep in advance
Retouch to promote the purpose of backup efficiency;Can also the default timed backup time then, scanning need backup target data
In each data block, adopt in this way, can periodically, automatically realize data backup.
Step S102: in described scanning process, determines the abnormal data block in described target data;
Specifically, in described scanning process, each data block detected successively in described target data obtains the most extremely
Testing result, determines the abnormal data block in described target data according to described testing result.
Step S103: start described target data is backed up, described target data is being carried out in backup procedure, if
Run into described abnormal data block, then skip this abnormal data block and proceed the backup of subsequent data blocks;
Specifically, start described target data is backed up, described target data is being carried out in backup procedure, successively
Detect whether each data block in described target data is abnormal data block, if abnormal data block, then skip this abnormal data
Block proceeds the backup of subsequent data blocks, if not abnormal data block, then carries out the backup flow process of the data block of correspondence.
Such as, including 100 data blocks altogether in target data, these 100 data blocks are respectively as follows: data block 1, data block
2, data block 3 ..., data block 100, wherein, in described scanning process, detects that data block 37 and data block 63 are for different
Regular data block, then after starting to back up described target data, successively to data block 1, data block 2, data block
3 ... back up, when backuping to data block 37, owing to data block 37 is abnormal data block for abnormal data block, then jump
Cross data block 37 and continue the backup of subsequent data blocks, i.e. after having backed up data block 36, skip data block 37, Backup Data block
38, data block 39, data block 40 ..., when backuping to data block 63, owing to data block 63 is abnormal for abnormal data block
Data block, then skip data block 63 and continue the backup of subsequent data blocks, i.e. after having backed up data block 62, skip data block 63,
Backup Data block 64, data block 65, data block 66 ..., until having backed up data block 100, in whole backup procedure, the most not
Need to interrupt backup process.
Wherein it is possible to when completing the scanning to described target data, start described target data is backed up, it is possible to
During to exceed predetermined threshold value in the number of data blocks scanned, start described target data is backed up, use latter
Mode, can perform the backup procedure of the data block scanned while the scan procedure of the data block that execution does not scans, can
To promote backup efficiency, wherein, predetermined threshold value can set according to actual needs, and this predetermined threshold value can be one and fix
Value, it is also possible to be an on-fixed value.
Accordingly, according to the scheme of above-mentioned the present embodiment, it is each data block that scanning needs in the target data of backup,
In described scanning process, determine the abnormal data block in described target data, start described target data to be backed up, right
Described target data is carried out in backup procedure, if running into described abnormal data block, then skips after this abnormal data block proceeds
The backup of continuous data block, owing to each data block during first scanning needs the target data of backup before backing up is described to determine
Abnormal data block in target data, and owing to described target data is being carried out in backup procedure, if running into described abnormal number
According to block, then skip this abnormal data block and proceed the backup of subsequent data blocks, can will not be because of abnormal number when backing up
Interrupt backup process according to block and cause backup failure, improve backup efficiency.
Wherein in an embodiment, the data back up method of the present invention, it is also possible to including: complete described target data
The scanning of all data blocks time, generate the information of described abnormal data block, described information includes described abnormal number
Relevant information according to block.Here, described relevant information can include the name information of abnormal data block, storage positional information, big
One or more in little information, abnormal cause information etc..This information can be shown by a visual cues.
Embodiment two
For the ease of location abnormal data block, the present embodiment two add on the basis of embodiment one for determined by different
Regular data block adds the step of abnormal mark.Fig. 2 be the data back up method of the embodiment of the present invention two realize schematic flow sheet,
As in figure 2 it is shown, the data back up method in this embodiment two includes:
Step S201: scanning needs each data block in the target data of backup;
Step S202: in described scanning process, determines the abnormal data block in described target data, for determined by different
Regular data block adds abnormal mark;
Specifically, the abnormal data block in described target data can be determined in described scanning process, and determining
When stating the abnormal data in target data, for determined by abnormal data block add abnormal mark, wherein, abnormal data mark can
To be text data (such as certain designated character or the combination of multiple character), it is also possible to be that non-text data (is such as specified
Figure).Therefore, the data block that with the addition of abnormal mark is abnormal data block.
Step S203: start to back up described target data, is carrying out inspection in backup procedure to described target data
Surveying whether the current data block in described target data is added with described abnormal mark, if being added with described abnormal mark, then jumping
Cross described current data block and proceed the backup of subsequent data blocks;
Here, current data block refers to data block the most to be backed up, can be in each data block of described target data
Any one.
Specifically, start described target data is backed up, described target data is being carried out detection in backup procedure
Whether the current data block in described target data is added with abnormal mark, if being added with abnormal mark, this current data is described
Block is abnormal data block, then skip current data, is new current data block with the next data of current data block, returns institute
State whether the current data block carrying out described target data detecting in described target data in backup procedure is added with exception
The process of mark, if being not added with abnormal mark, illustrating that this current data block is not abnormal data block, then entering described current data
Row backup.
Use the scheme in the present embodiment, the locating speed of abnormal data block, Ke Yijin can be accelerated based on abnormal mark
One step promotes backup efficiency.
Additionally, the information of above-mentioned generation described abnormal data block, may include that and inquire about institute according to described abnormal mark
State the abnormal data block in target data, obtain the relevant information of the abnormal data block inquired, according to the abnormal number got
Relevant information according to block generates the information of described abnormal data block.
Other technologies feature in the present embodiment two is consistent with the corresponding technical characteristic in embodiment one, the most superfluous at this
State.
Embodiment three
Based on the above embodiments one and embodiment two, the embodiment of the present invention three provides a kind of data backup system, sees
Shown in Fig. 3, for the composition structural representation one of the data backup system of the embodiment of the present invention three;As it is shown on figure 3, in this embodiment
Data backup system include scanning element 301, processing unit 302, backup units 303, wherein:
Scanning element 301, for scanning each data block in the target data needing backup;
Processing unit 302, in described scanning process, determines the abnormal data block in described target data;
Backup units 303, is used for starting to back up described target data, was backing up described target data
Cheng Zhong, if running into described abnormal data block, then skips this abnormal data block and proceeds the backup of subsequent data blocks.
Wherein in an embodiment, processing unit 302 can be also used for the abnormal number in determining described target data
According to time, for determined by abnormal data block add abnormal mark;Backup units 303 is carrying out backup procedure to described target data
Whether the current data block in the described target data of middle detection is added with described abnormal mark, if being added with described abnormal mark,
Then skip described current data block and proceed the backup of subsequent data blocks.
Wherein in an embodiment, as shown in Figure 4, the data backup system of the present invention, it is also possible to including:
Tip element 304, for when completing the backup of described target data, generates the prompting letter of described abnormal data block
Breath, described information includes the relevant information of described abnormal data block.
Wherein in an embodiment, scanning element 301 is when receiving data backup command, or is needing backup
When target data is selected, or the default timed backup time then, scanning need backup target data in each number
According to block.
Wherein in an embodiment, backup units 303 completes the whole numbers to described target data in scanning element 301
During according to the scanning of block, or when the number of data blocks that scanned of scanning element 301 exceedes predetermined threshold value, start described target
Data back up.
The data backup system that the present embodiment provides, it is pointed out that: above for the description of data backup system, with
The description of above-mentioned data back up method is similar, and has the beneficial effect of above-mentioned data back up method, for saving length,
Repeat no more;Therefore, the ins and outs not disclosed in the above data backup system that the embodiment of the present invention is provided, refer to
The description of the data back up method of offer is provided.
According to the data backup system in above-described embodiment, the embodiment of the present invention also provides for a kind of terminal, and this terminal includes
Data backup system in any one embodiment above-mentioned.Here, described terminal includes mobile terminal and immobile terminal, non-
Mobile terminal include desk computer, mobile terminal include smart mobile phone (Smart Phone), panel computer, notebook computer,
Personal digital assistant etc..Terminal in the present embodiment owing to including the data backup system in any one embodiment above-mentioned, because of
This, can use data backup system to realize the backup of terminal data, can will not be because of in abnormal data block when backing up
Disconnected backup process and cause backup failure, improve backup efficiency.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can be passed through it
Its mode realizes.Apparatus embodiments described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, and actual can have other dividing mode, such as when realizing: multiple unit or assembly can be in conjunction with, or
It is desirably integrated into another system, or some features can be ignored, or do not perform.It addition, shown or discussed each composition portion
Dividing coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit
Or communication connection, can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, it is also possible to be distributed to multiple network list
In unit;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is possible to
Being that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned
Integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through
The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in a computer read/write memory medium, this program
Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read-only
Memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
The various media that can store program code such as person's CD.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent product
When selling or use, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the present invention implements
The part that prior art is contributed by the technical scheme of example the most in other words can embody with the form of software product,
This computer software product is stored in a storage medium, including some instructions with so that a computer equipment is (permissible
It is personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention.
And aforesaid storage medium includes: movable storage device, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality
The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited
In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also
Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art
Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a data back up method, it is characterised in that including:
Scanning needs each data block in the target data of backup;
In described scanning process, determine the abnormal data block in described target data;
Start described target data is backed up, described target data is being carried out in backup procedure, if running into described exception
Data block, then skip this abnormal data block and proceed the backup of subsequent data blocks.
Data back up method the most according to claim 1, it is characterised in that:
Described method also includes: during abnormal data in determining described target data, for determined by abnormal data block add
Abnormal mark;
Described described target data being carried out in backup procedure, if running into described abnormal data block, then skipping this abnormal data
The process of the backup that block proceeds subsequent data blocks includes: described target data is carrying out detecting in backup procedure described mesh
Whether the current data block in mark data is added with described abnormal mark, if being added with described abnormal mark, then skips described working as
Front data block proceeds the backup of subsequent data blocks.
Data back up method the most according to claim 1, it is characterised in that also include: complete described target data
During the scanning of all data blocks, generating the information of described abnormal data block, described information includes described abnormal data
The relevant information of block.
Data back up method the most according to claim 1, it is characterised in that when receiving data backup command, or
Need backup target data be selected time, or the default timed backup time then, scanning need backup target
Each data block in data.
Data back up method the most according to claim 1, it is characterised in that complete the scanning to described target data
Time, or when the number of data blocks scanned exceedes predetermined threshold value, start described target data is backed up.
6. a data backup system, it is characterised in that including:
Scanning element, for scanning each data block in the target data needing backup;
Processing unit, in described scanning process, determines the abnormal data block in described target data;
Backup units, is used for starting to back up described target data, is carrying out described target data in backup procedure, if
Run into described abnormal data block, then skip this abnormal data block and proceed the backup of subsequent data blocks.
Data backup system the most according to claim 6, it is characterised in that:
When described processing unit is additionally operable to the abnormal data in determining described target data, for determined by abnormal data block add
Add abnormal mark;
Described backup units is carrying out detecting in backup procedure the current data block in described target data to described target data
Whether it is added with described abnormal mark, if being added with described abnormal mark, then skips described current data block and proceed follow-up
The backup of data block.
Data backup system the most according to claim 6, it is characterised in that also include:
Tip element, for when completing the backup of described target data, generates the information of described abnormal data block, described
Information includes the relevant information of described abnormal data block.
Data backup system the most according to claim 6, it is characterised in that:
Described scanning element when receiving data backup command, or need backup target data be selected time, or
The default timed backup time then, scanning need backup target data in each data block;
Or
Described backup units is when described scanning element completes the scanning of all data blocks to described target data, or in institute
State the number of data blocks that scanning element scanned when exceeding predetermined threshold value, start described target data is backed up.
10. a terminal, it is characterised in that include the data backup system as described in one of claim 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602268.1A CN106294003A (en) | 2016-07-26 | 2016-07-26 | Data back up method, data backup system and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602268.1A CN106294003A (en) | 2016-07-26 | 2016-07-26 | Data back up method, data backup system and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106294003A true CN106294003A (en) | 2017-01-04 |
Family
ID=57662543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610602268.1A Pending CN106294003A (en) | 2016-07-26 | 2016-07-26 | Data back up method, data backup system and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294003A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943614A (en) * | 2017-10-27 | 2018-04-20 | 捷开通讯(深圳)有限公司 | Intelligent terminal data backup method, intelligent terminal and the device with store function |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820426A (en) * | 2010-04-22 | 2010-09-01 | 华中科技大学 | Data compression method in on-line backup service software |
US20110218967A1 (en) * | 2010-03-08 | 2011-09-08 | Microsoft Corporation | Partial Block Based Backups |
CN104506619A (en) * | 2014-12-22 | 2015-04-08 | 华为技术有限公司 | Data backup and recovery method and device, and server |
CN105229634A (en) * | 2013-03-14 | 2016-01-06 | 微软技术许可有限责任公司 | Data migration framework |
-
2016
- 2016-07-26 CN CN201610602268.1A patent/CN106294003A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110218967A1 (en) * | 2010-03-08 | 2011-09-08 | Microsoft Corporation | Partial Block Based Backups |
CN101820426A (en) * | 2010-04-22 | 2010-09-01 | 华中科技大学 | Data compression method in on-line backup service software |
CN105229634A (en) * | 2013-03-14 | 2016-01-06 | 微软技术许可有限责任公司 | Data migration framework |
CN104506619A (en) * | 2014-12-22 | 2015-04-08 | 华为技术有限公司 | Data backup and recovery method and device, and server |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943614A (en) * | 2017-10-27 | 2018-04-20 | 捷开通讯(深圳)有限公司 | Intelligent terminal data backup method, intelligent terminal and the device with store function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103268201B (en) | A kind of date storage method, memory storage and read method | |
CN103150188B (en) | The compatible video card fast initializing method of the x86 of non-x 86 instruction set computer | |
CN106294134A (en) | The collapse localization method of code and device | |
CN106528430B (en) | Application program detection method and device and electronic equipment | |
CN104391850A (en) | Method and device for cleaning garbage files of disks, and terminal device | |
CN106155596A (en) | Method for writing data and device | |
CN107704282A (en) | A kind of loading method and device applied to embedded system | |
CN104636165A (en) | Mobile equipment starting method and device | |
CN106648685A (en) | Processing method and device of intelligent terminal system and intelligent terminal | |
CN104375977A (en) | Answer message processing method and device for question-answer communities | |
CN105573788B (en) | The method and apparatus of patch processing and the method and apparatus for generating patch | |
CN103955354A (en) | Relocation method and device | |
CN101989322B (en) | Method and system for automatically extracting memory features of malicious code | |
CN109741159A (en) | Clear account checking method, device and computer equipment | |
CN112508524B (en) | Electronic approval method, system, device and storage medium | |
CN106294003A (en) | Data back up method, data backup system and terminal | |
CN104077053B (en) | Terminal information operating method and device and mobile terminal | |
CN104216997A (en) | Method and device for repairing terminal equipment | |
CN105446752B (en) | Triggering method and device of control in application program and mobile terminal | |
CN103092745B (en) | The control method of system journal record and device | |
CN104182479A (en) | Method and device for processing information | |
CN106250992A (en) | Task processing method in a kind of mobile electronic device and device | |
CN113703753B (en) | Method and device for product development and product development system | |
CN105260423A (en) | Duplicate removal method and apparatus for electronic cards | |
CN104142885A (en) | Method and device for carrying out abnormality test on tested program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |