CN1858714A - Method for preventing and resolving data from lossing - Google Patents

Method for preventing and resolving data from lossing Download PDF

Info

Publication number
CN1858714A
CN1858714A CN 200510101042 CN200510101042A CN1858714A CN 1858714 A CN1858714 A CN 1858714A CN 200510101042 CN200510101042 CN 200510101042 CN 200510101042 A CN200510101042 A CN 200510101042A CN 1858714 A CN1858714 A CN 1858714A
Authority
CN
China
Prior art keywords
backup
data
item
subregion
disk
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
Application number
CN 200510101042
Other languages
Chinese (zh)
Other versions
CN100437498C (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Zhuhai Kingsoft Software 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 Zhuhai Kingsoft Software Co Ltd filed Critical Zhuhai Kingsoft Software Co Ltd
Priority to CNB2005101010425A priority Critical patent/CN100437498C/en
Publication of CN1858714A publication Critical patent/CN1858714A/en
Application granted granted Critical
Publication of CN100437498C publication Critical patent/CN100437498C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

This invention relates to a method for information back up and resumption including a disk back up method and a disk recovery method, in which, the system information backed up in a disk includes information of a primary leading fan region, information of an expanded primary leading fan region, the leading fan region information of branches and system data of the branches, in which, the system data of the branch regions are different based on the different kinds of the branches, which provides a method for providing disk backup and recover when the information of a leading region is destructed.

Description

A kind of prevention and the method that solves loss of data
Technical field
The present invention relates to computer application field, relate in particular to the method for a kind of information back-up and recovery.
Background technology
The application of electronic data is increasingly extensive, thereby the maintenance of information occurred and prevented the requirement that accident is lost.Disk is as the external memory storage a kind of commonly used of computing machine, and it often faces the situations such as infection of misoperation of users, computer virus, thereby the backup of data in magnetic disk is seemed particularly important, so that can recover some important data when being necessary.
In data in magnetic disk backup of the prior art and the restoration methods, backed up data generally comprises the system data and the user data of disk.The weak point of this method is, owing to need backed up data comprise a large amount of user data, generally wants several hrs just can finish to the backup of large computer system, and system backup is not to carry out every day usually.And the data of reduction all are the data before the backup, and the new data that produces after backup for the user can't recover, and in addition, the reduction Backup Data needs the plenty of time equally, and this work after the reduction of giving brings certain trouble.
Summary of the invention
The present invention has overcome shortcoming of the prior art, especially at the ruined situation of boot section information, provides a kind of disk system information back-up and Disaster Recovery Method easily of saving time.
In order to solve the problems of the technologies described above, be achieved through the following technical solutions: a kind of prevention and the method that solves loss of data, comprise Disk Backup method and disk method of reducing, above-mentioned backup and method of reducing relate to the backup-and-restore of disk system information, and the system information of disk institute backup-and-restore comprises disk Master boot sector (hereinafter to be referred as MBR) information, disk expansion Master boot sector (hereinafter to be referred as EBR) information, boot sector (hereinafter to be referred as the DBR) information of each subregion, the system data of all kinds of subregions.The system data of all kinds of subregions is different and different according to divisional type.
Compared with prior art, the present invention is primarily aimed under the ruined situation of boot section information, and the method for Disk Backup and reduction is provided.Current computer virus destroys to a great extent is data in the system bootstrap district, causes the path of navigation of system destroyed, can't obtain user data, and user data is intact.The present invention only backs up the data of boot section, and data volume is little, and the time of backup and reduction is short.User data is not backed up, and the data after the reduction are not influenced by BACKUP TIME, and the data that backup back user increases newly are not lost, for the work after the reduction offers convenience.
Description of drawings
Fig. 1 is a disk system backup method process flow diagram of the present invention;
Fig. 2 is a disk system method of reducing process flow diagram of the present invention.
Embodiment
A kind of prevention and the method that solves loss of data, comprise Disk Backup method and disk method of reducing, above-mentioned backup and method of reducing relate to the backup-and-restore of disk system information, and the system information that disk backed up comprises the system data of disk MBR information, disk EBR information, each DBR information, all kinds of subregions.The system data of all kinds of subregions is different and different according to divisional type.The present invention is described in detail below in conjunction with accompanying drawing.
See also shown in Figure 1ly, the Disk Backup method comprises the steps: at least
Step I reads MBR information, and it is write into backup file;
Step II analysis subregion locating information wherein, and the subregion item analyzed first subregion item of pointed is if the data in this subregion item are illegal or entirely for sky then go to step VII;
Step II I judges that this subregion item is extended partition item or main partition item, if the main partition item jumps to step IV, if the extended partition item jumps to step V;
Step IV reads in the DBR information in this main partition, backs up different a plurality of sectors according to the difference of file system type and enters file;
Step V calls the EBR backup module, and the boot sector of EBR and all logical partition is backed up;
Step VI subregion item is analyzed the next subregion project of pointed, if subregion item pointer has exceeded last then forwarded step VII to, otherwise goes to Step II I;
Step VII withdraws from.
The concrete operations step of above-mentioned steps V is as follows:
Step V1 reads the EBR of this subregion project indication, and it is write into backup file;
Step V2 analyzes subregion locating information wherein, and the subregion item is analyzed first subregion item of pointed EBR, if the data in this subregion item are illegal or entirely for sky then go to step V7;
Step V3 judges that this subregion item is the sub-extended partition item or the subregion item of logical partition, if the subregion item of logical partition jumps to step V4, if sub-extended partition item jumps to step V5;
Step V4 reads in the DBR information of this logical partition, backs up different a plurality of sectors according to the difference of file system type and enters file;
Step V5 recurrence EBR backup module;
Step V6 subregion item is analyzed the next subregion project of pointed, if subregion item pointer has exceeded last then forwarded step V7 to, otherwise goes to step V3;
Step V7 withdraws from.
See also shown in Figure 2ly, the disk method of reducing comprises the steps:
Step I is opened backup file;
Step I i judges backup file legitimacy, legal commentaries on classics step I ii, illegal commentaries on classics step Vii;
Step I ii judges whether this document is the backup that needs the disk of reduction, and needing changes step I v, does not need to change step vii;
Step I v locatees first backup block according to file header information;
Which sector step v backs up out from according to backup build location Backup Data, and the Backup Data in the backup block is reduced to disk;
Step vi locatees next backup block according to the backup file header, if there has not been backup block to change step vii, if also have backup block to change step I v;
Step vii withdraws from.
Backup file comprises a file header and at least one backup block, and the corresponding backup build of each backup block writes down the size of corresponding backup block and the sector number of respective backup disk.
Hardware information, the BACKUP TIME of the file header record disk that backup file backed up, the pointer of the size of this document, sign, backup block number, each backup block; The described backup block record data that backup is come out from disk.
Current computer virus and misoperation of users are destroyed to a great extent is data in the system bootstrap district, causes the path of navigation of system destroyed, can't obtain user data, and user data is intact.The present invention is primarily aimed under the ruined situation of boot section information, and the method for Disk Backup and reduction is provided.Method provided by the invention only backs up the data of boot section, and data volume is little, and the time of backup and reduction is short.User data is not backed up, and the data after the reduction are not influenced by BACKUP TIME, and the data that backup back user increases newly are not lost, for the work after the reduction offers convenience.
Above step is the unrestricted technical scheme of the present invention in order to explanation only.Any modification or partial replacement that does not break away from spirit and scope of the invention all should be encompassed in the middle of the claim scope of the present invention.

Claims (8)

1, a kind of prevention and the method that solves loss of data, comprise Disk Backup method and disk method of reducing, above-mentioned backup and method of reducing relate to the backup-and-restore of disk system information, it is characterized in that the system information of disk institute backup-and-restore comprises the system data of disk MBR information, disk EBR information, each DBR information, all kinds of subregions.
2, prevention according to claim 1 and the method that solves loss of data is characterized in that described Disk Backup method comprises following process:
A, read MBR information, and it is write into backup file;
B, analyze subregion locating information wherein, and the subregion item is analyzed first subregion item of pointed, if the data in this subregion item are illegal or entirely for sky then go to g;
C, judge that this subregion item is extended partition item or main partition item, if the main partition item jumps to d, if the extended partition item jumps to e;
D, read in the DBR information in this main partition, back up a plurality of sectors and enter file;
E, call the EBR backup module, the boot sector of EBR and all logical partition is backed up;
F, subregion item are analyzed the next subregion project of pointed, if subregion item pointer has exceeded last then forwarded g to, otherwise go to c;
G, withdraw from.
3, prevention according to claim 2 and the method that solves loss of data, it is characterized in that, described backup file comprises a file header and at least one backup block, and the corresponding backup build of each backup block writes down the size of corresponding backup block and the sector number of respective backup disk.
4, prevention according to claim 3 and the method that solves loss of data is characterized in that, hardware information, the BACKUP TIME of the described file header record disk that backup file backed up, the pointer of the size of this document, sign, backup block number, each backup block; The described backup block record data that backup is come out from disk.
5, prevention according to claim 2 and the method that solves loss of data is characterized in that described EBR backup module comprises following process:
A, read the EBR of this subregion project indication, and it is write into backup file;
B, analyze subregion locating information wherein, and the subregion item is analyzed first subregion item of pointed EBR, if the data in this subregion item are illegal or entirely for sky then go to g;
C, judge that this subregion item is the sub-extended partition item or the subregion item of logical partition, if the subregion item of logical partition jumps to d, if sub-extended partition item jumps to e;
D, read in the DBR sector of this logical partition, back up a plurality of sectors and enter file;
E, recurrence EBR backup module;
F, subregion item are analyzed the next subregion project of pointed, if subregion item pointer has exceeded last then forwarded g to, otherwise go to c;
G, withdraw from.
6, prevention according to claim 5 and the method that solves loss of data is characterized in that, described a plurality of sectors are according to the difference of file system type and difference.
7, prevention according to claim 1 and the method that solves loss of data is characterized in that, described disk reduction comprises following process:
A, judgement backup file legitimacy, legal commentaries on classics b, illegal commentaries on classics f;
B, judge that whether this document is the backup that needs the disk of reduction, needing changes c, does not need to change f;
C, locate first backup block according to file header information;
D, from which sector back up out, the Backup Data in the backup block is reduced to disk according to backup build location Backup Data;
E, locate next backup block, if there has not been backup block to change f, if also have backup block to change c according to the backup file header;
F, withdraw from.
8, prevention according to claim 1 and the method that solves loss of data is characterized in that, the system data of described all kinds of subregions is different and different according to divisional type.
CNB2005101010425A 2005-11-07 2005-11-07 Method for preventing and resolving data from lossing Active CN100437498C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101010425A CN100437498C (en) 2005-11-07 2005-11-07 Method for preventing and resolving data from lossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101010425A CN100437498C (en) 2005-11-07 2005-11-07 Method for preventing and resolving data from lossing

Publications (2)

Publication Number Publication Date
CN1858714A true CN1858714A (en) 2006-11-08
CN100437498C CN100437498C (en) 2008-11-26

Family

ID=37297623

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101010425A Active CN100437498C (en) 2005-11-07 2005-11-07 Method for preventing and resolving data from lossing

Country Status (1)

Country Link
CN (1) CN100437498C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339244A (en) * 2010-07-29 2012-02-01 上海置水软件技术有限公司 System backup and restoration technology based on virtual partition
CN101582044B (en) * 2009-06-15 2012-07-04 中兴通讯股份有限公司 Key information area maintenance method of file system and device
CN102819462A (en) * 2012-08-06 2012-12-12 厦门市美亚柏科信息股份有限公司 Repair method for Window system disk partition
CN102831025A (en) * 2012-08-06 2012-12-19 厦门市美亚柏科信息股份有限公司 DBR (DOS boot record) data repairing method of FAT32 file system
CN104484240A (en) * 2014-12-09 2015-04-01 青岛海信宽带多媒体技术有限公司 Method and device for storing terminal data
CN104516791A (en) * 2013-09-30 2015-04-15 贝壳网际(北京)安全技术有限公司 Data processing method and device and electronic device
CN105930279A (en) * 2016-04-15 2016-09-07 杭州华三通信技术有限公司 Disk space detection method and apparatus
CN103123674B (en) * 2011-11-21 2016-12-14 研祥智能科技股份有限公司 The method and system of killing boot-type virus
WO2017080140A1 (en) * 2015-11-10 2017-05-18 华为技术有限公司 Method and apparatus for recovering data of master boot sector
CN108062262A (en) * 2017-12-25 2018-05-22 厦门市美亚柏科信息股份有限公司 Operating system backup-and-restore method and its system based on storage sector data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578034B1 (en) * 1999-09-30 2003-06-10 International Business Machines Corporation Method and system for a distributed hidden database across a plurality of computer media
US6748553B2 (en) * 2000-12-27 2004-06-08 Intel Corporation Method and apparatus for default factory image restoration of a system
US6862681B2 (en) * 2001-07-16 2005-03-01 International Business Machines Corporation Method and system for master boot record recovery
CN1352426A (en) * 2001-11-26 2002-06-05 北京实达铭泰计算机应用技术开发有限公司 Computer virus prevention method
JP2004171171A (en) * 2002-11-19 2004-06-17 Merrweth:Kk Backup/recovery device
CN1277211C (en) * 2003-05-06 2006-09-27 联想(北京)有限公司 Repair method for computer operation system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582044B (en) * 2009-06-15 2012-07-04 中兴通讯股份有限公司 Key information area maintenance method of file system and device
CN102339244A (en) * 2010-07-29 2012-02-01 上海置水软件技术有限公司 System backup and restoration technology based on virtual partition
CN103123674B (en) * 2011-11-21 2016-12-14 研祥智能科技股份有限公司 The method and system of killing boot-type virus
CN102831025A (en) * 2012-08-06 2012-12-19 厦门市美亚柏科信息股份有限公司 DBR (DOS boot record) data repairing method of FAT32 file system
CN102819462B (en) * 2012-08-06 2015-02-18 厦门市美亚柏科信息股份有限公司 Repair method for Window system disk partition
CN102831025B (en) * 2012-08-06 2015-09-23 厦门市美亚柏科信息股份有限公司 A kind of DBR data recovery method of FAT32 file system
CN102819462A (en) * 2012-08-06 2012-12-12 厦门市美亚柏科信息股份有限公司 Repair method for Window system disk partition
CN104516791A (en) * 2013-09-30 2015-04-15 贝壳网际(北京)安全技术有限公司 Data processing method and device and electronic device
CN104516791B (en) * 2013-09-30 2018-09-28 北京猎豹移动科技有限公司 Data processing method, device and electronic equipment
CN104484240A (en) * 2014-12-09 2015-04-01 青岛海信宽带多媒体技术有限公司 Method and device for storing terminal data
WO2017080140A1 (en) * 2015-11-10 2017-05-18 华为技术有限公司 Method and apparatus for recovering data of master boot sector
CN105930279A (en) * 2016-04-15 2016-09-07 杭州华三通信技术有限公司 Disk space detection method and apparatus
CN108062262A (en) * 2017-12-25 2018-05-22 厦门市美亚柏科信息股份有限公司 Operating system backup-and-restore method and its system based on storage sector data

Also Published As

Publication number Publication date
CN100437498C (en) 2008-11-26

Similar Documents

Publication Publication Date Title
CN1858714A (en) Method for preventing and resolving data from lossing
US7620666B1 (en) Maintaining persistent data change maps for fast data synchronization and restoration
AU700681B2 (en) A method of operating a computer system
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
CN101059768A (en) System and method for implementing operating system standby
US7519858B2 (en) Selective file restoration from incremental backups
CN1567262A (en) On-line data backup method based on data volume snapshot
CN101763296B (en) Fast reverse search restructuring and recovery method of hard disk partition table
US20030046605A1 (en) Data protection system and method regarding the same
CN1277209C (en) Hard disk data controlling method
CN101388033A (en) File protection technology based on Windows system file altering event
CN1940877A (en) Software system protecting point restore method and device
US20060031267A1 (en) Apparatus, system, and method for efficient recovery of a database from a log of database activities
CN100336036C (en) Multiple operating system boot loading method
CN1317650C (en) Method for automatically recovering BIOS based on hard disk protective space
CN1326155A (en) Method for instantaneous generation of file version
CN1173269C (en) Monitor method for reverse mounting
CN1993681A (en) Method and device for securing consistent memory contents in redundant memory units
CN1797335A (en) Method for expanding function of basic input / output system
CN1655138A (en) Computer restoration system and method with multiple restoring points
CN1592222A (en) Method for interface back-up in interface hot connect-disconnect supporting system
CN1180869A (en) Apparatus and method for controlling computer system having hot-swapping function
JP2001005693A (en) System and method for automatically restoring fault and recording medium recording automatic fault restoration program
CN1149482C (en) Method for selecting initial partition of hard disk
JP2677282B2 (en) File management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Jinshan computer Building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee after: Zhuhai Kingsoft Software Co.,Ltd.

Address before: Jinshan computer Building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Software Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: KINGSOFT CORPORATION LIMITED

Free format text: FORMER OWNER: ZHUHAI KINGSOFT SOFTWARE CO., LTD.

Effective date: 20140901

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 519015 ZHUHAI, GUANGDONG PROVINCE TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20140901

Address after: Kingsoft No. 33 building, 100085 Beijing city Haidian District Xiaoying Road

Patentee after: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Address before: Jinshan computer Building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Software Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20061108

Assignee: Zhuhai Kingsoft Software Co.,Ltd.

Assignor: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Contract record no.: 2014990000778

Denomination of invention: Method for preventing and resolving data from lossing

Granted publication date: 20081126

License type: Common License

Record date: 20140926

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model