CN101226494A - Method for backupping and recovering computer system - Google Patents

Method for backupping and recovering computer system Download PDF

Info

Publication number
CN101226494A
CN101226494A CNA2008100656975A CN200810065697A CN101226494A CN 101226494 A CN101226494 A CN 101226494A CN A2008100656975 A CNA2008100656975 A CN A2008100656975A CN 200810065697 A CN200810065697 A CN 200810065697A CN 101226494 A CN101226494 A CN 101226494A
Authority
CN
China
Prior art keywords
backup
recovery
engine
sector
computer system
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
Application number
CNA2008100656975A
Other languages
Chinese (zh)
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.)
SHENZHEN NORCO INTELLIGENT TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN NORCO INTELLIGENT TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN NORCO INTELLIGENT TECHNOLOGY Co Ltd filed Critical SHENZHEN NORCO INTELLIGENT TECHNOLOGY Co Ltd
Priority to CNA2008100656975A priority Critical patent/CN101226494A/en
Publication of CN101226494A publication Critical patent/CN101226494A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for backing up and recovering computer system, which comprises mounting a backup and recovery engine, checking if the hard disk has been initialized before backup, if not, prompting user to build a hard disk protective region, checking if the hard disk protective region has one backup when in backup process, if user continues the backup operation, automatically positioning the original system, backing up data, when recovers system data, checking if there is backup, if is, recovering data. The invention embeds backup and recovery engine module into computer BIOS to avoid failure caused by virus, to improve safety and effectiveness.

Description

A kind of backup of computer system and the method for recovery
Technical field
The present invention relates to the method for the data security protecting of computer system, particularly be applied in the method for the backup and the recovery of computer operating system.
Background technology
Along with popularizing of computer network, computer virus has had the chance of quick propagation, and serious day by day to the destruction of data file, operation system of computer is destroyed usually, for the corrupted data that prevents to have stored, lose, or mistake deletes, we often adopt the method for backup to address the above problem.
Yet present system backup method all has defective more or less.
Such as our ghost instrument commonly used, the system backup file that it generates is that system is visible, runs into the Panda burning incense of similar deleted file, and virus CIH has just lost effect.
In addition, some hard disks reduction cards that present people use always also are the defectives that has on its principle, and they need to install driving in WIN2K/XP; if drive to meet with destroy, just lost function, and it in system the time operation; not only can take system CPU; memory source, and regular meeting and other application software conflict, in addition; its data are kept at protectedly to be had in the subregion; write under the full situation at subregion, protected data can be capped, and occurs unusual.
The common defective of these backup methods is exactly the dependence of system, causes their fragilities.
Summary of the invention
The object of the present invention is to provide a kind of backup and restoration methods of computer system safely and effectively.
For achieving the above object, technical scheme that the present invention adopts is: a kind of backup of computer system and the method for recovery, and it may further comprise the steps:
1) engine of backup being installed and recovering;
2) the protection subregion is set;
3) installing operating system;
4) start backup engine;
5) start the recovery engine.
In step 1), it is to adopt the backup that will write and recover engine modules to embed in the computer BIOS, and the mode that programming is got back in the computer BIOS is installed engine.
The backup of described a kind of computer system and the method for recovery, it is provided with shortcut when the engine of backup being installed and recovering.
The backup of described a kind of computer system and the method for recovery; in booting computer BIOS self check process; logical self-defined " shortcut " runtime engine of pressing; after engine-operated; the system data size that input will be backed up; the interval that to import by ATAPI instruction SET MAX ADDRESS/SET MAXADDRESS EXT stashes, and is step 2) described protection subregion.
Described protection subregion is positioned at the highest sector of hard disk.
In the step 3), the size of described operating system is less than step 2) in the size of set protection subregion.
In step 4); its also comprise judge whether Backup Data step 41); promptly in booting computer BIOS self check process; by " shortcut " runtime engine; set by ATAPI instruction READ NATIVEMAX ADDRESS/READ NATIVE MAX ADDRESS EXT judgement protection partition size; and calculate the protection subregion size; open the protection subregion by ATAPI instruction SET MAXADDRESS/SET MAX ADDRESS EXT simultaneously, judge whether Backup Data by reading hard disk partition table.
In step 41) after, if do not find partition table, backup-step 42 brings into operation), find partition table, execution in step 43), promptly select backup still to recover, select backup, the content before whether prompting will cover, select not back up, directly, withdraw from, continue to enter hard-disk system by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT hidden partition once more.
Described backup-step 42); at first read hard disk partition table; and be written in last sector of hard disk; find the boot partition position by hard disk partition table simultaneously; at first read the low sector of boot partition; data are written to the high sector position of protecting subregion after reading the internal memory compression; read like this to start the sector from low to high; write sector (protection sector) from high to low; up to having backed up last sector; again by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT hidden partition, withdraw from after finishing, continue to enter hard-disk system.
Step 5) is in booting computer BIOS self check process, by " shortcut " restoring running engine.
The present invention adopts after the technique scheme, and the present invention embeds computer BIOS by backing up and recover engine modules, is not subjected to virus infraction and ineffective, can reach purpose safely and effectively.
Description of drawings
Fig. 1 is implementing procedure figure of the present invention;
Fig. 2 is protection district location figure of the present invention;
Fig. 3 is the backup hard disk sector location drawing of the present invention;
Fig. 4 is the recovery hard disk sector location drawing of the present invention.
Embodiment
See also shown in Figure 1ly, the invention discloses the method for the backup and the recovery of computer system, it may further comprise the steps:
1) engine of backup being installed and recovering;
Write backup and recover engine modules by industry worker's standard of PCI/PnP Option ROM, and set " shortcut " that calls, read computer BIOS data and be saved in file, present computer BIOS is modular design, each BIOS manufacturer all has the module that corresponding BIOS is provided to add instrument, such as AMI BIOS with AMIBCP or MMTOOL, AWARD BIOS CBROM, instrument with correspondence embeds backup and recovery engine modules in the computer BIOS, and programming gets back in the computer BIOS, and installment work has just been carried out like this.
Because backup and to recover engine modules be the module of writing with industry worker's standard of PCI/PnP Option ROM, thus BIOS can be when doing System self-test automatic bootup window.Can scan " shortcut " and judge whether runtime engine and operation interface.
2) the protection subregion is set;
The code of system recovery engine is embedded in the BIOS; in booting computer BIOS self check process; logical self-defined " shortcut " runtime engine of pressing; after engine-operated; judge by ATAPI instruction READ NATIVEMAX ADDRESS/READ NATIVE MAX ADDRESS EXT; after whether it is operation for the first time; the system data size that prompting user input will be backed up; after the input; the interval of this size is stashed by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT; see also shown in the accompanying drawing 2, the protection district location is positioned at the highest sector of hard disk.
3) installing operating system;
In the step 3), install operating system according to demand, but the size of the operating system of being installed is less than step 2) in the size of set protection subregion.
4) start backup engine;
Consult shown in Figure 3; after installing system; when needing standby system; as long as in booting computer BIOS self check process; by " shortcut " runtime engine; we judge by ATAPI instruction READ NATIVEMAX ADDRESS/READ NATIVE MAX ADDRESS EXT; after judging that the protection partition size has been set; and calculate the protection subregion size; open the protection subregion by ATAPI instruction SETMAX ADDRESS/SET MAX ADDRESS EXT simultaneously; our backed up data structure of root a tree name is a hard disk partition table in last hard disk sector, and we judge whether Backup Data by reading last hard disk sector content.
In step 41) after; if do not find partition table; backup-step 42 brings into operation); can illustrate it is backup for the first time; backup procedure brings into operation; at first read hard disk partition table; and be written in last sector of hard disk; find the boot partition position by hard disk partition table simultaneously; at first read the low sector of boot partition, data are written to the high sector position of protecting subregion after reading the internal memory compression, read like this to start the sector from low to high; write sector (protection sector) from high to low; up to having backed up last sector, and carry out data compression by the LZ77 algorithm, after finishing again by ATAPI instruction SETMAX ADDRESS/SET MAX ADDRESS EXT hidden partition; withdraw from, continue to enter hard-disk system.
If find to have had backup, execution in step 43), can select backup still to recover according to prompting, if select backup, the content of prompting before whether will covering, can select not back up this moment, directly by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT hidden partition once more, withdraw from, continue to enter hard-disk system.
5) start the recovery engine.
Consult shown in Figure 4; after backing up system; when finding that the destroyed needs of original system recover; as long as in booting computer BIOS self check process; by " shortcut " runtime engine; judge by ATAPI instruction READ NATIVE MAX ADDRESS/READ NATIVE MAX ADDRESS EXT; after judging that the protection partition size has been set; and calculate the protection subregion size; open the protection subregion by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT simultaneously; our backed up data structure of root a tree name is a hard disk partition table in last hard disk sector, judges whether Backup Data by reading last hard disk sector content.
If do not find partition table, the system that do not back up is described, the prompting user backs up earlier, with step 42).
If find to have had backup; prompting selects backup still to recover, if the user selects to recover, rejuvenation brings into operation; at first recover hard disk partition table; find the boot partition position by hard disk partition table simultaneously, the high sector of fetch protection subregion at first, data are read the low sector position that is written to boot partition behind the internal memory decompress(ion); the read protection sector from high to low like this; write the startup sector from low to high,, see accompanying drawing 3 up to having recovered last sector.Again by ATAPI instruction SET MAXADDRESS/SET MAX ADDRESS EXT hidden partition, withdraw from after finishing, restart computer.
Though by this wherein an embodiment described the present invention, those of ordinary skills know, surface patterns of the present invention and size have many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (10)

1. the method for the backup of a computer system and recovery, it may further comprise the steps:
1) engine of backup being installed and recovering;
2) the protection subregion is set;
3) installing operating system;
4) start backup engine;
5) start the recovery engine.
2. the method for the backup of a kind of computer system as claimed in claim 1 and recovery, it is characterized in that: in step 1), it is to adopt the backup that will write and recover engine modules to embed in the computer BIOS, and the mode that programming is got back in the computer BIOS is installed engine.
3. the method for the backup of a kind of computer system as claimed in claim 1 or 2 and recovery is characterized in that: it is provided with shortcut when the engine of backup being installed and recovering.
4. the method for the backup of a kind of computer system as claimed in claim 3 and recovery; it is characterized in that: in booting computer BIOS self check process; logical self-defined " shortcut " runtime engine of pressing; after engine-operated; the system data size that input will be backed up; the interval that to import by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT stashes, and is step 2) described protection subregion.
5. the method for the backup of a kind of computer system as claimed in claim 4 and recovery, it is characterized in that: described protection subregion is positioned at the highest sector of hard disk.
6. the method for the backup of a kind of computer system as claimed in claim 1 and recovery, it is characterized in that: in the step 3), the size of described operating system is less than step 2) in the size of set protection subregion.
7. the method for the backup of a kind of computer system as claimed in claim 1 and recovery; it is characterized in that: in step 4); its also comprise judge whether Backup Data step 41); promptly in booting computer BIOS self check process; by " shortcut " runtime engine; set by ATAPI instruction READ NATIVE MAX ADDRESS/READ NATIVE MAX ADDRESSEXT judgement protection partition size; and calculate the protection subregion size; open the protection subregion by ATAPI instruction SET MAX ADDRESS/SET MAX ADDRESS EXT simultaneously, judge whether Backup Data by reading hard disk partition table.
8. the method for the backup of a kind of computer system as claimed in claim 7 and recovery is characterized in that: in step 41) after, if do not find partition table, backup-step 42 brings into operation), find partition table, execution in step 43), promptly select backup still to recover, select backup, the content of prompting before whether will covering selected not back up, directly by ATAPI instruction SET MAXADDRESS/SET MAX ADDRESS EXT hidden partition once more, withdraw from, continue to enter hard-disk system.
9. the method for the backup of a kind of computer system as claimed in claim 8 and recovery; it is characterized in that: described backup-step 42); at first read hard disk partition table; and be written in last sector of hard disk; find the boot partition position by hard disk partition table simultaneously; at first read the low sector of boot partition; data are written to the high sector position of protecting subregion after reading the internal memory compression; read like this to start the sector from low to high; write sector (protection sector) from high to low, after having backed up last sector, having finished again by ATAPI instruction SET MAX ADDRESS/SETMAXADDRESS EXT hidden partition; withdraw from, continue to enter hard-disk system.
10. the method for the backup of a kind of computer system as claimed in claim 1 and recovery, it is characterized in that: step 5) is in booting computer BIOS self check process, by " shortcut " restoring running engine.
CNA2008100656975A 2008-01-28 2008-01-28 Method for backupping and recovering computer system Pending CN101226494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100656975A CN101226494A (en) 2008-01-28 2008-01-28 Method for backupping and recovering computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100656975A CN101226494A (en) 2008-01-28 2008-01-28 Method for backupping and recovering computer system

Publications (1)

Publication Number Publication Date
CN101226494A true CN101226494A (en) 2008-07-23

Family

ID=39858505

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100656975A Pending CN101226494A (en) 2008-01-28 2008-01-28 Method for backupping and recovering computer system

Country Status (1)

Country Link
CN (1) CN101226494A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063348A (en) * 2010-12-27 2011-05-18 成都市华为赛门铁克科技有限公司 Partition table information backup method and device and storage system
CN103455388A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Operating system backup reducing method and system based on hard disk hidden protection area (HPA)
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN103810057A (en) * 2012-11-09 2014-05-21 昆达电脑科技(昆山)有限公司 UEFI (Unified Extensible Firmware Interface) data recovery method
CN105242986A (en) * 2015-09-11 2016-01-13 金步国 Method for backing up and restoring Windows operating system
CN112579365A (en) * 2021-01-11 2021-03-30 华盛星晖(北京)科技有限公司 Protection system and method suitable for interactive all-in-one machine system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063348A (en) * 2010-12-27 2011-05-18 成都市华为赛门铁克科技有限公司 Partition table information backup method and device and storage system
CN102063348B (en) * 2010-12-27 2012-10-03 成都市华为赛门铁克科技有限公司 Partition table information backup method and device and storage system
CN103455388A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Operating system backup reducing method and system based on hard disk hidden protection area (HPA)
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN103810057A (en) * 2012-11-09 2014-05-21 昆达电脑科技(昆山)有限公司 UEFI (Unified Extensible Firmware Interface) data recovery method
CN105242986A (en) * 2015-09-11 2016-01-13 金步国 Method for backing up and restoring Windows operating system
CN105242986B (en) * 2015-09-11 2018-04-06 金步国 Backup and the method for reduction Windows operating system
CN112579365A (en) * 2021-01-11 2021-03-30 华盛星晖(北京)科技有限公司 Protection system and method suitable for interactive all-in-one machine system

Similar Documents

Publication Publication Date Title
US20080155216A1 (en) Protection and Recovery System for Automatic Disk Recovery
KR100758292B1 (en) A method for renovating the computer operating system
US7757112B2 (en) System and method for booting alternate MBR in event of virus attack
CN1241120C (en) Method for backing up and recovering data in hard disk of computer
JP6054908B2 (en) Method for repairing variable sets, computer program and computer
US20070220032A1 (en) Method and apparatus for implementing a software installation process
JP2006286001A (en) Usage of usb memory device for recovery of operating system
CN101226494A (en) Method for backupping and recovering computer system
WO2012031567A1 (en) Fault tolerance method and device for file system
EP2428895A1 (en) Key information area in file system maintaining method and apparatus
KR20170020324A (en) Method for completing a secure erase operation
CN101853338A (en) Safe computer system for system disk fixation
TW201319942A (en) Method for flashing firmware and booting method and electronic apparatus using the method thereof
CN106250125A (en) Obtain the method and device of daily record
CN100507850C (en) Method for embedding inner core drive program in Window operation system by USB apparatus start-up
CN103049343A (en) Method and device for restoring operating system blue screen
CN100514305C (en) System and method for implementing safety control of operation system
CN100437500C (en) Software system protecting point restore method and device
CN101236498B (en) Method for embedding inner core drive program in Window operation system by PCI card start-up
KR101393034B1 (en) Apparatus and method for restoring system
CN106228091A (en) A kind of safe firmware validation update method
CN110457899B (en) Operating system protection system and method
CN108108635B (en) Data security processing method, device and system
CN100392593C (en) Method for protecting hard disk last partition
CN101853193B (en) Data protection restoration method, system and card based on hard disk controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080723